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.* *.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 '#include <stdlib.h>' \
2805 'extern "C" void std::exit (int) throw (); using std::exit;' \
2806 'extern "C" void std::exit (int); using std::exit;' \
2807 'extern "C" void exit (int) throw ();' \
2808 'extern "C" void exit (int);' \
2811 cat >conftest.$ac_ext <<_ACEOF
2812 #line $LINENO "configure"
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2828 rm -f conftest.$ac_objext
2829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2830 (eval $ac_compile) 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); } &&
2834 { ac_try='test -s conftest.$ac_objext'
2835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); }; }; then
2842 echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2847 rm -f conftest.$ac_objext conftest.$ac_ext
2848 cat >conftest.$ac_ext <<_ACEOF
2849 #line $LINENO "configure"
2852 cat confdefs.h >>conftest.$ac_ext
2853 cat >>conftest.$ac_ext <<_ACEOF
2854 /* end confdefs.h. */
2864 rm -f conftest.$ac_objext
2865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2866 (eval $ac_compile) 2>&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try='test -s conftest.$ac_objext'
2871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); }; }; then
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2882 rm -f conftest.$ac_objext conftest.$ac_ext
2885 if test -n "$ac_declaration"; then
2886 echo '#ifdef __cplusplus' >>confdefs.h
2887 echo $ac_declaration >>confdefs.h
2888 echo '#endif' >>confdefs.h
2892 echo "$as_me: failed program was:" >&5
2893 sed 's/^/| /' conftest.$ac_ext >&5
2896 rm -f conftest.$ac_objext conftest.$ac_ext
2898 ac_cpp='$CPP $CPPFLAGS'
2899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2904 ac_cpp='$CXXCPP $CPPFLAGS'
2905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2908 if test -n "$ac_tool_prefix"; then
2909 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2911 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2912 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2913 echo "$as_me:$LINENO: checking for $ac_word" >&5
2914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2915 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2916 echo $ECHO_N "(cached) $ECHO_C" >&6
2918 if test -n "$CXX"; then
2919 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 test -z "$as_dir" && as_dir=.
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2928 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 CXX=$glibcxx_cv_prog_CXX
2938 if test -n "$CXX"; then
2939 echo "$as_me:$LINENO: result: $CXX" >&5
2940 echo "${ECHO_T}$CXX" >&6
2942 echo "$as_me:$LINENO: result: no" >&5
2943 echo "${ECHO_T}no" >&6
2946 test -n "$CXX" && break
2949 if test -z "$CXX"; then
2951 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2953 # Extract the first word of "$ac_prog", so it can be a program name with args.
2954 set dummy $ac_prog; ac_word=$2
2955 echo "$as_me:$LINENO: checking for $ac_word" >&5
2956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2957 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 if test -n "$ac_ct_CXX"; then
2961 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2967 test -z "$as_dir" && as_dir=.
2968 for ac_exec_ext in '' $ac_executable_extensions; do
2969 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2970 ac_cv_prog_ac_ct_CXX="$ac_prog"
2971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2979 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2980 if test -n "$ac_ct_CXX"; then
2981 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2982 echo "${ECHO_T}$ac_ct_CXX" >&6
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2988 test -n "$ac_ct_CXX" && break
2990 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2996 # Provide some information about the compiler.
2997 echo "$as_me:$LINENO:" \
2998 "checking for C++ compiler version" >&5
2999 ac_compiler=`set X $ac_compile; echo $2`
3000 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3001 (eval $ac_compiler --version </dev/null >&5) 2>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }
3005 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3006 (eval $ac_compiler -v </dev/null >&5) 2>&5
3008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3009 (exit $ac_status); }
3010 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3011 (eval $ac_compiler -V </dev/null >&5) 2>&5
3013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014 (exit $ac_status); }
3016 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3017 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3018 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3021 cat >conftest.$ac_ext <<_ACEOF
3022 #line $LINENO "configure"
3025 cat confdefs.h >>conftest.$ac_ext
3026 cat >>conftest.$ac_ext <<_ACEOF
3027 /* end confdefs.h. */
3040 rm -f conftest.$ac_objext
3041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3042 (eval $ac_compile) 2>&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } &&
3046 { ac_try='test -s conftest.$ac_objext'
3047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); }; }; then
3054 echo "$as_me: failed program was:" >&5
3055 sed 's/^/| /' conftest.$ac_ext >&5
3059 rm -f conftest.$ac_objext conftest.$ac_ext
3060 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3063 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3064 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3065 GXX=`test $ac_compiler_gnu = yes && echo yes`
3066 ac_test_CXXFLAGS=${CXXFLAGS+set}
3067 ac_save_CXXFLAGS=$CXXFLAGS
3069 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3070 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3071 if test "${ac_cv_prog_cxx_g+set}" = set; then
3072 echo $ECHO_N "(cached) $ECHO_C" >&6
3074 cat >conftest.$ac_ext <<_ACEOF
3075 #line $LINENO "configure"
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3090 rm -f conftest.$ac_objext
3091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3092 (eval $ac_compile) 2>&5
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); } &&
3096 { ac_try='test -s conftest.$ac_objext'
3097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }; }; then
3102 ac_cv_prog_cxx_g=yes
3104 echo "$as_me: failed program was:" >&5
3105 sed 's/^/| /' conftest.$ac_ext >&5
3109 rm -f conftest.$ac_objext conftest.$ac_ext
3111 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3112 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3113 if test "$ac_test_CXXFLAGS" = set; then
3114 CXXFLAGS=$ac_save_CXXFLAGS
3115 elif test $ac_cv_prog_cxx_g = yes; then
3116 if test "$GXX" = yes; then
3122 if test "$GXX" = yes; then
3128 for ac_declaration in \
3130 '#include <stdlib.h>' \
3131 'extern "C" void std::exit (int) throw (); using std::exit;' \
3132 'extern "C" void std::exit (int); using std::exit;' \
3133 'extern "C" void exit (int) throw ();' \
3134 'extern "C" void exit (int);' \
3137 cat >conftest.$ac_ext <<_ACEOF
3138 #line $LINENO "configure"
3141 cat confdefs.h >>conftest.$ac_ext
3142 cat >>conftest.$ac_ext <<_ACEOF
3143 /* end confdefs.h. */
3154 rm -f conftest.$ac_objext
3155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3156 (eval $ac_compile) 2>&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } &&
3160 { ac_try='test -s conftest.$ac_objext'
3161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); }; }; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3173 rm -f conftest.$ac_objext conftest.$ac_ext
3174 cat >conftest.$ac_ext <<_ACEOF
3175 #line $LINENO "configure"
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3190 rm -f conftest.$ac_objext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3192 (eval $ac_compile) 2>&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } &&
3196 { ac_try='test -s conftest.$ac_objext'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; }; then
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3208 rm -f conftest.$ac_objext conftest.$ac_ext
3211 if test -n "$ac_declaration"; then
3212 echo '#ifdef __cplusplus' >>confdefs.h
3213 echo $ac_declaration >>confdefs.h
3214 echo '#endif' >>confdefs.h
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 CXXFLAGS="$save_CXXFLAGS"
3228 # For directory versioning (e.g., headers) and other variables.
3229 echo "$as_me:$LINENO: checking for GCC version number" >&5
3230 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3231 gcc_version=`$CXX -dumpversion`
3232 echo "$as_me:$LINENO: result: $gcc_version" >&5
3233 echo "${ECHO_T}$gcc_version" >&6
3235 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3236 # available). Uncomment the next line to force a particular method.
3237 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3238 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3240 if test "$LN_S" = "ln -s"; then
3241 echo "$as_me:$LINENO: result: yes" >&5
3242 echo "${ECHO_T}yes" >&6
3244 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3245 echo "${ECHO_T}no, using $LN_S" >&6
3250 if test -n "$ac_tool_prefix"; then
3251 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3252 set dummy ${ac_tool_prefix}as; ac_word=$2
3253 echo "$as_me:$LINENO: checking for $ac_word" >&5
3254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3255 if test "${ac_cv_prog_AS+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 if test -n "$AS"; then
3259 ac_cv_prog_AS="$AS" # Let the user override the test.
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 test -z "$as_dir" && as_dir=.
3266 for ac_exec_ext in '' $ac_executable_extensions; do
3267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3268 ac_cv_prog_AS="${ac_tool_prefix}as"
3269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 if test -n "$AS"; then
3279 echo "$as_me:$LINENO: result: $AS" >&5
3280 echo "${ECHO_T}$AS" >&6
3282 echo "$as_me:$LINENO: result: no" >&5
3283 echo "${ECHO_T}no" >&6
3287 if test -z "$ac_cv_prog_AS"; then
3289 # Extract the first word of "as", so it can be a program name with args.
3290 set dummy as; ac_word=$2
3291 echo "$as_me:$LINENO: checking for $ac_word" >&5
3292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3293 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3294 echo $ECHO_N "(cached) $ECHO_C" >&6
3296 if test -n "$ac_ct_AS"; then
3297 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306 ac_cv_prog_ac_ct_AS="as"
3307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3315 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3316 if test -n "$ac_ct_AS"; then
3317 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3318 echo "${ECHO_T}$ac_ct_AS" >&6
3320 echo "$as_me:$LINENO: result: no" >&5
3321 echo "${ECHO_T}no" >&6
3329 if test -n "$ac_tool_prefix"; then
3330 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3331 set dummy ${ac_tool_prefix}ar; ac_word=$2
3332 echo "$as_me:$LINENO: checking for $ac_word" >&5
3333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3334 if test "${ac_cv_prog_AR+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 if test -n "$AR"; then
3338 ac_cv_prog_AR="$AR" # Let the user override the test.
3340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3344 test -z "$as_dir" && as_dir=.
3345 for ac_exec_ext in '' $ac_executable_extensions; do
3346 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3347 ac_cv_prog_AR="${ac_tool_prefix}ar"
3348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$AR"; then
3358 echo "$as_me:$LINENO: result: $AR" >&5
3359 echo "${ECHO_T}$AR" >&6
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3366 if test -z "$ac_cv_prog_AR"; then
3368 # Extract the first word of "ar", so it can be a program name with args.
3369 set dummy ar; ac_word=$2
3370 echo "$as_me:$LINENO: checking for $ac_word" >&5
3371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3372 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 if test -n "$ac_ct_AR"; then
3376 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3382 test -z "$as_dir" && as_dir=.
3383 for ac_exec_ext in '' $ac_executable_extensions; do
3384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3385 ac_cv_prog_ac_ct_AR="ar"
3386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3395 if test -n "$ac_ct_AR"; then
3396 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3397 echo "${ECHO_T}$ac_ct_AR" >&6
3399 echo "$as_me:$LINENO: result: no" >&5
3400 echo "${ECHO_T}no" >&6
3408 if test -n "$ac_tool_prefix"; then
3409 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3410 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3411 echo "$as_me:$LINENO: checking for $ac_word" >&5
3412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3413 if test "${ac_cv_prog_RANLIB+set}" = set; then
3414 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 if test -n "$RANLIB"; then
3417 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423 test -z "$as_dir" && as_dir=.
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3426 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3435 RANLIB=$ac_cv_prog_RANLIB
3436 if test -n "$RANLIB"; then
3437 echo "$as_me:$LINENO: result: $RANLIB" >&5
3438 echo "${ECHO_T}$RANLIB" >&6
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3445 if test -z "$ac_cv_prog_RANLIB"; then
3446 ac_ct_RANLIB=$RANLIB
3447 # Extract the first word of "ranlib", so it can be a program name with args.
3448 set dummy ranlib; ac_word=$2
3449 echo "$as_me:$LINENO: checking for $ac_word" >&5
3450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3451 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3452 echo $ECHO_N "(cached) $ECHO_C" >&6
3454 if test -n "$ac_ct_RANLIB"; then
3455 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3461 test -z "$as_dir" && as_dir=.
3462 for ac_exec_ext in '' $ac_executable_extensions; do
3463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3464 ac_cv_prog_ac_ct_RANLIB="ranlib"
3465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3474 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3475 if test -n "$ac_ct_RANLIB"; then
3476 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3477 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3479 echo "$as_me:$LINENO: result: no" >&5
3480 echo "${ECHO_T}no" >&6
3483 RANLIB=$ac_ct_RANLIB
3485 RANLIB="$ac_cv_prog_RANLIB"
3489 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3490 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3491 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3492 if test "${enable_maintainer_mode+set}" = set; then
3493 enableval="$enable_maintainer_mode"
3494 USE_MAINTAINER_MODE=$enableval
3496 USE_MAINTAINER_MODE=no
3498 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3499 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3502 if test $USE_MAINTAINER_MODE = yes; then
3503 MAINTAINER_MODE_TRUE=
3504 MAINTAINER_MODE_FALSE='#'
3506 MAINTAINER_MODE_TRUE='#'
3507 MAINTAINER_MODE_FALSE=
3510 MAINT=$MAINTAINER_MODE_TRUE
3514 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3515 # which are themselves conditionally expanded.
3516 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3517 ## other macros from doing the same. This should be automated.) -pme
3520 #enable_libstdcxx_debug=no
3521 #enable_libstdcxx_pch=no
3524 #enable_abi_check=no
3526 #enable_hosted_libstdcxx=yes
3528 # Find platform-specific directories containing configuration info.
3529 # Also possibly modify flags used elsewhere, as needed by the platform.
3531 . $glibcxx_srcdir/configure.host
3532 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3533 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3534 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3535 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3539 #AC_MSG_NOTICE([====== Starting libtool configuration])
3541 # Check whether --enable-shared or --disable-shared was given.
3542 if test "${enable_shared+set}" = set; then
3543 enableval="$enable_shared"
3544 p=${PACKAGE-default}
3546 yes) enable_shared=yes ;;
3547 no) enable_shared=no ;;
3550 # Look at the argument we got. We use all the common list separators.
3551 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3552 for pkg in $enableval; do
3553 if test "X$pkg" = "X$p"; then
3563 # Check whether --enable-static or --disable-static was given.
3564 if test "${enable_static+set}" = set; then
3565 enableval="$enable_static"
3566 p=${PACKAGE-default}
3568 yes) enable_static=yes ;;
3569 no) enable_static=no ;;
3572 # Look at the argument we got. We use all the common list separators.
3573 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3574 for pkg in $enableval; do
3575 if test "X$pkg" = "X$p"; then
3585 # Check whether --enable-fast-install or --disable-fast-install was given.
3586 if test "${enable_fast_install+set}" = set; then
3587 enableval="$enable_fast_install"
3588 p=${PACKAGE-default}
3590 yes) enable_fast_install=yes ;;
3591 no) enable_fast_install=no ;;
3593 enable_fast_install=no
3594 # Look at the argument we got. We use all the common list separators.
3595 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3596 for pkg in $enableval; do
3597 if test "X$pkg" = "X$p"; then
3598 enable_fast_install=yes
3605 enable_fast_install=yes
3608 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3609 if test "${with_gnu_ld+set}" = set; then
3610 withval="$with_gnu_ld"
3611 test "$withval" = no || with_gnu_ld=yes
3616 if test "$GCC" = yes; then
3617 # Check if gcc -print-prog-name=ld gives a path.
3618 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3619 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3622 # gcc leaves a trailing carriage return which upsets mingw
3623 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3625 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3628 # Accept absolute paths.
3629 [\\/]* | [A-Za-z]:[\\/]*)
3630 re_direlt='/[^/][^/]*/\.\./'
3631 # Canonicalize the path of ld
3632 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3633 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3634 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3636 test -z "$LD" && LD="$ac_prog"
3639 # If it fails, then pretend we aren't using GCC.
3643 # If it is relative, then search for the first ld in PATH.
3647 elif test "$with_gnu_ld" = yes; then
3648 echo "$as_me:$LINENO: checking for GNU ld" >&5
3649 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3651 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3652 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3654 if test "${lt_cv_path_LD+set}" = set; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 if test -z "$LD"; then
3658 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3659 for ac_dir in $PATH; do
3660 test -z "$ac_dir" && ac_dir=.
3661 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3662 lt_cv_path_LD="$ac_dir/$ac_prog"
3663 # Check to see if the program is GNU ld. I'd rather use --version,
3664 # but apparently some GNU ld's only accept -v.
3665 # Break only if it was the GNU/non-GNU ld that we prefer.
3666 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3667 test "$with_gnu_ld" != no && break
3669 test "$with_gnu_ld" != yes && break
3675 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3680 if test -n "$LD"; then
3681 echo "$as_me:$LINENO: result: $LD" >&5
3682 echo "${ECHO_T}$LD" >&6
3684 echo "$as_me:$LINENO: result: no" >&5
3685 echo "${ECHO_T}no" >&6
3687 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3688 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3689 { (exit 1); exit 1; }; }
3690 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3691 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3692 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3696 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3697 lt_cv_prog_gnu_ld=yes
3699 lt_cv_prog_gnu_ld=no
3702 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3703 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3704 with_gnu_ld=$lt_cv_prog_gnu_ld
3707 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3708 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3709 if test "${lt_cv_ld_reload_flag+set}" = set; then
3710 echo $ECHO_N "(cached) $ECHO_C" >&6
3712 lt_cv_ld_reload_flag='-r'
3714 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3715 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3716 reload_flag=$lt_cv_ld_reload_flag
3717 test -n "$reload_flag" && reload_flag=" $reload_flag"
3719 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3720 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3721 if test "${lt_cv_path_NM+set}" = set; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3724 if test -n "$NM"; then
3725 # Let the user override the test.
3728 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3729 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3730 test -z "$ac_dir" && ac_dir=.
3731 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3732 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3733 # Check to see if the nm accepts a BSD-compat flag.
3734 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3735 # nm: unknown option "B" ignored
3736 # Tru64's nm complains that /dev/null is an invalid object file
3737 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3738 lt_cv_path_NM="$tmp_nm -B"
3740 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3741 lt_cv_path_NM="$tmp_nm -p"
3744 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3745 continue # so that we can try to find one that supports BSD flags
3750 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3755 echo "$as_me:$LINENO: result: $NM" >&5
3756 echo "${ECHO_T}$NM" >&6
3758 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3759 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3760 if test "${lt_cv_deplibs_check_method+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 lt_cv_file_magic_cmd='$MAGIC_CMD'
3764 lt_cv_file_magic_test_file=
3765 lt_cv_deplibs_check_method='unknown'
3766 # Need to set the preceding variable on all platforms that support
3767 # interlibrary dependencies.
3768 # 'none' -- dependencies not supported.
3769 # `unknown' -- same as none, but documents that we really don't know.
3770 # 'pass_all' -- all dependencies passed with no checks.
3771 # 'test_compile' -- check by making test program.
3772 # 'file_magic [regex]' -- check by looking for files in library path
3773 # which responds to the $file_magic_cmd with a given egrep regex.
3774 # If you have `file' or equivalent on your system and you're not sure
3775 # whether `pass_all' will *always* work, you probably want this one.
3779 lt_cv_deplibs_check_method=pass_all
3783 lt_cv_deplibs_check_method=pass_all
3787 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3788 lt_cv_file_magic_cmd='/usr/bin/file -L'
3789 lt_cv_file_magic_test_file=/shlib/libc.so
3792 cygwin* | mingw* |pw32*)
3793 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3794 lt_cv_file_magic_cmd='$OBJDUMP -f'
3797 darwin* | rhapsody*)
3798 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3799 lt_cv_file_magic_cmd='/usr/bin/file -L'
3801 rhapsody* | darwin1.012)
3802 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3805 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3811 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3814 # Not sure whether the presence of OpenBSD here was a mistake.
3815 # Let's accept both of them until this is cleared up.
3816 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3817 lt_cv_file_magic_cmd=/usr/bin/file
3818 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3822 lt_cv_deplibs_check_method=pass_all
3827 lt_cv_deplibs_check_method=pass_all
3833 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3834 lt_cv_file_magic_cmd=/usr/bin/file
3835 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3838 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3839 lt_cv_file_magic_cmd=/usr/bin/file
3840 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3848 # this will be overridden with pass_all, but let us keep it just in case
3849 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3853 *-32|*"-32 ") libmagic=32-bit;;
3854 *-n32|*"-n32 ") libmagic=N32;;
3855 *-64|*"-64 ") libmagic=64-bit;;
3856 *) libmagic=never-match;;
3858 # this will be overridden with pass_all, but let us keep it just in case
3859 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3862 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3863 lt_cv_deplibs_check_method=pass_all
3866 # This must be Linux ELF.
3869 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3870 lt_cv_deplibs_check_method=pass_all ;;
3872 # glibc up to 2.1.1 does not perform some relocations on ARM
3873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3875 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3879 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3880 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3882 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3888 lt_cv_file_magic_cmd=/usr/bin/file
3889 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3892 osf3* | osf4* | osf5*)
3893 # this will be overridden with pass_all, but let us keep it just in case
3894 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3895 lt_cv_file_magic_test_file=/shlib/libc.so
3896 lt_cv_deplibs_check_method=pass_all
3900 lt_cv_deplibs_check_method=pass_all
3904 lt_cv_deplibs_check_method=pass_all
3905 lt_cv_file_magic_test_file=/lib/libc.so
3908 sysv5uw[78]* | sysv4*uw2*)
3909 lt_cv_deplibs_check_method=pass_all
3912 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3913 case $host_vendor in
3915 lt_cv_deplibs_check_method=pass_all
3918 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]'
3919 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3926 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3927 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3928 file_magic_cmd=$lt_cv_file_magic_cmd
3929 deplibs_check_method=$lt_cv_deplibs_check_method
3935 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3937 # Only perform the check for file, if the check method requires it
3938 case $deplibs_check_method in
3940 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3941 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3954 ac_save_MAGIC_CMD="$MAGIC_CMD"
3955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3956 ac_dummy="/usr/bin:$PATH"
3957 for ac_dir in $ac_dummy; do
3958 test -z "$ac_dir" && ac_dir=.
3959 if test -f $ac_dir/${ac_tool_prefix}file; then
3960 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3961 if test -n "$file_magic_test_file"; then
3962 case $deplibs_check_method in
3964 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3965 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3966 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3967 egrep "$file_magic_regex" > /dev/null; then
3972 *** Warning: the command libtool uses to detect shared libraries,
3973 *** $file_magic_cmd, produces output that libtool cannot recognize.
3974 *** The result is that libtool may fail to recognize shared libraries
3975 *** as such. This will affect the creation of libtool libraries that
3976 *** depend on shared libraries, but programs linked with such libtool
3977 *** libraries will work regardless of this problem. Nevertheless, you
3978 *** may want to report the problem to your system manager and/or to
3979 *** bug-libtool@gnu.org
3989 MAGIC_CMD="$ac_save_MAGIC_CMD"
3994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3995 if test -n "$MAGIC_CMD"; then
3996 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3997 echo "${ECHO_T}$MAGIC_CMD" >&6
3999 echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6
4003 if test -z "$lt_cv_path_MAGIC_CMD"; then
4004 if test -n "$ac_tool_prefix"; then
4005 echo "$as_me:$LINENO: checking for file" >&5
4006 echo $ECHO_N "checking for file... $ECHO_C" >&6
4007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4015 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4018 ac_save_MAGIC_CMD="$MAGIC_CMD"
4019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4020 ac_dummy="/usr/bin:$PATH"
4021 for ac_dir in $ac_dummy; do
4022 test -z "$ac_dir" && ac_dir=.
4023 if test -f $ac_dir/file; then
4024 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4025 if test -n "$file_magic_test_file"; then
4026 case $deplibs_check_method in
4028 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4031 egrep "$file_magic_regex" > /dev/null; then
4036 *** Warning: the command libtool uses to detect shared libraries,
4037 *** $file_magic_cmd, produces output that libtool cannot recognize.
4038 *** The result is that libtool may fail to recognize shared libraries
4039 *** as such. This will affect the creation of libtool libraries that
4040 *** depend on shared libraries, but programs linked with such libtool
4041 *** libraries will work regardless of this problem. Nevertheless, you
4042 *** may want to report the problem to your system manager and/or to
4043 *** bug-libtool@gnu.org
4053 MAGIC_CMD="$ac_save_MAGIC_CMD"
4058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4059 if test -n "$MAGIC_CMD"; then
4060 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4061 echo "${ECHO_T}$MAGIC_CMD" >&6
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_RANLIB+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$RANLIB"; then
4085 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 RANLIB=$ac_cv_prog_RANLIB
4104 if test -n "$RANLIB"; then
4105 echo "$as_me:$LINENO: result: $RANLIB" >&5
4106 echo "${ECHO_T}$RANLIB" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4113 if test -z "$ac_cv_prog_RANLIB"; then
4114 ac_ct_RANLIB=$RANLIB
4115 # Extract the first word of "ranlib", so it can be a program name with args.
4116 set dummy ranlib; ac_word=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 if test -n "$ac_ct_RANLIB"; then
4123 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir=.
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_prog_ac_ct_RANLIB="ranlib"
4133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4142 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4143 if test -n "$ac_ct_RANLIB"; then
4144 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4145 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4151 RANLIB=$ac_ct_RANLIB
4153 RANLIB="$ac_cv_prog_RANLIB"
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4161 if test "${ac_cv_prog_STRIP+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 STRIP=$ac_cv_prog_STRIP
4184 if test -n "$STRIP"; then
4185 echo "$as_me:$LINENO: result: $STRIP" >&5
4186 echo "${ECHO_T}$STRIP" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4193 if test -z "$ac_cv_prog_STRIP"; then
4195 # Extract the first word of "strip", so it can be a program name with args.
4196 set dummy strip; ac_word=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 if test -n "$ac_ct_STRIP"; then
4203 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_STRIP="strip"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4223 if test -n "$ac_ct_STRIP"; then
4224 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4225 echo "${ECHO_T}$ac_ct_STRIP" >&6
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4233 STRIP="$ac_cv_prog_STRIP"
4237 # Check for any special flags to pass to ltconfig.
4238 libtool_flags="--cache-file=$cache_file"
4239 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4240 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4241 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4242 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4243 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4246 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4247 if test "${enable_libtool_lock+set}" = set; then
4248 enableval="$enable_libtool_lock"
4251 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4252 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4255 # Check whether --with-pic or --without-pic was given.
4256 if test "${with_pic+set}" = set; then
4262 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4263 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4265 # Some flags need to be propagated to the compiler or linker for good
4269 # Find out which ABI we are using.
4270 echo '#line 4270 "configure"' > conftest.$ac_ext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; then
4276 if test "$lt_cv_prog_gnu_ld" = yes; then
4277 case `/usr/bin/file conftest.$ac_objext` in
4279 LD="${LD-ld} -melf32bsmip"
4282 LD="${LD-ld} -melf32bmipn32"
4285 LD="${LD-ld} -melf64bmip"
4289 case `/usr/bin/file conftest.$ac_objext` in
4306 # Find out which ABI we are using.
4307 echo 'int i;' > conftest.$ac_ext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; then
4313 case "`/usr/bin/file conftest.o`" in
4325 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4326 # Find out which ABI we are using.
4327 echo 'int i;' > conftest.$ac_ext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329 (eval $ac_compile) 2>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; then
4333 case "`/usr/bin/file conftest.o`" in
4337 LD="${LD-ld} -m elf_i386"
4339 ppc64-*linux*|powerpc64-*linux*)
4340 LD="${LD-ld} -m elf32ppclinux"
4343 LD="${LD-ld} -m elf_s390"
4346 LD="${LD-ld} -m elf32_sparc"
4353 LD="${LD-ld} -m elf_x86_64"
4355 ppc*-*linux*|powerpc*-*linux*)
4356 LD="${LD-ld} -m elf64ppc"
4359 LD="${LD-ld} -m elf64_s390"
4362 LD="${LD-ld} -m elf64_sparc"
4372 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4373 SAVE_CFLAGS="$CFLAGS"
4374 CFLAGS="$CFLAGS -belf"
4375 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4376 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4377 if test "${lt_cv_cc_needs_belf+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 if test x$gcc_no_link = xyes; then
4389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4391 { (exit 1); exit 1; }; }
4393 cat >conftest.$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411 (eval $ac_link) 2>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } &&
4415 { ac_try='test -s conftest$ac_exeext'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; }; then
4421 lt_cv_cc_needs_belf=yes
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 lt_cv_cc_needs_belf=no
4428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4437 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4438 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4439 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4440 CFLAGS="$SAVE_CFLAGS"
4448 # Save cache, so that ltconfig can load it
4449 cat >confcache <<\_ACEOF
4450 # This file is a shell script that caches the results of configure
4451 # tests run on this system so they can be shared between configure
4452 # scripts and configure runs, see configure's option --config-cache.
4453 # It is not useful on other systems. If it contains results you don't
4454 # want to keep, you may remove or edit it.
4456 # config.status only pays attention to the cache file if you give it
4457 # the --recheck option to rerun configure.
4459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4465 # The following way of writing the cache mishandles newlines in values,
4466 # but we know of no workaround that is simple, portable, and efficient.
4467 # So, don't put newlines in cache variables' values.
4468 # Ultrix sh set writes to stderr and can't be redirected directly,
4469 # and sets the high bit in the cache file unless we assign to the vars.
4472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4474 # `set' does not quote correctly, so add quotes (double-quote
4475 # substitution turns \\\\ into \\, and sed turns \\ into \).
4478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4481 # `set' quotes correctly as required by POSIX, so do not add quotes.
4483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4495 if test -w $cache_file; then
4496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4497 cat confcache >$cache_file
4499 echo "not updating unwritable cache $cache_file"
4504 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4505 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4506 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4507 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4508 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4509 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4510 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4511 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4512 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4513 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4514 echo "$as_me: error: libtool configure failed" >&2;}
4515 { (exit 1); exit 1; }; }
4517 # Reload cache, that may have been modified by ltconfig
4518 if test -r "$cache_file"; then
4519 # Some versions of bash will fail to source /dev/null (special
4520 # files actually), so we avoid doing that.
4521 if test -f "$cache_file"; then
4522 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4523 echo "$as_me: loading cache $cache_file" >&6;}
4525 [\\/]* | ?:[\\/]* ) . $cache_file;;
4526 *) . ./$cache_file;;
4530 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4531 echo "$as_me: creating cache $cache_file" >&6;}
4536 # This can be used to rebuild libtool when needed
4537 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4539 # Always use our own libtool.
4540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4542 # Redirect the config.log output again, so that the ltconfig log is not
4543 # clobbered by the next message.
4544 exec 5>>./config.log
4547 ac_cpp='$CXXCPP $CPPFLAGS'
4548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4553 if test -z "$CXXCPP"; then
4554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 # Double quotes because CXXCPP needs to be expanded
4558 for CXXCPP in "$CXX -E" "/lib/cpp"
4561 for ac_cxx_preproc_warn_flag in '' yes
4563 # Use a header file that comes with gcc, so configuring glibc
4564 # with a fresh cross-compiler works.
4565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4566 # <limits.h> exists even on freestanding compilers.
4567 # On the NeXT, cc -E runs the code through the compiler's parser,
4568 # not just through cpp. "Syntax error" is here to catch this case.
4569 cat >conftest.$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4577 # include <limits.h>
4579 # include <assert.h>
4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } >/dev/null; then
4591 if test -s conftest.err; then
4592 ac_cpp_err=$ac_cxx_preproc_warn_flag
4599 if test -z "$ac_cpp_err"; then
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 # Broken: fails on valid input.
4608 rm -f conftest.err conftest.$ac_ext
4610 # OK, works on sane cases. Now check whether non-existent headers
4611 # can be detected and how.
4612 cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } >/dev/null; then
4629 if test -s conftest.err; then
4630 ac_cpp_err=$ac_cxx_preproc_warn_flag
4637 if test -z "$ac_cpp_err"; then
4638 # Broken: success on invalid input.
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4644 # Passes both tests.
4648 rm -f conftest.err conftest.$ac_ext
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then
4658 ac_cv_prog_CXXCPP=$CXXCPP
4661 CXXCPP=$ac_cv_prog_CXXCPP
4663 ac_cv_prog_CXXCPP=$CXXCPP
4665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4666 echo "${ECHO_T}$CXXCPP" >&6
4668 for ac_cxx_preproc_warn_flag in '' yes
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat >conftest.$ac_ext <<_ACEOF
4677 #line $LINENO "configure"
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4684 # include <limits.h>
4686 # include <assert.h>
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null; then
4698 if test -s conftest.err; then
4699 ac_cpp_err=$ac_cxx_preproc_warn_flag
4706 if test -z "$ac_cpp_err"; then
4709 echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 # Broken: fails on valid input.
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether non-existent headers
4718 # can be detected and how.
4719 cat >conftest.$ac_ext <<_ACEOF
4720 #line $LINENO "configure"
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1 >conftest.err
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } >/dev/null; then
4736 if test -s conftest.err; then
4737 ac_cpp_err=$ac_cxx_preproc_warn_flag
4744 if test -z "$ac_cpp_err"; then
4745 # Broken: success on invalid input.
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 # Passes both tests.
4755 rm -f conftest.err conftest.$ac_ext
4758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4759 rm -f conftest.err conftest.$ac_ext
4760 if $ac_preproc_ok; then
4763 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&5
4765 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&2;}
4767 { (exit 1); exit 1; }; }
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4780 lt_save_CFLAGS="$CFLAGS"
4781 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4782 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4783 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4784 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4785 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4786 deplibs_check_method="$deplibs_check_method" \
4787 file_magic_cmd="$file_magic_cmd" \
4788 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4789 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4790 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4791 echo "$as_me: error: libtool tag configuration failed" >&2;}
4792 { (exit 1); exit 1; }; }
4794 CFLAGS="$lt_save_CFLAGS"
4796 # Redirect the config.log output again, so that the ltconfig log is not
4797 # clobbered by the next message.
4798 exec 5>>./config.log
4807 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4809 # Possibly disable most of the library.
4810 ## XXX Consider skipping unncessary tests altogether in this case, rather
4811 ## than just ignoring the results. Faster /and/ more correct, win win.
4813 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4814 if test "${enable_hosted_libstdcxx+set}" = set; then
4815 enableval="$enable_hosted_libstdcxx"
4818 enable_hosted_libstdcxx=yes
4820 if test "$enable_hosted_libstdcxx" = no; then
4821 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4822 echo "$as_me: Only freestanding libraries will be built" >&6;}
4826 enable_libstdcxx_pch=no
4833 cat >>confdefs.h <<_ACEOF
4834 #define _GLIBCXX_HOSTED $hosted_define
4839 # Check for support bits and g++ features that don't require linking.
4841 echo "$as_me:$LINENO: checking for exception model to use" >&5
4842 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4846 ac_cpp='$CXXCPP $CPPFLAGS'
4847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4851 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4852 if test "${enable_sjlj_exceptions+set}" = set; then
4853 enableval="$enable_sjlj_exceptions"
4855 case "$enableval" in
4857 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4858 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4859 { (exit 1); exit 1; }; } ;;
4863 enable_sjlj_exceptions=auto
4867 if test $enable_sjlj_exceptions = auto; then
4868 # Botheration. Now we've got to detect the exception model. Link tests
4869 # against libgcc.a are problematic since we've not been given proper -L
4870 # bits for single-tree newlib and libgloss.
4872 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4873 cat > conftest.$ac_ext << EOF
4874 #line 4874 "configure"
4883 old_CXXFLAGS="$CXXFLAGS"
4885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886 (eval $ac_compile) 2>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; then
4890 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4891 enable_sjlj_exceptions=yes
4892 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4893 enable_sjlj_exceptions=no
4896 CXXFLAGS="$old_CXXFLAGS"
4900 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4901 # to two different models.
4902 case $enable_sjlj_exceptions in
4905 cat >>confdefs.h <<\_ACEOF
4906 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4909 ac_exception_model_name=sjlj
4912 ac_exception_model_name="call frame"
4915 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4916 echo "$as_me: error: unable to detect exception model" >&2;}
4917 { (exit 1); exit 1; }; }
4921 ac_cpp='$CPP $CPPFLAGS'
4922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4927 echo "${ECHO_T}$ac_exception_model_name" >&6
4930 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4931 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4932 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4933 if test "${enable_libunwind_exceptions+set}" = set; then
4934 enableval="$enable_libunwind_exceptions"
4936 case "$enableval" in
4938 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4939 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4940 { (exit 1); exit 1; }; } ;;
4944 enable_libunwind_exceptions=no
4947 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4948 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4949 if test $enable_libunwind_exceptions = yes; then
4950 LIBUNWIND_FLAG="-lunwind"
4957 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4958 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4959 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4960 if test "${enable_libstdcxx_pch+set}" = set; then
4961 enableval="$enable_libstdcxx_pch"
4963 case "$enableval" in
4965 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4966 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4967 { (exit 1); exit 1; }; } ;;
4971 enable_libstdcxx_pch=$is_hosted
4974 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4975 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4977 if test $enable_libstdcxx_pch = yes; then
4978 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4979 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4980 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 ac_save_CXXFLAGS="$CXXFLAGS"
4984 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4988 ac_cpp='$CXXCPP $CPPFLAGS'
4989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4993 echo '#include <math.h>' > conftest.h
4994 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4995 -o conftest.h.gch 1>&5 2>&1 &&
4996 echo '#error "pch failed"' > conftest.h &&
4997 echo '#include "conftest.h"' > conftest.cc &&
4998 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5000 glibcxx_cv_prog_CXX_pch=yes
5002 glibcxx_cv_prog_CXX_pch=no
5005 CXXFLAGS=$ac_save_CXXFLAGS
5007 ac_cpp='$CPP $CPPFLAGS'
5008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5015 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5016 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5020 if test $enable_libstdcxx_pch = yes; then
5021 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5028 # Enable all the variable C++ runtime options.
5029 # NB: C_MBCHAR must come early.
5031 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5032 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5033 # Check whether --enable-cstdio or --disable-cstdio was given.
5034 if test "${enable_cstdio+set}" = set; then
5035 enableval="$enable_cstdio"
5037 case "$enableval" in
5039 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5040 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5041 { (exit 1); exit 1; }; } ;;
5049 # Now that libio has been removed, you can have any color you want as long
5050 # as it's black. This is one big no-op until other packages are added, but
5051 # showing the framework never hurts.
5052 case ${enable_cstdio} in
5054 CSTDIO_H=config/io/c_io_stdio.h
5055 BASIC_FILE_H=config/io/basic_file_stdio.h
5056 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5057 echo "$as_me:$LINENO: result: stdio" >&5
5058 echo "${ECHO_T}stdio" >&6
5062 FPOS_H=$fpos_include_dir
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5074 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5075 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5076 # On Suns, sometimes $CPP names a directory.
5077 if test -n "$CPP" && test -d "$CPP"; then
5080 if test -z "$CPP"; then
5081 if test "${ac_cv_prog_CPP+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 # Double quotes because CPP needs to be expanded
5085 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5088 for ac_c_preproc_warn_flag in '' yes
5090 # Use a header file that comes with gcc, so configuring glibc
5091 # with a fresh cross-compiler works.
5092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5093 # <limits.h> exists even on freestanding compilers.
5094 # On the NeXT, cc -E runs the code through the compiler's parser,
5095 # not just through cpp. "Syntax error" is here to catch this case.
5096 cat >conftest.$ac_ext <<_ACEOF
5097 #line $LINENO "configure"
5100 cat confdefs.h >>conftest.$ac_ext
5101 cat >>conftest.$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5104 # include <limits.h>
5106 # include <assert.h>
5110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5113 grep -v '^ *+' conftest.er1 >conftest.err
5115 cat conftest.err >&5
5116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5117 (exit $ac_status); } >/dev/null; then
5118 if test -s conftest.err; then
5119 ac_cpp_err=$ac_c_preproc_warn_flag
5126 if test -z "$ac_cpp_err"; then
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.$ac_ext >&5
5132 # Broken: fails on valid input.
5135 rm -f conftest.err conftest.$ac_ext
5137 # OK, works on sane cases. Now check whether non-existent headers
5138 # can be detected and how.
5139 cat >conftest.$ac_ext <<_ACEOF
5140 #line $LINENO "configure"
5143 cat confdefs.h >>conftest.$ac_ext
5144 cat >>conftest.$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 #include <ac_nonexistent.h>
5148 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5149 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5151 grep -v '^ *+' conftest.er1 >conftest.err
5153 cat conftest.err >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } >/dev/null; then
5156 if test -s conftest.err; then
5157 ac_cpp_err=$ac_c_preproc_warn_flag
5164 if test -z "$ac_cpp_err"; then
5165 # Broken: success on invalid input.
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.$ac_ext >&5
5171 # Passes both tests.
5175 rm -f conftest.err conftest.$ac_ext
5178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5179 rm -f conftest.err conftest.$ac_ext
5180 if $ac_preproc_ok; then
5192 echo "$as_me:$LINENO: result: $CPP" >&5
5193 echo "${ECHO_T}$CPP" >&6
5195 for ac_c_preproc_warn_flag in '' yes
5197 # Use a header file that comes with gcc, so configuring glibc
5198 # with a fresh cross-compiler works.
5199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5200 # <limits.h> exists even on freestanding compilers.
5201 # On the NeXT, cc -E runs the code through the compiler's parser,
5202 # not just through cpp. "Syntax error" is here to catch this case.
5203 cat >conftest.$ac_ext <<_ACEOF
5204 #line $LINENO "configure"
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5211 # include <limits.h>
5213 # include <assert.h>
5217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5220 grep -v '^ *+' conftest.er1 >conftest.err
5222 cat conftest.err >&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } >/dev/null; then
5225 if test -s conftest.err; then
5226 ac_cpp_err=$ac_c_preproc_warn_flag
5233 if test -z "$ac_cpp_err"; then
5236 echo "$as_me: failed program was:" >&5
5237 sed 's/^/| /' conftest.$ac_ext >&5
5239 # Broken: fails on valid input.
5242 rm -f conftest.err conftest.$ac_ext
5244 # OK, works on sane cases. Now check whether non-existent headers
5245 # can be detected and how.
5246 cat >conftest.$ac_ext <<_ACEOF
5247 #line $LINENO "configure"
5250 cat confdefs.h >>conftest.$ac_ext
5251 cat >>conftest.$ac_ext <<_ACEOF
5252 /* end confdefs.h. */
5253 #include <ac_nonexistent.h>
5255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5258 grep -v '^ *+' conftest.er1 >conftest.err
5260 cat conftest.err >&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } >/dev/null; then
5263 if test -s conftest.err; then
5264 ac_cpp_err=$ac_c_preproc_warn_flag
5271 if test -z "$ac_cpp_err"; then
5272 # Broken: success on invalid input.
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 # Passes both tests.
5282 rm -f conftest.err conftest.$ac_ext
5285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5286 rm -f conftest.err conftest.$ac_ext
5287 if $ac_preproc_ok; then
5290 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5291 See \`config.log' for more details." >&5
5292 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5293 See \`config.log' for more details." >&2;}
5294 { (exit 1); exit 1; }; }
5298 ac_cpp='$CPP $CPPFLAGS'
5299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5304 echo "$as_me:$LINENO: checking for egrep" >&5
5305 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5306 if test "${ac_cv_prog_egrep+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5309 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5310 then ac_cv_prog_egrep='grep -E'
5311 else ac_cv_prog_egrep='egrep'
5314 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5315 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5316 EGREP=$ac_cv_prog_egrep
5319 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5320 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5321 if test "${ac_cv_header_stdc+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 cat >conftest.$ac_ext <<_ACEOF
5325 #line $LINENO "configure"
5328 cat confdefs.h >>conftest.$ac_ext
5329 cat >>conftest.$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5344 rm -f conftest.$ac_objext
5345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5346 (eval $ac_compile) 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); } &&
5350 { ac_try='test -s conftest.$ac_objext'
5351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5355 (exit $ac_status); }; }; then
5356 ac_cv_header_stdc=yes
5358 echo "$as_me: failed program was:" >&5
5359 sed 's/^/| /' conftest.$ac_ext >&5
5361 ac_cv_header_stdc=no
5363 rm -f conftest.$ac_objext conftest.$ac_ext
5365 if test $ac_cv_header_stdc = yes; then
5366 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5367 cat >conftest.$ac_ext <<_ACEOF
5368 #line $LINENO "configure"
5371 cat confdefs.h >>conftest.$ac_ext
5372 cat >>conftest.$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5378 $EGREP "memchr" >/dev/null 2>&1; then
5381 ac_cv_header_stdc=no
5387 if test $ac_cv_header_stdc = yes; then
5388 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5389 cat >conftest.$ac_ext <<_ACEOF
5390 #line $LINENO "configure"
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5400 $EGREP "free" >/dev/null 2>&1; then
5403 ac_cv_header_stdc=no
5409 if test $ac_cv_header_stdc = yes; then
5410 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5411 if test "$cross_compiling" = yes; then
5414 cat >conftest.$ac_ext <<_ACEOF
5415 #line $LINENO "configure"
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5422 #if ((' ' & 0x0FF) == 0x020)
5423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5426 # define ISLOWER(c) \
5427 (('a' <= (c) && (c) <= 'i') \
5428 || ('j' <= (c) && (c) <= 'r') \
5429 || ('s' <= (c) && (c) <= 'z'))
5430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5438 for (i = 0; i < 256; i++)
5439 if (XOR (islower (i), ISLOWER (i))
5440 || toupper (i) != TOUPPER (i))
5445 rm -f conftest$ac_exeext
5446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5447 (eval $ac_link) 2>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; }; then
5458 echo "$as_me: program exited with status $ac_status" >&5
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5463 ac_cv_header_stdc=no
5465 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5470 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5471 if test $ac_cv_header_stdc = yes; then
5473 cat >>confdefs.h <<\_ACEOF
5474 #define STDC_HEADERS 1
5479 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5489 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5490 inttypes.h stdint.h unistd.h
5492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5493 echo "$as_me:$LINENO: checking for $ac_header" >&5
5494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5495 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 cat >conftest.$ac_ext <<_ACEOF
5499 #line $LINENO "configure"
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 $ac_includes_default
5507 #include <$ac_header>
5509 rm -f conftest.$ac_objext
5510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5511 (eval $ac_compile) 2>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } &&
5515 { ac_try='test -s conftest.$ac_objext'
5516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; }; then
5521 eval "$as_ac_Header=yes"
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 eval "$as_ac_Header=no"
5528 rm -f conftest.$ac_objext conftest.$ac_ext
5530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5533 cat >>confdefs.h <<_ACEOF
5534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5543 echo "$as_me:$LINENO: checking for C locale to use" >&5
5544 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5545 # Check whether --enable-clocale or --disable-clocale was given.
5546 if test "${enable_clocale+set}" = set; then
5547 enableval="$enable_clocale"
5549 case "$enableval" in
5550 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5551 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5552 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5553 { (exit 1); exit 1; }; } ;;
5561 # If they didn't use this option switch, or if they specified --enable
5562 # with no specific model, we'll have to look for one. If they
5563 # specified --disable (???), do likewise.
5564 if test $enable_clocale = no || test $enable_clocale = yes; then
5568 # Either a known package, or "auto"
5569 enable_clocale_flag=$enable_clocale
5571 # Probe for locale support if no specific model is specified.
5572 # Default to "generic".
5573 if test $enable_clocale_flag = auto; then
5574 case x${target_os} in
5576 cat >conftest.$ac_ext <<_ACEOF
5577 #line $LINENO "configure"
5580 cat confdefs.h >>conftest.$ac_ext
5581 cat >>conftest.$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5584 #include <features.h>
5585 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5591 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5592 enable_clocale_flag=gnu
5594 enable_clocale_flag=generic
5599 # Test for bugs early in glibc-2.2.x series
5600 if test x$enable_clocale_flag = xgnu; then
5601 if test "$cross_compiling" = yes; then
5602 enable_clocale_flag=generic
5604 cat >conftest.$ac_ext <<_ACEOF
5605 #line $LINENO "configure"
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5612 #define _GNU_SOURCE 1
5615 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5616 extern __typeof(newlocale) __newlocale;
5617 extern __typeof(duplocale) __duplocale;
5618 extern __typeof(strcoll_l) __strcoll_l;
5622 const char __one[] = "Äuglein Augmen";
5623 const char __two[] = "Äuglein";
5628 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5629 loc_dup = __duplocale(loc);
5630 i = __strcoll_l(__one, __two, loc);
5631 j = __strcoll_l(__one, __two, loc_dup);
5636 rm -f conftest$ac_exeext
5637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5638 (eval $ac_link) 2>&5
5640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 enable_clocale_flag=gnu
5649 echo "$as_me: program exited with status $ac_status" >&5
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5654 enable_clocale_flag=generic
5656 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5660 # ... at some point put __strxfrm_l tests in as well.
5663 enable_clocale_flag=generic
5668 # Deal with gettext issues. Default to not using it (=no) until we detect
5669 # support for it later. Let the user turn it off via --e/d, but let that
5670 # default to on for easier handling.
5672 # Check whether --enable-nls or --disable-nls was given.
5673 if test "${enable_nls+set}" = set; then
5674 enableval="$enable_nls"
5680 # Set configure bits for specified locale package
5681 case ${enable_clocale_flag} in
5683 echo "$as_me:$LINENO: result: generic" >&5
5684 echo "${ECHO_T}generic" >&6
5686 CLOCALE_H=config/locale/generic/c_locale.h
5687 CLOCALE_CC=config/locale/generic/c_locale.cc
5688 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5689 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5690 CCOLLATE_CC=config/locale/generic/collate_members.cc
5691 CCTYPE_CC=config/locale/generic/ctype_members.cc
5692 CMESSAGES_H=config/locale/generic/messages_members.h
5693 CMESSAGES_CC=config/locale/generic/messages_members.cc
5694 CMONEY_CC=config/locale/generic/monetary_members.cc
5695 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5696 CTIME_H=config/locale/generic/time_members.h
5697 CTIME_CC=config/locale/generic/time_members.cc
5698 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5701 echo "$as_me:$LINENO: result: gnu" >&5
5702 echo "${ECHO_T}gnu" >&6
5704 # Declare intention to use gettext, and add support for specific
5706 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5709 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5710 # Extract the first word of "msgfmt", so it can be a program name with args.
5711 set dummy msgfmt; ac_word=$2
5712 echo "$as_me:$LINENO: checking for $ac_word" >&5
5713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5714 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5717 if test -n "$check_msgfmt"; then
5718 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 ac_cv_prog_check_msgfmt="yes"
5728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5737 check_msgfmt=$ac_cv_prog_check_msgfmt
5738 if test -n "$check_msgfmt"; then
5739 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5740 echo "${ECHO_T}$check_msgfmt" >&6
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5746 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5749 # Export the build objects.
5750 for ling in $ALL_LINGUAS; do \
5751 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5752 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5757 CLOCALE_H=config/locale/gnu/c_locale.h
5758 CLOCALE_CC=config/locale/gnu/c_locale.cc
5759 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5760 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5761 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5762 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5763 CMESSAGES_H=config/locale/gnu/messages_members.h
5764 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5765 CMONEY_CC=config/locale/gnu/monetary_members.cc
5766 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5767 CTIME_H=config/locale/gnu/time_members.h
5768 CTIME_CC=config/locale/gnu/time_members.cc
5769 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5772 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5773 echo "${ECHO_T}IEEE 1003.1" >&6
5775 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5776 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5777 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5778 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5779 CCOLLATE_CC=config/locale/generic/collate_members.cc
5780 CCTYPE_CC=config/locale/generic/ctype_members.cc
5781 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5782 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5783 CMONEY_CC=config/locale/generic/monetary_members.cc
5784 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5785 CTIME_H=config/locale/generic/time_members.h
5786 CTIME_CC=config/locale/generic/time_members.cc
5787 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5791 # This is where the testsuite looks for locale catalogs, using the
5792 # -DLOCALEDIR define during testsuite compilation.
5793 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5796 # A standalone libintl (e.g., GNU libintl) may be in use.
5797 if test $USE_NLS = yes; then
5799 for ac_header in libintl.h
5801 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5802 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5803 echo "$as_me:$LINENO: checking for $ac_header" >&5
5804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5811 # Is the header compilable?
5812 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5813 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5814 cat >conftest.$ac_ext <<_ACEOF
5815 #line $LINENO "configure"
5818 cat confdefs.h >>conftest.$ac_ext
5819 cat >>conftest.$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5821 $ac_includes_default
5822 #include <$ac_header>
5824 rm -f conftest.$ac_objext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5826 (eval $ac_compile) 2>&5
5828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829 (exit $ac_status); } &&
5830 { ac_try='test -s conftest.$ac_objext'
5831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5835 (exit $ac_status); }; }; then
5836 ac_header_compiler=yes
5838 echo "$as_me: failed program was:" >&5
5839 sed 's/^/| /' conftest.$ac_ext >&5
5841 ac_header_compiler=no
5843 rm -f conftest.$ac_objext conftest.$ac_ext
5844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5845 echo "${ECHO_T}$ac_header_compiler" >&6
5847 # Is the header present?
5848 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5849 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5850 cat >conftest.$ac_ext <<_ACEOF
5851 #line $LINENO "configure"
5854 cat confdefs.h >>conftest.$ac_ext
5855 cat >>conftest.$ac_ext <<_ACEOF
5856 /* end confdefs.h. */
5857 #include <$ac_header>
5859 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5860 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5862 grep -v '^ *+' conftest.er1 >conftest.err
5864 cat conftest.err >&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } >/dev/null; then
5867 if test -s conftest.err; then
5868 ac_cpp_err=$ac_c_preproc_warn_flag
5875 if test -z "$ac_cpp_err"; then
5876 ac_header_preproc=yes
5878 echo "$as_me: failed program was:" >&5
5879 sed 's/^/| /' conftest.$ac_ext >&5
5881 ac_header_preproc=no
5883 rm -f conftest.err conftest.$ac_ext
5884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5885 echo "${ECHO_T}$ac_header_preproc" >&6
5887 # So? What about this header?
5888 case $ac_header_compiler:$ac_header_preproc in
5890 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5891 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5896 ## ------------------------------------ ##
5897 ## Report this to bug-autoconf@gnu.org. ##
5898 ## ------------------------------------ ##
5901 sed "s/^/$as_me: WARNING: /" >&2
5904 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5905 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5907 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5912 ## ------------------------------------ ##
5913 ## Report this to bug-autoconf@gnu.org. ##
5914 ## ------------------------------------ ##
5917 sed "s/^/$as_me: WARNING: /" >&2
5920 echo "$as_me:$LINENO: checking for $ac_header" >&5
5921 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5923 echo $ECHO_N "(cached) $ECHO_C" >&6
5925 eval "$as_ac_Header=$ac_header_preproc"
5927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5931 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5932 cat >>confdefs.h <<_ACEOF
5933 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5942 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5943 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5944 if test "${ac_cv_search_gettext+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 ac_func_search_save_LIBS=$LIBS
5948 ac_cv_search_gettext=no
5949 if test x$gcc_no_link = xyes; then
5950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5952 { (exit 1); exit 1; }; }
5954 cat >conftest.$ac_ext <<_ACEOF
5955 #line $LINENO "configure"
5958 cat confdefs.h >>conftest.$ac_ext
5959 cat >>conftest.$ac_ext <<_ACEOF
5960 /* end confdefs.h. */
5962 /* Override any gcc2 internal prototype to avoid an error. */
5966 /* We use char because int might match the return type of a gcc2
5967 builtin and then its argument prototype would still apply. */
5977 rm -f conftest.$ac_objext conftest$ac_exeext
5978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5979 (eval $ac_link) 2>&5
5981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5982 (exit $ac_status); } &&
5983 { ac_try='test -s conftest$ac_exeext'
5984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5988 (exit $ac_status); }; }; then
5989 ac_cv_search_gettext="none required"
5991 echo "$as_me: failed program was:" >&5
5992 sed 's/^/| /' conftest.$ac_ext >&5
5995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5996 if test "$ac_cv_search_gettext" = no; then
5997 for ac_lib in intl; do
5998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5999 if test x$gcc_no_link = xyes; then
6000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6002 { (exit 1); exit 1; }; }
6004 cat >conftest.$ac_ext <<_ACEOF
6005 #line $LINENO "configure"
6008 cat confdefs.h >>conftest.$ac_ext
6009 cat >>conftest.$ac_ext <<_ACEOF
6010 /* end confdefs.h. */
6012 /* Override any gcc2 internal prototype to avoid an error. */
6016 /* We use char because int might match the return type of a gcc2
6017 builtin and then its argument prototype would still apply. */
6027 rm -f conftest.$ac_objext conftest$ac_exeext
6028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6029 (eval $ac_link) 2>&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } &&
6033 { ac_try='test -s conftest$ac_exeext'
6034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); }; }; then
6039 ac_cv_search_gettext="-l$ac_lib"
6042 echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.$ac_ext >&5
6046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6049 LIBS=$ac_func_search_save_LIBS
6051 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6052 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6053 if test "$ac_cv_search_gettext" != no; then
6054 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6061 if test $USE_NLS = yes; then
6062 cat >>confdefs.h <<\_ACEOF
6063 #define _GLIBCXX_USE_NLS 1
6084 # Check whether --enable-cheaders or --disable-cheaders was given.
6085 if test "${enable_cheaders+set}" = set; then
6086 enableval="$enable_cheaders"
6088 case "$enableval" in
6090 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6091 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6092 { (exit 1); exit 1; }; } ;;
6096 enable_cheaders=$c_model
6099 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6100 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6102 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6109 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6110 if test "${enable_c_mbchar+set}" = set; then
6111 enableval="$enable_c_mbchar"
6113 case "$enableval" in
6115 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6116 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6117 { (exit 1); exit 1; }; } ;;
6124 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6128 # Check whether --enable-c99 or --disable-c99 was given.
6129 if test "${enable_c99+set}" = set; then
6130 enableval="$enable_c99"
6132 case "$enableval" in
6134 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6135 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6136 { (exit 1); exit 1; }; } ;;
6147 ac_cpp='$CXXCPP $CPPFLAGS'
6148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6153 # Check for the existence of <math.h> functions used if C99 is enabled.
6155 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6156 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6157 cat >conftest.$ac_ext <<_ACEOF
6158 #line $LINENO "configure"
6161 cat confdefs.h >>conftest.$ac_ext
6162 cat >>conftest.$ac_ext <<_ACEOF
6163 /* end confdefs.h. */
6173 rm -f conftest.$ac_objext
6174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6175 (eval $ac_compile) 2>&5
6177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6178 (exit $ac_status); } &&
6179 { ac_try='test -s conftest.$ac_objext'
6180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); }; }; then
6187 echo "$as_me: failed program was:" >&5
6188 sed 's/^/| /' conftest.$ac_ext >&5
6192 rm -f conftest.$ac_objext conftest.$ac_ext
6193 cat >conftest.$ac_ext <<_ACEOF
6194 #line $LINENO "configure"
6197 cat confdefs.h >>conftest.$ac_ext
6198 cat >>conftest.$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6209 rm -f conftest.$ac_objext
6210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6211 (eval $ac_compile) 2>&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } &&
6215 { ac_try='test -s conftest.$ac_objext'
6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.$ac_ext >&5
6228 rm -f conftest.$ac_objext conftest.$ac_ext
6229 cat >conftest.$ac_ext <<_ACEOF
6230 #line $LINENO "configure"
6233 cat confdefs.h >>conftest.$ac_ext
6234 cat >>conftest.$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6245 rm -f conftest.$ac_objext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247 (eval $ac_compile) 2>&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try='test -s conftest.$ac_objext'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; }; then
6259 echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6264 rm -f conftest.$ac_objext conftest.$ac_ext
6265 cat >conftest.$ac_ext <<_ACEOF
6266 #line $LINENO "configure"
6269 cat confdefs.h >>conftest.$ac_ext
6270 cat >>conftest.$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6281 rm -f conftest.$ac_objext
6282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6283 (eval $ac_compile) 2>&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } &&
6287 { ac_try='test -s conftest.$ac_objext'
6288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); }; }; then
6295 echo "$as_me: failed program was:" >&5
6296 sed 's/^/| /' conftest.$ac_ext >&5
6300 rm -f conftest.$ac_objext conftest.$ac_ext
6301 cat >conftest.$ac_ext <<_ACEOF
6302 #line $LINENO "configure"
6305 cat confdefs.h >>conftest.$ac_ext
6306 cat >>conftest.$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6317 rm -f conftest.$ac_objext
6318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6319 (eval $ac_compile) 2>&5
6321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6322 (exit $ac_status); } &&
6323 { ac_try='test -s conftest.$ac_objext'
6324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); }; }; then
6331 echo "$as_me: failed program was:" >&5
6332 sed 's/^/| /' conftest.$ac_ext >&5
6336 rm -f conftest.$ac_objext conftest.$ac_ext
6337 cat >conftest.$ac_ext <<_ACEOF
6338 #line $LINENO "configure"
6341 cat confdefs.h >>conftest.$ac_ext
6342 cat >>conftest.$ac_ext <<_ACEOF
6343 /* end confdefs.h. */
6353 rm -f conftest.$ac_objext
6354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6355 (eval $ac_compile) 2>&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } &&
6359 { ac_try='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6372 rm -f conftest.$ac_objext conftest.$ac_ext
6373 cat >conftest.$ac_ext <<_ACEOF
6374 #line $LINENO "configure"
6377 cat confdefs.h >>conftest.$ac_ext
6378 cat >>conftest.$ac_ext <<_ACEOF
6379 /* end confdefs.h. */
6389 rm -f conftest.$ac_objext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6391 (eval $ac_compile) 2>&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } &&
6395 { ac_try='test -s conftest.$ac_objext'
6396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); }; }; then
6403 echo "$as_me: failed program was:" >&5
6404 sed 's/^/| /' conftest.$ac_ext >&5
6408 rm -f conftest.$ac_objext conftest.$ac_ext
6409 cat >conftest.$ac_ext <<_ACEOF
6410 #line $LINENO "configure"
6413 cat confdefs.h >>conftest.$ac_ext
6414 cat >>conftest.$ac_ext <<_ACEOF
6415 /* end confdefs.h. */
6420 isgreaterequal(0.0,0.0);
6425 rm -f conftest.$ac_objext
6426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6427 (eval $ac_compile) 2>&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } &&
6431 { ac_try='test -s conftest.$ac_objext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6444 rm -f conftest.$ac_objext conftest.$ac_ext
6445 cat >conftest.$ac_ext <<_ACEOF
6446 #line $LINENO "configure"
6449 cat confdefs.h >>conftest.$ac_ext
6450 cat >>conftest.$ac_ext <<_ACEOF
6451 /* end confdefs.h. */
6461 rm -f conftest.$ac_objext
6462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463 (eval $ac_compile) 2>&5
6465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466 (exit $ac_status); } &&
6467 { ac_try='test -s conftest.$ac_objext'
6468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); }; }; then
6475 echo "$as_me: failed program was:" >&5
6476 sed 's/^/| /' conftest.$ac_ext >&5
6480 rm -f conftest.$ac_objext conftest.$ac_ext
6481 cat >conftest.$ac_ext <<_ACEOF
6482 #line $LINENO "configure"
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6492 islessequal(0.0,0.0);
6497 rm -f conftest.$ac_objext
6498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6499 (eval $ac_compile) 2>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } &&
6503 { ac_try='test -s conftest.$ac_objext'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; }; then
6511 echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.$ac_ext >&5
6516 rm -f conftest.$ac_objext conftest.$ac_ext
6517 cat >conftest.$ac_ext <<_ACEOF
6518 #line $LINENO "configure"
6521 cat confdefs.h >>conftest.$ac_ext
6522 cat >>conftest.$ac_ext <<_ACEOF
6523 /* end confdefs.h. */
6528 islessgreater(0.0,0.0);
6533 rm -f conftest.$ac_objext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6535 (eval $ac_compile) 2>&5
6537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6538 (exit $ac_status); } &&
6539 { ac_try='test -s conftest.$ac_objext'
6540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); }; }; then
6547 echo "$as_me: failed program was:" >&5
6548 sed 's/^/| /' conftest.$ac_ext >&5
6552 rm -f conftest.$ac_objext conftest.$ac_ext
6553 cat >conftest.$ac_ext <<_ACEOF
6554 #line $LINENO "configure"
6557 cat confdefs.h >>conftest.$ac_ext
6558 cat >>conftest.$ac_ext <<_ACEOF
6559 /* end confdefs.h. */
6564 isunordered(0.0,0.0);
6569 rm -f conftest.$ac_objext
6570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6571 (eval $ac_compile) 2>&5
6573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6574 (exit $ac_status); } &&
6575 { ac_try='test -s conftest.$ac_objext'
6576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); }; }; then
6583 echo "$as_me: failed program was:" >&5
6584 sed 's/^/| /' conftest.$ac_ext >&5
6588 rm -f conftest.$ac_objext conftest.$ac_ext
6589 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6590 echo "${ECHO_T}$ac_c99_math" >&6
6592 # Check for the existence in <stdio.h> of vscanf, et. al.
6594 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6595 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6596 cat >conftest.$ac_ext <<_ACEOF
6597 #line $LINENO "configure"
6600 cat confdefs.h >>conftest.$ac_ext
6601 cat >>conftest.$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6607 snprintf("12", 0, "%i");
6612 rm -f conftest.$ac_objext
6613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6614 (eval $ac_compile) 2>&5
6616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6617 (exit $ac_status); } &&
6618 { ac_try='test -s conftest.$ac_objext'
6619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); }; }; then
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6631 rm -f conftest.$ac_objext conftest.$ac_ext
6632 cat >conftest.$ac_ext <<_ACEOF
6633 #line $LINENO "configure"
6636 cat confdefs.h >>conftest.$ac_ext
6637 cat >>conftest.$ac_ext <<_ACEOF
6638 /* end confdefs.h. */
6641 void foo(char* fmt, ...)
6642 {va_list args; va_start(args, fmt);
6643 vfscanf(stderr, "%i", args);}
6652 rm -f conftest.$ac_objext
6653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6654 (eval $ac_compile) 2>&5
6656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6657 (exit $ac_status); } &&
6658 { ac_try='test -s conftest.$ac_objext'
6659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); }; }; then
6666 echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.$ac_ext >&5
6671 rm -f conftest.$ac_objext conftest.$ac_ext
6672 cat >conftest.$ac_ext <<_ACEOF
6673 #line $LINENO "configure"
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6681 void foo(char* fmt, ...)
6682 {va_list args; va_start(args, fmt);
6683 vscanf("%i", args);}
6692 rm -f conftest.$ac_objext
6693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6694 (eval $ac_compile) 2>&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); } &&
6698 { ac_try='test -s conftest.$ac_objext'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6706 echo "$as_me: failed program was:" >&5
6707 sed 's/^/| /' conftest.$ac_ext >&5
6711 rm -f conftest.$ac_objext conftest.$ac_ext
6712 cat >conftest.$ac_ext <<_ACEOF
6713 #line $LINENO "configure"
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6721 void foo(char* fmt, ...)
6722 {va_list args; va_start(args, fmt);
6723 vsnprintf(fmt, 0, "%i", args);}
6732 rm -f conftest.$ac_objext
6733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6734 (eval $ac_compile) 2>&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } &&
6738 { ac_try='test -s conftest.$ac_objext'
6739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); }; }; then
6746 echo "$as_me: failed program was:" >&5
6747 sed 's/^/| /' conftest.$ac_ext >&5
6751 rm -f conftest.$ac_objext conftest.$ac_ext
6752 cat >conftest.$ac_ext <<_ACEOF
6753 #line $LINENO "configure"
6756 cat confdefs.h >>conftest.$ac_ext
6757 cat >>conftest.$ac_ext <<_ACEOF
6758 /* end confdefs.h. */
6761 void foo(char* fmt, ...)
6762 {va_list args; va_start(args, fmt);
6763 vsscanf(fmt, "%i", args);}
6772 rm -f conftest.$ac_objext
6773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6774 (eval $ac_compile) 2>&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } &&
6778 { ac_try='test -s conftest.$ac_objext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.$ac_ext >&5
6791 rm -f conftest.$ac_objext conftest.$ac_ext
6792 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6793 echo "${ECHO_T}$ac_c99_stdio" >&6
6795 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6797 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6798 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6799 if test "${ac_c99_lldiv_t+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 cat >conftest.$ac_ext <<_ACEOF
6804 #line $LINENO "configure"
6807 cat confdefs.h >>conftest.$ac_ext
6808 cat >>conftest.$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6819 rm -f conftest.$ac_objext
6820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6821 (eval $ac_compile) 2>&5
6823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6824 (exit $ac_status); } &&
6825 { ac_try='test -s conftest.$ac_objext'
6826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); }; }; then
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6838 rm -f conftest.$ac_objext conftest.$ac_ext
6842 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6843 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6845 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6846 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6847 cat >conftest.$ac_ext <<_ACEOF
6848 #line $LINENO "configure"
6851 cat confdefs.h >>conftest.$ac_ext
6852 cat >>conftest.$ac_ext <<_ACEOF
6853 /* end confdefs.h. */
6858 char* tmp; strtof("gnu", &tmp);
6863 rm -f conftest.$ac_objext
6864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6865 (eval $ac_compile) 2>&5
6867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6868 (exit $ac_status); } &&
6869 { ac_try='test -s conftest.$ac_objext'
6870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); }; }; then
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6882 rm -f conftest.$ac_objext conftest.$ac_ext
6883 cat >conftest.$ac_ext <<_ACEOF
6884 #line $LINENO "configure"
6887 cat confdefs.h >>conftest.$ac_ext
6888 cat >>conftest.$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6894 char* tmp; strtold("gnu", &tmp);
6899 rm -f conftest.$ac_objext
6900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6901 (eval $ac_compile) 2>&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); } &&
6905 { ac_try='test -s conftest.$ac_objext'
6906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); }; }; then
6913 echo "$as_me: failed program was:" >&5
6914 sed 's/^/| /' conftest.$ac_ext >&5
6918 rm -f conftest.$ac_objext conftest.$ac_ext
6919 cat >conftest.$ac_ext <<_ACEOF
6920 #line $LINENO "configure"
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6935 rm -f conftest.$ac_objext
6936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6937 (eval $ac_compile) 2>&5
6939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6940 (exit $ac_status); } &&
6941 { ac_try='test -s conftest.$ac_objext'
6942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946 (exit $ac_status); }; }; then
6949 echo "$as_me: failed program was:" >&5
6950 sed 's/^/| /' conftest.$ac_ext >&5
6954 rm -f conftest.$ac_objext conftest.$ac_ext
6955 cat >conftest.$ac_ext <<_ACEOF
6956 #line $LINENO "configure"
6959 cat confdefs.h >>conftest.$ac_ext
6960 cat >>conftest.$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6971 rm -f conftest.$ac_objext
6972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 (eval $ac_compile) 2>&5
6975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 (exit $ac_status); } &&
6977 { ac_try='test -s conftest.$ac_objext'
6978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); }; }; then
6985 echo "$as_me: failed program was:" >&5
6986 sed 's/^/| /' conftest.$ac_ext >&5
6990 rm -f conftest.$ac_objext conftest.$ac_ext
6991 cat >conftest.$ac_ext <<_ACEOF
6992 #line $LINENO "configure"
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
7007 rm -f conftest.$ac_objext
7008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7009 (eval $ac_compile) 2>&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } &&
7013 { ac_try='test -s conftest.$ac_objext'
7014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018 (exit $ac_status); }; }; then
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.$ac_ext >&5
7026 rm -f conftest.$ac_objext conftest.$ac_ext
7027 cat >conftest.$ac_ext <<_ACEOF
7028 #line $LINENO "configure"
7031 cat confdefs.h >>conftest.$ac_ext
7032 cat >>conftest.$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7043 rm -f conftest.$ac_objext
7044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7045 (eval $ac_compile) 2>&5
7047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7048 (exit $ac_status); } &&
7049 { ac_try='test -s conftest.$ac_objext'
7050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); }; }; then
7057 echo "$as_me: failed program was:" >&5
7058 sed 's/^/| /' conftest.$ac_ext >&5
7062 rm -f conftest.$ac_objext conftest.$ac_ext
7063 if test x"$ac_c99_lldiv_t" = x"no"; then
7066 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7067 echo "${ECHO_T}$ac_c99_stdlib" >&6
7069 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7070 # XXX the wchar.h checks should be rolled into the general C99 bits.
7072 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7073 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7074 cat >conftest.$ac_ext <<_ACEOF
7075 #line $LINENO "configure"
7078 cat confdefs.h >>conftest.$ac_ext
7079 cat >>conftest.$ac_ext <<_ACEOF
7080 /* end confdefs.h. */
7085 wcstold(L"10.0", NULL);
7090 rm -f conftest.$ac_objext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7092 (eval $ac_compile) 2>&5
7094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7095 (exit $ac_status); } &&
7096 { ac_try='test -s conftest.$ac_objext'
7097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); }; }; then
7104 echo "$as_me: failed program was:" >&5
7105 sed 's/^/| /' conftest.$ac_ext >&5
7109 rm -f conftest.$ac_objext conftest.$ac_ext
7110 cat >conftest.$ac_ext <<_ACEOF
7111 #line $LINENO "configure"
7114 cat confdefs.h >>conftest.$ac_ext
7115 cat >>conftest.$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7121 wcstoll(L"10", NULL, 10);
7126 rm -f conftest.$ac_objext
7127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7128 (eval $ac_compile) 2>&5
7130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7131 (exit $ac_status); } &&
7132 { ac_try='test -s conftest.$ac_objext'
7133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137 (exit $ac_status); }; }; then
7140 echo "$as_me: failed program was:" >&5
7141 sed 's/^/| /' conftest.$ac_ext >&5
7145 rm -f conftest.$ac_objext conftest.$ac_ext
7146 cat >conftest.$ac_ext <<_ACEOF
7147 #line $LINENO "configure"
7150 cat confdefs.h >>conftest.$ac_ext
7151 cat >>conftest.$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7157 wcstoull(L"10", NULL, 10);
7162 rm -f conftest.$ac_objext
7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7164 (eval $ac_compile) 2>&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); } &&
7168 { ac_try='test -s conftest.$ac_objext'
7169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7173 (exit $ac_status); }; }; then
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.$ac_ext >&5
7181 rm -f conftest.$ac_objext conftest.$ac_ext
7182 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7183 echo "${ECHO_T}$ac_c99_wchar" >&6
7185 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7186 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7187 if test x"$ac_c99_math" = x"no" ||
7188 test x"$ac_c99_stdio" = x"no" ||
7189 test x"$ac_c99_stdlib" = x"no" ||
7190 test x"$ac_c99_wchar" = x"no"; then
7193 echo "$as_me:$LINENO: result: $enable_c99" >&5
7194 echo "${ECHO_T}$enable_c99" >&6
7196 # Option parsed, now set things appropriately
7197 if test x"$enable_c99" = x"yes"; then
7198 cat >>confdefs.h <<\_ACEOF
7199 #define _GLIBCXX_USE_C99 1
7205 ac_cpp='$CPP $CPPFLAGS'
7206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 # Check whether --enable-long-long or --disable-long-long was given.
7213 if test "${enable_long_long+set}" = set; then
7214 enableval="$enable_long_long"
7216 case "$enableval" in
7218 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7219 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7220 { (exit 1); exit 1; }; } ;;
7224 enable_long_long=yes
7231 ac_cpp='$CXXCPP $CPPFLAGS'
7232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7237 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7238 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7239 # iostreams require strtoll, strtoull to compile
7240 cat >conftest.$ac_ext <<_ACEOF
7241 #line $LINENO "configure"
7244 cat confdefs.h >>conftest.$ac_ext
7245 cat >>conftest.$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7251 char* tmp; strtoll("gnu", &tmp, 10);
7256 rm -f conftest.$ac_objext
7257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7258 (eval $ac_compile) 2>&5
7260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261 (exit $ac_status); } &&
7262 { ac_try='test -s conftest.$ac_objext'
7263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267 (exit $ac_status); }; }; then
7270 echo "$as_me: failed program was:" >&5
7271 sed 's/^/| /' conftest.$ac_ext >&5
7275 rm -f conftest.$ac_objext conftest.$ac_ext
7276 cat >conftest.$ac_ext <<_ACEOF
7277 #line $LINENO "configure"
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7287 char* tmp; strtoull("gnu", &tmp, 10);
7292 rm -f conftest.$ac_objext
7293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7294 (eval $ac_compile) 2>&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); } &&
7298 { ac_try='test -s conftest.$ac_objext'
7299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7303 (exit $ac_status); }; }; then
7306 echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.$ac_ext >&5
7311 rm -f conftest.$ac_objext conftest.$ac_ext
7313 # Option parsed, now set things appropriately
7314 if test $enable_long_long = yes; then
7315 cat >>confdefs.h <<\_ACEOF
7316 #define _GLIBCXX_USE_LONG_LONG 1
7320 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7321 echo "${ECHO_T}$enable_long_long" >&6
7324 ac_cpp='$CPP $CPPFLAGS'
7325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7331 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7332 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7333 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7334 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7335 echo "${ECHO_T}$target_thread_file" >&6
7337 if test $target_thread_file != single; then
7338 cat >>confdefs.h <<\_ACEOF
7339 #define HAVE_GTHR_DEFAULT 1
7342 cat >>confdefs.h <<\_ACEOF
7343 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7348 glibcxx_thread_h=gthr-$target_thread_file.h
7352 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7353 if test "${enable_concept_checks+set}" = set; then
7354 enableval="$enable_concept_checks"
7356 case "$enableval" in
7358 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7359 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7360 { (exit 1); exit 1; }; } ;;
7364 enable_concept_checks=no
7367 if test $enable_concept_checks = yes; then
7368 cat >>confdefs.h <<\_ACEOF
7369 #define _GLIBCXX_CONCEPT_CHECKS 1
7375 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7376 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7377 enableval="$enable_libstdcxx_debug_flags"
7378 case "x$enable_libstdcxx_debug_flags" in
7379 xno | x) enable_libstdcxx_debug_flags= ;;
7381 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7382 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7383 { (exit 1); exit 1; }; } ;;
7386 enable_libstdcxx_debug_flags="-g3 -O0"
7390 # Option parsed, now set things appropriately
7391 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7394 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7395 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7398 echo "$as_me:$LINENO: checking for additional debug build" >&5
7399 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7400 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7401 if test "${enable_libstdcxx_debug+set}" = set; then
7402 enableval="$enable_libstdcxx_debug"
7404 case "$enableval" in
7406 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7407 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7408 { (exit 1); exit 1; }; } ;;
7412 enable_libstdcxx_debug=no
7415 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7416 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7419 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7420 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7421 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7422 if test "${enable_cxx_flags+set}" = set; then
7423 enableval="$enable_cxx_flags"
7424 case "x$enable_cxx_flags" in
7425 xno | x) enable_cxx_flags= ;;
7427 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7428 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7429 { (exit 1); exit 1; }; } ;;
7436 # Run through flags (either default or command-line) and set anything
7437 # extra (e.g., #defines) that must accompany particular g++ options.
7438 if test -n "$enable_cxx_flags"; then
7439 for f in $enable_cxx_flags; do
7443 *) # and we're trying to pass /what/ exactly?
7444 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7445 echo "$as_me: error: compiler flags start with a -" >&2;}
7446 { (exit 1); exit 1; }; } ;;
7451 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7452 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7453 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7457 # No surprises, no surprises...
7458 if test $atomicity_include_dir = cpu/generic ; then
7459 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7460 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7461 if test $target_thread_file = single; then
7462 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7463 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7464 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7465 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7467 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7468 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7469 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7470 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7475 if $GLIBCXX_IS_NATIVE; then
7477 # We can do more elaborate tests that assume a working linker.
7480 # Check for available headers.
7494 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7495 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7500 echo "$as_me:$LINENO: checking for $ac_header" >&5
7501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7508 # Is the header compilable?
7509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7511 cat >conftest.$ac_ext <<_ACEOF
7512 #line $LINENO "configure"
7515 cat confdefs.h >>conftest.$ac_ext
7516 cat >>conftest.$ac_ext <<_ACEOF
7517 /* end confdefs.h. */
7518 $ac_includes_default
7519 #include <$ac_header>
7521 rm -f conftest.$ac_objext
7522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7523 (eval $ac_compile) 2>&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); } &&
7527 { ac_try='test -s conftest.$ac_objext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_header_compiler=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_header_compiler=no
7540 rm -f conftest.$ac_objext conftest.$ac_ext
7541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7542 echo "${ECHO_T}$ac_header_compiler" >&6
7544 # Is the header present?
7545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7547 cat >conftest.$ac_ext <<_ACEOF
7548 #line $LINENO "configure"
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <$ac_header>
7556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7559 grep -v '^ *+' conftest.er1 >conftest.err
7561 cat conftest.err >&5
7562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7563 (exit $ac_status); } >/dev/null; then
7564 if test -s conftest.err; then
7565 ac_cpp_err=$ac_c_preproc_warn_flag
7572 if test -z "$ac_cpp_err"; then
7573 ac_header_preproc=yes
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7578 ac_header_preproc=no
7580 rm -f conftest.err conftest.$ac_ext
7581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7582 echo "${ECHO_T}$ac_header_preproc" >&6
7584 # So? What about this header?
7585 case $ac_header_compiler:$ac_header_preproc in
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7593 ## ------------------------------------ ##
7594 ## Report this to bug-autoconf@gnu.org. ##
7595 ## ------------------------------------ ##
7598 sed "s/^/$as_me: WARNING: /" >&2
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7609 ## ------------------------------------ ##
7610 ## Report this to bug-autoconf@gnu.org. ##
7611 ## ------------------------------------ ##
7614 sed "s/^/$as_me: WARNING: /" >&2
7617 echo "$as_me:$LINENO: checking for $ac_header" >&5
7618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7620 echo $ECHO_N "(cached) $ECHO_C" >&6
7622 eval "$as_ac_Header=$ac_header_preproc"
7624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7629 cat >>confdefs.h <<_ACEOF
7630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7639 # All these tests are for C++; save the language and the compiler flags.
7640 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7641 # found in GLIBCXX_CONFIGURE.
7645 ac_cpp='$CXXCPP $CPPFLAGS'
7646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7650 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7651 ac_save_CXXFLAGS="$CXXFLAGS"
7653 # Check for maintainer-mode bits.
7654 if test x"$USE_MAINTAINER_MODE" = xno; then
7660 # Check for -ffunction-sections -fdata-sections
7661 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7662 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7663 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7664 cat >conftest.$ac_ext <<_ACEOF
7665 #line $LINENO "configure"
7668 cat confdefs.h >>conftest.$ac_ext
7669 cat >>conftest.$ac_ext <<_ACEOF
7670 /* end confdefs.h. */
7680 rm -f conftest.$ac_objext
7681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7682 (eval $ac_compile) 2>&5
7684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7685 (exit $ac_status); } &&
7686 { ac_try='test -s conftest.$ac_objext'
7687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 (exit $ac_status); }; }; then
7694 echo "$as_me: failed program was:" >&5
7695 sed 's/^/| /' conftest.$ac_ext >&5
7699 rm -f conftest.$ac_objext conftest.$ac_ext
7700 if test "$ac_test_CXXFLAGS" = set; then
7701 CXXFLAGS="$ac_save_CXXFLAGS"
7703 # this is the suspicious part
7706 if test x"$ac_fdsections" = x"yes"; then
7707 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7709 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7710 echo "${ECHO_T}$ac_fdsections" >&6
7713 ac_cpp='$CPP $CPPFLAGS'
7714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7722 # If we're not using GNU ld, then there's no point in even trying these
7723 # tests. Check for that first. We should have already tested for gld
7724 # by now (in libtool), but require it now just to be safe...
7725 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7726 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7730 # The name set by libtool depends on the version of libtool. Shame on us
7731 # for depending on an impl detail, but c'est la vie. Older versions used
7732 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7733 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7734 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7735 # set (hence we're using an older libtool), then set it.
7736 if test x${with_gnu_ld+set} != xset; then
7737 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7738 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7741 with_gnu_ld=$ac_cv_prog_gnu_ld
7745 # Start by getting the version number. I think the libtool test already
7746 # does some of this, but throws away the result.
7748 ldver=`$LD --version 2>/dev/null | head -1 | \
7749 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7751 glibcxx_gnu_ld_version=`echo $ldver | \
7752 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7754 # Set --gc-sections.
7755 if test "$with_gnu_ld" = "notbroken"; then
7756 # GNU ld it is! Joy and bunny rabbits!
7758 # All these tests are for C++; save the language and the compiler flags.
7759 # Need to do this so that g++ won't try to link in libstdc++
7760 ac_test_CFLAGS="${CFLAGS+set}"
7761 ac_save_CFLAGS="$CFLAGS"
7762 CFLAGS='-x c++ -Wl,--gc-sections'
7764 # Check for -Wl,--gc-sections
7765 # XXX This test is broken at the moment, as symbols required for linking
7766 # are now in libsupc++ (not built yet). In addition, this test has
7767 # cored on solaris in the past. In addition, --gc-sections doesn't
7768 # really work at the moment (keeps on discarding used sections, first
7769 # .eh_frame and now some of the glibc sections for iconv).
7770 # Bzzzzt. Thanks for playing, maybe next time.
7771 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7772 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7773 if test "$cross_compiling" = yes; then
7774 ac_sectionLDflags=yes
7776 cat >conftest.$ac_ext <<_ACEOF
7777 #line $LINENO "configure"
7780 cat confdefs.h >>conftest.$ac_ext
7781 cat >>conftest.$ac_ext <<_ACEOF
7782 /* end confdefs.h. */
7792 rm -f conftest$ac_exeext
7793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7794 (eval $ac_link) 2>&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); }; }; then
7803 ac_sectionLDflags=yes
7805 echo "$as_me: program exited with status $ac_status" >&5
7806 echo "$as_me: failed program was:" >&5
7807 sed 's/^/| /' conftest.$ac_ext >&5
7810 ac_sectionLDflags=no
7812 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7814 if test "$ac_test_CFLAGS" = set; then
7815 CFLAGS="$ac_save_CFLAGS"
7817 # this is the suspicious part
7820 if test "$ac_sectionLDflags" = "yes"; then
7821 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7823 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7824 echo "${ECHO_T}$ac_sectionLDflags" >&6
7827 # Set linker optimization flags.
7828 if test x"$with_gnu_ld" = x"yes"; then
7829 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7836 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7837 ac_save_CXXFLAGS="$CXXFLAGS"
7838 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7840 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7841 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7842 if test "${ac_cv_lib_m_sin+set}" = set; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 ac_check_lib_save_LIBS=$LIBS
7847 if test x$gcc_no_link = xyes; then
7848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7850 { (exit 1); exit 1; }; }
7852 cat >conftest.$ac_ext <<_ACEOF
7853 #line $LINENO "configure"
7856 cat confdefs.h >>conftest.$ac_ext
7857 cat >>conftest.$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7860 /* Override any gcc2 internal prototype to avoid an error. */
7864 /* We use char because int might match the return type of a gcc2
7865 builtin and then its argument prototype would still apply. */
7875 rm -f conftest.$ac_objext conftest$ac_exeext
7876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7877 (eval $ac_link) 2>&5
7879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880 (exit $ac_status); } &&
7881 { ac_try='test -s conftest$ac_exeext'
7882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7886 (exit $ac_status); }; }; then
7889 echo "$as_me: failed program was:" >&5
7890 sed 's/^/| /' conftest.$ac_ext >&5
7894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7895 LIBS=$ac_check_lib_save_LIBS
7897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7898 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7899 if test $ac_cv_lib_m_sin = yes; then
7903 ac_save_LIBS="$LIBS"
7908 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7909 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7910 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7911 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7912 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 ac_cpp='$CXXCPP $CPPFLAGS'
7919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7923 cat >conftest.$ac_ext <<_ACEOF
7924 #line $LINENO "configure"
7927 cat confdefs.h >>conftest.$ac_ext
7928 cat >>conftest.$ac_ext <<_ACEOF
7929 /* end confdefs.h. */
7931 #ifdef HAVE_IEEEFP_H
7943 rm -f conftest.$ac_objext
7944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7945 (eval $ac_compile) 2>&5
7947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7948 (exit $ac_status); } &&
7949 { ac_try='test -s conftest.$ac_objext'
7950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7954 (exit $ac_status); }; }; then
7955 glibcxx_cv_func_isinf_use=yes
7957 echo "$as_me: failed program was:" >&5
7958 sed 's/^/| /' conftest.$ac_ext >&5
7960 glibcxx_cv_func_isinf_use=no
7962 rm -f conftest.$ac_objext conftest.$ac_ext
7964 ac_cpp='$CPP $CPPFLAGS'
7965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7974 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7976 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7978 for ac_func in isinf
7980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7981 echo "$as_me:$LINENO: checking for $ac_func" >&5
7982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7983 if eval "test \"\${$as_ac_var+set}\" = set"; then
7984 echo $ECHO_N "(cached) $ECHO_C" >&6
7986 if test x$gcc_no_link = xyes; then
7987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7989 { (exit 1); exit 1; }; }
7991 cat >conftest.$ac_ext <<_ACEOF
7992 #line $LINENO "configure"
7995 cat confdefs.h >>conftest.$ac_ext
7996 cat >>conftest.$ac_ext <<_ACEOF
7997 /* end confdefs.h. */
7998 /* System header to define __stub macros and hopefully few prototypes,
7999 which can conflict with char $ac_func (); below.
8000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8001 <limits.h> exists even on freestanding compilers. */
8003 # include <limits.h>
8005 # include <assert.h>
8007 /* Override any gcc2 internal prototype to avoid an error. */
8012 /* We use char because int might match the return type of a gcc2
8013 builtin and then its argument prototype would still apply. */
8015 /* The GNU C library defines this for functions which it implements
8016 to always fail with ENOSYS. Some functions are actually named
8017 something starting with __ and the normal name is an alias. */
8018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8021 char (*f) () = $ac_func;
8030 return f != $ac_func;
8035 rm -f conftest.$ac_objext conftest$ac_exeext
8036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8037 (eval $ac_link) 2>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try='test -s conftest$ac_exeext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8047 eval "$as_ac_var=yes"
8049 echo "$as_me: failed program was:" >&5
8050 sed 's/^/| /' conftest.$ac_ext >&5
8052 eval "$as_ac_var=no"
8054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8058 if test `eval echo '${'$as_ac_var'}'` = yes; then
8059 cat >>confdefs.h <<_ACEOF
8060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8068 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8069 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8070 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8071 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8072 echo $ECHO_N "(cached) $ECHO_C" >&6
8078 ac_cpp='$CXXCPP $CPPFLAGS'
8079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8083 cat >conftest.$ac_ext <<_ACEOF
8084 #line $LINENO "configure"
8087 cat confdefs.h >>conftest.$ac_ext
8088 cat >>conftest.$ac_ext <<_ACEOF
8089 /* end confdefs.h. */
8091 #ifdef HAVE_IEEEFP_H
8103 rm -f conftest.$ac_objext
8104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8105 (eval $ac_compile) 2>&5
8107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8108 (exit $ac_status); } &&
8109 { ac_try='test -s conftest.$ac_objext'
8110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8114 (exit $ac_status); }; }; then
8115 glibcxx_cv_func__isinf_use=yes
8117 echo "$as_me: failed program was:" >&5
8118 sed 's/^/| /' conftest.$ac_ext >&5
8120 glibcxx_cv_func__isinf_use=no
8122 rm -f conftest.$ac_objext conftest.$ac_ext
8124 ac_cpp='$CPP $CPPFLAGS'
8125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8134 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8136 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8138 for ac_func in _isinf
8140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8141 echo "$as_me:$LINENO: checking for $ac_func" >&5
8142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8143 if eval "test \"\${$as_ac_var+set}\" = set"; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 if test x$gcc_no_link = xyes; then
8147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8149 { (exit 1); exit 1; }; }
8151 cat >conftest.$ac_ext <<_ACEOF
8152 #line $LINENO "configure"
8155 cat confdefs.h >>conftest.$ac_ext
8156 cat >>conftest.$ac_ext <<_ACEOF
8157 /* end confdefs.h. */
8158 /* System header to define __stub macros and hopefully few prototypes,
8159 which can conflict with char $ac_func (); below.
8160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8161 <limits.h> exists even on freestanding compilers. */
8163 # include <limits.h>
8165 # include <assert.h>
8167 /* Override any gcc2 internal prototype to avoid an error. */
8172 /* We use char because int might match the return type of a gcc2
8173 builtin and then its argument prototype would still apply. */
8175 /* The GNU C library defines this for functions which it implements
8176 to always fail with ENOSYS. Some functions are actually named
8177 something starting with __ and the normal name is an alias. */
8178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8181 char (*f) () = $ac_func;
8190 return f != $ac_func;
8195 rm -f conftest.$ac_objext conftest$ac_exeext
8196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8197 (eval $ac_link) 2>&5
8199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200 (exit $ac_status); } &&
8201 { ac_try='test -s conftest$ac_exeext'
8202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206 (exit $ac_status); }; }; then
8207 eval "$as_ac_var=yes"
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.$ac_ext >&5
8212 eval "$as_ac_var=no"
8214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8218 if test `eval echo '${'$as_ac_var'}'` = yes; then
8219 cat >>confdefs.h <<_ACEOF
8220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8231 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8232 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8233 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8234 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8241 ac_cpp='$CXXCPP $CPPFLAGS'
8242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8246 cat >conftest.$ac_ext <<_ACEOF
8247 #line $LINENO "configure"
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8254 #ifdef HAVE_IEEEFP_H
8266 rm -f conftest.$ac_objext
8267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8268 (eval $ac_compile) 2>&5
8270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271 (exit $ac_status); } &&
8272 { ac_try='test -s conftest.$ac_objext'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; }; then
8278 glibcxx_cv_func_isnan_use=yes
8280 echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.$ac_ext >&5
8283 glibcxx_cv_func_isnan_use=no
8285 rm -f conftest.$ac_objext conftest.$ac_ext
8287 ac_cpp='$CPP $CPPFLAGS'
8288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8296 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8297 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8299 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8301 for ac_func in isnan
8303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8304 echo "$as_me:$LINENO: checking for $ac_func" >&5
8305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8306 if eval "test \"\${$as_ac_var+set}\" = set"; then
8307 echo $ECHO_N "(cached) $ECHO_C" >&6
8309 if test x$gcc_no_link = xyes; then
8310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8312 { (exit 1); exit 1; }; }
8314 cat >conftest.$ac_ext <<_ACEOF
8315 #line $LINENO "configure"
8318 cat confdefs.h >>conftest.$ac_ext
8319 cat >>conftest.$ac_ext <<_ACEOF
8320 /* end confdefs.h. */
8321 /* System header to define __stub macros and hopefully few prototypes,
8322 which can conflict with char $ac_func (); below.
8323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8324 <limits.h> exists even on freestanding compilers. */
8326 # include <limits.h>
8328 # include <assert.h>
8330 /* Override any gcc2 internal prototype to avoid an error. */
8335 /* We use char because int might match the return type of a gcc2
8336 builtin and then its argument prototype would still apply. */
8338 /* The GNU C library defines this for functions which it implements
8339 to always fail with ENOSYS. Some functions are actually named
8340 something starting with __ and the normal name is an alias. */
8341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8344 char (*f) () = $ac_func;
8353 return f != $ac_func;
8358 rm -f conftest.$ac_objext conftest$ac_exeext
8359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8360 (eval $ac_link) 2>&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); } &&
8364 { ac_try='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then
8370 eval "$as_ac_var=yes"
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.$ac_ext >&5
8375 eval "$as_ac_var=no"
8377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8381 if test `eval echo '${'$as_ac_var'}'` = yes; then
8382 cat >>confdefs.h <<_ACEOF
8383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8391 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8392 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8393 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8394 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8401 ac_cpp='$CXXCPP $CPPFLAGS'
8402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8406 cat >conftest.$ac_ext <<_ACEOF
8407 #line $LINENO "configure"
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8414 #ifdef HAVE_IEEEFP_H
8426 rm -f conftest.$ac_objext
8427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8428 (eval $ac_compile) 2>&5
8430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8431 (exit $ac_status); } &&
8432 { ac_try='test -s conftest.$ac_objext'
8433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); }; }; then
8438 glibcxx_cv_func__isnan_use=yes
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 glibcxx_cv_func__isnan_use=no
8445 rm -f conftest.$ac_objext conftest.$ac_ext
8447 ac_cpp='$CPP $CPPFLAGS'
8448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8456 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8457 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8459 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8461 for ac_func in _isnan
8463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8464 echo "$as_me:$LINENO: checking for $ac_func" >&5
8465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8466 if eval "test \"\${$as_ac_var+set}\" = set"; then
8467 echo $ECHO_N "(cached) $ECHO_C" >&6
8469 if test x$gcc_no_link = xyes; then
8470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8472 { (exit 1); exit 1; }; }
8474 cat >conftest.$ac_ext <<_ACEOF
8475 #line $LINENO "configure"
8478 cat confdefs.h >>conftest.$ac_ext
8479 cat >>conftest.$ac_ext <<_ACEOF
8480 /* end confdefs.h. */
8481 /* System header to define __stub macros and hopefully few prototypes,
8482 which can conflict with char $ac_func (); below.
8483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8484 <limits.h> exists even on freestanding compilers. */
8486 # include <limits.h>
8488 # include <assert.h>
8490 /* Override any gcc2 internal prototype to avoid an error. */
8495 /* We use char because int might match the return type of a gcc2
8496 builtin and then its argument prototype would still apply. */
8498 /* The GNU C library defines this for functions which it implements
8499 to always fail with ENOSYS. Some functions are actually named
8500 something starting with __ and the normal name is an alias. */
8501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8504 char (*f) () = $ac_func;
8513 return f != $ac_func;
8518 rm -f conftest.$ac_objext conftest$ac_exeext
8519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8520 (eval $ac_link) 2>&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } &&
8524 { ac_try='test -s conftest$ac_exeext'
8525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8529 (exit $ac_status); }; }; then
8530 eval "$as_ac_var=yes"
8532 echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.$ac_ext >&5
8535 eval "$as_ac_var=no"
8537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8541 if test `eval echo '${'$as_ac_var'}'` = yes; then
8542 cat >>confdefs.h <<_ACEOF
8543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8554 echo "$as_me:$LINENO: checking for finite declaration" >&5
8555 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8556 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8557 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8564 ac_cpp='$CXXCPP $CPPFLAGS'
8565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8569 cat >conftest.$ac_ext <<_ACEOF
8570 #line $LINENO "configure"
8573 cat confdefs.h >>conftest.$ac_ext
8574 cat >>conftest.$ac_ext <<_ACEOF
8575 /* end confdefs.h. */
8577 #ifdef HAVE_IEEEFP_H
8589 rm -f conftest.$ac_objext
8590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8591 (eval $ac_compile) 2>&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); } &&
8595 { ac_try='test -s conftest.$ac_objext'
8596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600 (exit $ac_status); }; }; then
8601 glibcxx_cv_func_finite_use=yes
8603 echo "$as_me: failed program was:" >&5
8604 sed 's/^/| /' conftest.$ac_ext >&5
8606 glibcxx_cv_func_finite_use=no
8608 rm -f conftest.$ac_objext conftest.$ac_ext
8610 ac_cpp='$CPP $CPPFLAGS'
8611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8620 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8622 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8624 for ac_func in finite
8626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8627 echo "$as_me:$LINENO: checking for $ac_func" >&5
8628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8629 if eval "test \"\${$as_ac_var+set}\" = set"; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 if test x$gcc_no_link = xyes; then
8633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8635 { (exit 1); exit 1; }; }
8637 cat >conftest.$ac_ext <<_ACEOF
8638 #line $LINENO "configure"
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h. */
8644 /* System header to define __stub macros and hopefully few prototypes,
8645 which can conflict with char $ac_func (); below.
8646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8647 <limits.h> exists even on freestanding compilers. */
8649 # include <limits.h>
8651 # include <assert.h>
8653 /* Override any gcc2 internal prototype to avoid an error. */
8658 /* We use char because int might match the return type of a gcc2
8659 builtin and then its argument prototype would still apply. */
8661 /* The GNU C library defines this for functions which it implements
8662 to always fail with ENOSYS. Some functions are actually named
8663 something starting with __ and the normal name is an alias. */
8664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8667 char (*f) () = $ac_func;
8676 return f != $ac_func;
8681 rm -f conftest.$ac_objext conftest$ac_exeext
8682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8683 (eval $ac_link) 2>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } &&
8687 { ac_try='test -s conftest$ac_exeext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 eval "$as_ac_var=yes"
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.$ac_ext >&5
8698 eval "$as_ac_var=no"
8700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8704 if test `eval echo '${'$as_ac_var'}'` = yes; then
8705 cat >>confdefs.h <<_ACEOF
8706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8714 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8715 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8716 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8717 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8718 echo $ECHO_N "(cached) $ECHO_C" >&6
8724 ac_cpp='$CXXCPP $CPPFLAGS'
8725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8729 cat >conftest.$ac_ext <<_ACEOF
8730 #line $LINENO "configure"
8733 cat confdefs.h >>conftest.$ac_ext
8734 cat >>conftest.$ac_ext <<_ACEOF
8735 /* end confdefs.h. */
8737 #ifdef HAVE_IEEEFP_H
8749 rm -f conftest.$ac_objext
8750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8751 (eval $ac_compile) 2>&5
8753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8754 (exit $ac_status); } &&
8755 { ac_try='test -s conftest.$ac_objext'
8756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8760 (exit $ac_status); }; }; then
8761 glibcxx_cv_func__finite_use=yes
8763 echo "$as_me: failed program was:" >&5
8764 sed 's/^/| /' conftest.$ac_ext >&5
8766 glibcxx_cv_func__finite_use=no
8768 rm -f conftest.$ac_objext conftest.$ac_ext
8770 ac_cpp='$CPP $CPPFLAGS'
8771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8780 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8782 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8784 for ac_func in _finite
8786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8787 echo "$as_me:$LINENO: checking for $ac_func" >&5
8788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8789 if eval "test \"\${$as_ac_var+set}\" = set"; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8792 if test x$gcc_no_link = xyes; then
8793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8795 { (exit 1); exit 1; }; }
8797 cat >conftest.$ac_ext <<_ACEOF
8798 #line $LINENO "configure"
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 /* System header to define __stub macros and hopefully few prototypes,
8805 which can conflict with char $ac_func (); below.
8806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8807 <limits.h> exists even on freestanding compilers. */
8809 # include <limits.h>
8811 # include <assert.h>
8813 /* Override any gcc2 internal prototype to avoid an error. */
8818 /* We use char because int might match the return type of a gcc2
8819 builtin and then its argument prototype would still apply. */
8821 /* The GNU C library defines this for functions which it implements
8822 to always fail with ENOSYS. Some functions are actually named
8823 something starting with __ and the normal name is an alias. */
8824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8827 char (*f) () = $ac_func;
8836 return f != $ac_func;
8841 rm -f conftest.$ac_objext conftest$ac_exeext
8842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8843 (eval $ac_link) 2>&5
8845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } &&
8847 { ac_try='test -s conftest$ac_exeext'
8848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 eval "$as_ac_var=yes"
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 eval "$as_ac_var=no"
8860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8864 if test `eval echo '${'$as_ac_var'}'` = yes; then
8865 cat >>confdefs.h <<_ACEOF
8866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8877 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8878 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8879 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8880 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8881 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 ac_cpp='$CXXCPP $CPPFLAGS'
8888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8892 cat >conftest.$ac_ext <<_ACEOF
8893 #line $LINENO "configure"
8896 cat confdefs.h >>conftest.$ac_ext
8897 cat >>conftest.$ac_ext <<_ACEOF
8898 /* end confdefs.h. */
8908 rm -f conftest.$ac_objext
8909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8910 (eval $ac_compile) 2>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } &&
8914 { ac_try='test -s conftest.$ac_objext'
8915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919 (exit $ac_status); }; }; then
8920 glibcxx_cv_func_copysign_use=yes
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.$ac_ext >&5
8925 glibcxx_cv_func_copysign_use=no
8927 rm -f conftest.$ac_objext conftest.$ac_ext
8929 ac_cpp='$CPP $CPPFLAGS'
8930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8939 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8941 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8943 for ac_func in copysign
8945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8946 echo "$as_me:$LINENO: checking for $ac_func" >&5
8947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8948 if eval "test \"\${$as_ac_var+set}\" = set"; then
8949 echo $ECHO_N "(cached) $ECHO_C" >&6
8951 if test x$gcc_no_link = xyes; then
8952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8954 { (exit 1); exit 1; }; }
8956 cat >conftest.$ac_ext <<_ACEOF
8957 #line $LINENO "configure"
8960 cat confdefs.h >>conftest.$ac_ext
8961 cat >>conftest.$ac_ext <<_ACEOF
8962 /* end confdefs.h. */
8963 /* System header to define __stub macros and hopefully few prototypes,
8964 which can conflict with char $ac_func (); below.
8965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8966 <limits.h> exists even on freestanding compilers. */
8968 # include <limits.h>
8970 # include <assert.h>
8972 /* Override any gcc2 internal prototype to avoid an error. */
8977 /* We use char because int might match the return type of a gcc2
8978 builtin and then its argument prototype would still apply. */
8980 /* The GNU C library defines this for functions which it implements
8981 to always fail with ENOSYS. Some functions are actually named
8982 something starting with __ and the normal name is an alias. */
8983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8986 char (*f) () = $ac_func;
8995 return f != $ac_func;
9000 rm -f conftest.$ac_objext conftest$ac_exeext
9001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9002 (eval $ac_link) 2>&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); } &&
9006 { ac_try='test -s conftest$ac_exeext'
9007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); }; }; then
9012 eval "$as_ac_var=yes"
9014 echo "$as_me: failed program was:" >&5
9015 sed 's/^/| /' conftest.$ac_ext >&5
9017 eval "$as_ac_var=no"
9019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9023 if test `eval echo '${'$as_ac_var'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9033 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9034 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9035 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9036 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9043 ac_cpp='$CXXCPP $CPPFLAGS'
9044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9048 cat >conftest.$ac_ext <<_ACEOF
9049 #line $LINENO "configure"
9052 cat confdefs.h >>conftest.$ac_ext
9053 cat >>conftest.$ac_ext <<_ACEOF
9054 /* end confdefs.h. */
9064 rm -f conftest.$ac_objext
9065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9066 (eval $ac_compile) 2>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try='test -s conftest.$ac_objext'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; }; then
9076 glibcxx_cv_func__copysign_use=yes
9078 echo "$as_me: failed program was:" >&5
9079 sed 's/^/| /' conftest.$ac_ext >&5
9081 glibcxx_cv_func__copysign_use=no
9083 rm -f conftest.$ac_objext conftest.$ac_ext
9085 ac_cpp='$CPP $CPPFLAGS'
9086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9095 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9097 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9099 for ac_func in _copysign
9101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9102 echo "$as_me:$LINENO: checking for $ac_func" >&5
9103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9104 if eval "test \"\${$as_ac_var+set}\" = set"; then
9105 echo $ECHO_N "(cached) $ECHO_C" >&6
9107 if test x$gcc_no_link = xyes; then
9108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9110 { (exit 1); exit 1; }; }
9112 cat >conftest.$ac_ext <<_ACEOF
9113 #line $LINENO "configure"
9116 cat confdefs.h >>conftest.$ac_ext
9117 cat >>conftest.$ac_ext <<_ACEOF
9118 /* end confdefs.h. */
9119 /* System header to define __stub macros and hopefully few prototypes,
9120 which can conflict with char $ac_func (); below.
9121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9122 <limits.h> exists even on freestanding compilers. */
9124 # include <limits.h>
9126 # include <assert.h>
9128 /* Override any gcc2 internal prototype to avoid an error. */
9133 /* We use char because int might match the return type of a gcc2
9134 builtin and then its argument prototype would still apply. */
9136 /* The GNU C library defines this for functions which it implements
9137 to always fail with ENOSYS. Some functions are actually named
9138 something starting with __ and the normal name is an alias. */
9139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9142 char (*f) () = $ac_func;
9151 return f != $ac_func;
9156 rm -f conftest.$ac_objext conftest$ac_exeext
9157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9158 (eval $ac_link) 2>&5
9160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9161 (exit $ac_status); } &&
9162 { ac_try='test -s conftest$ac_exeext'
9163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167 (exit $ac_status); }; }; then
9168 eval "$as_ac_var=yes"
9170 echo "$as_me: failed program was:" >&5
9171 sed 's/^/| /' conftest.$ac_ext >&5
9173 eval "$as_ac_var=no"
9175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9179 if test `eval echo '${'$as_ac_var'}'` = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9192 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9193 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9194 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9195 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9196 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 ac_cpp='$CXXCPP $CPPFLAGS'
9203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9207 cat >conftest.$ac_ext <<_ACEOF
9208 #line $LINENO "configure"
9211 cat confdefs.h >>conftest.$ac_ext
9212 cat >>conftest.$ac_ext <<_ACEOF
9213 /* end confdefs.h. */
9223 rm -f conftest.$ac_objext
9224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9225 (eval $ac_compile) 2>&5
9227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9228 (exit $ac_status); } &&
9229 { ac_try='test -s conftest.$ac_objext'
9230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); }; }; then
9235 glibcxx_cv_func_sincos_use=yes
9237 echo "$as_me: failed program was:" >&5
9238 sed 's/^/| /' conftest.$ac_ext >&5
9240 glibcxx_cv_func_sincos_use=no
9242 rm -f conftest.$ac_objext conftest.$ac_ext
9244 ac_cpp='$CPP $CPPFLAGS'
9245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9254 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9256 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9258 for ac_func in sincos
9260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9261 echo "$as_me:$LINENO: checking for $ac_func" >&5
9262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9263 if eval "test \"\${$as_ac_var+set}\" = set"; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9266 if test x$gcc_no_link = xyes; then
9267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9269 { (exit 1); exit 1; }; }
9271 cat >conftest.$ac_ext <<_ACEOF
9272 #line $LINENO "configure"
9275 cat confdefs.h >>conftest.$ac_ext
9276 cat >>conftest.$ac_ext <<_ACEOF
9277 /* end confdefs.h. */
9278 /* System header to define __stub macros and hopefully few prototypes,
9279 which can conflict with char $ac_func (); below.
9280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9281 <limits.h> exists even on freestanding compilers. */
9283 # include <limits.h>
9285 # include <assert.h>
9287 /* Override any gcc2 internal prototype to avoid an error. */
9292 /* We use char because int might match the return type of a gcc2
9293 builtin and then its argument prototype would still apply. */
9295 /* The GNU C library defines this for functions which it implements
9296 to always fail with ENOSYS. Some functions are actually named
9297 something starting with __ and the normal name is an alias. */
9298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9301 char (*f) () = $ac_func;
9310 return f != $ac_func;
9315 rm -f conftest.$ac_objext conftest$ac_exeext
9316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9317 (eval $ac_link) 2>&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -s conftest$ac_exeext'
9322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9326 (exit $ac_status); }; }; then
9327 eval "$as_ac_var=yes"
9329 echo "$as_me: failed program was:" >&5
9330 sed 's/^/| /' conftest.$ac_ext >&5
9332 eval "$as_ac_var=no"
9334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9338 if test `eval echo '${'$as_ac_var'}'` = yes; then
9339 cat >>confdefs.h <<_ACEOF
9340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9348 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9349 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9350 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9351 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 ac_cpp='$CXXCPP $CPPFLAGS'
9359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9363 cat >conftest.$ac_ext <<_ACEOF
9364 #line $LINENO "configure"
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h. */
9379 rm -f conftest.$ac_objext
9380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9381 (eval $ac_compile) 2>&5
9383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9384 (exit $ac_status); } &&
9385 { ac_try='test -s conftest.$ac_objext'
9386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); }; }; then
9391 glibcxx_cv_func__sincos_use=yes
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 glibcxx_cv_func__sincos_use=no
9398 rm -f conftest.$ac_objext conftest.$ac_ext
9400 ac_cpp='$CPP $CPPFLAGS'
9401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9410 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9412 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9414 for ac_func in _sincos
9416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9417 echo "$as_me:$LINENO: checking for $ac_func" >&5
9418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9419 if eval "test \"\${$as_ac_var+set}\" = set"; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 if test x$gcc_no_link = xyes; then
9423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9425 { (exit 1); exit 1; }; }
9427 cat >conftest.$ac_ext <<_ACEOF
9428 #line $LINENO "configure"
9431 cat confdefs.h >>conftest.$ac_ext
9432 cat >>conftest.$ac_ext <<_ACEOF
9433 /* end confdefs.h. */
9434 /* System header to define __stub macros and hopefully few prototypes,
9435 which can conflict with char $ac_func (); below.
9436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9437 <limits.h> exists even on freestanding compilers. */
9439 # include <limits.h>
9441 # include <assert.h>
9443 /* Override any gcc2 internal prototype to avoid an error. */
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9451 /* The GNU C library defines this for functions which it implements
9452 to always fail with ENOSYS. Some functions are actually named
9453 something starting with __ and the normal name is an alias. */
9454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9457 char (*f) () = $ac_func;
9466 return f != $ac_func;
9471 rm -f conftest.$ac_objext conftest$ac_exeext
9472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9473 (eval $ac_link) 2>&5
9475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9476 (exit $ac_status); } &&
9477 { ac_try='test -s conftest$ac_exeext'
9478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9482 (exit $ac_status); }; }; then
9483 eval "$as_ac_var=yes"
9485 echo "$as_me: failed program was:" >&5
9486 sed 's/^/| /' conftest.$ac_ext >&5
9488 eval "$as_ac_var=no"
9490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9494 if test `eval echo '${'$as_ac_var'}'` = yes; then
9495 cat >>confdefs.h <<_ACEOF
9496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9507 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9508 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9509 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9510 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 ac_cpp='$CXXCPP $CPPFLAGS'
9518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9522 cat >conftest.$ac_ext <<_ACEOF
9523 #line $LINENO "configure"
9526 cat confdefs.h >>conftest.$ac_ext
9527 cat >>conftest.$ac_ext <<_ACEOF
9528 /* end confdefs.h. */
9530 #ifdef HAVE_IEEEFP_H
9542 rm -f conftest.$ac_objext
9543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9544 (eval $ac_compile) 2>&5
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); } &&
9548 { ac_try='test -s conftest.$ac_objext'
9549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); }; }; then
9554 glibcxx_cv_func_fpclass_use=yes
9556 echo "$as_me: failed program was:" >&5
9557 sed 's/^/| /' conftest.$ac_ext >&5
9559 glibcxx_cv_func_fpclass_use=no
9561 rm -f conftest.$ac_objext conftest.$ac_ext
9563 ac_cpp='$CPP $CPPFLAGS'
9564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9572 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9573 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9575 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9577 for ac_func in fpclass
9579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9580 echo "$as_me:$LINENO: checking for $ac_func" >&5
9581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9582 if eval "test \"\${$as_ac_var+set}\" = set"; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 if test x$gcc_no_link = xyes; then
9586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9588 { (exit 1); exit 1; }; }
9590 cat >conftest.$ac_ext <<_ACEOF
9591 #line $LINENO "configure"
9594 cat confdefs.h >>conftest.$ac_ext
9595 cat >>conftest.$ac_ext <<_ACEOF
9596 /* end confdefs.h. */
9597 /* System header to define __stub macros and hopefully few prototypes,
9598 which can conflict with char $ac_func (); below.
9599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9600 <limits.h> exists even on freestanding compilers. */
9602 # include <limits.h>
9604 # include <assert.h>
9606 /* Override any gcc2 internal prototype to avoid an error. */
9611 /* We use char because int might match the return type of a gcc2
9612 builtin and then its argument prototype would still apply. */
9614 /* The GNU C library defines this for functions which it implements
9615 to always fail with ENOSYS. Some functions are actually named
9616 something starting with __ and the normal name is an alias. */
9617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9620 char (*f) () = $ac_func;
9629 return f != $ac_func;
9634 rm -f conftest.$ac_objext conftest$ac_exeext
9635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9636 (eval $ac_link) 2>&5
9638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639 (exit $ac_status); } &&
9640 { ac_try='test -s conftest$ac_exeext'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; }; then
9646 eval "$as_ac_var=yes"
9648 echo "$as_me: failed program was:" >&5
9649 sed 's/^/| /' conftest.$ac_ext >&5
9651 eval "$as_ac_var=no"
9653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9657 if test `eval echo '${'$as_ac_var'}'` = yes; then
9658 cat >>confdefs.h <<_ACEOF
9659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9667 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9668 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9669 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9670 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9677 ac_cpp='$CXXCPP $CPPFLAGS'
9678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9682 cat >conftest.$ac_ext <<_ACEOF
9683 #line $LINENO "configure"
9686 cat confdefs.h >>conftest.$ac_ext
9687 cat >>conftest.$ac_ext <<_ACEOF
9688 /* end confdefs.h. */
9690 #ifdef HAVE_IEEEFP_H
9702 rm -f conftest.$ac_objext
9703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9704 (eval $ac_compile) 2>&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try='test -s conftest.$ac_objext'
9709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 (exit $ac_status); }; }; then
9714 glibcxx_cv_func__fpclass_use=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.$ac_ext >&5
9719 glibcxx_cv_func__fpclass_use=no
9721 rm -f conftest.$ac_objext conftest.$ac_ext
9723 ac_cpp='$CPP $CPPFLAGS'
9724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9732 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9733 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9735 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9737 for ac_func in _fpclass
9739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9740 echo "$as_me:$LINENO: checking for $ac_func" >&5
9741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9742 if eval "test \"\${$as_ac_var+set}\" = set"; then
9743 echo $ECHO_N "(cached) $ECHO_C" >&6
9745 if test x$gcc_no_link = xyes; then
9746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9748 { (exit 1); exit 1; }; }
9750 cat >conftest.$ac_ext <<_ACEOF
9751 #line $LINENO "configure"
9754 cat confdefs.h >>conftest.$ac_ext
9755 cat >>conftest.$ac_ext <<_ACEOF
9756 /* end confdefs.h. */
9757 /* System header to define __stub macros and hopefully few prototypes,
9758 which can conflict with char $ac_func (); below.
9759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9760 <limits.h> exists even on freestanding compilers. */
9762 # include <limits.h>
9764 # include <assert.h>
9766 /* Override any gcc2 internal prototype to avoid an error. */
9771 /* We use char because int might match the return type of a gcc2
9772 builtin and then its argument prototype would still apply. */
9774 /* The GNU C library defines this for functions which it implements
9775 to always fail with ENOSYS. Some functions are actually named
9776 something starting with __ and the normal name is an alias. */
9777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9780 char (*f) () = $ac_func;
9789 return f != $ac_func;
9794 rm -f conftest.$ac_objext conftest$ac_exeext
9795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9796 (eval $ac_link) 2>&5
9798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9799 (exit $ac_status); } &&
9800 { ac_try='test -s conftest$ac_exeext'
9801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); }; }; then
9806 eval "$as_ac_var=yes"
9808 echo "$as_me: failed program was:" >&5
9809 sed 's/^/| /' conftest.$ac_ext >&5
9811 eval "$as_ac_var=no"
9813 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9817 if test `eval echo '${'$as_ac_var'}'` = yes; then
9818 cat >>confdefs.h <<_ACEOF
9819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9830 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9831 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9832 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9833 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9834 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 ac_cpp='$CXXCPP $CPPFLAGS'
9841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9845 cat >conftest.$ac_ext <<_ACEOF
9846 #line $LINENO "configure"
9849 cat confdefs.h >>conftest.$ac_ext
9850 cat >>conftest.$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9853 #ifdef HAVE_IEEEFP_H
9865 rm -f conftest.$ac_objext
9866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9867 (eval $ac_compile) 2>&5
9869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9870 (exit $ac_status); } &&
9871 { ac_try='test -s conftest.$ac_objext'
9872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); }; }; then
9877 glibcxx_cv_func_qfpclass_use=yes
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 glibcxx_cv_func_qfpclass_use=no
9884 rm -f conftest.$ac_objext conftest.$ac_ext
9886 ac_cpp='$CPP $CPPFLAGS'
9887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9895 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9896 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9898 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9900 for ac_func in qfpclass
9902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9903 echo "$as_me:$LINENO: checking for $ac_func" >&5
9904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9905 if eval "test \"\${$as_ac_var+set}\" = set"; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 if test x$gcc_no_link = xyes; then
9909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9911 { (exit 1); exit 1; }; }
9913 cat >conftest.$ac_ext <<_ACEOF
9914 #line $LINENO "configure"
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h. */
9920 /* System header to define __stub macros and hopefully few prototypes,
9921 which can conflict with char $ac_func (); below.
9922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9923 <limits.h> exists even on freestanding compilers. */
9925 # include <limits.h>
9927 # include <assert.h>
9929 /* Override any gcc2 internal prototype to avoid an error. */
9934 /* We use char because int might match the return type of a gcc2
9935 builtin and then its argument prototype would still apply. */
9937 /* The GNU C library defines this for functions which it implements
9938 to always fail with ENOSYS. Some functions are actually named
9939 something starting with __ and the normal name is an alias. */
9940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9943 char (*f) () = $ac_func;
9952 return f != $ac_func;
9957 rm -f conftest.$ac_objext conftest$ac_exeext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9959 (eval $ac_link) 2>&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } &&
9963 { ac_try='test -s conftest$ac_exeext'
9964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9968 (exit $ac_status); }; }; then
9969 eval "$as_ac_var=yes"
9971 echo "$as_me: failed program was:" >&5
9972 sed 's/^/| /' conftest.$ac_ext >&5
9974 eval "$as_ac_var=no"
9976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9980 if test `eval echo '${'$as_ac_var'}'` = yes; then
9981 cat >>confdefs.h <<_ACEOF
9982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9990 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9991 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9992 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9993 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 ac_cpp='$CXXCPP $CPPFLAGS'
10001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10005 cat >conftest.$ac_ext <<_ACEOF
10006 #line $LINENO "configure"
10009 cat confdefs.h >>conftest.$ac_ext
10010 cat >>conftest.$ac_ext <<_ACEOF
10011 /* end confdefs.h. */
10013 #ifdef HAVE_IEEEFP_H
10014 #include <ieeefp.h>
10025 rm -f conftest.$ac_objext
10026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10027 (eval $ac_compile) 2>&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -s conftest.$ac_objext'
10032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10033 (eval $ac_try) 2>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); }; }; then
10037 glibcxx_cv_func__qfpclass_use=yes
10039 echo "$as_me: failed program was:" >&5
10040 sed 's/^/| /' conftest.$ac_ext >&5
10042 glibcxx_cv_func__qfpclass_use=no
10044 rm -f conftest.$ac_objext conftest.$ac_ext
10046 ac_cpp='$CPP $CPPFLAGS'
10047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10055 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10056 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10058 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10060 for ac_func in _qfpclass
10062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10063 echo "$as_me:$LINENO: checking for $ac_func" >&5
10064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10065 if eval "test \"\${$as_ac_var+set}\" = set"; then
10066 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 if test x$gcc_no_link = xyes; then
10069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10071 { (exit 1); exit 1; }; }
10073 cat >conftest.$ac_ext <<_ACEOF
10074 #line $LINENO "configure"
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10080 /* System header to define __stub macros and hopefully few prototypes,
10081 which can conflict with char $ac_func (); below.
10082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10083 <limits.h> exists even on freestanding compilers. */
10085 # include <limits.h>
10087 # include <assert.h>
10089 /* Override any gcc2 internal prototype to avoid an error. */
10094 /* We use char because int might match the return type of a gcc2
10095 builtin and then its argument prototype would still apply. */
10097 /* The GNU C library defines this for functions which it implements
10098 to always fail with ENOSYS. Some functions are actually named
10099 something starting with __ and the normal name is an alias. */
10100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10103 char (*f) () = $ac_func;
10112 return f != $ac_func;
10117 rm -f conftest.$ac_objext conftest$ac_exeext
10118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10119 (eval $ac_link) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 eval "$as_ac_var=yes"
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 eval "$as_ac_var=no"
10136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10140 if test `eval echo '${'$as_ac_var'}'` = yes; then
10141 cat >>confdefs.h <<_ACEOF
10142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10153 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10154 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10155 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10156 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10157 echo $ECHO_N "(cached) $ECHO_C" >&6
10163 ac_cpp='$CXXCPP $CPPFLAGS'
10164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10168 cat >conftest.$ac_ext <<_ACEOF
10169 #line $LINENO "configure"
10172 cat confdefs.h >>conftest.$ac_ext
10173 cat >>conftest.$ac_ext <<_ACEOF
10174 /* end confdefs.h. */
10184 rm -f conftest.$ac_objext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>&5
10188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189 (exit $ac_status); } &&
10190 { ac_try='test -s conftest.$ac_objext'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 glibcxx_cv_func_hypot_use=yes
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10201 glibcxx_cv_func_hypot_use=no
10203 rm -f conftest.$ac_objext conftest.$ac_ext
10205 ac_cpp='$CPP $CPPFLAGS'
10206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10215 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10217 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10219 for ac_func in hypot
10221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10222 echo "$as_me:$LINENO: checking for $ac_func" >&5
10223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10224 if eval "test \"\${$as_ac_var+set}\" = set"; then
10225 echo $ECHO_N "(cached) $ECHO_C" >&6
10227 if test x$gcc_no_link = xyes; then
10228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10230 { (exit 1); exit 1; }; }
10232 cat >conftest.$ac_ext <<_ACEOF
10233 #line $LINENO "configure"
10236 cat confdefs.h >>conftest.$ac_ext
10237 cat >>conftest.$ac_ext <<_ACEOF
10238 /* end confdefs.h. */
10239 /* System header to define __stub macros and hopefully few prototypes,
10240 which can conflict with char $ac_func (); below.
10241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10242 <limits.h> exists even on freestanding compilers. */
10244 # include <limits.h>
10246 # include <assert.h>
10248 /* Override any gcc2 internal prototype to avoid an error. */
10253 /* We use char because int might match the return type of a gcc2
10254 builtin and then its argument prototype would still apply. */
10256 /* The GNU C library defines this for functions which it implements
10257 to always fail with ENOSYS. Some functions are actually named
10258 something starting with __ and the normal name is an alias. */
10259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10262 char (*f) () = $ac_func;
10271 return f != $ac_func;
10276 rm -f conftest.$ac_objext conftest$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278 (eval $ac_link) 2>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 (exit $ac_status); } &&
10282 { ac_try='test -s conftest$ac_exeext'
10283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284 (eval $ac_try) 2>&5
10286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287 (exit $ac_status); }; }; then
10288 eval "$as_ac_var=yes"
10290 echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10293 eval "$as_ac_var=no"
10295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10299 if test `eval echo '${'$as_ac_var'}'` = yes; then
10300 cat >>confdefs.h <<_ACEOF
10301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10309 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10310 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10311 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10312 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10313 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 ac_cpp='$CXXCPP $CPPFLAGS'
10320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10324 cat >conftest.$ac_ext <<_ACEOF
10325 #line $LINENO "configure"
10328 cat confdefs.h >>conftest.$ac_ext
10329 cat >>conftest.$ac_ext <<_ACEOF
10330 /* end confdefs.h. */
10340 rm -f conftest.$ac_objext
10341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10342 (eval $ac_compile) 2>&5
10344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10345 (exit $ac_status); } &&
10346 { ac_try='test -s conftest.$ac_objext'
10347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10348 (eval $ac_try) 2>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); }; }; then
10352 glibcxx_cv_func__hypot_use=yes
10354 echo "$as_me: failed program was:" >&5
10355 sed 's/^/| /' conftest.$ac_ext >&5
10357 glibcxx_cv_func__hypot_use=no
10359 rm -f conftest.$ac_objext conftest.$ac_ext
10361 ac_cpp='$CPP $CPPFLAGS'
10362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10371 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10373 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10375 for ac_func in _hypot
10377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10378 echo "$as_me:$LINENO: checking for $ac_func" >&5
10379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10380 if eval "test \"\${$as_ac_var+set}\" = set"; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10383 if test x$gcc_no_link = xyes; then
10384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10386 { (exit 1); exit 1; }; }
10388 cat >conftest.$ac_ext <<_ACEOF
10389 #line $LINENO "configure"
10392 cat confdefs.h >>conftest.$ac_ext
10393 cat >>conftest.$ac_ext <<_ACEOF
10394 /* end confdefs.h. */
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char $ac_func (); below.
10397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10398 <limits.h> exists even on freestanding compilers. */
10400 # include <limits.h>
10402 # include <assert.h>
10404 /* Override any gcc2 internal prototype to avoid an error. */
10409 /* We use char because int might match the return type of a gcc2
10410 builtin and then its argument prototype would still apply. */
10412 /* The GNU C library defines this for functions which it implements
10413 to always fail with ENOSYS. Some functions are actually named
10414 something starting with __ and the normal name is an alias. */
10415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10418 char (*f) () = $ac_func;
10427 return f != $ac_func;
10432 rm -f conftest.$ac_objext conftest$ac_exeext
10433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10434 (eval $ac_link) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); } &&
10438 { ac_try='test -s conftest$ac_exeext'
10439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10440 (eval $ac_try) 2>&5
10442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10443 (exit $ac_status); }; }; then
10444 eval "$as_ac_var=yes"
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 eval "$as_ac_var=no"
10451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10455 if test `eval echo '${'$as_ac_var'}'` = yes; then
10456 cat >>confdefs.h <<_ACEOF
10457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10468 echo "$as_me:$LINENO: checking for float trig functions" >&5
10469 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10470 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 ac_cpp='$CXXCPP $CPPFLAGS'
10478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10482 cat >conftest.$ac_ext <<_ACEOF
10483 #line $LINENO "configure"
10486 cat confdefs.h >>conftest.$ac_ext
10487 cat >>conftest.$ac_ext <<_ACEOF
10488 /* end confdefs.h. */
10493 `for x in acosf asinf atanf \
10495 coshf sinhf tanhf; do echo "$x (0);"; done`
10500 rm -f conftest.$ac_objext
10501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10502 (eval $ac_compile) 2>&5
10504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505 (exit $ac_status); } &&
10506 { ac_try='test -s conftest.$ac_objext'
10507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10508 (eval $ac_try) 2>&5
10510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10511 (exit $ac_status); }; }; then
10512 glibcxx_cv_func_float_trig_use=yes
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10517 glibcxx_cv_func_float_trig_use=no
10519 rm -f conftest.$ac_objext conftest.$ac_ext
10521 ac_cpp='$CPP $CPPFLAGS'
10522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10529 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10530 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10540 for ac_func in acosf asinf atanf \
10544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10545 echo "$as_me:$LINENO: checking for $ac_func" >&5
10546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10547 if eval "test \"\${$as_ac_var+set}\" = set"; then
10548 echo $ECHO_N "(cached) $ECHO_C" >&6
10550 if test x$gcc_no_link = xyes; then
10551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10553 { (exit 1); exit 1; }; }
10555 cat >conftest.$ac_ext <<_ACEOF
10556 #line $LINENO "configure"
10559 cat confdefs.h >>conftest.$ac_ext
10560 cat >>conftest.$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10562 /* System header to define __stub macros and hopefully few prototypes,
10563 which can conflict with char $ac_func (); below.
10564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10565 <limits.h> exists even on freestanding compilers. */
10567 # include <limits.h>
10569 # include <assert.h>
10571 /* Override any gcc2 internal prototype to avoid an error. */
10576 /* We use char because int might match the return type of a gcc2
10577 builtin and then its argument prototype would still apply. */
10579 /* The GNU C library defines this for functions which it implements
10580 to always fail with ENOSYS. Some functions are actually named
10581 something starting with __ and the normal name is an alias. */
10582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10585 char (*f) () = $ac_func;
10594 return f != $ac_func;
10599 rm -f conftest.$ac_objext conftest$ac_exeext
10600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } &&
10605 { ac_try='test -s conftest$ac_exeext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10611 eval "$as_ac_var=yes"
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 eval "$as_ac_var=no"
10618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10622 if test `eval echo '${'$as_ac_var'}'` = yes; then
10623 cat >>confdefs.h <<_ACEOF
10624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10633 echo "$as_me:$LINENO: checking for float round functions" >&5
10634 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10635 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10636 echo $ECHO_N "(cached) $ECHO_C" >&6
10642 ac_cpp='$CXXCPP $CPPFLAGS'
10643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10647 cat >conftest.$ac_ext <<_ACEOF
10648 #line $LINENO "configure"
10651 cat confdefs.h >>conftest.$ac_ext
10652 cat >>conftest.$ac_ext <<_ACEOF
10653 /* end confdefs.h. */
10658 `for x in ceilf floorf; do echo "$x (0);"; done`
10663 rm -f conftest.$ac_objext
10664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10665 (eval $ac_compile) 2>&5
10667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10668 (exit $ac_status); } &&
10669 { ac_try='test -s conftest.$ac_objext'
10670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10671 (eval $ac_try) 2>&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); }; }; then
10675 glibcxx_cv_func_float_round_use=yes
10677 echo "$as_me: failed program was:" >&5
10678 sed 's/^/| /' conftest.$ac_ext >&5
10680 glibcxx_cv_func_float_round_use=no
10682 rm -f conftest.$ac_objext conftest.$ac_ext
10684 ac_cpp='$CPP $CPPFLAGS'
10685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10691 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10692 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10693 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10696 for ac_func in ceilf floorf
10698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10699 echo "$as_me:$LINENO: checking for $ac_func" >&5
10700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10701 if eval "test \"\${$as_ac_var+set}\" = set"; then
10702 echo $ECHO_N "(cached) $ECHO_C" >&6
10704 if test x$gcc_no_link = xyes; then
10705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10707 { (exit 1); exit 1; }; }
10709 cat >conftest.$ac_ext <<_ACEOF
10710 #line $LINENO "configure"
10713 cat confdefs.h >>conftest.$ac_ext
10714 cat >>conftest.$ac_ext <<_ACEOF
10715 /* end confdefs.h. */
10716 /* System header to define __stub macros and hopefully few prototypes,
10717 which can conflict with char $ac_func (); below.
10718 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10719 <limits.h> exists even on freestanding compilers. */
10721 # include <limits.h>
10723 # include <assert.h>
10725 /* Override any gcc2 internal prototype to avoid an error. */
10730 /* We use char because int might match the return type of a gcc2
10731 builtin and then its argument prototype would still apply. */
10733 /* The GNU C library defines this for functions which it implements
10734 to always fail with ENOSYS. Some functions are actually named
10735 something starting with __ and the normal name is an alias. */
10736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10739 char (*f) () = $ac_func;
10748 return f != $ac_func;
10753 rm -f conftest.$ac_objext conftest$ac_exeext
10754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10755 (eval $ac_link) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); } &&
10759 { ac_try='test -s conftest$ac_exeext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 eval "$as_ac_var=yes"
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10770 eval "$as_ac_var=no"
10772 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10776 if test `eval echo '${'$as_ac_var'}'` = yes; then
10777 cat >>confdefs.h <<_ACEOF
10778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10788 echo "$as_me:$LINENO: checking for expf declaration" >&5
10789 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10790 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10791 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 ac_cpp='$CXXCPP $CPPFLAGS'
10799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10803 cat >conftest.$ac_ext <<_ACEOF
10804 #line $LINENO "configure"
10807 cat confdefs.h >>conftest.$ac_ext
10808 cat >>conftest.$ac_ext <<_ACEOF
10809 /* end confdefs.h. */
10811 #ifdef HAVE_IEEEFP_H
10812 #include <ieeefp.h>
10823 rm -f conftest.$ac_objext
10824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10825 (eval $ac_compile) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); } &&
10829 { ac_try='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 glibcxx_cv_func_expf_use=yes
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.$ac_ext >&5
10840 glibcxx_cv_func_expf_use=no
10842 rm -f conftest.$ac_objext conftest.$ac_ext
10844 ac_cpp='$CPP $CPPFLAGS'
10845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10854 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10856 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10858 for ac_func in expf
10860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10861 echo "$as_me:$LINENO: checking for $ac_func" >&5
10862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10863 if eval "test \"\${$as_ac_var+set}\" = set"; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 if test x$gcc_no_link = xyes; then
10867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10869 { (exit 1); exit 1; }; }
10871 cat >conftest.$ac_ext <<_ACEOF
10872 #line $LINENO "configure"
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h. */
10878 /* System header to define __stub macros and hopefully few prototypes,
10879 which can conflict with char $ac_func (); below.
10880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10881 <limits.h> exists even on freestanding compilers. */
10883 # include <limits.h>
10885 # include <assert.h>
10887 /* Override any gcc2 internal prototype to avoid an error. */
10892 /* We use char because int might match the return type of a gcc2
10893 builtin and then its argument prototype would still apply. */
10895 /* The GNU C library defines this for functions which it implements
10896 to always fail with ENOSYS. Some functions are actually named
10897 something starting with __ and the normal name is an alias. */
10898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10901 char (*f) () = $ac_func;
10910 return f != $ac_func;
10915 rm -f conftest.$ac_objext conftest$ac_exeext
10916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10917 (eval $ac_link) 2>&5
10919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10920 (exit $ac_status); } &&
10921 { ac_try='test -s conftest$ac_exeext'
10922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10923 (eval $ac_try) 2>&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); }; }; then
10927 eval "$as_ac_var=yes"
10929 echo "$as_me: failed program was:" >&5
10930 sed 's/^/| /' conftest.$ac_ext >&5
10932 eval "$as_ac_var=no"
10934 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10937 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10938 if test `eval echo '${'$as_ac_var'}'` = yes; then
10939 cat >>confdefs.h <<_ACEOF
10940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10948 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10949 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10950 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10951 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 ac_cpp='$CXXCPP $CPPFLAGS'
10959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10963 cat >conftest.$ac_ext <<_ACEOF
10964 #line $LINENO "configure"
10967 cat confdefs.h >>conftest.$ac_ext
10968 cat >>conftest.$ac_ext <<_ACEOF
10969 /* end confdefs.h. */
10971 #ifdef HAVE_IEEEFP_H
10972 #include <ieeefp.h>
10983 rm -f conftest.$ac_objext
10984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10985 (eval $ac_compile) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); } &&
10989 { ac_try='test -s conftest.$ac_objext'
10990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10991 (eval $ac_try) 2>&5
10993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10994 (exit $ac_status); }; }; then
10995 glibcxx_cv_func__expf_use=yes
10997 echo "$as_me: failed program was:" >&5
10998 sed 's/^/| /' conftest.$ac_ext >&5
11000 glibcxx_cv_func__expf_use=no
11002 rm -f conftest.$ac_objext conftest.$ac_ext
11004 ac_cpp='$CPP $CPPFLAGS'
11005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11013 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11014 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11016 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11018 for ac_func in _expf
11020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11021 echo "$as_me:$LINENO: checking for $ac_func" >&5
11022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11023 if eval "test \"\${$as_ac_var+set}\" = set"; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 if test x$gcc_no_link = xyes; then
11027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11029 { (exit 1); exit 1; }; }
11031 cat >conftest.$ac_ext <<_ACEOF
11032 #line $LINENO "configure"
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 /* System header to define __stub macros and hopefully few prototypes,
11039 which can conflict with char $ac_func (); below.
11040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11041 <limits.h> exists even on freestanding compilers. */
11043 # include <limits.h>
11045 # include <assert.h>
11047 /* Override any gcc2 internal prototype to avoid an error. */
11052 /* We use char because int might match the return type of a gcc2
11053 builtin and then its argument prototype would still apply. */
11055 /* The GNU C library defines this for functions which it implements
11056 to always fail with ENOSYS. Some functions are actually named
11057 something starting with __ and the normal name is an alias. */
11058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11061 char (*f) () = $ac_func;
11070 return f != $ac_func;
11075 rm -f conftest.$ac_objext conftest$ac_exeext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11077 (eval $ac_link) 2>&5
11079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } &&
11081 { ac_try='test -s conftest$ac_exeext'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; }; then
11087 eval "$as_ac_var=yes"
11089 echo "$as_me: failed program was:" >&5
11090 sed 's/^/| /' conftest.$ac_ext >&5
11092 eval "$as_ac_var=no"
11094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11098 if test `eval echo '${'$as_ac_var'}'` = yes; then
11099 cat >>confdefs.h <<_ACEOF
11100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11111 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11112 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 ac_cpp='$CXXCPP $CPPFLAGS'
11122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11126 cat >conftest.$ac_ext <<_ACEOF
11127 #line $LINENO "configure"
11130 cat confdefs.h >>conftest.$ac_ext
11131 cat >>conftest.$ac_ext <<_ACEOF
11132 /* end confdefs.h. */
11134 #ifdef HAVE_IEEEFP_H
11135 #include <ieeefp.h>
11146 rm -f conftest.$ac_objext
11147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11148 (eval $ac_compile) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); } &&
11152 { ac_try='test -s conftest.$ac_objext'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; }; then
11158 glibcxx_cv_func_isnanf_use=yes
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 glibcxx_cv_func_isnanf_use=no
11165 rm -f conftest.$ac_objext conftest.$ac_ext
11167 ac_cpp='$CPP $CPPFLAGS'
11168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11177 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11179 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11181 for ac_func in isnanf
11183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11184 echo "$as_me:$LINENO: checking for $ac_func" >&5
11185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11186 if eval "test \"\${$as_ac_var+set}\" = set"; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11189 if test x$gcc_no_link = xyes; then
11190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11192 { (exit 1); exit 1; }; }
11194 cat >conftest.$ac_ext <<_ACEOF
11195 #line $LINENO "configure"
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11206 # include <limits.h>
11208 # include <assert.h>
11210 /* Override any gcc2 internal prototype to avoid an error. */
11215 /* We use char because int might match the return type of a gcc2
11216 builtin and then its argument prototype would still apply. */
11218 /* The GNU C library defines this for functions which it implements
11219 to always fail with ENOSYS. Some functions are actually named
11220 something starting with __ and the normal name is an alias. */
11221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11224 char (*f) () = $ac_func;
11233 return f != $ac_func;
11238 rm -f conftest.$ac_objext conftest$ac_exeext
11239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11240 (eval $ac_link) 2>&5
11242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11243 (exit $ac_status); } &&
11244 { ac_try='test -s conftest$ac_exeext'
11245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11246 (eval $ac_try) 2>&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); }; }; then
11250 eval "$as_ac_var=yes"
11252 echo "$as_me: failed program was:" >&5
11253 sed 's/^/| /' conftest.$ac_ext >&5
11255 eval "$as_ac_var=no"
11257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11261 if test `eval echo '${'$as_ac_var'}'` = yes; then
11262 cat >>confdefs.h <<_ACEOF
11263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11271 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11272 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11273 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11274 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11275 echo $ECHO_N "(cached) $ECHO_C" >&6
11281 ac_cpp='$CXXCPP $CPPFLAGS'
11282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11286 cat >conftest.$ac_ext <<_ACEOF
11287 #line $LINENO "configure"
11290 cat confdefs.h >>conftest.$ac_ext
11291 cat >>conftest.$ac_ext <<_ACEOF
11292 /* end confdefs.h. */
11294 #ifdef HAVE_IEEEFP_H
11295 #include <ieeefp.h>
11306 rm -f conftest.$ac_objext
11307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11308 (eval $ac_compile) 2>&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try='test -s conftest.$ac_objext'
11313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11314 (eval $ac_try) 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 glibcxx_cv_func__isnanf_use=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 glibcxx_cv_func__isnanf_use=no
11325 rm -f conftest.$ac_objext conftest.$ac_ext
11327 ac_cpp='$CPP $CPPFLAGS'
11328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11336 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11337 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11339 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11341 for ac_func in _isnanf
11343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11344 echo "$as_me:$LINENO: checking for $ac_func" >&5
11345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11346 if eval "test \"\${$as_ac_var+set}\" = set"; then
11347 echo $ECHO_N "(cached) $ECHO_C" >&6
11349 if test x$gcc_no_link = xyes; then
11350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11352 { (exit 1); exit 1; }; }
11354 cat >conftest.$ac_ext <<_ACEOF
11355 #line $LINENO "configure"
11358 cat confdefs.h >>conftest.$ac_ext
11359 cat >>conftest.$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 /* System header to define __stub macros and hopefully few prototypes,
11362 which can conflict with char $ac_func (); below.
11363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11364 <limits.h> exists even on freestanding compilers. */
11366 # include <limits.h>
11368 # include <assert.h>
11370 /* Override any gcc2 internal prototype to avoid an error. */
11375 /* We use char because int might match the return type of a gcc2
11376 builtin and then its argument prototype would still apply. */
11378 /* The GNU C library defines this for functions which it implements
11379 to always fail with ENOSYS. Some functions are actually named
11380 something starting with __ and the normal name is an alias. */
11381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11384 char (*f) () = $ac_func;
11393 return f != $ac_func;
11398 rm -f conftest.$ac_objext conftest$ac_exeext
11399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11400 (eval $ac_link) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); } &&
11404 { ac_try='test -s conftest$ac_exeext'
11405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11406 (eval $ac_try) 2>&5
11408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11409 (exit $ac_status); }; }; then
11410 eval "$as_ac_var=yes"
11412 echo "$as_me: failed program was:" >&5
11413 sed 's/^/| /' conftest.$ac_ext >&5
11415 eval "$as_ac_var=no"
11417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11421 if test `eval echo '${'$as_ac_var'}'` = yes; then
11422 cat >>confdefs.h <<_ACEOF
11423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11434 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11435 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11436 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11437 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11438 echo $ECHO_N "(cached) $ECHO_C" >&6
11444 ac_cpp='$CXXCPP $CPPFLAGS'
11445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11449 cat >conftest.$ac_ext <<_ACEOF
11450 #line $LINENO "configure"
11453 cat confdefs.h >>conftest.$ac_ext
11454 cat >>conftest.$ac_ext <<_ACEOF
11455 /* end confdefs.h. */
11457 #ifdef HAVE_IEEEFP_H
11458 #include <ieeefp.h>
11469 rm -f conftest.$ac_objext
11470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11471 (eval $ac_compile) 2>&5
11473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11474 (exit $ac_status); } &&
11475 { ac_try='test -s conftest.$ac_objext'
11476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11477 (eval $ac_try) 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 glibcxx_cv_func_isinff_use=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.$ac_ext >&5
11486 glibcxx_cv_func_isinff_use=no
11488 rm -f conftest.$ac_objext conftest.$ac_ext
11490 ac_cpp='$CPP $CPPFLAGS'
11491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11500 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11502 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11504 for ac_func in isinff
11506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11507 echo "$as_me:$LINENO: checking for $ac_func" >&5
11508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11509 if eval "test \"\${$as_ac_var+set}\" = set"; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 if test x$gcc_no_link = xyes; then
11513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11515 { (exit 1); exit 1; }; }
11517 cat >conftest.$ac_ext <<_ACEOF
11518 #line $LINENO "configure"
11521 cat confdefs.h >>conftest.$ac_ext
11522 cat >>conftest.$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11524 /* System header to define __stub macros and hopefully few prototypes,
11525 which can conflict with char $ac_func (); below.
11526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11527 <limits.h> exists even on freestanding compilers. */
11529 # include <limits.h>
11531 # include <assert.h>
11533 /* Override any gcc2 internal prototype to avoid an error. */
11538 /* We use char because int might match the return type of a gcc2
11539 builtin and then its argument prototype would still apply. */
11541 /* The GNU C library defines this for functions which it implements
11542 to always fail with ENOSYS. Some functions are actually named
11543 something starting with __ and the normal name is an alias. */
11544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11547 char (*f) () = $ac_func;
11556 return f != $ac_func;
11561 rm -f conftest.$ac_objext conftest$ac_exeext
11562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11563 (eval $ac_link) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); } &&
11567 { ac_try='test -s conftest$ac_exeext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 eval "$as_ac_var=yes"
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11578 eval "$as_ac_var=no"
11580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11584 if test `eval echo '${'$as_ac_var'}'` = yes; then
11585 cat >>confdefs.h <<_ACEOF
11586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11594 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11595 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11596 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11597 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 ac_cpp='$CXXCPP $CPPFLAGS'
11605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11609 cat >conftest.$ac_ext <<_ACEOF
11610 #line $LINENO "configure"
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11617 #ifdef HAVE_IEEEFP_H
11618 #include <ieeefp.h>
11629 rm -f conftest.$ac_objext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11631 (eval $ac_compile) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } &&
11635 { ac_try='test -s conftest.$ac_objext'
11636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11637 (eval $ac_try) 2>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); }; }; then
11641 glibcxx_cv_func__isinff_use=yes
11643 echo "$as_me: failed program was:" >&5
11644 sed 's/^/| /' conftest.$ac_ext >&5
11646 glibcxx_cv_func__isinff_use=no
11648 rm -f conftest.$ac_objext conftest.$ac_ext
11650 ac_cpp='$CPP $CPPFLAGS'
11651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11659 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11660 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11662 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11664 for ac_func in _isinff
11666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11667 echo "$as_me:$LINENO: checking for $ac_func" >&5
11668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11669 if eval "test \"\${$as_ac_var+set}\" = set"; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 if test x$gcc_no_link = xyes; then
11673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11675 { (exit 1); exit 1; }; }
11677 cat >conftest.$ac_ext <<_ACEOF
11678 #line $LINENO "configure"
11681 cat confdefs.h >>conftest.$ac_ext
11682 cat >>conftest.$ac_ext <<_ACEOF
11683 /* end confdefs.h. */
11684 /* System header to define __stub macros and hopefully few prototypes,
11685 which can conflict with char $ac_func (); below.
11686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11687 <limits.h> exists even on freestanding compilers. */
11689 # include <limits.h>
11691 # include <assert.h>
11693 /* Override any gcc2 internal prototype to avoid an error. */
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11701 /* The GNU C library defines this for functions which it implements
11702 to always fail with ENOSYS. Some functions are actually named
11703 something starting with __ and the normal name is an alias. */
11704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11707 char (*f) () = $ac_func;
11716 return f != $ac_func;
11721 rm -f conftest.$ac_objext conftest$ac_exeext
11722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11723 (eval $ac_link) 2>&5
11725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11726 (exit $ac_status); } &&
11727 { ac_try='test -s conftest$ac_exeext'
11728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11729 (eval $ac_try) 2>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); }; }; then
11733 eval "$as_ac_var=yes"
11735 echo "$as_me: failed program was:" >&5
11736 sed 's/^/| /' conftest.$ac_ext >&5
11738 eval "$as_ac_var=no"
11740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11744 if test `eval echo '${'$as_ac_var'}'` = yes; then
11745 cat >>confdefs.h <<_ACEOF
11746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11757 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11758 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11759 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11760 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11767 ac_cpp='$CXXCPP $CPPFLAGS'
11768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11772 cat >conftest.$ac_ext <<_ACEOF
11773 #line $LINENO "configure"
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11788 rm -f conftest.$ac_objext
11789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11790 (eval $ac_compile) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); } &&
11794 { ac_try='test -s conftest.$ac_objext'
11795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11796 (eval $ac_try) 2>&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); }; }; then
11800 glibcxx_cv_func_atan2f_use=yes
11802 echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11805 glibcxx_cv_func_atan2f_use=no
11807 rm -f conftest.$ac_objext conftest.$ac_ext
11809 ac_cpp='$CPP $CPPFLAGS'
11810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11818 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11819 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11821 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11823 for ac_func in atan2f
11825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11826 echo "$as_me:$LINENO: checking for $ac_func" >&5
11827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11828 if eval "test \"\${$as_ac_var+set}\" = set"; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 if test x$gcc_no_link = xyes; then
11832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11834 { (exit 1); exit 1; }; }
11836 cat >conftest.$ac_ext <<_ACEOF
11837 #line $LINENO "configure"
11840 cat confdefs.h >>conftest.$ac_ext
11841 cat >>conftest.$ac_ext <<_ACEOF
11842 /* end confdefs.h. */
11843 /* System header to define __stub macros and hopefully few prototypes,
11844 which can conflict with char $ac_func (); below.
11845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846 <limits.h> exists even on freestanding compilers. */
11848 # include <limits.h>
11850 # include <assert.h>
11852 /* Override any gcc2 internal prototype to avoid an error. */
11857 /* We use char because int might match the return type of a gcc2
11858 builtin and then its argument prototype would still apply. */
11860 /* The GNU C library defines this for functions which it implements
11861 to always fail with ENOSYS. Some functions are actually named
11862 something starting with __ and the normal name is an alias. */
11863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11866 char (*f) () = $ac_func;
11875 return f != $ac_func;
11880 rm -f conftest.$ac_objext conftest$ac_exeext
11881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11882 (eval $ac_link) 2>&5
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); } &&
11886 { ac_try='test -s conftest$ac_exeext'
11887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11888 (eval $ac_try) 2>&5
11890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11891 (exit $ac_status); }; }; then
11892 eval "$as_ac_var=yes"
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.$ac_ext >&5
11897 eval "$as_ac_var=no"
11899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11903 if test `eval echo '${'$as_ac_var'}'` = yes; then
11904 cat >>confdefs.h <<_ACEOF
11905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11913 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11914 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11915 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11916 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 ac_cpp='$CXXCPP $CPPFLAGS'
11924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 cat >conftest.$ac_ext <<_ACEOF
11929 #line $LINENO "configure"
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h. */
11944 rm -f conftest.$ac_objext
11945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11946 (eval $ac_compile) 2>&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } &&
11950 { ac_try='test -s conftest.$ac_objext'
11951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11952 (eval $ac_try) 2>&5
11954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11955 (exit $ac_status); }; }; then
11956 glibcxx_cv_func__atan2f_use=yes
11958 echo "$as_me: failed program was:" >&5
11959 sed 's/^/| /' conftest.$ac_ext >&5
11961 glibcxx_cv_func__atan2f_use=no
11963 rm -f conftest.$ac_objext conftest.$ac_ext
11965 ac_cpp='$CPP $CPPFLAGS'
11966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11975 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11977 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11979 for ac_func in _atan2f
11981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11982 echo "$as_me:$LINENO: checking for $ac_func" >&5
11983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11984 if eval "test \"\${$as_ac_var+set}\" = set"; then
11985 echo $ECHO_N "(cached) $ECHO_C" >&6
11987 if test x$gcc_no_link = xyes; then
11988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11990 { (exit 1); exit 1; }; }
11992 cat >conftest.$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 /* System header to define __stub macros and hopefully few prototypes,
12000 which can conflict with char $ac_func (); below.
12001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 <limits.h> exists even on freestanding compilers. */
12004 # include <limits.h>
12006 # include <assert.h>
12008 /* Override any gcc2 internal prototype to avoid an error. */
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12016 /* The GNU C library defines this for functions which it implements
12017 to always fail with ENOSYS. Some functions are actually named
12018 something starting with __ and the normal name is an alias. */
12019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12022 char (*f) () = $ac_func;
12031 return f != $ac_func;
12036 rm -f conftest.$ac_objext conftest$ac_exeext
12037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12038 (eval $ac_link) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); } &&
12042 { ac_try='test -s conftest$ac_exeext'
12043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12044 (eval $ac_try) 2>&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); }; }; then
12048 eval "$as_ac_var=yes"
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12053 eval "$as_ac_var=no"
12055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12059 if test `eval echo '${'$as_ac_var'}'` = yes; then
12060 cat >>confdefs.h <<_ACEOF
12061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12072 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12074 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12075 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12076 echo $ECHO_N "(cached) $ECHO_C" >&6
12082 ac_cpp='$CXXCPP $CPPFLAGS'
12083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12087 cat >conftest.$ac_ext <<_ACEOF
12088 #line $LINENO "configure"
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12095 #ifdef HAVE_IEEEFP_H
12096 #include <ieeefp.h>
12107 rm -f conftest.$ac_objext
12108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12109 (eval $ac_compile) 2>&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } &&
12113 { ac_try='test -s conftest.$ac_objext'
12114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12115 (eval $ac_try) 2>&5
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }; }; then
12119 glibcxx_cv_func_fabsf_use=yes
12121 echo "$as_me: failed program was:" >&5
12122 sed 's/^/| /' conftest.$ac_ext >&5
12124 glibcxx_cv_func_fabsf_use=no
12126 rm -f conftest.$ac_objext conftest.$ac_ext
12128 ac_cpp='$CPP $CPPFLAGS'
12129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12138 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12140 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12142 for ac_func in fabsf
12144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12145 echo "$as_me:$LINENO: checking for $ac_func" >&5
12146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12147 if eval "test \"\${$as_ac_var+set}\" = set"; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 if test x$gcc_no_link = xyes; then
12151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12153 { (exit 1); exit 1; }; }
12155 cat >conftest.$ac_ext <<_ACEOF
12156 #line $LINENO "configure"
12159 cat confdefs.h >>conftest.$ac_ext
12160 cat >>conftest.$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12162 /* System header to define __stub macros and hopefully few prototypes,
12163 which can conflict with char $ac_func (); below.
12164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12165 <limits.h> exists even on freestanding compilers. */
12167 # include <limits.h>
12169 # include <assert.h>
12171 /* Override any gcc2 internal prototype to avoid an error. */
12176 /* We use char because int might match the return type of a gcc2
12177 builtin and then its argument prototype would still apply. */
12179 /* The GNU C library defines this for functions which it implements
12180 to always fail with ENOSYS. Some functions are actually named
12181 something starting with __ and the normal name is an alias. */
12182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12185 char (*f) () = $ac_func;
12194 return f != $ac_func;
12199 rm -f conftest.$ac_objext conftest$ac_exeext
12200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12201 (eval $ac_link) 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); } &&
12205 { ac_try='test -s conftest$ac_exeext'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; }; then
12211 eval "$as_ac_var=yes"
12213 echo "$as_me: failed program was:" >&5
12214 sed 's/^/| /' conftest.$ac_ext >&5
12216 eval "$as_ac_var=no"
12218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12222 if test `eval echo '${'$as_ac_var'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12232 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12233 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12234 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12235 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12236 echo $ECHO_N "(cached) $ECHO_C" >&6
12242 ac_cpp='$CXXCPP $CPPFLAGS'
12243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12247 cat >conftest.$ac_ext <<_ACEOF
12248 #line $LINENO "configure"
12251 cat confdefs.h >>conftest.$ac_ext
12252 cat >>conftest.$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12255 #ifdef HAVE_IEEEFP_H
12256 #include <ieeefp.h>
12267 rm -f conftest.$ac_objext
12268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12269 (eval $ac_compile) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); } &&
12273 { ac_try='test -s conftest.$ac_objext'
12274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12275 (eval $ac_try) 2>&5
12277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12278 (exit $ac_status); }; }; then
12279 glibcxx_cv_func__fabsf_use=yes
12281 echo "$as_me: failed program was:" >&5
12282 sed 's/^/| /' conftest.$ac_ext >&5
12284 glibcxx_cv_func__fabsf_use=no
12286 rm -f conftest.$ac_objext conftest.$ac_ext
12288 ac_cpp='$CPP $CPPFLAGS'
12289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12297 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12298 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12300 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12302 for ac_func in _fabsf
12304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12305 echo "$as_me:$LINENO: checking for $ac_func" >&5
12306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12307 if eval "test \"\${$as_ac_var+set}\" = set"; then
12308 echo $ECHO_N "(cached) $ECHO_C" >&6
12310 if test x$gcc_no_link = xyes; then
12311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12313 { (exit 1); exit 1; }; }
12315 cat >conftest.$ac_ext <<_ACEOF
12316 #line $LINENO "configure"
12319 cat confdefs.h >>conftest.$ac_ext
12320 cat >>conftest.$ac_ext <<_ACEOF
12321 /* end confdefs.h. */
12322 /* System header to define __stub macros and hopefully few prototypes,
12323 which can conflict with char $ac_func (); below.
12324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12325 <limits.h> exists even on freestanding compilers. */
12327 # include <limits.h>
12329 # include <assert.h>
12331 /* Override any gcc2 internal prototype to avoid an error. */
12336 /* We use char because int might match the return type of a gcc2
12337 builtin and then its argument prototype would still apply. */
12339 /* The GNU C library defines this for functions which it implements
12340 to always fail with ENOSYS. Some functions are actually named
12341 something starting with __ and the normal name is an alias. */
12342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12345 char (*f) () = $ac_func;
12354 return f != $ac_func;
12359 rm -f conftest.$ac_objext conftest$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 eval "$as_ac_var=yes"
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.$ac_ext >&5
12376 eval "$as_ac_var=no"
12378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12382 if test `eval echo '${'$as_ac_var'}'` = yes; then
12383 cat >>confdefs.h <<_ACEOF
12384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12395 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12396 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12397 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12398 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12399 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 ac_cpp='$CXXCPP $CPPFLAGS'
12406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12410 cat >conftest.$ac_ext <<_ACEOF
12411 #line $LINENO "configure"
12414 cat confdefs.h >>conftest.$ac_ext
12415 cat >>conftest.$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12426 rm -f conftest.$ac_objext
12427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12428 (eval $ac_compile) 2>&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -s conftest.$ac_objext'
12433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12434 (eval $ac_try) 2>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); }; }; then
12438 glibcxx_cv_func_fmodf_use=yes
12440 echo "$as_me: failed program was:" >&5
12441 sed 's/^/| /' conftest.$ac_ext >&5
12443 glibcxx_cv_func_fmodf_use=no
12445 rm -f conftest.$ac_objext conftest.$ac_ext
12447 ac_cpp='$CPP $CPPFLAGS'
12448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12456 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12457 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12459 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12461 for ac_func in fmodf
12463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12464 echo "$as_me:$LINENO: checking for $ac_func" >&5
12465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12466 if eval "test \"\${$as_ac_var+set}\" = set"; then
12467 echo $ECHO_N "(cached) $ECHO_C" >&6
12469 if test x$gcc_no_link = xyes; then
12470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12472 { (exit 1); exit 1; }; }
12474 cat >conftest.$ac_ext <<_ACEOF
12475 #line $LINENO "configure"
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12481 /* System header to define __stub macros and hopefully few prototypes,
12482 which can conflict with char $ac_func (); below.
12483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12484 <limits.h> exists even on freestanding compilers. */
12486 # include <limits.h>
12488 # include <assert.h>
12490 /* Override any gcc2 internal prototype to avoid an error. */
12495 /* We use char because int might match the return type of a gcc2
12496 builtin and then its argument prototype would still apply. */
12498 /* The GNU C library defines this for functions which it implements
12499 to always fail with ENOSYS. Some functions are actually named
12500 something starting with __ and the normal name is an alias. */
12501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12504 char (*f) () = $ac_func;
12513 return f != $ac_func;
12518 rm -f conftest.$ac_objext conftest$ac_exeext
12519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12520 (eval $ac_link) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } &&
12524 { ac_try='test -s conftest$ac_exeext'
12525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12526 (eval $ac_try) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); }; }; then
12530 eval "$as_ac_var=yes"
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12535 eval "$as_ac_var=no"
12537 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12541 if test `eval echo '${'$as_ac_var'}'` = yes; then
12542 cat >>confdefs.h <<_ACEOF
12543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12551 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12552 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12553 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12554 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12555 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 ac_cpp='$CXXCPP $CPPFLAGS'
12562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12566 cat >conftest.$ac_ext <<_ACEOF
12567 #line $LINENO "configure"
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12582 rm -f conftest.$ac_objext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12584 (eval $ac_compile) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } &&
12588 { ac_try='test -s conftest.$ac_objext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 glibcxx_cv_func__fmodf_use=yes
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 glibcxx_cv_func__fmodf_use=no
12601 rm -f conftest.$ac_objext conftest.$ac_ext
12603 ac_cpp='$CPP $CPPFLAGS'
12604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12612 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12613 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12615 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12617 for ac_func in _fmodf
12619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12620 echo "$as_me:$LINENO: checking for $ac_func" >&5
12621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12622 if eval "test \"\${$as_ac_var+set}\" = set"; then
12623 echo $ECHO_N "(cached) $ECHO_C" >&6
12625 if test x$gcc_no_link = xyes; then
12626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12628 { (exit 1); exit 1; }; }
12630 cat >conftest.$ac_ext <<_ACEOF
12631 #line $LINENO "configure"
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 /* System header to define __stub macros and hopefully few prototypes,
12638 which can conflict with char $ac_func (); below.
12639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12640 <limits.h> exists even on freestanding compilers. */
12642 # include <limits.h>
12644 # include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */
12651 /* We use char because int might match the return type of a gcc2
12652 builtin and then its argument prototype would still apply. */
12654 /* The GNU C library defines this for functions which it implements
12655 to always fail with ENOSYS. Some functions are actually named
12656 something starting with __ and the normal name is an alias. */
12657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12660 char (*f) () = $ac_func;
12669 return f != $ac_func;
12674 rm -f conftest.$ac_objext conftest$ac_exeext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12676 (eval $ac_link) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } &&
12680 { ac_try='test -s conftest$ac_exeext'
12681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12682 (eval $ac_try) 2>&5
12684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12685 (exit $ac_status); }; }; then
12686 eval "$as_ac_var=yes"
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 eval "$as_ac_var=no"
12693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12697 if test `eval echo '${'$as_ac_var'}'` = yes; then
12698 cat >>confdefs.h <<_ACEOF
12699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12710 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12711 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12712 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12713 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12714 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 ac_cpp='$CXXCPP $CPPFLAGS'
12721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12725 cat >conftest.$ac_ext <<_ACEOF
12726 #line $LINENO "configure"
12729 cat confdefs.h >>conftest.$ac_ext
12730 cat >>conftest.$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12741 rm -f conftest.$ac_objext
12742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12743 (eval $ac_compile) 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try='test -s conftest.$ac_objext'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; }; then
12753 glibcxx_cv_func_frexpf_use=yes
12755 echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.$ac_ext >&5
12758 glibcxx_cv_func_frexpf_use=no
12760 rm -f conftest.$ac_objext conftest.$ac_ext
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12771 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12772 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12774 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12776 for ac_func in frexpf
12778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12779 echo "$as_me:$LINENO: checking for $ac_func" >&5
12780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12781 if eval "test \"\${$as_ac_var+set}\" = set"; then
12782 echo $ECHO_N "(cached) $ECHO_C" >&6
12784 if test x$gcc_no_link = xyes; then
12785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12787 { (exit 1); exit 1; }; }
12789 cat >conftest.$ac_ext <<_ACEOF
12790 #line $LINENO "configure"
12793 cat confdefs.h >>conftest.$ac_ext
12794 cat >>conftest.$ac_ext <<_ACEOF
12795 /* end confdefs.h. */
12796 /* System header to define __stub macros and hopefully few prototypes,
12797 which can conflict with char $ac_func (); below.
12798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12799 <limits.h> exists even on freestanding compilers. */
12801 # include <limits.h>
12803 # include <assert.h>
12805 /* Override any gcc2 internal prototype to avoid an error. */
12810 /* We use char because int might match the return type of a gcc2
12811 builtin and then its argument prototype would still apply. */
12813 /* The GNU C library defines this for functions which it implements
12814 to always fail with ENOSYS. Some functions are actually named
12815 something starting with __ and the normal name is an alias. */
12816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12819 char (*f) () = $ac_func;
12828 return f != $ac_func;
12833 rm -f conftest.$ac_objext conftest$ac_exeext
12834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12835 (eval $ac_link) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } &&
12839 { ac_try='test -s conftest$ac_exeext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 eval "$as_ac_var=yes"
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.$ac_ext >&5
12850 eval "$as_ac_var=no"
12852 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12856 if test `eval echo '${'$as_ac_var'}'` = yes; then
12857 cat >>confdefs.h <<_ACEOF
12858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12866 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12867 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12868 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12869 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12876 ac_cpp='$CXXCPP $CPPFLAGS'
12877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12881 cat >conftest.$ac_ext <<_ACEOF
12882 #line $LINENO "configure"
12885 cat confdefs.h >>conftest.$ac_ext
12886 cat >>conftest.$ac_ext <<_ACEOF
12887 /* end confdefs.h. */
12897 rm -f conftest.$ac_objext
12898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12899 (eval $ac_compile) 2>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } &&
12903 { ac_try='test -s conftest.$ac_objext'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; }; then
12909 glibcxx_cv_func__frexpf_use=yes
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 glibcxx_cv_func__frexpf_use=no
12916 rm -f conftest.$ac_objext conftest.$ac_ext
12918 ac_cpp='$CPP $CPPFLAGS'
12919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12928 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12930 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12932 for ac_func in _frexpf
12934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12935 echo "$as_me:$LINENO: checking for $ac_func" >&5
12936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12937 if eval "test \"\${$as_ac_var+set}\" = set"; then
12938 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 if test x$gcc_no_link = xyes; then
12941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12943 { (exit 1); exit 1; }; }
12945 cat >conftest.$ac_ext <<_ACEOF
12946 #line $LINENO "configure"
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12952 /* System header to define __stub macros and hopefully few prototypes,
12953 which can conflict with char $ac_func (); below.
12954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12955 <limits.h> exists even on freestanding compilers. */
12957 # include <limits.h>
12959 # include <assert.h>
12961 /* Override any gcc2 internal prototype to avoid an error. */
12966 /* We use char because int might match the return type of a gcc2
12967 builtin and then its argument prototype would still apply. */
12969 /* The GNU C library defines this for functions which it implements
12970 to always fail with ENOSYS. Some functions are actually named
12971 something starting with __ and the normal name is an alias. */
12972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12975 char (*f) () = $ac_func;
12984 return f != $ac_func;
12989 rm -f conftest.$ac_objext conftest$ac_exeext
12990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12991 (eval $ac_link) 2>&5
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); } &&
12995 { ac_try='test -s conftest$ac_exeext'
12996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997 (eval $ac_try) 2>&5
12999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000 (exit $ac_status); }; }; then
13001 eval "$as_ac_var=yes"
13003 echo "$as_me: failed program was:" >&5
13004 sed 's/^/| /' conftest.$ac_ext >&5
13006 eval "$as_ac_var=no"
13008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13012 if test `eval echo '${'$as_ac_var'}'` = yes; then
13013 cat >>confdefs.h <<_ACEOF
13014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13025 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13026 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13027 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13028 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13035 ac_cpp='$CXXCPP $CPPFLAGS'
13036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13040 cat >conftest.$ac_ext <<_ACEOF
13041 #line $LINENO "configure"
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>&5
13060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061 (exit $ac_status); } &&
13062 { ac_try='test -s conftest.$ac_objext'
13063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13064 (eval $ac_try) 2>&5
13066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13067 (exit $ac_status); }; }; then
13068 glibcxx_cv_func_hypotf_use=yes
13070 echo "$as_me: failed program was:" >&5
13071 sed 's/^/| /' conftest.$ac_ext >&5
13073 glibcxx_cv_func_hypotf_use=no
13075 rm -f conftest.$ac_objext conftest.$ac_ext
13077 ac_cpp='$CPP $CPPFLAGS'
13078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13087 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13089 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13091 for ac_func in hypotf
13093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13094 echo "$as_me:$LINENO: checking for $ac_func" >&5
13095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13096 if eval "test \"\${$as_ac_var+set}\" = set"; then
13097 echo $ECHO_N "(cached) $ECHO_C" >&6
13099 if test x$gcc_no_link = xyes; then
13100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13102 { (exit 1); exit 1; }; }
13104 cat >conftest.$ac_ext <<_ACEOF
13105 #line $LINENO "configure"
13108 cat confdefs.h >>conftest.$ac_ext
13109 cat >>conftest.$ac_ext <<_ACEOF
13110 /* end confdefs.h. */
13111 /* System header to define __stub macros and hopefully few prototypes,
13112 which can conflict with char $ac_func (); below.
13113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13114 <limits.h> exists even on freestanding compilers. */
13116 # include <limits.h>
13118 # include <assert.h>
13120 /* Override any gcc2 internal prototype to avoid an error. */
13125 /* We use char because int might match the return type of a gcc2
13126 builtin and then its argument prototype would still apply. */
13128 /* The GNU C library defines this for functions which it implements
13129 to always fail with ENOSYS. Some functions are actually named
13130 something starting with __ and the normal name is an alias. */
13131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13134 char (*f) () = $ac_func;
13143 return f != $ac_func;
13148 rm -f conftest.$ac_objext conftest$ac_exeext
13149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13150 (eval $ac_link) 2>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); } &&
13154 { ac_try='test -s conftest$ac_exeext'
13155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13156 (eval $ac_try) 2>&5
13158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13159 (exit $ac_status); }; }; then
13160 eval "$as_ac_var=yes"
13162 echo "$as_me: failed program was:" >&5
13163 sed 's/^/| /' conftest.$ac_ext >&5
13165 eval "$as_ac_var=no"
13167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13171 if test `eval echo '${'$as_ac_var'}'` = yes; then
13172 cat >>confdefs.h <<_ACEOF
13173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13181 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13182 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13183 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13184 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13185 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 ac_cpp='$CXXCPP $CPPFLAGS'
13192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13196 cat >conftest.$ac_ext <<_ACEOF
13197 #line $LINENO "configure"
13200 cat confdefs.h >>conftest.$ac_ext
13201 cat >>conftest.$ac_ext <<_ACEOF
13202 /* end confdefs.h. */
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -s conftest.$ac_objext'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; }; then
13224 glibcxx_cv_func__hypotf_use=yes
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13229 glibcxx_cv_func__hypotf_use=no
13231 rm -f conftest.$ac_objext conftest.$ac_ext
13233 ac_cpp='$CPP $CPPFLAGS'
13234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13243 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13245 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13247 for ac_func in _hypotf
13249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13250 echo "$as_me:$LINENO: checking for $ac_func" >&5
13251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13252 if eval "test \"\${$as_ac_var+set}\" = set"; then
13253 echo $ECHO_N "(cached) $ECHO_C" >&6
13255 if test x$gcc_no_link = xyes; then
13256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13258 { (exit 1); exit 1; }; }
13260 cat >conftest.$ac_ext <<_ACEOF
13261 #line $LINENO "configure"
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func (); below.
13269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13270 <limits.h> exists even on freestanding compilers. */
13272 # include <limits.h>
13274 # include <assert.h>
13276 /* Override any gcc2 internal prototype to avoid an error. */
13281 /* We use char because int might match the return type of a gcc2
13282 builtin and then its argument prototype would still apply. */
13284 /* The GNU C library defines this for functions which it implements
13285 to always fail with ENOSYS. Some functions are actually named
13286 something starting with __ and the normal name is an alias. */
13287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13290 char (*f) () = $ac_func;
13299 return f != $ac_func;
13304 rm -f conftest.$ac_objext conftest$ac_exeext
13305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13306 (eval $ac_link) 2>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } &&
13310 { ac_try='test -s conftest$ac_exeext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 eval "$as_ac_var=yes"
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13321 eval "$as_ac_var=no"
13323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13327 if test `eval echo '${'$as_ac_var'}'` = yes; then
13328 cat >>confdefs.h <<_ACEOF
13329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13340 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13341 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13342 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13343 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13350 ac_cpp='$CXXCPP $CPPFLAGS'
13351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13355 cat >conftest.$ac_ext <<_ACEOF
13356 #line $LINENO "configure"
13359 cat confdefs.h >>conftest.$ac_ext
13360 cat >>conftest.$ac_ext <<_ACEOF
13361 /* end confdefs.h. */
13371 rm -f conftest.$ac_objext
13372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13373 (eval $ac_compile) 2>&5
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 glibcxx_cv_func_ldexpf_use=yes
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13388 glibcxx_cv_func_ldexpf_use=no
13390 rm -f conftest.$ac_objext conftest.$ac_ext
13392 ac_cpp='$CPP $CPPFLAGS'
13393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13402 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13404 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13406 for ac_func in ldexpf
13408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13409 echo "$as_me:$LINENO: checking for $ac_func" >&5
13410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13411 if eval "test \"\${$as_ac_var+set}\" = set"; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13414 if test x$gcc_no_link = xyes; then
13415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13417 { (exit 1); exit 1; }; }
13419 cat >conftest.$ac_ext <<_ACEOF
13420 #line $LINENO "configure"
13423 cat confdefs.h >>conftest.$ac_ext
13424 cat >>conftest.$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 /* System header to define __stub macros and hopefully few prototypes,
13427 which can conflict with char $ac_func (); below.
13428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13429 <limits.h> exists even on freestanding compilers. */
13431 # include <limits.h>
13433 # include <assert.h>
13435 /* Override any gcc2 internal prototype to avoid an error. */
13440 /* We use char because int might match the return type of a gcc2
13441 builtin and then its argument prototype would still apply. */
13443 /* The GNU C library defines this for functions which it implements
13444 to always fail with ENOSYS. Some functions are actually named
13445 something starting with __ and the normal name is an alias. */
13446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 char (*f) () = $ac_func;
13458 return f != $ac_func;
13463 rm -f conftest.$ac_objext conftest$ac_exeext
13464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13465 (eval $ac_link) 2>&5
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); } &&
13469 { ac_try='test -s conftest$ac_exeext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 eval "$as_ac_var=yes"
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13480 eval "$as_ac_var=no"
13482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13486 if test `eval echo '${'$as_ac_var'}'` = yes; then
13487 cat >>confdefs.h <<_ACEOF
13488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13496 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13497 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13498 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13499 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 ac_cpp='$CXXCPP $CPPFLAGS'
13507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13511 cat >conftest.$ac_ext <<_ACEOF
13512 #line $LINENO "configure"
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h. */
13527 rm -f conftest.$ac_objext
13528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13529 (eval $ac_compile) 2>&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } &&
13533 { ac_try='test -s conftest.$ac_objext'
13534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13535 (eval $ac_try) 2>&5
13537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13538 (exit $ac_status); }; }; then
13539 glibcxx_cv_func__ldexpf_use=yes
13541 echo "$as_me: failed program was:" >&5
13542 sed 's/^/| /' conftest.$ac_ext >&5
13544 glibcxx_cv_func__ldexpf_use=no
13546 rm -f conftest.$ac_objext conftest.$ac_ext
13548 ac_cpp='$CPP $CPPFLAGS'
13549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13558 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13560 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13562 for ac_func in _ldexpf
13564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13565 echo "$as_me:$LINENO: checking for $ac_func" >&5
13566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13567 if eval "test \"\${$as_ac_var+set}\" = set"; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 if test x$gcc_no_link = xyes; then
13571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13573 { (exit 1); exit 1; }; }
13575 cat >conftest.$ac_ext <<_ACEOF
13576 #line $LINENO "configure"
13579 cat confdefs.h >>conftest.$ac_ext
13580 cat >>conftest.$ac_ext <<_ACEOF
13581 /* end confdefs.h. */
13582 /* System header to define __stub macros and hopefully few prototypes,
13583 which can conflict with char $ac_func (); below.
13584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13585 <limits.h> exists even on freestanding compilers. */
13587 # include <limits.h>
13589 # include <assert.h>
13591 /* Override any gcc2 internal prototype to avoid an error. */
13596 /* We use char because int might match the return type of a gcc2
13597 builtin and then its argument prototype would still apply. */
13599 /* The GNU C library defines this for functions which it implements
13600 to always fail with ENOSYS. Some functions are actually named
13601 something starting with __ and the normal name is an alias. */
13602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13605 char (*f) () = $ac_func;
13614 return f != $ac_func;
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13621 (eval $ac_link) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); } &&
13625 { ac_try='test -s conftest$ac_exeext'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; }; then
13631 eval "$as_ac_var=yes"
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.$ac_ext >&5
13636 eval "$as_ac_var=no"
13638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13642 if test `eval echo '${'$as_ac_var'}'` = yes; then
13643 cat >>confdefs.h <<_ACEOF
13644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13655 echo "$as_me:$LINENO: checking for logf declaration" >&5
13656 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13657 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13658 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 ac_cpp='$CXXCPP $CPPFLAGS'
13666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13670 cat >conftest.$ac_ext <<_ACEOF
13671 #line $LINENO "configure"
13674 cat confdefs.h >>conftest.$ac_ext
13675 cat >>conftest.$ac_ext <<_ACEOF
13676 /* end confdefs.h. */
13678 #ifdef HAVE_IEEEFP_H
13679 #include <ieeefp.h>
13690 rm -f conftest.$ac_objext
13691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13692 (eval $ac_compile) 2>&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -s conftest.$ac_objext'
13697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13698 (eval $ac_try) 2>&5
13700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13701 (exit $ac_status); }; }; then
13702 glibcxx_cv_func_logf_use=yes
13704 echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13707 glibcxx_cv_func_logf_use=no
13709 rm -f conftest.$ac_objext conftest.$ac_ext
13711 ac_cpp='$CPP $CPPFLAGS'
13712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13721 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13723 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13725 for ac_func in logf
13727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13728 echo "$as_me:$LINENO: checking for $ac_func" >&5
13729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13730 if eval "test \"\${$as_ac_var+set}\" = set"; then
13731 echo $ECHO_N "(cached) $ECHO_C" >&6
13733 if test x$gcc_no_link = xyes; then
13734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13736 { (exit 1); exit 1; }; }
13738 cat >conftest.$ac_ext <<_ACEOF
13739 #line $LINENO "configure"
13742 cat confdefs.h >>conftest.$ac_ext
13743 cat >>conftest.$ac_ext <<_ACEOF
13744 /* end confdefs.h. */
13745 /* System header to define __stub macros and hopefully few prototypes,
13746 which can conflict with char $ac_func (); below.
13747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13748 <limits.h> exists even on freestanding compilers. */
13750 # include <limits.h>
13752 # include <assert.h>
13754 /* Override any gcc2 internal prototype to avoid an error. */
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13762 /* The GNU C library defines this for functions which it implements
13763 to always fail with ENOSYS. Some functions are actually named
13764 something starting with __ and the normal name is an alias. */
13765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13768 char (*f) () = $ac_func;
13777 return f != $ac_func;
13782 rm -f conftest.$ac_objext conftest$ac_exeext
13783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13784 (eval $ac_link) 2>&5
13786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13787 (exit $ac_status); } &&
13788 { ac_try='test -s conftest$ac_exeext'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; }; then
13794 eval "$as_ac_var=yes"
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 eval "$as_ac_var=no"
13801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13805 if test `eval echo '${'$as_ac_var'}'` = yes; then
13806 cat >>confdefs.h <<_ACEOF
13807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13815 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13816 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13817 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13818 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13819 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 ac_cpp='$CXXCPP $CPPFLAGS'
13826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13830 cat >conftest.$ac_ext <<_ACEOF
13831 #line $LINENO "configure"
13834 cat confdefs.h >>conftest.$ac_ext
13835 cat >>conftest.$ac_ext <<_ACEOF
13836 /* end confdefs.h. */
13838 #ifdef HAVE_IEEEFP_H
13839 #include <ieeefp.h>
13850 rm -f conftest.$ac_objext
13851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13852 (eval $ac_compile) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); } &&
13856 { ac_try='test -s conftest.$ac_objext'
13857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13858 (eval $ac_try) 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 glibcxx_cv_func__logf_use=yes
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.$ac_ext >&5
13867 glibcxx_cv_func__logf_use=no
13869 rm -f conftest.$ac_objext conftest.$ac_ext
13871 ac_cpp='$CPP $CPPFLAGS'
13872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13881 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13883 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13885 for ac_func in _logf
13887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13888 echo "$as_me:$LINENO: checking for $ac_func" >&5
13889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13890 if eval "test \"\${$as_ac_var+set}\" = set"; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13893 if test x$gcc_no_link = xyes; then
13894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13896 { (exit 1); exit 1; }; }
13898 cat >conftest.$ac_ext <<_ACEOF
13899 #line $LINENO "configure"
13902 cat confdefs.h >>conftest.$ac_ext
13903 cat >>conftest.$ac_ext <<_ACEOF
13904 /* end confdefs.h. */
13905 /* System header to define __stub macros and hopefully few prototypes,
13906 which can conflict with char $ac_func (); below.
13907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13908 <limits.h> exists even on freestanding compilers. */
13910 # include <limits.h>
13912 # include <assert.h>
13914 /* Override any gcc2 internal prototype to avoid an error. */
13919 /* We use char because int might match the return type of a gcc2
13920 builtin and then its argument prototype would still apply. */
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13928 char (*f) () = $ac_func;
13937 return f != $ac_func;
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13944 (eval $ac_link) 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; }; then
13954 eval "$as_ac_var=yes"
13956 echo "$as_me: failed program was:" >&5
13957 sed 's/^/| /' conftest.$ac_ext >&5
13959 eval "$as_ac_var=no"
13961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13965 if test `eval echo '${'$as_ac_var'}'` = yes; then
13966 cat >>confdefs.h <<_ACEOF
13967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13978 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13979 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13980 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13981 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13988 ac_cpp='$CXXCPP $CPPFLAGS'
13989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13993 cat >conftest.$ac_ext <<_ACEOF
13994 #line $LINENO "configure"
13997 cat confdefs.h >>conftest.$ac_ext
13998 cat >>conftest.$ac_ext <<_ACEOF
13999 /* end confdefs.h. */
14001 #ifdef HAVE_IEEEFP_H
14002 #include <ieeefp.h>
14013 rm -f conftest.$ac_objext
14014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14015 (eval $ac_compile) 2>&5
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); } &&
14019 { ac_try='test -s conftest.$ac_objext'
14020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021 (eval $ac_try) 2>&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); }; }; then
14025 glibcxx_cv_func_log10f_use=yes
14027 echo "$as_me: failed program was:" >&5
14028 sed 's/^/| /' conftest.$ac_ext >&5
14030 glibcxx_cv_func_log10f_use=no
14032 rm -f conftest.$ac_objext conftest.$ac_ext
14034 ac_cpp='$CPP $CPPFLAGS'
14035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14044 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14046 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14048 for ac_func in log10f
14050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14051 echo "$as_me:$LINENO: checking for $ac_func" >&5
14052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14053 if eval "test \"\${$as_ac_var+set}\" = set"; then
14054 echo $ECHO_N "(cached) $ECHO_C" >&6
14056 if test x$gcc_no_link = xyes; then
14057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14059 { (exit 1); exit 1; }; }
14061 cat >conftest.$ac_ext <<_ACEOF
14062 #line $LINENO "configure"
14065 cat confdefs.h >>conftest.$ac_ext
14066 cat >>conftest.$ac_ext <<_ACEOF
14067 /* end confdefs.h. */
14068 /* System header to define __stub macros and hopefully few prototypes,
14069 which can conflict with char $ac_func (); below.
14070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14071 <limits.h> exists even on freestanding compilers. */
14073 # include <limits.h>
14075 # include <assert.h>
14077 /* Override any gcc2 internal prototype to avoid an error. */
14082 /* We use char because int might match the return type of a gcc2
14083 builtin and then its argument prototype would still apply. */
14085 /* The GNU C library defines this for functions which it implements
14086 to always fail with ENOSYS. Some functions are actually named
14087 something starting with __ and the normal name is an alias. */
14088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14091 char (*f) () = $ac_func;
14100 return f != $ac_func;
14105 rm -f conftest.$ac_objext conftest$ac_exeext
14106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14107 (eval $ac_link) 2>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); } &&
14111 { ac_try='test -s conftest$ac_exeext'
14112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14113 (eval $ac_try) 2>&5
14115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14116 (exit $ac_status); }; }; then
14117 eval "$as_ac_var=yes"
14119 echo "$as_me: failed program was:" >&5
14120 sed 's/^/| /' conftest.$ac_ext >&5
14122 eval "$as_ac_var=no"
14124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14128 if test `eval echo '${'$as_ac_var'}'` = yes; then
14129 cat >>confdefs.h <<_ACEOF
14130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14138 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14139 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14140 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14141 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14142 echo $ECHO_N "(cached) $ECHO_C" >&6
14148 ac_cpp='$CXXCPP $CPPFLAGS'
14149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14153 cat >conftest.$ac_ext <<_ACEOF
14154 #line $LINENO "configure"
14157 cat confdefs.h >>conftest.$ac_ext
14158 cat >>conftest.$ac_ext <<_ACEOF
14159 /* end confdefs.h. */
14161 #ifdef HAVE_IEEEFP_H
14162 #include <ieeefp.h>
14173 rm -f conftest.$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 glibcxx_cv_func__log10f_use=yes
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14190 glibcxx_cv_func__log10f_use=no
14192 rm -f conftest.$ac_objext conftest.$ac_ext
14194 ac_cpp='$CPP $CPPFLAGS'
14195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14204 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14206 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14208 for ac_func in _log10f
14210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14211 echo "$as_me:$LINENO: checking for $ac_func" >&5
14212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14213 if eval "test \"\${$as_ac_var+set}\" = set"; then
14214 echo $ECHO_N "(cached) $ECHO_C" >&6
14216 if test x$gcc_no_link = xyes; then
14217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14219 { (exit 1); exit 1; }; }
14221 cat >conftest.$ac_ext <<_ACEOF
14222 #line $LINENO "configure"
14225 cat confdefs.h >>conftest.$ac_ext
14226 cat >>conftest.$ac_ext <<_ACEOF
14227 /* end confdefs.h. */
14228 /* System header to define __stub macros and hopefully few prototypes,
14229 which can conflict with char $ac_func (); below.
14230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14231 <limits.h> exists even on freestanding compilers. */
14233 # include <limits.h>
14235 # include <assert.h>
14237 /* Override any gcc2 internal prototype to avoid an error. */
14242 /* We use char because int might match the return type of a gcc2
14243 builtin and then its argument prototype would still apply. */
14245 /* The GNU C library defines this for functions which it implements
14246 to always fail with ENOSYS. Some functions are actually named
14247 something starting with __ and the normal name is an alias. */
14248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14251 char (*f) () = $ac_func;
14260 return f != $ac_func;
14265 rm -f conftest.$ac_objext conftest$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } &&
14271 { ac_try='test -s conftest$ac_exeext'
14272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14273 (eval $ac_try) 2>&5
14275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14276 (exit $ac_status); }; }; then
14277 eval "$as_ac_var=yes"
14279 echo "$as_me: failed program was:" >&5
14280 sed 's/^/| /' conftest.$ac_ext >&5
14282 eval "$as_ac_var=no"
14284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14288 if test `eval echo '${'$as_ac_var'}'` = yes; then
14289 cat >>confdefs.h <<_ACEOF
14290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14301 echo "$as_me:$LINENO: checking for modff declaration" >&5
14302 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14303 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14304 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14305 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 ac_cpp='$CXXCPP $CPPFLAGS'
14312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14316 cat >conftest.$ac_ext <<_ACEOF
14317 #line $LINENO "configure"
14320 cat confdefs.h >>conftest.$ac_ext
14321 cat >>conftest.$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>&5
14336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14337 (exit $ac_status); } &&
14338 { ac_try='test -s conftest.$ac_objext'
14339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14340 (eval $ac_try) 2>&5
14342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14343 (exit $ac_status); }; }; then
14344 glibcxx_cv_func_modff_use=yes
14346 echo "$as_me: failed program was:" >&5
14347 sed 's/^/| /' conftest.$ac_ext >&5
14349 glibcxx_cv_func_modff_use=no
14351 rm -f conftest.$ac_objext conftest.$ac_ext
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14363 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14365 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14367 for ac_func in modff
14369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14370 echo "$as_me:$LINENO: checking for $ac_func" >&5
14371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14372 if eval "test \"\${$as_ac_var+set}\" = set"; then
14373 echo $ECHO_N "(cached) $ECHO_C" >&6
14375 if test x$gcc_no_link = xyes; then
14376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14378 { (exit 1); exit 1; }; }
14380 cat >conftest.$ac_ext <<_ACEOF
14381 #line $LINENO "configure"
14384 cat confdefs.h >>conftest.$ac_ext
14385 cat >>conftest.$ac_ext <<_ACEOF
14386 /* end confdefs.h. */
14387 /* System header to define __stub macros and hopefully few prototypes,
14388 which can conflict with char $ac_func (); below.
14389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14390 <limits.h> exists even on freestanding compilers. */
14392 # include <limits.h>
14394 # include <assert.h>
14396 /* Override any gcc2 internal prototype to avoid an error. */
14401 /* We use char because int might match the return type of a gcc2
14402 builtin and then its argument prototype would still apply. */
14404 /* The GNU C library defines this for functions which it implements
14405 to always fail with ENOSYS. Some functions are actually named
14406 something starting with __ and the normal name is an alias. */
14407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14410 char (*f) () = $ac_func;
14419 return f != $ac_func;
14424 rm -f conftest.$ac_objext conftest$ac_exeext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14426 (eval $ac_link) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } &&
14430 { ac_try='test -s conftest$ac_exeext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 eval "$as_ac_var=yes"
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14441 eval "$as_ac_var=no"
14443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14447 if test `eval echo '${'$as_ac_var'}'` = yes; then
14448 cat >>confdefs.h <<_ACEOF
14449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14457 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14458 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14459 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14460 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14461 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 ac_cpp='$CXXCPP $CPPFLAGS'
14468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14472 cat >conftest.$ac_ext <<_ACEOF
14473 #line $LINENO "configure"
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h. */
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 glibcxx_cv_func__modff_use=yes
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14505 glibcxx_cv_func__modff_use=no
14507 rm -f conftest.$ac_objext conftest.$ac_ext
14509 ac_cpp='$CPP $CPPFLAGS'
14510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14519 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14521 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14523 for ac_func in _modff
14525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14526 echo "$as_me:$LINENO: checking for $ac_func" >&5
14527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14528 if eval "test \"\${$as_ac_var+set}\" = set"; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14531 if test x$gcc_no_link = xyes; then
14532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14534 { (exit 1); exit 1; }; }
14536 cat >conftest.$ac_ext <<_ACEOF
14537 #line $LINENO "configure"
14540 cat confdefs.h >>conftest.$ac_ext
14541 cat >>conftest.$ac_ext <<_ACEOF
14542 /* end confdefs.h. */
14543 /* System header to define __stub macros and hopefully few prototypes,
14544 which can conflict with char $ac_func (); below.
14545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14546 <limits.h> exists even on freestanding compilers. */
14548 # include <limits.h>
14550 # include <assert.h>
14552 /* Override any gcc2 internal prototype to avoid an error. */
14557 /* We use char because int might match the return type of a gcc2
14558 builtin and then its argument prototype would still apply. */
14560 /* The GNU C library defines this for functions which it implements
14561 to always fail with ENOSYS. Some functions are actually named
14562 something starting with __ and the normal name is an alias. */
14563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14566 char (*f) () = $ac_func;
14575 return f != $ac_func;
14580 rm -f conftest.$ac_objext conftest$ac_exeext
14581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14582 (eval $ac_link) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try='test -s conftest$ac_exeext'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; }; then
14592 eval "$as_ac_var=yes"
14594 echo "$as_me: failed program was:" >&5
14595 sed 's/^/| /' conftest.$ac_ext >&5
14597 eval "$as_ac_var=no"
14599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14603 if test `eval echo '${'$as_ac_var'}'` = yes; then
14604 cat >>confdefs.h <<_ACEOF
14605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14616 echo "$as_me:$LINENO: checking for powf declaration" >&5
14617 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14618 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14619 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14620 echo $ECHO_N "(cached) $ECHO_C" >&6
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14631 cat >conftest.$ac_ext <<_ACEOF
14632 #line $LINENO "configure"
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14647 rm -f conftest.$ac_objext
14648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14649 (eval $ac_compile) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); } &&
14653 { ac_try='test -s conftest.$ac_objext'
14654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14655 (eval $ac_try) 2>&5
14657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14658 (exit $ac_status); }; }; then
14659 glibcxx_cv_func_powf_use=yes
14661 echo "$as_me: failed program was:" >&5
14662 sed 's/^/| /' conftest.$ac_ext >&5
14664 glibcxx_cv_func_powf_use=no
14666 rm -f conftest.$ac_objext conftest.$ac_ext
14668 ac_cpp='$CPP $CPPFLAGS'
14669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14678 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14680 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14682 for ac_func in powf
14684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14685 echo "$as_me:$LINENO: checking for $ac_func" >&5
14686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14687 if eval "test \"\${$as_ac_var+set}\" = set"; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14690 if test x$gcc_no_link = xyes; then
14691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14693 { (exit 1); exit 1; }; }
14695 cat >conftest.$ac_ext <<_ACEOF
14696 #line $LINENO "configure"
14699 cat confdefs.h >>conftest.$ac_ext
14700 cat >>conftest.$ac_ext <<_ACEOF
14701 /* end confdefs.h. */
14702 /* System header to define __stub macros and hopefully few prototypes,
14703 which can conflict with char $ac_func (); below.
14704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14705 <limits.h> exists even on freestanding compilers. */
14707 # include <limits.h>
14709 # include <assert.h>
14711 /* Override any gcc2 internal prototype to avoid an error. */
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14719 /* The GNU C library defines this for functions which it implements
14720 to always fail with ENOSYS. Some functions are actually named
14721 something starting with __ and the normal name is an alias. */
14722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14725 char (*f) () = $ac_func;
14734 return f != $ac_func;
14739 rm -f conftest.$ac_objext conftest$ac_exeext
14740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14741 (eval $ac_link) 2>&5
14743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14744 (exit $ac_status); } &&
14745 { ac_try='test -s conftest$ac_exeext'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; }; then
14751 eval "$as_ac_var=yes"
14753 echo "$as_me: failed program was:" >&5
14754 sed 's/^/| /' conftest.$ac_ext >&5
14756 eval "$as_ac_var=no"
14758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14762 if test `eval echo '${'$as_ac_var'}'` = yes; then
14763 cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14772 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14773 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14774 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14775 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14776 echo $ECHO_N "(cached) $ECHO_C" >&6
14782 ac_cpp='$CXXCPP $CPPFLAGS'
14783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14787 cat >conftest.$ac_ext <<_ACEOF
14788 #line $LINENO "configure"
14791 cat confdefs.h >>conftest.$ac_ext
14792 cat >>conftest.$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14803 rm -f conftest.$ac_objext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14805 (eval $ac_compile) 2>&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try='test -s conftest.$ac_objext'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; }; then
14815 glibcxx_cv_func__powf_use=yes
14817 echo "$as_me: failed program was:" >&5
14818 sed 's/^/| /' conftest.$ac_ext >&5
14820 glibcxx_cv_func__powf_use=no
14822 rm -f conftest.$ac_objext conftest.$ac_ext
14824 ac_cpp='$CPP $CPPFLAGS'
14825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14834 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14836 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14838 for ac_func in _powf
14840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14841 echo "$as_me:$LINENO: checking for $ac_func" >&5
14842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14843 if eval "test \"\${$as_ac_var+set}\" = set"; then
14844 echo $ECHO_N "(cached) $ECHO_C" >&6
14846 if test x$gcc_no_link = xyes; then
14847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14849 { (exit 1); exit 1; }; }
14851 cat >conftest.$ac_ext <<_ACEOF
14852 #line $LINENO "configure"
14855 cat confdefs.h >>conftest.$ac_ext
14856 cat >>conftest.$ac_ext <<_ACEOF
14857 /* end confdefs.h. */
14858 /* System header to define __stub macros and hopefully few prototypes,
14859 which can conflict with char $ac_func (); below.
14860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14861 <limits.h> exists even on freestanding compilers. */
14863 # include <limits.h>
14865 # include <assert.h>
14867 /* Override any gcc2 internal prototype to avoid an error. */
14872 /* We use char because int might match the return type of a gcc2
14873 builtin and then its argument prototype would still apply. */
14875 /* The GNU C library defines this for functions which it implements
14876 to always fail with ENOSYS. Some functions are actually named
14877 something starting with __ and the normal name is an alias. */
14878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14881 char (*f) () = $ac_func;
14890 return f != $ac_func;
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14897 (eval $ac_link) 2>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try='test -s conftest$ac_exeext'
14902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14903 (eval $ac_try) 2>&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); }; }; then
14907 eval "$as_ac_var=yes"
14909 echo "$as_me: failed program was:" >&5
14910 sed 's/^/| /' conftest.$ac_ext >&5
14912 eval "$as_ac_var=no"
14914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14918 if test `eval echo '${'$as_ac_var'}'` = yes; then
14919 cat >>confdefs.h <<_ACEOF
14920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14931 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14932 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14933 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14934 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14935 echo $ECHO_N "(cached) $ECHO_C" >&6
14941 ac_cpp='$CXXCPP $CPPFLAGS'
14942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14946 cat >conftest.$ac_ext <<_ACEOF
14947 #line $LINENO "configure"
14950 cat confdefs.h >>conftest.$ac_ext
14951 cat >>conftest.$ac_ext <<_ACEOF
14952 /* end confdefs.h. */
14954 #ifdef HAVE_IEEEFP_H
14955 #include <ieeefp.h>
14966 rm -f conftest.$ac_objext
14967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14968 (eval $ac_compile) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); } &&
14972 { ac_try='test -s conftest.$ac_objext'
14973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14974 (eval $ac_try) 2>&5
14976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14977 (exit $ac_status); }; }; then
14978 glibcxx_cv_func_sqrtf_use=yes
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 glibcxx_cv_func_sqrtf_use=no
14985 rm -f conftest.$ac_objext conftest.$ac_ext
14987 ac_cpp='$CPP $CPPFLAGS'
14988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14997 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
15001 for ac_func in sqrtf
15003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15004 echo "$as_me:$LINENO: checking for $ac_func" >&5
15005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15006 if eval "test \"\${$as_ac_var+set}\" = set"; then
15007 echo $ECHO_N "(cached) $ECHO_C" >&6
15009 if test x$gcc_no_link = xyes; then
15010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15012 { (exit 1); exit 1; }; }
15014 cat >conftest.$ac_ext <<_ACEOF
15015 #line $LINENO "configure"
15018 cat confdefs.h >>conftest.$ac_ext
15019 cat >>conftest.$ac_ext <<_ACEOF
15020 /* end confdefs.h. */
15021 /* System header to define __stub macros and hopefully few prototypes,
15022 which can conflict with char $ac_func (); below.
15023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15024 <limits.h> exists even on freestanding compilers. */
15026 # include <limits.h>
15028 # include <assert.h>
15030 /* Override any gcc2 internal prototype to avoid an error. */
15035 /* We use char because int might match the return type of a gcc2
15036 builtin and then its argument prototype would still apply. */
15038 /* The GNU C library defines this for functions which it implements
15039 to always fail with ENOSYS. Some functions are actually named
15040 something starting with __ and the normal name is an alias. */
15041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15044 char (*f) () = $ac_func;
15053 return f != $ac_func;
15058 rm -f conftest.$ac_objext conftest$ac_exeext
15059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15060 (eval $ac_link) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); } &&
15064 { ac_try='test -s conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 eval "$as_ac_var=yes"
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15075 eval "$as_ac_var=no"
15077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15081 if test `eval echo '${'$as_ac_var'}'` = yes; then
15082 cat >>confdefs.h <<_ACEOF
15083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15091 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15092 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15093 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15094 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 ac_cpp='$CXXCPP $CPPFLAGS'
15102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15106 cat >conftest.$ac_ext <<_ACEOF
15107 #line $LINENO "configure"
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15114 #ifdef HAVE_IEEEFP_H
15115 #include <ieeefp.h>
15126 rm -f conftest.$ac_objext
15127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15128 (eval $ac_compile) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try='test -s conftest.$ac_objext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 glibcxx_cv_func__sqrtf_use=yes
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15143 glibcxx_cv_func__sqrtf_use=no
15145 rm -f conftest.$ac_objext conftest.$ac_ext
15147 ac_cpp='$CPP $CPPFLAGS'
15148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15156 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15157 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15159 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15161 for ac_func in _sqrtf
15163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15164 echo "$as_me:$LINENO: checking for $ac_func" >&5
15165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15166 if eval "test \"\${$as_ac_var+set}\" = set"; then
15167 echo $ECHO_N "(cached) $ECHO_C" >&6
15169 if test x$gcc_no_link = xyes; then
15170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15172 { (exit 1); exit 1; }; }
15174 cat >conftest.$ac_ext <<_ACEOF
15175 #line $LINENO "configure"
15178 cat confdefs.h >>conftest.$ac_ext
15179 cat >>conftest.$ac_ext <<_ACEOF
15180 /* end confdefs.h. */
15181 /* System header to define __stub macros and hopefully few prototypes,
15182 which can conflict with char $ac_func (); below.
15183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15184 <limits.h> exists even on freestanding compilers. */
15186 # include <limits.h>
15188 # include <assert.h>
15190 /* Override any gcc2 internal prototype to avoid an error. */
15195 /* We use char because int might match the return type of a gcc2
15196 builtin and then its argument prototype would still apply. */
15198 /* The GNU C library defines this for functions which it implements
15199 to always fail with ENOSYS. Some functions are actually named
15200 something starting with __ and the normal name is an alias. */
15201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15204 char (*f) () = $ac_func;
15213 return f != $ac_func;
15218 rm -f conftest.$ac_objext conftest$ac_exeext
15219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15220 (eval $ac_link) 2>&5
15222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15223 (exit $ac_status); } &&
15224 { ac_try='test -s conftest$ac_exeext'
15225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15226 (eval $ac_try) 2>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; }; then
15230 eval "$as_ac_var=yes"
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15235 eval "$as_ac_var=no"
15237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15241 if test `eval echo '${'$as_ac_var'}'` = yes; then
15242 cat >>confdefs.h <<_ACEOF
15243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15255 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15256 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15257 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 ac_cpp='$CXXCPP $CPPFLAGS'
15265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15269 cat >conftest.$ac_ext <<_ACEOF
15270 #line $LINENO "configure"
15273 cat confdefs.h >>conftest.$ac_ext
15274 cat >>conftest.$ac_ext <<_ACEOF
15275 /* end confdefs.h. */
15285 rm -f conftest.$ac_objext
15286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15287 (eval $ac_compile) 2>&5
15289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15290 (exit $ac_status); } &&
15291 { ac_try='test -s conftest.$ac_objext'
15292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15293 (eval $ac_try) 2>&5
15295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15296 (exit $ac_status); }; }; then
15297 glibcxx_cv_func_sincosf_use=yes
15299 echo "$as_me: failed program was:" >&5
15300 sed 's/^/| /' conftest.$ac_ext >&5
15302 glibcxx_cv_func_sincosf_use=no
15304 rm -f conftest.$ac_objext conftest.$ac_ext
15306 ac_cpp='$CPP $CPPFLAGS'
15307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15316 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15318 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15320 for ac_func in sincosf
15322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15323 echo "$as_me:$LINENO: checking for $ac_func" >&5
15324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15325 if eval "test \"\${$as_ac_var+set}\" = set"; then
15326 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 if test x$gcc_no_link = xyes; then
15329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15331 { (exit 1); exit 1; }; }
15333 cat >conftest.$ac_ext <<_ACEOF
15334 #line $LINENO "configure"
15337 cat confdefs.h >>conftest.$ac_ext
15338 cat >>conftest.$ac_ext <<_ACEOF
15339 /* end confdefs.h. */
15340 /* System header to define __stub macros and hopefully few prototypes,
15341 which can conflict with char $ac_func (); below.
15342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15343 <limits.h> exists even on freestanding compilers. */
15345 # include <limits.h>
15347 # include <assert.h>
15349 /* Override any gcc2 internal prototype to avoid an error. */
15354 /* We use char because int might match the return type of a gcc2
15355 builtin and then its argument prototype would still apply. */
15357 /* The GNU C library defines this for functions which it implements
15358 to always fail with ENOSYS. Some functions are actually named
15359 something starting with __ and the normal name is an alias. */
15360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15363 char (*f) () = $ac_func;
15372 return f != $ac_func;
15377 rm -f conftest.$ac_objext conftest$ac_exeext
15378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15379 (eval $ac_link) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); } &&
15383 { ac_try='test -s conftest$ac_exeext'
15384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15385 (eval $ac_try) 2>&5
15387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15388 (exit $ac_status); }; }; then
15389 eval "$as_ac_var=yes"
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15394 eval "$as_ac_var=no"
15396 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15400 if test `eval echo '${'$as_ac_var'}'` = yes; then
15401 cat >>confdefs.h <<_ACEOF
15402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15410 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15411 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15412 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15413 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15420 ac_cpp='$CXXCPP $CPPFLAGS'
15421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15425 cat >conftest.$ac_ext <<_ACEOF
15426 #line $LINENO "configure"
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15441 rm -f conftest.$ac_objext
15442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15443 (eval $ac_compile) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try='test -s conftest.$ac_objext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 glibcxx_cv_func__sincosf_use=yes
15455 echo "$as_me: failed program was:" >&5
15456 sed 's/^/| /' conftest.$ac_ext >&5
15458 glibcxx_cv_func__sincosf_use=no
15460 rm -f conftest.$ac_objext conftest.$ac_ext
15462 ac_cpp='$CPP $CPPFLAGS'
15463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15472 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15474 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15476 for ac_func in _sincosf
15478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15479 echo "$as_me:$LINENO: checking for $ac_func" >&5
15480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15481 if eval "test \"\${$as_ac_var+set}\" = set"; then
15482 echo $ECHO_N "(cached) $ECHO_C" >&6
15484 if test x$gcc_no_link = xyes; then
15485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15487 { (exit 1); exit 1; }; }
15489 cat >conftest.$ac_ext <<_ACEOF
15490 #line $LINENO "configure"
15493 cat confdefs.h >>conftest.$ac_ext
15494 cat >>conftest.$ac_ext <<_ACEOF
15495 /* end confdefs.h. */
15496 /* System header to define __stub macros and hopefully few prototypes,
15497 which can conflict with char $ac_func (); below.
15498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15499 <limits.h> exists even on freestanding compilers. */
15501 # include <limits.h>
15503 # include <assert.h>
15505 /* Override any gcc2 internal prototype to avoid an error. */
15510 /* We use char because int might match the return type of a gcc2
15511 builtin and then its argument prototype would still apply. */
15513 /* The GNU C library defines this for functions which it implements
15514 to always fail with ENOSYS. Some functions are actually named
15515 something starting with __ and the normal name is an alias. */
15516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15519 char (*f) () = $ac_func;
15528 return f != $ac_func;
15533 rm -f conftest.$ac_objext conftest$ac_exeext
15534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15535 (eval $ac_link) 2>&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try='test -s conftest$ac_exeext'
15540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15541 (eval $ac_try) 2>&5
15543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15544 (exit $ac_status); }; }; then
15545 eval "$as_ac_var=yes"
15547 echo "$as_me: failed program was:" >&5
15548 sed 's/^/| /' conftest.$ac_ext >&5
15550 eval "$as_ac_var=no"
15552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15556 if test `eval echo '${'$as_ac_var'}'` = yes; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15569 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15570 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15571 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15572 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15573 echo $ECHO_N "(cached) $ECHO_C" >&6
15579 ac_cpp='$CXXCPP $CPPFLAGS'
15580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15584 cat >conftest.$ac_ext <<_ACEOF
15585 #line $LINENO "configure"
15588 cat confdefs.h >>conftest.$ac_ext
15589 cat >>conftest.$ac_ext <<_ACEOF
15590 /* end confdefs.h. */
15592 #ifdef HAVE_IEEEFP_H
15593 #include <ieeefp.h>
15604 rm -f conftest.$ac_objext
15605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15606 (eval $ac_compile) 2>&5
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); } &&
15610 { ac_try='test -s conftest.$ac_objext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 glibcxx_cv_func_finitef_use=yes
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 glibcxx_cv_func_finitef_use=no
15623 rm -f conftest.$ac_objext conftest.$ac_ext
15625 ac_cpp='$CPP $CPPFLAGS'
15626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15635 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15639 for ac_func in finitef
15641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15642 echo "$as_me:$LINENO: checking for $ac_func" >&5
15643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15644 if eval "test \"\${$as_ac_var+set}\" = set"; then
15645 echo $ECHO_N "(cached) $ECHO_C" >&6
15647 if test x$gcc_no_link = xyes; then
15648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15650 { (exit 1); exit 1; }; }
15652 cat >conftest.$ac_ext <<_ACEOF
15653 #line $LINENO "configure"
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func (); below.
15661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15662 <limits.h> exists even on freestanding compilers. */
15664 # include <limits.h>
15666 # include <assert.h>
15668 /* Override any gcc2 internal prototype to avoid an error. */
15673 /* We use char because int might match the return type of a gcc2
15674 builtin and then its argument prototype would still apply. */
15676 /* The GNU C library defines this for functions which it implements
15677 to always fail with ENOSYS. Some functions are actually named
15678 something starting with __ and the normal name is an alias. */
15679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15682 char (*f) () = $ac_func;
15691 return f != $ac_func;
15696 rm -f conftest.$ac_objext conftest$ac_exeext
15697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15698 (eval $ac_link) 2>&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -s conftest$ac_exeext'
15703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15704 (eval $ac_try) 2>&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); }; }; then
15708 eval "$as_ac_var=yes"
15710 echo "$as_me: failed program was:" >&5
15711 sed 's/^/| /' conftest.$ac_ext >&5
15713 eval "$as_ac_var=no"
15715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15719 if test `eval echo '${'$as_ac_var'}'` = yes; then
15720 cat >>confdefs.h <<_ACEOF
15721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15729 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15730 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15731 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15732 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15739 ac_cpp='$CXXCPP $CPPFLAGS'
15740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15744 cat >conftest.$ac_ext <<_ACEOF
15745 #line $LINENO "configure"
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15752 #ifdef HAVE_IEEEFP_H
15753 #include <ieeefp.h>
15764 rm -f conftest.$ac_objext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15766 (eval $ac_compile) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -s conftest.$ac_objext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15776 glibcxx_cv_func__finitef_use=yes
15778 echo "$as_me: failed program was:" >&5
15779 sed 's/^/| /' conftest.$ac_ext >&5
15781 glibcxx_cv_func__finitef_use=no
15783 rm -f conftest.$ac_objext conftest.$ac_ext
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15794 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15795 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15797 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15799 for ac_func in _finitef
15801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15802 echo "$as_me:$LINENO: checking for $ac_func" >&5
15803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15804 if eval "test \"\${$as_ac_var+set}\" = set"; then
15805 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 if test x$gcc_no_link = xyes; then
15808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15810 { (exit 1); exit 1; }; }
15812 cat >conftest.$ac_ext <<_ACEOF
15813 #line $LINENO "configure"
15816 cat confdefs.h >>conftest.$ac_ext
15817 cat >>conftest.$ac_ext <<_ACEOF
15818 /* end confdefs.h. */
15819 /* System header to define __stub macros and hopefully few prototypes,
15820 which can conflict with char $ac_func (); below.
15821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15822 <limits.h> exists even on freestanding compilers. */
15824 # include <limits.h>
15826 # include <assert.h>
15828 /* Override any gcc2 internal prototype to avoid an error. */
15833 /* We use char because int might match the return type of a gcc2
15834 builtin and then its argument prototype would still apply. */
15836 /* The GNU C library defines this for functions which it implements
15837 to always fail with ENOSYS. Some functions are actually named
15838 something starting with __ and the normal name is an alias. */
15839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15842 char (*f) () = $ac_func;
15851 return f != $ac_func;
15856 rm -f conftest.$ac_objext conftest$ac_exeext
15857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15858 (eval $ac_link) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); } &&
15862 { ac_try='test -s conftest$ac_exeext'
15863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15864 (eval $ac_try) 2>&5
15866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15867 (exit $ac_status); }; }; then
15868 eval "$as_ac_var=yes"
15870 echo "$as_me: failed program was:" >&5
15871 sed 's/^/| /' conftest.$ac_ext >&5
15873 eval "$as_ac_var=no"
15875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15879 if test `eval echo '${'$as_ac_var'}'` = yes; then
15880 cat >>confdefs.h <<_ACEOF
15881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15892 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15893 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15894 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15895 echo $ECHO_N "(cached) $ECHO_C" >&6
15901 ac_cpp='$CXXCPP $CPPFLAGS'
15902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15906 cat >conftest.$ac_ext <<_ACEOF
15907 #line $LINENO "configure"
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15917 `for x in acosl asinl atanl \
15919 coshl sinhl tanhl; do echo "$x (0);"; done`
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -s conftest.$ac_objext'
15931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15932 (eval $ac_try) 2>&5
15934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15935 (exit $ac_status); }; }; then
15936 glibcxx_cv_func_long_double_trig_use=yes
15938 echo "$as_me: failed program was:" >&5
15939 sed 's/^/| /' conftest.$ac_ext >&5
15941 glibcxx_cv_func_long_double_trig_use=no
15943 rm -f conftest.$ac_objext conftest.$ac_ext
15945 ac_cpp='$CPP $CPPFLAGS'
15946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15952 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15953 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15954 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15964 for ac_func in acosl asinl atanl \
15968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15969 echo "$as_me:$LINENO: checking for $ac_func" >&5
15970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15971 if eval "test \"\${$as_ac_var+set}\" = set"; then
15972 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 if test x$gcc_no_link = xyes; then
15975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15977 { (exit 1); exit 1; }; }
15979 cat >conftest.$ac_ext <<_ACEOF
15980 #line $LINENO "configure"
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func (); below.
15988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15989 <limits.h> exists even on freestanding compilers. */
15991 # include <limits.h>
15993 # include <assert.h>
15995 /* Override any gcc2 internal prototype to avoid an error. */
16000 /* We use char because int might match the return type of a gcc2
16001 builtin and then its argument prototype would still apply. */
16003 /* The GNU C library defines this for functions which it implements
16004 to always fail with ENOSYS. Some functions are actually named
16005 something starting with __ and the normal name is an alias. */
16006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16009 char (*f) () = $ac_func;
16018 return f != $ac_func;
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } &&
16029 { ac_try='test -s conftest$ac_exeext'
16030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16031 (eval $ac_try) 2>&5
16033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); }; }; then
16035 eval "$as_ac_var=yes"
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 eval "$as_ac_var=no"
16042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16046 if test `eval echo '${'$as_ac_var'}'` = yes; then
16047 cat >>confdefs.h <<_ACEOF
16048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16057 echo "$as_me:$LINENO: checking for long double round functions" >&5
16058 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16059 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16060 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 ac_cpp='$CXXCPP $CPPFLAGS'
16067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16071 cat >conftest.$ac_ext <<_ACEOF
16072 #line $LINENO "configure"
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16082 `for x in ceill floorl; do echo "$x (0);"; done`
16087 rm -f conftest.$ac_objext
16088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16089 (eval $ac_compile) 2>&5
16091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092 (exit $ac_status); } &&
16093 { ac_try='test -s conftest.$ac_objext'
16094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16095 (eval $ac_try) 2>&5
16097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16098 (exit $ac_status); }; }; then
16099 glibcxx_cv_func_long_double_round_use=yes
16101 echo "$as_me: failed program was:" >&5
16102 sed 's/^/| /' conftest.$ac_ext >&5
16104 glibcxx_cv_func_long_double_round_use=no
16106 rm -f conftest.$ac_objext conftest.$ac_ext
16108 ac_cpp='$CPP $CPPFLAGS'
16109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16116 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16117 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16120 for ac_func in ceill floorl
16122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16123 echo "$as_me:$LINENO: checking for $ac_func" >&5
16124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16125 if eval "test \"\${$as_ac_var+set}\" = set"; then
16126 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 if test x$gcc_no_link = xyes; then
16129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16131 { (exit 1); exit 1; }; }
16133 cat >conftest.$ac_ext <<_ACEOF
16134 #line $LINENO "configure"
16137 cat confdefs.h >>conftest.$ac_ext
16138 cat >>conftest.$ac_ext <<_ACEOF
16139 /* end confdefs.h. */
16140 /* System header to define __stub macros and hopefully few prototypes,
16141 which can conflict with char $ac_func (); below.
16142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16143 <limits.h> exists even on freestanding compilers. */
16145 # include <limits.h>
16147 # include <assert.h>
16149 /* Override any gcc2 internal prototype to avoid an error. */
16154 /* We use char because int might match the return type of a gcc2
16155 builtin and then its argument prototype would still apply. */
16157 /* The GNU C library defines this for functions which it implements
16158 to always fail with ENOSYS. Some functions are actually named
16159 something starting with __ and the normal name is an alias. */
16160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16163 char (*f) () = $ac_func;
16172 return f != $ac_func;
16177 rm -f conftest.$ac_objext conftest$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 2>&5
16181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182 (exit $ac_status); } &&
16183 { ac_try='test -s conftest$ac_exeext'
16184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185 (eval $ac_try) 2>&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); }; }; then
16189 eval "$as_ac_var=yes"
16191 echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16194 eval "$as_ac_var=no"
16196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16200 if test `eval echo '${'$as_ac_var'}'` = yes; then
16201 cat >>confdefs.h <<_ACEOF
16202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16212 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16213 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16214 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16215 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16216 echo $ECHO_N "(cached) $ECHO_C" >&6
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 cat >conftest.$ac_ext <<_ACEOF
16228 #line $LINENO "configure"
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16235 #ifdef HAVE_IEEEFP_H
16236 #include <ieeefp.h>
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -s conftest.$ac_objext'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; }; then
16259 glibcxx_cv_func_isnanl_use=yes
16261 echo "$as_me: failed program was:" >&5
16262 sed 's/^/| /' conftest.$ac_ext >&5
16264 glibcxx_cv_func_isnanl_use=no
16266 rm -f conftest.$ac_objext conftest.$ac_ext
16268 ac_cpp='$CPP $CPPFLAGS'
16269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16278 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16280 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16282 for ac_func in isnanl
16284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16285 echo "$as_me:$LINENO: checking for $ac_func" >&5
16286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16287 if eval "test \"\${$as_ac_var+set}\" = set"; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 if test x$gcc_no_link = xyes; then
16291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16293 { (exit 1); exit 1; }; }
16295 cat >conftest.$ac_ext <<_ACEOF
16296 #line $LINENO "configure"
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 /* System header to define __stub macros and hopefully few prototypes,
16303 which can conflict with char $ac_func (); below.
16304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16305 <limits.h> exists even on freestanding compilers. */
16307 # include <limits.h>
16309 # include <assert.h>
16311 /* Override any gcc2 internal prototype to avoid an error. */
16316 /* We use char because int might match the return type of a gcc2
16317 builtin and then its argument prototype would still apply. */
16319 /* The GNU C library defines this for functions which it implements
16320 to always fail with ENOSYS. Some functions are actually named
16321 something starting with __ and the normal name is an alias. */
16322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16325 char (*f) () = $ac_func;
16334 return f != $ac_func;
16339 rm -f conftest.$ac_objext conftest$ac_exeext
16340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16341 (eval $ac_link) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -s conftest$ac_exeext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16351 eval "$as_ac_var=yes"
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16356 eval "$as_ac_var=no"
16358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16362 if test `eval echo '${'$as_ac_var'}'` = yes; then
16363 cat >>confdefs.h <<_ACEOF
16364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16372 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16373 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16374 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16375 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 ac_cpp='$CXXCPP $CPPFLAGS'
16383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16387 cat >conftest.$ac_ext <<_ACEOF
16388 #line $LINENO "configure"
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16395 #ifdef HAVE_IEEEFP_H
16396 #include <ieeefp.h>
16407 rm -f conftest.$ac_objext
16408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16409 (eval $ac_compile) 2>&5
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 glibcxx_cv_func__isnanl_use=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 glibcxx_cv_func__isnanl_use=no
16426 rm -f conftest.$ac_objext conftest.$ac_ext
16428 ac_cpp='$CPP $CPPFLAGS'
16429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16437 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16438 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16440 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16442 for ac_func in _isnanl
16444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16445 echo "$as_me:$LINENO: checking for $ac_func" >&5
16446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16447 if eval "test \"\${$as_ac_var+set}\" = set"; then
16448 echo $ECHO_N "(cached) $ECHO_C" >&6
16450 if test x$gcc_no_link = xyes; then
16451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16453 { (exit 1); exit 1; }; }
16455 cat >conftest.$ac_ext <<_ACEOF
16456 #line $LINENO "configure"
16459 cat confdefs.h >>conftest.$ac_ext
16460 cat >>conftest.$ac_ext <<_ACEOF
16461 /* end confdefs.h. */
16462 /* System header to define __stub macros and hopefully few prototypes,
16463 which can conflict with char $ac_func (); below.
16464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16465 <limits.h> exists even on freestanding compilers. */
16467 # include <limits.h>
16469 # include <assert.h>
16471 /* Override any gcc2 internal prototype to avoid an error. */
16476 /* We use char because int might match the return type of a gcc2
16477 builtin and then its argument prototype would still apply. */
16479 /* The GNU C library defines this for functions which it implements
16480 to always fail with ENOSYS. Some functions are actually named
16481 something starting with __ and the normal name is an alias. */
16482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16485 char (*f) () = $ac_func;
16494 return f != $ac_func;
16499 rm -f conftest.$ac_objext conftest$ac_exeext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16501 (eval $ac_link) 2>&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } &&
16505 { ac_try='test -s conftest$ac_exeext'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; }; then
16511 eval "$as_ac_var=yes"
16513 echo "$as_me: failed program was:" >&5
16514 sed 's/^/| /' conftest.$ac_ext >&5
16516 eval "$as_ac_var=no"
16518 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16522 if test `eval echo '${'$as_ac_var'}'` = yes; then
16523 cat >>confdefs.h <<_ACEOF
16524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16535 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16536 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16537 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16538 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16539 echo $ECHO_N "(cached) $ECHO_C" >&6
16545 ac_cpp='$CXXCPP $CPPFLAGS'
16546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16550 cat >conftest.$ac_ext <<_ACEOF
16551 #line $LINENO "configure"
16554 cat confdefs.h >>conftest.$ac_ext
16555 cat >>conftest.$ac_ext <<_ACEOF
16556 /* end confdefs.h. */
16558 #ifdef HAVE_IEEEFP_H
16559 #include <ieeefp.h>
16570 rm -f conftest.$ac_objext
16571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16572 (eval $ac_compile) 2>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try='test -s conftest.$ac_objext'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; }; then
16582 glibcxx_cv_func_isinfl_use=yes
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 glibcxx_cv_func_isinfl_use=no
16589 rm -f conftest.$ac_objext conftest.$ac_ext
16591 ac_cpp='$CPP $CPPFLAGS'
16592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16601 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16603 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16605 for ac_func in isinfl
16607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16608 echo "$as_me:$LINENO: checking for $ac_func" >&5
16609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16610 if eval "test \"\${$as_ac_var+set}\" = set"; then
16611 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 if test x$gcc_no_link = xyes; then
16614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16616 { (exit 1); exit 1; }; }
16618 cat >conftest.$ac_ext <<_ACEOF
16619 #line $LINENO "configure"
16622 cat confdefs.h >>conftest.$ac_ext
16623 cat >>conftest.$ac_ext <<_ACEOF
16624 /* end confdefs.h. */
16625 /* System header to define __stub macros and hopefully few prototypes,
16626 which can conflict with char $ac_func (); below.
16627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16628 <limits.h> exists even on freestanding compilers. */
16630 # include <limits.h>
16632 # include <assert.h>
16634 /* Override any gcc2 internal prototype to avoid an error. */
16639 /* We use char because int might match the return type of a gcc2
16640 builtin and then its argument prototype would still apply. */
16642 /* The GNU C library defines this for functions which it implements
16643 to always fail with ENOSYS. Some functions are actually named
16644 something starting with __ and the normal name is an alias. */
16645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16648 char (*f) () = $ac_func;
16657 return f != $ac_func;
16662 rm -f conftest.$ac_objext conftest$ac_exeext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16664 (eval $ac_link) 2>&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } &&
16668 { ac_try='test -s conftest$ac_exeext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16674 eval "$as_ac_var=yes"
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16679 eval "$as_ac_var=no"
16681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16685 if test `eval echo '${'$as_ac_var'}'` = yes; then
16686 cat >>confdefs.h <<_ACEOF
16687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16695 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16696 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16697 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16698 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16699 echo $ECHO_N "(cached) $ECHO_C" >&6
16705 ac_cpp='$CXXCPP $CPPFLAGS'
16706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16710 cat >conftest.$ac_ext <<_ACEOF
16711 #line $LINENO "configure"
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16718 #ifdef HAVE_IEEEFP_H
16719 #include <ieeefp.h>
16730 rm -f conftest.$ac_objext
16731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16732 (eval $ac_compile) 2>&5
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); } &&
16736 { ac_try='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 glibcxx_cv_func__isinfl_use=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16747 glibcxx_cv_func__isinfl_use=no
16749 rm -f conftest.$ac_objext conftest.$ac_ext
16751 ac_cpp='$CPP $CPPFLAGS'
16752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16761 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16763 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16765 for ac_func in _isinfl
16767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16768 echo "$as_me:$LINENO: checking for $ac_func" >&5
16769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_var+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16773 if test x$gcc_no_link = xyes; then
16774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16776 { (exit 1); exit 1; }; }
16778 cat >conftest.$ac_ext <<_ACEOF
16779 #line $LINENO "configure"
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 /* System header to define __stub macros and hopefully few prototypes,
16786 which can conflict with char $ac_func (); below.
16787 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16788 <limits.h> exists even on freestanding compilers. */
16790 # include <limits.h>
16792 # include <assert.h>
16794 /* Override any gcc2 internal prototype to avoid an error. */
16799 /* We use char because int might match the return type of a gcc2
16800 builtin and then its argument prototype would still apply. */
16802 /* The GNU C library defines this for functions which it implements
16803 to always fail with ENOSYS. Some functions are actually named
16804 something starting with __ and the normal name is an alias. */
16805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16808 char (*f) () = $ac_func;
16817 return f != $ac_func;
16822 rm -f conftest.$ac_objext conftest$ac_exeext
16823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16824 (eval $ac_link) 2>&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -s conftest$ac_exeext'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; }; then
16834 eval "$as_ac_var=yes"
16836 echo "$as_me: failed program was:" >&5
16837 sed 's/^/| /' conftest.$ac_ext >&5
16839 eval "$as_ac_var=no"
16841 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16845 if test `eval echo '${'$as_ac_var'}'` = yes; then
16846 cat >>confdefs.h <<_ACEOF
16847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16858 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16859 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16860 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16861 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 ac_cpp='$CXXCPP $CPPFLAGS'
16869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16873 cat >conftest.$ac_ext <<_ACEOF
16874 #line $LINENO "configure"
16877 cat confdefs.h >>conftest.$ac_ext
16878 cat >>conftest.$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16889 rm -f conftest.$ac_objext
16890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16891 (eval $ac_compile) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); } &&
16895 { ac_try='test -s conftest.$ac_objext'
16896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16897 (eval $ac_try) 2>&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); }; }; then
16901 glibcxx_cv_func_copysignl_use=yes
16903 echo "$as_me: failed program was:" >&5
16904 sed 's/^/| /' conftest.$ac_ext >&5
16906 glibcxx_cv_func_copysignl_use=no
16908 rm -f conftest.$ac_objext conftest.$ac_ext
16910 ac_cpp='$CPP $CPPFLAGS'
16911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16920 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16922 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16924 for ac_func in copysignl
16926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16927 echo "$as_me:$LINENO: checking for $ac_func" >&5
16928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16929 if eval "test \"\${$as_ac_var+set}\" = set"; then
16930 echo $ECHO_N "(cached) $ECHO_C" >&6
16932 if test x$gcc_no_link = xyes; then
16933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16935 { (exit 1); exit 1; }; }
16937 cat >conftest.$ac_ext <<_ACEOF
16938 #line $LINENO "configure"
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 /* System header to define __stub macros and hopefully few prototypes,
16945 which can conflict with char $ac_func (); below.
16946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16947 <limits.h> exists even on freestanding compilers. */
16949 # include <limits.h>
16951 # include <assert.h>
16953 /* Override any gcc2 internal prototype to avoid an error. */
16958 /* We use char because int might match the return type of a gcc2
16959 builtin and then its argument prototype would still apply. */
16961 /* The GNU C library defines this for functions which it implements
16962 to always fail with ENOSYS. Some functions are actually named
16963 something starting with __ and the normal name is an alias. */
16964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16967 char (*f) () = $ac_func;
16976 return f != $ac_func;
16981 rm -f conftest.$ac_objext conftest$ac_exeext
16982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16983 (eval $ac_link) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try='test -s conftest$ac_exeext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16993 eval "$as_ac_var=yes"
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16998 eval "$as_ac_var=no"
17000 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17004 if test `eval echo '${'$as_ac_var'}'` = yes; then
17005 cat >>confdefs.h <<_ACEOF
17006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17014 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
17015 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17016 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17017 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17024 ac_cpp='$CXXCPP $CPPFLAGS'
17025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17029 cat >conftest.$ac_ext <<_ACEOF
17030 #line $LINENO "configure"
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17045 rm -f conftest.$ac_objext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17047 (eval $ac_compile) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -s conftest.$ac_objext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 glibcxx_cv_func__copysignl_use=yes
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17062 glibcxx_cv_func__copysignl_use=no
17064 rm -f conftest.$ac_objext conftest.$ac_ext
17066 ac_cpp='$CPP $CPPFLAGS'
17067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17075 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17076 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17078 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17080 for ac_func in _copysignl
17082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17083 echo "$as_me:$LINENO: checking for $ac_func" >&5
17084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17085 if eval "test \"\${$as_ac_var+set}\" = set"; then
17086 echo $ECHO_N "(cached) $ECHO_C" >&6
17088 if test x$gcc_no_link = xyes; then
17089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17091 { (exit 1); exit 1; }; }
17093 cat >conftest.$ac_ext <<_ACEOF
17094 #line $LINENO "configure"
17097 cat confdefs.h >>conftest.$ac_ext
17098 cat >>conftest.$ac_ext <<_ACEOF
17099 /* end confdefs.h. */
17100 /* System header to define __stub macros and hopefully few prototypes,
17101 which can conflict with char $ac_func (); below.
17102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17103 <limits.h> exists even on freestanding compilers. */
17105 # include <limits.h>
17107 # include <assert.h>
17109 /* Override any gcc2 internal prototype to avoid an error. */
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17117 /* The GNU C library defines this for functions which it implements
17118 to always fail with ENOSYS. Some functions are actually named
17119 something starting with __ and the normal name is an alias. */
17120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17123 char (*f) () = $ac_func;
17132 return f != $ac_func;
17137 rm -f conftest.$ac_objext conftest$ac_exeext
17138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17139 (eval $ac_link) 2>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try='test -s conftest$ac_exeext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 eval "$as_ac_var=yes"
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 eval "$as_ac_var=no"
17156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17160 if test `eval echo '${'$as_ac_var'}'` = yes; then
17161 cat >>confdefs.h <<_ACEOF
17162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17173 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17174 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17175 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17176 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17177 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 ac_cpp='$CXXCPP $CPPFLAGS'
17184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17188 cat >conftest.$ac_ext <<_ACEOF
17189 #line $LINENO "configure"
17192 cat confdefs.h >>conftest.$ac_ext
17193 cat >>conftest.$ac_ext <<_ACEOF
17194 /* end confdefs.h. */
17204 rm -f conftest.$ac_objext
17205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17206 (eval $ac_compile) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } &&
17210 { ac_try='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17216 glibcxx_cv_func_atan2l_use=yes
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.$ac_ext >&5
17221 glibcxx_cv_func_atan2l_use=no
17223 rm -f conftest.$ac_objext conftest.$ac_ext
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17234 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17235 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17237 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17239 for ac_func in atan2l
17241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17242 echo "$as_me:$LINENO: checking for $ac_func" >&5
17243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17244 if eval "test \"\${$as_ac_var+set}\" = set"; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 if test x$gcc_no_link = xyes; then
17248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17250 { (exit 1); exit 1; }; }
17252 cat >conftest.$ac_ext <<_ACEOF
17253 #line $LINENO "configure"
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17259 /* System header to define __stub macros and hopefully few prototypes,
17260 which can conflict with char $ac_func (); below.
17261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17262 <limits.h> exists even on freestanding compilers. */
17264 # include <limits.h>
17266 # include <assert.h>
17268 /* Override any gcc2 internal prototype to avoid an error. */
17273 /* We use char because int might match the return type of a gcc2
17274 builtin and then its argument prototype would still apply. */
17276 /* The GNU C library defines this for functions which it implements
17277 to always fail with ENOSYS. Some functions are actually named
17278 something starting with __ and the normal name is an alias. */
17279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17282 char (*f) () = $ac_func;
17291 return f != $ac_func;
17296 rm -f conftest.$ac_objext conftest$ac_exeext
17297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17298 (eval $ac_link) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); } &&
17302 { ac_try='test -s conftest$ac_exeext'
17303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17304 (eval $ac_try) 2>&5
17306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17307 (exit $ac_status); }; }; then
17308 eval "$as_ac_var=yes"
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 eval "$as_ac_var=no"
17315 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17319 if test `eval echo '${'$as_ac_var'}'` = yes; then
17320 cat >>confdefs.h <<_ACEOF
17321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17329 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17330 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17331 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17332 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 ac_cpp='$CXXCPP $CPPFLAGS'
17340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17344 cat >conftest.$ac_ext <<_ACEOF
17345 #line $LINENO "configure"
17348 cat confdefs.h >>conftest.$ac_ext
17349 cat >>conftest.$ac_ext <<_ACEOF
17350 /* end confdefs.h. */
17360 rm -f conftest.$ac_objext
17361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17362 (eval $ac_compile) 2>&5
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); } &&
17366 { ac_try='test -s conftest.$ac_objext'
17367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17368 (eval $ac_try) 2>&5
17370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371 (exit $ac_status); }; }; then
17372 glibcxx_cv_func__atan2l_use=yes
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17377 glibcxx_cv_func__atan2l_use=no
17379 rm -f conftest.$ac_objext conftest.$ac_ext
17381 ac_cpp='$CPP $CPPFLAGS'
17382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17391 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17393 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17395 for ac_func in _atan2l
17397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17398 echo "$as_me:$LINENO: checking for $ac_func" >&5
17399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17400 if eval "test \"\${$as_ac_var+set}\" = set"; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 if test x$gcc_no_link = xyes; then
17404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17406 { (exit 1); exit 1; }; }
17408 cat >conftest.$ac_ext <<_ACEOF
17409 #line $LINENO "configure"
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 /* System header to define __stub macros and hopefully few prototypes,
17416 which can conflict with char $ac_func (); below.
17417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17418 <limits.h> exists even on freestanding compilers. */
17420 # include <limits.h>
17422 # include <assert.h>
17424 /* Override any gcc2 internal prototype to avoid an error. */
17429 /* We use char because int might match the return type of a gcc2
17430 builtin and then its argument prototype would still apply. */
17432 /* The GNU C library defines this for functions which it implements
17433 to always fail with ENOSYS. Some functions are actually named
17434 something starting with __ and the normal name is an alias. */
17435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17438 char (*f) () = $ac_func;
17447 return f != $ac_func;
17452 rm -f conftest.$ac_objext conftest$ac_exeext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17454 (eval $ac_link) 2>&5
17456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17457 (exit $ac_status); } &&
17458 { ac_try='test -s conftest$ac_exeext'
17459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17460 (eval $ac_try) 2>&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); }; }; then
17464 eval "$as_ac_var=yes"
17466 echo "$as_me: failed program was:" >&5
17467 sed 's/^/| /' conftest.$ac_ext >&5
17469 eval "$as_ac_var=no"
17471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17475 if test `eval echo '${'$as_ac_var'}'` = yes; then
17476 cat >>confdefs.h <<_ACEOF
17477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17488 echo "$as_me:$LINENO: checking for expl declaration" >&5
17489 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17490 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17491 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17498 ac_cpp='$CXXCPP $CPPFLAGS'
17499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17503 cat >conftest.$ac_ext <<_ACEOF
17504 #line $LINENO "configure"
17507 cat confdefs.h >>conftest.$ac_ext
17508 cat >>conftest.$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17511 #ifdef HAVE_IEEEFP_H
17512 #include <ieeefp.h>
17523 rm -f conftest.$ac_objext
17524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17525 (eval $ac_compile) 2>&5
17527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17528 (exit $ac_status); } &&
17529 { ac_try='test -s conftest.$ac_objext'
17530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17531 (eval $ac_try) 2>&5
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 glibcxx_cv_func_expl_use=yes
17537 echo "$as_me: failed program was:" >&5
17538 sed 's/^/| /' conftest.$ac_ext >&5
17540 glibcxx_cv_func_expl_use=no
17542 rm -f conftest.$ac_objext conftest.$ac_ext
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17554 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17556 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17558 for ac_func in expl
17560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17561 echo "$as_me:$LINENO: checking for $ac_func" >&5
17562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17563 if eval "test \"\${$as_ac_var+set}\" = set"; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 if test x$gcc_no_link = xyes; then
17567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17569 { (exit 1); exit 1; }; }
17571 cat >conftest.$ac_ext <<_ACEOF
17572 #line $LINENO "configure"
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 /* System header to define __stub macros and hopefully few prototypes,
17579 which can conflict with char $ac_func (); below.
17580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17581 <limits.h> exists even on freestanding compilers. */
17583 # include <limits.h>
17585 # include <assert.h>
17587 /* Override any gcc2 internal prototype to avoid an error. */
17592 /* We use char because int might match the return type of a gcc2
17593 builtin and then its argument prototype would still apply. */
17595 /* The GNU C library defines this for functions which it implements
17596 to always fail with ENOSYS. Some functions are actually named
17597 something starting with __ and the normal name is an alias. */
17598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17601 char (*f) () = $ac_func;
17610 return f != $ac_func;
17615 rm -f conftest.$ac_objext conftest$ac_exeext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17617 (eval $ac_link) 2>&5
17619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620 (exit $ac_status); } &&
17621 { ac_try='test -s conftest$ac_exeext'
17622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17623 (eval $ac_try) 2>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); }; }; then
17627 eval "$as_ac_var=yes"
17629 echo "$as_me: failed program was:" >&5
17630 sed 's/^/| /' conftest.$ac_ext >&5
17632 eval "$as_ac_var=no"
17634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17638 if test `eval echo '${'$as_ac_var'}'` = yes; then
17639 cat >>confdefs.h <<_ACEOF
17640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17648 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17649 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17650 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17651 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17652 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 ac_cpp='$CXXCPP $CPPFLAGS'
17659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17663 cat >conftest.$ac_ext <<_ACEOF
17664 #line $LINENO "configure"
17667 cat confdefs.h >>conftest.$ac_ext
17668 cat >>conftest.$ac_ext <<_ACEOF
17669 /* end confdefs.h. */
17671 #ifdef HAVE_IEEEFP_H
17672 #include <ieeefp.h>
17683 rm -f conftest.$ac_objext
17684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17685 (eval $ac_compile) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); } &&
17689 { ac_try='test -s conftest.$ac_objext'
17690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17691 (eval $ac_try) 2>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); }; }; then
17695 glibcxx_cv_func__expl_use=yes
17697 echo "$as_me: failed program was:" >&5
17698 sed 's/^/| /' conftest.$ac_ext >&5
17700 glibcxx_cv_func__expl_use=no
17702 rm -f conftest.$ac_objext conftest.$ac_ext
17704 ac_cpp='$CPP $CPPFLAGS'
17705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17714 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17716 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17718 for ac_func in _expl
17720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17721 echo "$as_me:$LINENO: checking for $ac_func" >&5
17722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17723 if eval "test \"\${$as_ac_var+set}\" = set"; then
17724 echo $ECHO_N "(cached) $ECHO_C" >&6
17726 if test x$gcc_no_link = xyes; then
17727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17729 { (exit 1); exit 1; }; }
17731 cat >conftest.$ac_ext <<_ACEOF
17732 #line $LINENO "configure"
17735 cat confdefs.h >>conftest.$ac_ext
17736 cat >>conftest.$ac_ext <<_ACEOF
17737 /* end confdefs.h. */
17738 /* System header to define __stub macros and hopefully few prototypes,
17739 which can conflict with char $ac_func (); below.
17740 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17741 <limits.h> exists even on freestanding compilers. */
17743 # include <limits.h>
17745 # include <assert.h>
17747 /* Override any gcc2 internal prototype to avoid an error. */
17752 /* We use char because int might match the return type of a gcc2
17753 builtin and then its argument prototype would still apply. */
17755 /* The GNU C library defines this for functions which it implements
17756 to always fail with ENOSYS. Some functions are actually named
17757 something starting with __ and the normal name is an alias. */
17758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17761 char (*f) () = $ac_func;
17770 return f != $ac_func;
17775 rm -f conftest.$ac_objext conftest$ac_exeext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17777 (eval $ac_link) 2>&5
17779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780 (exit $ac_status); } &&
17781 { ac_try='test -s conftest$ac_exeext'
17782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783 (eval $ac_try) 2>&5
17785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786 (exit $ac_status); }; }; then
17787 eval "$as_ac_var=yes"
17789 echo "$as_me: failed program was:" >&5
17790 sed 's/^/| /' conftest.$ac_ext >&5
17792 eval "$as_ac_var=no"
17794 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17798 if test `eval echo '${'$as_ac_var'}'` = yes; then
17799 cat >>confdefs.h <<_ACEOF
17800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17811 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17812 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17813 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17814 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 ac_cpp='$CXXCPP $CPPFLAGS'
17822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17826 cat >conftest.$ac_ext <<_ACEOF
17827 #line $LINENO "configure"
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h. */
17834 #ifdef HAVE_IEEEFP_H
17835 #include <ieeefp.h>
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } &&
17852 { ac_try='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 glibcxx_cv_func_fabsl_use=yes
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17863 glibcxx_cv_func_fabsl_use=no
17865 rm -f conftest.$ac_objext conftest.$ac_ext
17867 ac_cpp='$CPP $CPPFLAGS'
17868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17877 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17879 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17881 for ac_func in fabsl
17883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17884 echo "$as_me:$LINENO: checking for $ac_func" >&5
17885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17886 if eval "test \"\${$as_ac_var+set}\" = set"; then
17887 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 if test x$gcc_no_link = xyes; then
17890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17892 { (exit 1); exit 1; }; }
17894 cat >conftest.$ac_ext <<_ACEOF
17895 #line $LINENO "configure"
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 /* System header to define __stub macros and hopefully few prototypes,
17902 which can conflict with char $ac_func (); below.
17903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17904 <limits.h> exists even on freestanding compilers. */
17906 # include <limits.h>
17908 # include <assert.h>
17910 /* Override any gcc2 internal prototype to avoid an error. */
17915 /* We use char because int might match the return type of a gcc2
17916 builtin and then its argument prototype would still apply. */
17918 /* The GNU C library defines this for functions which it implements
17919 to always fail with ENOSYS. Some functions are actually named
17920 something starting with __ and the normal name is an alias. */
17921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17924 char (*f) () = $ac_func;
17933 return f != $ac_func;
17938 rm -f conftest.$ac_objext conftest$ac_exeext
17939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17940 (eval $ac_link) 2>&5
17942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17943 (exit $ac_status); } &&
17944 { ac_try='test -s conftest$ac_exeext'
17945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17946 (eval $ac_try) 2>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); }; }; then
17950 eval "$as_ac_var=yes"
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 eval "$as_ac_var=no"
17957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17961 if test `eval echo '${'$as_ac_var'}'` = yes; then
17962 cat >>confdefs.h <<_ACEOF
17963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17971 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17972 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17973 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17974 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17981 ac_cpp='$CXXCPP $CPPFLAGS'
17982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17986 cat >conftest.$ac_ext <<_ACEOF
17987 #line $LINENO "configure"
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17994 #ifdef HAVE_IEEEFP_H
17995 #include <ieeefp.h>
18006 rm -f conftest.$ac_objext
18007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18008 (eval $ac_compile) 2>&5
18010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011 (exit $ac_status); } &&
18012 { ac_try='test -s conftest.$ac_objext'
18013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014 (eval $ac_try) 2>&5
18016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; }; then
18018 glibcxx_cv_func__fabsl_use=yes
18020 echo "$as_me: failed program was:" >&5
18021 sed 's/^/| /' conftest.$ac_ext >&5
18023 glibcxx_cv_func__fabsl_use=no
18025 rm -f conftest.$ac_objext conftest.$ac_ext
18027 ac_cpp='$CPP $CPPFLAGS'
18028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18037 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18039 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18041 for ac_func in _fabsl
18043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18044 echo "$as_me:$LINENO: checking for $ac_func" >&5
18045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18046 if eval "test \"\${$as_ac_var+set}\" = set"; then
18047 echo $ECHO_N "(cached) $ECHO_C" >&6
18049 if test x$gcc_no_link = xyes; then
18050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18052 { (exit 1); exit 1; }; }
18054 cat >conftest.$ac_ext <<_ACEOF
18055 #line $LINENO "configure"
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 /* System header to define __stub macros and hopefully few prototypes,
18062 which can conflict with char $ac_func (); below.
18063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18064 <limits.h> exists even on freestanding compilers. */
18066 # include <limits.h>
18068 # include <assert.h>
18070 /* Override any gcc2 internal prototype to avoid an error. */
18075 /* We use char because int might match the return type of a gcc2
18076 builtin and then its argument prototype would still apply. */
18078 /* The GNU C library defines this for functions which it implements
18079 to always fail with ENOSYS. Some functions are actually named
18080 something starting with __ and the normal name is an alias. */
18081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18084 char (*f) () = $ac_func;
18093 return f != $ac_func;
18098 rm -f conftest.$ac_objext conftest$ac_exeext
18099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18100 (eval $ac_link) 2>&5
18102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18103 (exit $ac_status); } &&
18104 { ac_try='test -s conftest$ac_exeext'
18105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18106 (eval $ac_try) 2>&5
18108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18109 (exit $ac_status); }; }; then
18110 eval "$as_ac_var=yes"
18112 echo "$as_me: failed program was:" >&5
18113 sed 's/^/| /' conftest.$ac_ext >&5
18115 eval "$as_ac_var=no"
18117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18121 if test `eval echo '${'$as_ac_var'}'` = yes; then
18122 cat >>confdefs.h <<_ACEOF
18123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18134 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18135 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18136 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18137 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18138 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 ac_cpp='$CXXCPP $CPPFLAGS'
18145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18149 cat >conftest.$ac_ext <<_ACEOF
18150 #line $LINENO "configure"
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18165 rm -f conftest.$ac_objext
18166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18167 (eval $ac_compile) 2>&5
18169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18170 (exit $ac_status); } &&
18171 { ac_try='test -s conftest.$ac_objext'
18172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18173 (eval $ac_try) 2>&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); }; }; then
18177 glibcxx_cv_func_fmodl_use=yes
18179 echo "$as_me: failed program was:" >&5
18180 sed 's/^/| /' conftest.$ac_ext >&5
18182 glibcxx_cv_func_fmodl_use=no
18184 rm -f conftest.$ac_objext conftest.$ac_ext
18186 ac_cpp='$CPP $CPPFLAGS'
18187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18196 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18198 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18200 for ac_func in fmodl
18202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18203 echo "$as_me:$LINENO: checking for $ac_func" >&5
18204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18205 if eval "test \"\${$as_ac_var+set}\" = set"; then
18206 echo $ECHO_N "(cached) $ECHO_C" >&6
18208 if test x$gcc_no_link = xyes; then
18209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18211 { (exit 1); exit 1; }; }
18213 cat >conftest.$ac_ext <<_ACEOF
18214 #line $LINENO "configure"
18217 cat confdefs.h >>conftest.$ac_ext
18218 cat >>conftest.$ac_ext <<_ACEOF
18219 /* end confdefs.h. */
18220 /* System header to define __stub macros and hopefully few prototypes,
18221 which can conflict with char $ac_func (); below.
18222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18223 <limits.h> exists even on freestanding compilers. */
18225 # include <limits.h>
18227 # include <assert.h>
18229 /* Override any gcc2 internal prototype to avoid an error. */
18234 /* We use char because int might match the return type of a gcc2
18235 builtin and then its argument prototype would still apply. */
18237 /* The GNU C library defines this for functions which it implements
18238 to always fail with ENOSYS. Some functions are actually named
18239 something starting with __ and the normal name is an alias. */
18240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18243 char (*f) () = $ac_func;
18252 return f != $ac_func;
18257 rm -f conftest.$ac_objext conftest$ac_exeext
18258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18259 (eval $ac_link) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); } &&
18263 { ac_try='test -s conftest$ac_exeext'
18264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18265 (eval $ac_try) 2>&5
18267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18268 (exit $ac_status); }; }; then
18269 eval "$as_ac_var=yes"
18271 echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18274 eval "$as_ac_var=no"
18276 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18280 if test `eval echo '${'$as_ac_var'}'` = yes; then
18281 cat >>confdefs.h <<_ACEOF
18282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18290 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18291 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18292 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18293 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18294 echo $ECHO_N "(cached) $ECHO_C" >&6
18300 ac_cpp='$CXXCPP $CPPFLAGS'
18301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18305 cat >conftest.$ac_ext <<_ACEOF
18306 #line $LINENO "configure"
18309 cat confdefs.h >>conftest.$ac_ext
18310 cat >>conftest.$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18321 rm -f conftest.$ac_objext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18323 (eval $ac_compile) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 glibcxx_cv_func__fmodl_use=yes
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 glibcxx_cv_func__fmodl_use=no
18340 rm -f conftest.$ac_objext conftest.$ac_ext
18342 ac_cpp='$CPP $CPPFLAGS'
18343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18352 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18354 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18356 for ac_func in _fmodl
18358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18359 echo "$as_me:$LINENO: checking for $ac_func" >&5
18360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18361 if eval "test \"\${$as_ac_var+set}\" = set"; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 if test x$gcc_no_link = xyes; then
18365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18367 { (exit 1); exit 1; }; }
18369 cat >conftest.$ac_ext <<_ACEOF
18370 #line $LINENO "configure"
18373 cat confdefs.h >>conftest.$ac_ext
18374 cat >>conftest.$ac_ext <<_ACEOF
18375 /* end confdefs.h. */
18376 /* System header to define __stub macros and hopefully few prototypes,
18377 which can conflict with char $ac_func (); below.
18378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18379 <limits.h> exists even on freestanding compilers. */
18381 # include <limits.h>
18383 # include <assert.h>
18385 /* Override any gcc2 internal prototype to avoid an error. */
18390 /* We use char because int might match the return type of a gcc2
18391 builtin and then its argument prototype would still apply. */
18393 /* The GNU C library defines this for functions which it implements
18394 to always fail with ENOSYS. Some functions are actually named
18395 something starting with __ and the normal name is an alias. */
18396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18399 char (*f) () = $ac_func;
18408 return f != $ac_func;
18413 rm -f conftest.$ac_objext conftest$ac_exeext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18415 (eval $ac_link) 2>&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -s conftest$ac_exeext'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; }; then
18425 eval "$as_ac_var=yes"
18427 echo "$as_me: failed program was:" >&5
18428 sed 's/^/| /' conftest.$ac_ext >&5
18430 eval "$as_ac_var=no"
18432 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18436 if test `eval echo '${'$as_ac_var'}'` = yes; then
18437 cat >>confdefs.h <<_ACEOF
18438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18449 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18450 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18451 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18452 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464 cat >conftest.$ac_ext <<_ACEOF
18465 #line $LINENO "configure"
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18480 rm -f conftest.$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>&5
18484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485 (exit $ac_status); } &&
18486 { ac_try='test -s conftest.$ac_objext'
18487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18488 (eval $ac_try) 2>&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); }; }; then
18492 glibcxx_cv_func_frexpl_use=yes
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18497 glibcxx_cv_func_frexpl_use=no
18499 rm -f conftest.$ac_objext conftest.$ac_ext
18501 ac_cpp='$CPP $CPPFLAGS'
18502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18511 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18513 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18515 for ac_func in frexpl
18517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18518 echo "$as_me:$LINENO: checking for $ac_func" >&5
18519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18520 if eval "test \"\${$as_ac_var+set}\" = set"; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18523 if test x$gcc_no_link = xyes; then
18524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18526 { (exit 1); exit 1; }; }
18528 cat >conftest.$ac_ext <<_ACEOF
18529 #line $LINENO "configure"
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 /* System header to define __stub macros and hopefully few prototypes,
18536 which can conflict with char $ac_func (); below.
18537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18538 <limits.h> exists even on freestanding compilers. */
18540 # include <limits.h>
18542 # include <assert.h>
18544 /* Override any gcc2 internal prototype to avoid an error. */
18549 /* We use char because int might match the return type of a gcc2
18550 builtin and then its argument prototype would still apply. */
18552 /* The GNU C library defines this for functions which it implements
18553 to always fail with ENOSYS. Some functions are actually named
18554 something starting with __ and the normal name is an alias. */
18555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18558 char (*f) () = $ac_func;
18567 return f != $ac_func;
18572 rm -f conftest.$ac_objext conftest$ac_exeext
18573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18574 (eval $ac_link) 2>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try='test -s conftest$ac_exeext'
18579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18580 (eval $ac_try) 2>&5
18582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18583 (exit $ac_status); }; }; then
18584 eval "$as_ac_var=yes"
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 eval "$as_ac_var=no"
18591 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18595 if test `eval echo '${'$as_ac_var'}'` = yes; then
18596 cat >>confdefs.h <<_ACEOF
18597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18605 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18606 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18607 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18608 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 ac_cpp='$CXXCPP $CPPFLAGS'
18616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18620 cat >conftest.$ac_ext <<_ACEOF
18621 #line $LINENO "configure"
18624 cat confdefs.h >>conftest.$ac_ext
18625 cat >>conftest.$ac_ext <<_ACEOF
18626 /* end confdefs.h. */
18636 rm -f conftest.$ac_objext
18637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18638 (eval $ac_compile) 2>&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try='test -s conftest.$ac_objext'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; }; then
18648 glibcxx_cv_func__frexpl_use=yes
18650 echo "$as_me: failed program was:" >&5
18651 sed 's/^/| /' conftest.$ac_ext >&5
18653 glibcxx_cv_func__frexpl_use=no
18655 rm -f conftest.$ac_objext conftest.$ac_ext
18657 ac_cpp='$CPP $CPPFLAGS'
18658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18667 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18669 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18671 for ac_func in _frexpl
18673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18674 echo "$as_me:$LINENO: checking for $ac_func" >&5
18675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18676 if eval "test \"\${$as_ac_var+set}\" = set"; then
18677 echo $ECHO_N "(cached) $ECHO_C" >&6
18679 if test x$gcc_no_link = xyes; then
18680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18682 { (exit 1); exit 1; }; }
18684 cat >conftest.$ac_ext <<_ACEOF
18685 #line $LINENO "configure"
18688 cat confdefs.h >>conftest.$ac_ext
18689 cat >>conftest.$ac_ext <<_ACEOF
18690 /* end confdefs.h. */
18691 /* System header to define __stub macros and hopefully few prototypes,
18692 which can conflict with char $ac_func (); below.
18693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18694 <limits.h> exists even on freestanding compilers. */
18696 # include <limits.h>
18698 # include <assert.h>
18700 /* Override any gcc2 internal prototype to avoid an error. */
18705 /* We use char because int might match the return type of a gcc2
18706 builtin and then its argument prototype would still apply. */
18708 /* The GNU C library defines this for functions which it implements
18709 to always fail with ENOSYS. Some functions are actually named
18710 something starting with __ and the normal name is an alias. */
18711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18714 char (*f) () = $ac_func;
18723 return f != $ac_func;
18728 rm -f conftest.$ac_objext conftest$ac_exeext
18729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18730 (eval $ac_link) 2>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -s conftest$ac_exeext'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; }; then
18740 eval "$as_ac_var=yes"
18742 echo "$as_me: failed program was:" >&5
18743 sed 's/^/| /' conftest.$ac_ext >&5
18745 eval "$as_ac_var=no"
18747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18751 if test `eval echo '${'$as_ac_var'}'` = yes; then
18752 cat >>confdefs.h <<_ACEOF
18753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18764 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18765 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18766 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18767 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 ac_cpp='$CXXCPP $CPPFLAGS'
18775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18779 cat >conftest.$ac_ext <<_ACEOF
18780 #line $LINENO "configure"
18783 cat confdefs.h >>conftest.$ac_ext
18784 cat >>conftest.$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18795 rm -f conftest.$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } &&
18801 { ac_try='test -s conftest.$ac_objext'
18802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18803 (eval $ac_try) 2>&5
18805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18806 (exit $ac_status); }; }; then
18807 glibcxx_cv_func_hypotl_use=yes
18809 echo "$as_me: failed program was:" >&5
18810 sed 's/^/| /' conftest.$ac_ext >&5
18812 glibcxx_cv_func_hypotl_use=no
18814 rm -f conftest.$ac_objext conftest.$ac_ext
18816 ac_cpp='$CPP $CPPFLAGS'
18817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18826 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18828 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18830 for ac_func in hypotl
18832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18833 echo "$as_me:$LINENO: checking for $ac_func" >&5
18834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18835 if eval "test \"\${$as_ac_var+set}\" = set"; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18838 if test x$gcc_no_link = xyes; then
18839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18841 { (exit 1); exit 1; }; }
18843 cat >conftest.$ac_ext <<_ACEOF
18844 #line $LINENO "configure"
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 /* System header to define __stub macros and hopefully few prototypes,
18851 which can conflict with char $ac_func (); below.
18852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18853 <limits.h> exists even on freestanding compilers. */
18855 # include <limits.h>
18857 # include <assert.h>
18859 /* Override any gcc2 internal prototype to avoid an error. */
18864 /* We use char because int might match the return type of a gcc2
18865 builtin and then its argument prototype would still apply. */
18867 /* The GNU C library defines this for functions which it implements
18868 to always fail with ENOSYS. Some functions are actually named
18869 something starting with __ and the normal name is an alias. */
18870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18873 char (*f) () = $ac_func;
18882 return f != $ac_func;
18887 rm -f conftest.$ac_objext conftest$ac_exeext
18888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18889 (eval $ac_link) 2>&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -s conftest$ac_exeext'
18894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18895 (eval $ac_try) 2>&5
18897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18898 (exit $ac_status); }; }; then
18899 eval "$as_ac_var=yes"
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 eval "$as_ac_var=no"
18906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18910 if test `eval echo '${'$as_ac_var'}'` = yes; then
18911 cat >>confdefs.h <<_ACEOF
18912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18920 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18921 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18922 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18923 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 ac_cpp='$CXXCPP $CPPFLAGS'
18931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18935 cat >conftest.$ac_ext <<_ACEOF
18936 #line $LINENO "configure"
18939 cat confdefs.h >>conftest.$ac_ext
18940 cat >>conftest.$ac_ext <<_ACEOF
18941 /* end confdefs.h. */
18951 rm -f conftest.$ac_objext
18952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18953 (eval $ac_compile) 2>&5
18955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18956 (exit $ac_status); } &&
18957 { ac_try='test -s conftest.$ac_objext'
18958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959 (eval $ac_try) 2>&5
18961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962 (exit $ac_status); }; }; then
18963 glibcxx_cv_func__hypotl_use=yes
18965 echo "$as_me: failed program was:" >&5
18966 sed 's/^/| /' conftest.$ac_ext >&5
18968 glibcxx_cv_func__hypotl_use=no
18970 rm -f conftest.$ac_objext conftest.$ac_ext
18972 ac_cpp='$CPP $CPPFLAGS'
18973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18982 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18984 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18986 for ac_func in _hypotl
18988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18989 echo "$as_me:$LINENO: checking for $ac_func" >&5
18990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18991 if eval "test \"\${$as_ac_var+set}\" = set"; then
18992 echo $ECHO_N "(cached) $ECHO_C" >&6
18994 if test x$gcc_no_link = xyes; then
18995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18997 { (exit 1); exit 1; }; }
18999 cat >conftest.$ac_ext <<_ACEOF
19000 #line $LINENO "configure"
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 /* System header to define __stub macros and hopefully few prototypes,
19007 which can conflict with char $ac_func (); below.
19008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19009 <limits.h> exists even on freestanding compilers. */
19011 # include <limits.h>
19013 # include <assert.h>
19015 /* Override any gcc2 internal prototype to avoid an error. */
19020 /* We use char because int might match the return type of a gcc2
19021 builtin and then its argument prototype would still apply. */
19023 /* The GNU C library defines this for functions which it implements
19024 to always fail with ENOSYS. Some functions are actually named
19025 something starting with __ and the normal name is an alias. */
19026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19029 char (*f) () = $ac_func;
19038 return f != $ac_func;
19043 rm -f conftest.$ac_objext conftest$ac_exeext
19044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19045 (eval $ac_link) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try='test -s conftest$ac_exeext'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; }; then
19055 eval "$as_ac_var=yes"
19057 echo "$as_me: failed program was:" >&5
19058 sed 's/^/| /' conftest.$ac_ext >&5
19060 eval "$as_ac_var=no"
19062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19066 if test `eval echo '${'$as_ac_var'}'` = yes; then
19067 cat >>confdefs.h <<_ACEOF
19068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19079 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19080 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19081 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19082 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19083 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 ac_cpp='$CXXCPP $CPPFLAGS'
19090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19094 cat >conftest.$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19110 rm -f conftest.$ac_objext
19111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19112 (eval $ac_compile) 2>&5
19114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19115 (exit $ac_status); } &&
19116 { ac_try='test -s conftest.$ac_objext'
19117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19118 (eval $ac_try) 2>&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); }; }; then
19122 glibcxx_cv_func_ldexpl_use=yes
19124 echo "$as_me: failed program was:" >&5
19125 sed 's/^/| /' conftest.$ac_ext >&5
19127 glibcxx_cv_func_ldexpl_use=no
19129 rm -f conftest.$ac_objext conftest.$ac_ext
19131 ac_cpp='$CPP $CPPFLAGS'
19132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19141 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19143 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19145 for ac_func in ldexpl
19147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19148 echo "$as_me:$LINENO: checking for $ac_func" >&5
19149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19150 if eval "test \"\${$as_ac_var+set}\" = set"; then
19151 echo $ECHO_N "(cached) $ECHO_C" >&6
19153 if test x$gcc_no_link = xyes; then
19154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19156 { (exit 1); exit 1; }; }
19158 cat >conftest.$ac_ext <<_ACEOF
19159 #line $LINENO "configure"
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 /* System header to define __stub macros and hopefully few prototypes,
19166 which can conflict with char $ac_func (); below.
19167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19168 <limits.h> exists even on freestanding compilers. */
19170 # include <limits.h>
19172 # include <assert.h>
19174 /* Override any gcc2 internal prototype to avoid an error. */
19179 /* We use char because int might match the return type of a gcc2
19180 builtin and then its argument prototype would still apply. */
19182 /* The GNU C library defines this for functions which it implements
19183 to always fail with ENOSYS. Some functions are actually named
19184 something starting with __ and the normal name is an alias. */
19185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19188 char (*f) () = $ac_func;
19197 return f != $ac_func;
19202 rm -f conftest.$ac_objext conftest$ac_exeext
19203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19204 (eval $ac_link) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } &&
19208 { ac_try='test -s conftest$ac_exeext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 eval "$as_ac_var=yes"
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19219 eval "$as_ac_var=no"
19221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19225 if test `eval echo '${'$as_ac_var'}'` = yes; then
19226 cat >>confdefs.h <<_ACEOF
19227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19235 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19236 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19237 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19238 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19239 echo $ECHO_N "(cached) $ECHO_C" >&6
19245 ac_cpp='$CXXCPP $CPPFLAGS'
19246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19250 cat >conftest.$ac_ext <<_ACEOF
19251 #line $LINENO "configure"
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19266 rm -f conftest.$ac_objext
19267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19268 (eval $ac_compile) 2>&5
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); } &&
19272 { ac_try='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 glibcxx_cv_func__ldexpl_use=yes
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 glibcxx_cv_func__ldexpl_use=no
19285 rm -f conftest.$ac_objext conftest.$ac_ext
19287 ac_cpp='$CPP $CPPFLAGS'
19288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19297 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19299 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19301 for ac_func in _ldexpl
19303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19304 echo "$as_me:$LINENO: checking for $ac_func" >&5
19305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19306 if eval "test \"\${$as_ac_var+set}\" = set"; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 if test x$gcc_no_link = xyes; then
19310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19312 { (exit 1); exit 1; }; }
19314 cat >conftest.$ac_ext <<_ACEOF
19315 #line $LINENO "configure"
19318 cat confdefs.h >>conftest.$ac_ext
19319 cat >>conftest.$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 /* System header to define __stub macros and hopefully few prototypes,
19322 which can conflict with char $ac_func (); below.
19323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19324 <limits.h> exists even on freestanding compilers. */
19326 # include <limits.h>
19328 # include <assert.h>
19330 /* Override any gcc2 internal prototype to avoid an error. */
19335 /* We use char because int might match the return type of a gcc2
19336 builtin and then its argument prototype would still apply. */
19338 /* The GNU C library defines this for functions which it implements
19339 to always fail with ENOSYS. Some functions are actually named
19340 something starting with __ and the normal name is an alias. */
19341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19344 char (*f) () = $ac_func;
19353 return f != $ac_func;
19358 rm -f conftest.$ac_objext conftest$ac_exeext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19360 (eval $ac_link) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); } &&
19364 { ac_try='test -s conftest$ac_exeext'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; }; then
19370 eval "$as_ac_var=yes"
19372 echo "$as_me: failed program was:" >&5
19373 sed 's/^/| /' conftest.$ac_ext >&5
19375 eval "$as_ac_var=no"
19377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19381 if test `eval echo '${'$as_ac_var'}'` = yes; then
19382 cat >>confdefs.h <<_ACEOF
19383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19394 echo "$as_me:$LINENO: checking for logl declaration" >&5
19395 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19396 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19397 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19398 echo $ECHO_N "(cached) $ECHO_C" >&6
19404 ac_cpp='$CXXCPP $CPPFLAGS'
19405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19409 cat >conftest.$ac_ext <<_ACEOF
19410 #line $LINENO "configure"
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19417 #ifdef HAVE_IEEEFP_H
19418 #include <ieeefp.h>
19429 rm -f conftest.$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>&5
19433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19434 (exit $ac_status); } &&
19435 { ac_try='test -s conftest.$ac_objext'
19436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19437 (eval $ac_try) 2>&5
19439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19440 (exit $ac_status); }; }; then
19441 glibcxx_cv_func_logl_use=yes
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 glibcxx_cv_func_logl_use=no
19448 rm -f conftest.$ac_objext conftest.$ac_ext
19450 ac_cpp='$CPP $CPPFLAGS'
19451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19459 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19460 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19462 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19464 for ac_func in logl
19466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19467 echo "$as_me:$LINENO: checking for $ac_func" >&5
19468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19469 if eval "test \"\${$as_ac_var+set}\" = set"; then
19470 echo $ECHO_N "(cached) $ECHO_C" >&6
19472 if test x$gcc_no_link = xyes; then
19473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19475 { (exit 1); exit 1; }; }
19477 cat >conftest.$ac_ext <<_ACEOF
19478 #line $LINENO "configure"
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19484 /* System header to define __stub macros and hopefully few prototypes,
19485 which can conflict with char $ac_func (); below.
19486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19487 <limits.h> exists even on freestanding compilers. */
19489 # include <limits.h>
19491 # include <assert.h>
19493 /* Override any gcc2 internal prototype to avoid an error. */
19498 /* We use char because int might match the return type of a gcc2
19499 builtin and then its argument prototype would still apply. */
19501 /* The GNU C library defines this for functions which it implements
19502 to always fail with ENOSYS. Some functions are actually named
19503 something starting with __ and the normal name is an alias. */
19504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19507 char (*f) () = $ac_func;
19516 return f != $ac_func;
19521 rm -f conftest.$ac_objext conftest$ac_exeext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19523 (eval $ac_link) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest$ac_exeext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 eval "$as_ac_var=yes"
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 eval "$as_ac_var=no"
19540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19544 if test `eval echo '${'$as_ac_var'}'` = yes; then
19545 cat >>confdefs.h <<_ACEOF
19546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19554 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19555 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19556 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19557 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19558 echo $ECHO_N "(cached) $ECHO_C" >&6
19564 ac_cpp='$CXXCPP $CPPFLAGS'
19565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19569 cat >conftest.$ac_ext <<_ACEOF
19570 #line $LINENO "configure"
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19577 #ifdef HAVE_IEEEFP_H
19578 #include <ieeefp.h>
19589 rm -f conftest.$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } &&
19595 { ac_try='test -s conftest.$ac_objext'
19596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19597 (eval $ac_try) 2>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); }; }; then
19601 glibcxx_cv_func__logl_use=yes
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 glibcxx_cv_func__logl_use=no
19608 rm -f conftest.$ac_objext conftest.$ac_ext
19610 ac_cpp='$CPP $CPPFLAGS'
19611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19620 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19622 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19624 for ac_func in _logl
19626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19627 echo "$as_me:$LINENO: checking for $ac_func" >&5
19628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19629 if eval "test \"\${$as_ac_var+set}\" = set"; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 if test x$gcc_no_link = xyes; then
19633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19635 { (exit 1); exit 1; }; }
19637 cat >conftest.$ac_ext <<_ACEOF
19638 #line $LINENO "configure"
19641 cat confdefs.h >>conftest.$ac_ext
19642 cat >>conftest.$ac_ext <<_ACEOF
19643 /* end confdefs.h. */
19644 /* System header to define __stub macros and hopefully few prototypes,
19645 which can conflict with char $ac_func (); below.
19646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19647 <limits.h> exists even on freestanding compilers. */
19649 # include <limits.h>
19651 # include <assert.h>
19653 /* Override any gcc2 internal prototype to avoid an error. */
19658 /* We use char because int might match the return type of a gcc2
19659 builtin and then its argument prototype would still apply. */
19661 /* The GNU C library defines this for functions which it implements
19662 to always fail with ENOSYS. Some functions are actually named
19663 something starting with __ and the normal name is an alias. */
19664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19667 char (*f) () = $ac_func;
19676 return f != $ac_func;
19681 rm -f conftest.$ac_objext conftest$ac_exeext
19682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19683 (eval $ac_link) 2>&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -s conftest$ac_exeext'
19688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19689 (eval $ac_try) 2>&5
19691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19692 (exit $ac_status); }; }; then
19693 eval "$as_ac_var=yes"
19695 echo "$as_me: failed program was:" >&5
19696 sed 's/^/| /' conftest.$ac_ext >&5
19698 eval "$as_ac_var=no"
19700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19704 if test `eval echo '${'$as_ac_var'}'` = yes; then
19705 cat >>confdefs.h <<_ACEOF
19706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19717 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19718 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19719 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19720 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 ac_cpp='$CXXCPP $CPPFLAGS'
19728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19732 cat >conftest.$ac_ext <<_ACEOF
19733 #line $LINENO "configure"
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h. */
19740 #ifdef HAVE_IEEEFP_H
19741 #include <ieeefp.h>
19752 rm -f conftest.$ac_objext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19754 (eval $ac_compile) 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } &&
19758 { ac_try='test -s conftest.$ac_objext'
19759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19760 (eval $ac_try) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); }; }; then
19764 glibcxx_cv_func_log10l_use=yes
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 glibcxx_cv_func_log10l_use=no
19771 rm -f conftest.$ac_objext conftest.$ac_ext
19773 ac_cpp='$CPP $CPPFLAGS'
19774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19782 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19783 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19785 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19787 for ac_func in log10l
19789 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19790 echo "$as_me:$LINENO: checking for $ac_func" >&5
19791 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_var+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 if test x$gcc_no_link = xyes; then
19796 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19797 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19798 { (exit 1); exit 1; }; }
19800 cat >conftest.$ac_ext <<_ACEOF
19801 #line $LINENO "configure"
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 /* System header to define __stub macros and hopefully few prototypes,
19808 which can conflict with char $ac_func (); below.
19809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19810 <limits.h> exists even on freestanding compilers. */
19812 # include <limits.h>
19814 # include <assert.h>
19816 /* Override any gcc2 internal prototype to avoid an error. */
19821 /* We use char because int might match the return type of a gcc2
19822 builtin and then its argument prototype would still apply. */
19824 /* The GNU C library defines this for functions which it implements
19825 to always fail with ENOSYS. Some functions are actually named
19826 something starting with __ and the normal name is an alias. */
19827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19830 char (*f) () = $ac_func;
19839 return f != $ac_func;
19844 rm -f conftest.$ac_objext conftest$ac_exeext
19845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19846 (eval $ac_link) 2>&5
19848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19849 (exit $ac_status); } &&
19850 { ac_try='test -s conftest$ac_exeext'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; }; then
19856 eval "$as_ac_var=yes"
19858 echo "$as_me: failed program was:" >&5
19859 sed 's/^/| /' conftest.$ac_ext >&5
19861 eval "$as_ac_var=no"
19863 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19867 if test `eval echo '${'$as_ac_var'}'` = yes; then
19868 cat >>confdefs.h <<_ACEOF
19869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19877 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19878 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19879 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19880 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19887 ac_cpp='$CXXCPP $CPPFLAGS'
19888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19892 cat >conftest.$ac_ext <<_ACEOF
19893 #line $LINENO "configure"
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19900 #ifdef HAVE_IEEEFP_H
19901 #include <ieeefp.h>
19912 rm -f conftest.$ac_objext
19913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19914 (eval $ac_compile) 2>&5
19916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917 (exit $ac_status); } &&
19918 { ac_try='test -s conftest.$ac_objext'
19919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19920 (eval $ac_try) 2>&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); }; }; then
19924 glibcxx_cv_func__log10l_use=yes
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 glibcxx_cv_func__log10l_use=no
19931 rm -f conftest.$ac_objext conftest.$ac_ext
19933 ac_cpp='$CPP $CPPFLAGS'
19934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19943 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19945 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19947 for ac_func in _log10l
19949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19950 echo "$as_me:$LINENO: checking for $ac_func" >&5
19951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19952 if eval "test \"\${$as_ac_var+set}\" = set"; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19955 if test x$gcc_no_link = xyes; then
19956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19958 { (exit 1); exit 1; }; }
19960 cat >conftest.$ac_ext <<_ACEOF
19961 #line $LINENO "configure"
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 /* System header to define __stub macros and hopefully few prototypes,
19968 which can conflict with char $ac_func (); below.
19969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19970 <limits.h> exists even on freestanding compilers. */
19972 # include <limits.h>
19974 # include <assert.h>
19976 /* Override any gcc2 internal prototype to avoid an error. */
19981 /* We use char because int might match the return type of a gcc2
19982 builtin and then its argument prototype would still apply. */
19984 /* The GNU C library defines this for functions which it implements
19985 to always fail with ENOSYS. Some functions are actually named
19986 something starting with __ and the normal name is an alias. */
19987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19990 char (*f) () = $ac_func;
19999 return f != $ac_func;
20004 rm -f conftest.$ac_objext conftest$ac_exeext
20005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20006 (eval $ac_link) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -s conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 eval "$as_ac_var=yes"
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.$ac_ext >&5
20021 eval "$as_ac_var=no"
20023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20027 if test `eval echo '${'$as_ac_var'}'` = yes; then
20028 cat >>confdefs.h <<_ACEOF
20029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20040 echo "$as_me:$LINENO: checking for modfl declaration" >&5
20041 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20042 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20043 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20044 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 ac_cpp='$CXXCPP $CPPFLAGS'
20051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20055 cat >conftest.$ac_ext <<_ACEOF
20056 #line $LINENO "configure"
20059 cat confdefs.h >>conftest.$ac_ext
20060 cat >>conftest.$ac_ext <<_ACEOF
20061 /* end confdefs.h. */
20071 rm -f conftest.$ac_objext
20072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20073 (eval $ac_compile) 2>&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 glibcxx_cv_func_modfl_use=yes
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20088 glibcxx_cv_func_modfl_use=no
20090 rm -f conftest.$ac_objext conftest.$ac_ext
20092 ac_cpp='$CPP $CPPFLAGS'
20093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20102 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20104 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20106 for ac_func in modfl
20108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20109 echo "$as_me:$LINENO: checking for $ac_func" >&5
20110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20111 if eval "test \"\${$as_ac_var+set}\" = set"; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 if test x$gcc_no_link = xyes; then
20115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20117 { (exit 1); exit 1; }; }
20119 cat >conftest.$ac_ext <<_ACEOF
20120 #line $LINENO "configure"
20123 cat confdefs.h >>conftest.$ac_ext
20124 cat >>conftest.$ac_ext <<_ACEOF
20125 /* end confdefs.h. */
20126 /* System header to define __stub macros and hopefully few prototypes,
20127 which can conflict with char $ac_func (); below.
20128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20129 <limits.h> exists even on freestanding compilers. */
20131 # include <limits.h>
20133 # include <assert.h>
20135 /* Override any gcc2 internal prototype to avoid an error. */
20140 /* We use char because int might match the return type of a gcc2
20141 builtin and then its argument prototype would still apply. */
20143 /* The GNU C library defines this for functions which it implements
20144 to always fail with ENOSYS. Some functions are actually named
20145 something starting with __ and the normal name is an alias. */
20146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20149 char (*f) () = $ac_func;
20158 return f != $ac_func;
20163 rm -f conftest.$ac_objext conftest$ac_exeext
20164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20165 (eval $ac_link) 2>&5
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); } &&
20169 { ac_try='test -s conftest$ac_exeext'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; }; then
20175 eval "$as_ac_var=yes"
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 eval "$as_ac_var=no"
20182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20186 if test `eval echo '${'$as_ac_var'}'` = yes; then
20187 cat >>confdefs.h <<_ACEOF
20188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20196 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20197 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20198 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20199 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20200 echo $ECHO_N "(cached) $ECHO_C" >&6
20206 ac_cpp='$CXXCPP $CPPFLAGS'
20207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20211 cat >conftest.$ac_ext <<_ACEOF
20212 #line $LINENO "configure"
20215 cat confdefs.h >>conftest.$ac_ext
20216 cat >>conftest.$ac_ext <<_ACEOF
20217 /* end confdefs.h. */
20227 rm -f conftest.$ac_objext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20229 (eval $ac_compile) 2>&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try='test -s conftest.$ac_objext'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; }; then
20239 glibcxx_cv_func__modfl_use=yes
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.$ac_ext >&5
20244 glibcxx_cv_func__modfl_use=no
20246 rm -f conftest.$ac_objext conftest.$ac_ext
20248 ac_cpp='$CPP $CPPFLAGS'
20249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20258 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20260 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20262 for ac_func in _modfl
20264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20265 echo "$as_me:$LINENO: checking for $ac_func" >&5
20266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20267 if eval "test \"\${$as_ac_var+set}\" = set"; then
20268 echo $ECHO_N "(cached) $ECHO_C" >&6
20270 if test x$gcc_no_link = xyes; then
20271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20273 { (exit 1); exit 1; }; }
20275 cat >conftest.$ac_ext <<_ACEOF
20276 #line $LINENO "configure"
20279 cat confdefs.h >>conftest.$ac_ext
20280 cat >>conftest.$ac_ext <<_ACEOF
20281 /* end confdefs.h. */
20282 /* System header to define __stub macros and hopefully few prototypes,
20283 which can conflict with char $ac_func (); below.
20284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20285 <limits.h> exists even on freestanding compilers. */
20287 # include <limits.h>
20289 # include <assert.h>
20291 /* Override any gcc2 internal prototype to avoid an error. */
20296 /* We use char because int might match the return type of a gcc2
20297 builtin and then its argument prototype would still apply. */
20299 /* The GNU C library defines this for functions which it implements
20300 to always fail with ENOSYS. Some functions are actually named
20301 something starting with __ and the normal name is an alias. */
20302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20305 char (*f) () = $ac_func;
20314 return f != $ac_func;
20319 rm -f conftest.$ac_objext conftest$ac_exeext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20321 (eval $ac_link) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try='test -s conftest$ac_exeext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 eval "$as_ac_var=yes"
20333 echo "$as_me: failed program was:" >&5
20334 sed 's/^/| /' conftest.$ac_ext >&5
20336 eval "$as_ac_var=no"
20338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20342 if test `eval echo '${'$as_ac_var'}'` = yes; then
20343 cat >>confdefs.h <<_ACEOF
20344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20355 echo "$as_me:$LINENO: checking for powl declaration" >&5
20356 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20357 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20358 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20359 echo $ECHO_N "(cached) $ECHO_C" >&6
20365 ac_cpp='$CXXCPP $CPPFLAGS'
20366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370 cat >conftest.$ac_ext <<_ACEOF
20371 #line $LINENO "configure"
20374 cat confdefs.h >>conftest.$ac_ext
20375 cat >>conftest.$ac_ext <<_ACEOF
20376 /* end confdefs.h. */
20386 rm -f conftest.$ac_objext
20387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20388 (eval $ac_compile) 2>&5
20390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20391 (exit $ac_status); } &&
20392 { ac_try='test -s conftest.$ac_objext'
20393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20394 (eval $ac_try) 2>&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); }; }; then
20398 glibcxx_cv_func_powl_use=yes
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20403 glibcxx_cv_func_powl_use=no
20405 rm -f conftest.$ac_objext conftest.$ac_ext
20407 ac_cpp='$CPP $CPPFLAGS'
20408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20417 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20419 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20421 for ac_func in powl
20423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20424 echo "$as_me:$LINENO: checking for $ac_func" >&5
20425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20426 if eval "test \"\${$as_ac_var+set}\" = set"; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20429 if test x$gcc_no_link = xyes; then
20430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20432 { (exit 1); exit 1; }; }
20434 cat >conftest.$ac_ext <<_ACEOF
20435 #line $LINENO "configure"
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 /* System header to define __stub macros and hopefully few prototypes,
20442 which can conflict with char $ac_func (); below.
20443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20444 <limits.h> exists even on freestanding compilers. */
20446 # include <limits.h>
20448 # include <assert.h>
20450 /* Override any gcc2 internal prototype to avoid an error. */
20455 /* We use char because int might match the return type of a gcc2
20456 builtin and then its argument prototype would still apply. */
20458 /* The GNU C library defines this for functions which it implements
20459 to always fail with ENOSYS. Some functions are actually named
20460 something starting with __ and the normal name is an alias. */
20461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20464 char (*f) () = $ac_func;
20473 return f != $ac_func;
20478 rm -f conftest.$ac_objext conftest$ac_exeext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20480 (eval $ac_link) 2>&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -s conftest$ac_exeext'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; }; then
20490 eval "$as_ac_var=yes"
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20495 eval "$as_ac_var=no"
20497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20501 if test `eval echo '${'$as_ac_var'}'` = yes; then
20502 cat >>confdefs.h <<_ACEOF
20503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20511 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20512 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20513 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20514 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20515 echo $ECHO_N "(cached) $ECHO_C" >&6
20521 ac_cpp='$CXXCPP $CPPFLAGS'
20522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20526 cat >conftest.$ac_ext <<_ACEOF
20527 #line $LINENO "configure"
20530 cat confdefs.h >>conftest.$ac_ext
20531 cat >>conftest.$ac_ext <<_ACEOF
20532 /* end confdefs.h. */
20542 rm -f conftest.$ac_objext
20543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20544 (eval $ac_compile) 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try='test -s conftest.$ac_objext'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; }; then
20554 glibcxx_cv_func__powl_use=yes
20556 echo "$as_me: failed program was:" >&5
20557 sed 's/^/| /' conftest.$ac_ext >&5
20559 glibcxx_cv_func__powl_use=no
20561 rm -f conftest.$ac_objext conftest.$ac_ext
20563 ac_cpp='$CPP $CPPFLAGS'
20564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20572 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20573 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20575 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20577 for ac_func in _powl
20579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20580 echo "$as_me:$LINENO: checking for $ac_func" >&5
20581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20582 if eval "test \"\${$as_ac_var+set}\" = set"; then
20583 echo $ECHO_N "(cached) $ECHO_C" >&6
20585 if test x$gcc_no_link = xyes; then
20586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20588 { (exit 1); exit 1; }; }
20590 cat >conftest.$ac_ext <<_ACEOF
20591 #line $LINENO "configure"
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20597 /* System header to define __stub macros and hopefully few prototypes,
20598 which can conflict with char $ac_func (); below.
20599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20600 <limits.h> exists even on freestanding compilers. */
20602 # include <limits.h>
20604 # include <assert.h>
20606 /* Override any gcc2 internal prototype to avoid an error. */
20611 /* We use char because int might match the return type of a gcc2
20612 builtin and then its argument prototype would still apply. */
20614 /* The GNU C library defines this for functions which it implements
20615 to always fail with ENOSYS. Some functions are actually named
20616 something starting with __ and the normal name is an alias. */
20617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20620 char (*f) () = $ac_func;
20629 return f != $ac_func;
20634 rm -f conftest.$ac_objext conftest$ac_exeext
20635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20636 (eval $ac_link) 2>&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 eval "$as_ac_var=yes"
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 eval "$as_ac_var=no"
20653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20657 if test `eval echo '${'$as_ac_var'}'` = yes; then
20658 cat >>confdefs.h <<_ACEOF
20659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20670 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20671 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20672 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20673 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20674 echo $ECHO_N "(cached) $ECHO_C" >&6
20680 ac_cpp='$CXXCPP $CPPFLAGS'
20681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685 cat >conftest.$ac_ext <<_ACEOF
20686 #line $LINENO "configure"
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h. */
20693 #ifdef HAVE_IEEEFP_H
20694 #include <ieeefp.h>
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707 (eval $ac_compile) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); } &&
20711 { ac_try='test -s conftest.$ac_objext'
20712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20713 (eval $ac_try) 2>&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); }; }; then
20717 glibcxx_cv_func_sqrtl_use=yes
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20722 glibcxx_cv_func_sqrtl_use=no
20724 rm -f conftest.$ac_objext conftest.$ac_ext
20726 ac_cpp='$CPP $CPPFLAGS'
20727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20736 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20738 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20740 for ac_func in sqrtl
20742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20743 echo "$as_me:$LINENO: checking for $ac_func" >&5
20744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20745 if eval "test \"\${$as_ac_var+set}\" = set"; then
20746 echo $ECHO_N "(cached) $ECHO_C" >&6
20748 if test x$gcc_no_link = xyes; then
20749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20751 { (exit 1); exit 1; }; }
20753 cat >conftest.$ac_ext <<_ACEOF
20754 #line $LINENO "configure"
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 /* System header to define __stub macros and hopefully few prototypes,
20761 which can conflict with char $ac_func (); below.
20762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20763 <limits.h> exists even on freestanding compilers. */
20765 # include <limits.h>
20767 # include <assert.h>
20769 /* Override any gcc2 internal prototype to avoid an error. */
20774 /* We use char because int might match the return type of a gcc2
20775 builtin and then its argument prototype would still apply. */
20777 /* The GNU C library defines this for functions which it implements
20778 to always fail with ENOSYS. Some functions are actually named
20779 something starting with __ and the normal name is an alias. */
20780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20783 char (*f) () = $ac_func;
20792 return f != $ac_func;
20797 rm -f conftest.$ac_objext conftest$ac_exeext
20798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20799 (eval $ac_link) 2>&5
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); } &&
20803 { ac_try='test -s conftest$ac_exeext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 eval "$as_ac_var=yes"
20811 echo "$as_me: failed program was:" >&5
20812 sed 's/^/| /' conftest.$ac_ext >&5
20814 eval "$as_ac_var=no"
20816 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20820 if test `eval echo '${'$as_ac_var'}'` = yes; then
20821 cat >>confdefs.h <<_ACEOF
20822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20830 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20831 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20832 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20833 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20834 echo $ECHO_N "(cached) $ECHO_C" >&6
20840 ac_cpp='$CXXCPP $CPPFLAGS'
20841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20845 cat >conftest.$ac_ext <<_ACEOF
20846 #line $LINENO "configure"
20849 cat confdefs.h >>conftest.$ac_ext
20850 cat >>conftest.$ac_ext <<_ACEOF
20851 /* end confdefs.h. */
20853 #ifdef HAVE_IEEEFP_H
20854 #include <ieeefp.h>
20865 rm -f conftest.$ac_objext
20866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20867 (eval $ac_compile) 2>&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -s conftest.$ac_objext'
20872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20873 (eval $ac_try) 2>&5
20875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20876 (exit $ac_status); }; }; then
20877 glibcxx_cv_func__sqrtl_use=yes
20879 echo "$as_me: failed program was:" >&5
20880 sed 's/^/| /' conftest.$ac_ext >&5
20882 glibcxx_cv_func__sqrtl_use=no
20884 rm -f conftest.$ac_objext conftest.$ac_ext
20886 ac_cpp='$CPP $CPPFLAGS'
20887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20895 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20896 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20898 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20900 for ac_func in _sqrtl
20902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20903 echo "$as_me:$LINENO: checking for $ac_func" >&5
20904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20905 if eval "test \"\${$as_ac_var+set}\" = set"; then
20906 echo $ECHO_N "(cached) $ECHO_C" >&6
20908 if test x$gcc_no_link = xyes; then
20909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20911 { (exit 1); exit 1; }; }
20913 cat >conftest.$ac_ext <<_ACEOF
20914 #line $LINENO "configure"
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 /* System header to define __stub macros and hopefully few prototypes,
20921 which can conflict with char $ac_func (); below.
20922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20923 <limits.h> exists even on freestanding compilers. */
20925 # include <limits.h>
20927 # include <assert.h>
20929 /* Override any gcc2 internal prototype to avoid an error. */
20934 /* We use char because int might match the return type of a gcc2
20935 builtin and then its argument prototype would still apply. */
20937 /* The GNU C library defines this for functions which it implements
20938 to always fail with ENOSYS. Some functions are actually named
20939 something starting with __ and the normal name is an alias. */
20940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20943 char (*f) () = $ac_func;
20952 return f != $ac_func;
20957 rm -f conftest.$ac_objext conftest$ac_exeext
20958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20959 (eval $ac_link) 2>&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -s conftest$ac_exeext'
20964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20965 (eval $ac_try) 2>&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); }; }; then
20969 eval "$as_ac_var=yes"
20971 echo "$as_me: failed program was:" >&5
20972 sed 's/^/| /' conftest.$ac_ext >&5
20974 eval "$as_ac_var=no"
20976 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20980 if test `eval echo '${'$as_ac_var'}'` = yes; then
20981 cat >>confdefs.h <<_ACEOF
20982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20993 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20994 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20995 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20996 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20997 echo $ECHO_N "(cached) $ECHO_C" >&6
21003 ac_cpp='$CXXCPP $CPPFLAGS'
21004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21008 cat >conftest.$ac_ext <<_ACEOF
21009 #line $LINENO "configure"
21012 cat confdefs.h >>conftest.$ac_ext
21013 cat >>conftest.$ac_ext <<_ACEOF
21014 /* end confdefs.h. */
21024 rm -f conftest.$ac_objext
21025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21026 (eval $ac_compile) 2>&5
21028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21029 (exit $ac_status); } &&
21030 { ac_try='test -s conftest.$ac_objext'
21031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21032 (eval $ac_try) 2>&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); }; }; then
21036 glibcxx_cv_func_sincosl_use=yes
21038 echo "$as_me: failed program was:" >&5
21039 sed 's/^/| /' conftest.$ac_ext >&5
21041 glibcxx_cv_func_sincosl_use=no
21043 rm -f conftest.$ac_objext conftest.$ac_ext
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21055 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21057 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21059 for ac_func in sincosl
21061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21062 echo "$as_me:$LINENO: checking for $ac_func" >&5
21063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21064 if eval "test \"\${$as_ac_var+set}\" = set"; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21067 if test x$gcc_no_link = xyes; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21072 cat >conftest.$ac_ext <<_ACEOF
21073 #line $LINENO "configure"
21076 cat confdefs.h >>conftest.$ac_ext
21077 cat >>conftest.$ac_ext <<_ACEOF
21078 /* end confdefs.h. */
21079 /* System header to define __stub macros and hopefully few prototypes,
21080 which can conflict with char $ac_func (); below.
21081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21082 <limits.h> exists even on freestanding compilers. */
21084 # include <limits.h>
21086 # include <assert.h>
21088 /* Override any gcc2 internal prototype to avoid an error. */
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21096 /* The GNU C library defines this for functions which it implements
21097 to always fail with ENOSYS. Some functions are actually named
21098 something starting with __ and the normal name is an alias. */
21099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21102 char (*f) () = $ac_func;
21111 return f != $ac_func;
21116 rm -f conftest.$ac_objext conftest$ac_exeext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21118 (eval $ac_link) 2>&5
21120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21121 (exit $ac_status); } &&
21122 { ac_try='test -s conftest$ac_exeext'
21123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21124 (eval $ac_try) 2>&5
21126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21127 (exit $ac_status); }; }; then
21128 eval "$as_ac_var=yes"
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21133 eval "$as_ac_var=no"
21135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21139 if test `eval echo '${'$as_ac_var'}'` = yes; then
21140 cat >>confdefs.h <<_ACEOF
21141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21149 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21150 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21151 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21152 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21153 echo $ECHO_N "(cached) $ECHO_C" >&6
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164 cat >conftest.$ac_ext <<_ACEOF
21165 #line $LINENO "configure"
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21180 rm -f conftest.$ac_objext
21181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21182 (eval $ac_compile) 2>&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try='test -s conftest.$ac_objext'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; }; then
21192 glibcxx_cv_func__sincosl_use=yes
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21197 glibcxx_cv_func__sincosl_use=no
21199 rm -f conftest.$ac_objext conftest.$ac_ext
21201 ac_cpp='$CPP $CPPFLAGS'
21202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21210 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21211 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21213 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21215 for ac_func in _sincosl
21217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21218 echo "$as_me:$LINENO: checking for $ac_func" >&5
21219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21220 if eval "test \"\${$as_ac_var+set}\" = set"; then
21221 echo $ECHO_N "(cached) $ECHO_C" >&6
21223 if test x$gcc_no_link = xyes; then
21224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21226 { (exit 1); exit 1; }; }
21228 cat >conftest.$ac_ext <<_ACEOF
21229 #line $LINENO "configure"
21232 cat confdefs.h >>conftest.$ac_ext
21233 cat >>conftest.$ac_ext <<_ACEOF
21234 /* end confdefs.h. */
21235 /* System header to define __stub macros and hopefully few prototypes,
21236 which can conflict with char $ac_func (); below.
21237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21238 <limits.h> exists even on freestanding compilers. */
21240 # include <limits.h>
21242 # include <assert.h>
21244 /* Override any gcc2 internal prototype to avoid an error. */
21249 /* We use char because int might match the return type of a gcc2
21250 builtin and then its argument prototype would still apply. */
21252 /* The GNU C library defines this for functions which it implements
21253 to always fail with ENOSYS. Some functions are actually named
21254 something starting with __ and the normal name is an alias. */
21255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21258 char (*f) () = $ac_func;
21267 return f != $ac_func;
21272 rm -f conftest.$ac_objext conftest$ac_exeext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21274 (eval $ac_link) 2>&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -s conftest$ac_exeext'
21279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21280 (eval $ac_try) 2>&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); }; }; then
21284 eval "$as_ac_var=yes"
21286 echo "$as_me: failed program was:" >&5
21287 sed 's/^/| /' conftest.$ac_ext >&5
21289 eval "$as_ac_var=no"
21291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21295 if test `eval echo '${'$as_ac_var'}'` = yes; then
21296 cat >>confdefs.h <<_ACEOF
21297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21308 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21309 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21310 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21311 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21312 echo $ECHO_N "(cached) $ECHO_C" >&6
21318 ac_cpp='$CXXCPP $CPPFLAGS'
21319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21323 cat >conftest.$ac_ext <<_ACEOF
21324 #line $LINENO "configure"
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21331 #ifdef HAVE_IEEEFP_H
21332 #include <ieeefp.h>
21343 rm -f conftest.$ac_objext
21344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21345 (eval $ac_compile) 2>&5
21347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21348 (exit $ac_status); } &&
21349 { ac_try='test -s conftest.$ac_objext'
21350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21351 (eval $ac_try) 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 glibcxx_cv_func_finitel_use=yes
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21360 glibcxx_cv_func_finitel_use=no
21362 rm -f conftest.$ac_objext conftest.$ac_ext
21364 ac_cpp='$CPP $CPPFLAGS'
21365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21373 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21374 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21376 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21378 for ac_func in finitel
21380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21381 echo "$as_me:$LINENO: checking for $ac_func" >&5
21382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21383 if eval "test \"\${$as_ac_var+set}\" = set"; then
21384 echo $ECHO_N "(cached) $ECHO_C" >&6
21386 if test x$gcc_no_link = xyes; then
21387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21389 { (exit 1); exit 1; }; }
21391 cat >conftest.$ac_ext <<_ACEOF
21392 #line $LINENO "configure"
21395 cat confdefs.h >>conftest.$ac_ext
21396 cat >>conftest.$ac_ext <<_ACEOF
21397 /* end confdefs.h. */
21398 /* System header to define __stub macros and hopefully few prototypes,
21399 which can conflict with char $ac_func (); below.
21400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21401 <limits.h> exists even on freestanding compilers. */
21403 # include <limits.h>
21405 # include <assert.h>
21407 /* Override any gcc2 internal prototype to avoid an error. */
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21415 /* The GNU C library defines this for functions which it implements
21416 to always fail with ENOSYS. Some functions are actually named
21417 something starting with __ and the normal name is an alias. */
21418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21421 char (*f) () = $ac_func;
21430 return f != $ac_func;
21435 rm -f conftest.$ac_objext conftest$ac_exeext
21436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21437 (eval $ac_link) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); } &&
21441 { ac_try='test -s conftest$ac_exeext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 eval "$as_ac_var=yes"
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21452 eval "$as_ac_var=no"
21454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21458 if test `eval echo '${'$as_ac_var'}'` = yes; then
21459 cat >>confdefs.h <<_ACEOF
21460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21468 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21469 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21470 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21471 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21472 echo $ECHO_N "(cached) $ECHO_C" >&6
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21483 cat >conftest.$ac_ext <<_ACEOF
21484 #line $LINENO "configure"
21487 cat confdefs.h >>conftest.$ac_ext
21488 cat >>conftest.$ac_ext <<_ACEOF
21489 /* end confdefs.h. */
21491 #ifdef HAVE_IEEEFP_H
21492 #include <ieeefp.h>
21503 rm -f conftest.$ac_objext
21504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21505 (eval $ac_compile) 2>&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } &&
21509 { ac_try='test -s conftest.$ac_objext'
21510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21511 (eval $ac_try) 2>&5
21513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21514 (exit $ac_status); }; }; then
21515 glibcxx_cv_func__finitel_use=yes
21517 echo "$as_me: failed program was:" >&5
21518 sed 's/^/| /' conftest.$ac_ext >&5
21520 glibcxx_cv_func__finitel_use=no
21522 rm -f conftest.$ac_objext conftest.$ac_ext
21524 ac_cpp='$CPP $CPPFLAGS'
21525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21534 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21536 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21538 for ac_func in _finitel
21540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21541 echo "$as_me:$LINENO: checking for $ac_func" >&5
21542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21543 if eval "test \"\${$as_ac_var+set}\" = set"; then
21544 echo $ECHO_N "(cached) $ECHO_C" >&6
21546 if test x$gcc_no_link = xyes; then
21547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21549 { (exit 1); exit 1; }; }
21551 cat >conftest.$ac_ext <<_ACEOF
21552 #line $LINENO "configure"
21555 cat confdefs.h >>conftest.$ac_ext
21556 cat >>conftest.$ac_ext <<_ACEOF
21557 /* end confdefs.h. */
21558 /* System header to define __stub macros and hopefully few prototypes,
21559 which can conflict with char $ac_func (); below.
21560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21561 <limits.h> exists even on freestanding compilers. */
21563 # include <limits.h>
21565 # include <assert.h>
21567 /* Override any gcc2 internal prototype to avoid an error. */
21572 /* We use char because int might match the return type of a gcc2
21573 builtin and then its argument prototype would still apply. */
21575 /* The GNU C library defines this for functions which it implements
21576 to always fail with ENOSYS. Some functions are actually named
21577 something starting with __ and the normal name is an alias. */
21578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21581 char (*f) () = $ac_func;
21590 return f != $ac_func;
21595 rm -f conftest.$ac_objext conftest$ac_exeext
21596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21597 (eval $ac_link) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -s conftest$ac_exeext'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; }; then
21607 eval "$as_ac_var=yes"
21609 echo "$as_me: failed program was:" >&5
21610 sed 's/^/| /' conftest.$ac_ext >&5
21612 eval "$as_ac_var=no"
21614 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21618 if test `eval echo '${'$as_ac_var'}'` = yes; then
21619 cat >>confdefs.h <<_ACEOF
21620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21632 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21633 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21634 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21646 cat >conftest.$ac_ext <<_ACEOF
21647 #line $LINENO "configure"
21650 cat confdefs.h >>conftest.$ac_ext
21651 cat >>conftest.$ac_ext <<_ACEOF
21652 /* end confdefs.h. */
21657 `for x in _acosf _asinf _atanf \
21658 _cosf _sinf _tanf \
21659 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21664 rm -f conftest.$ac_objext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21666 (eval $ac_compile) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } &&
21670 { ac_try='test -s conftest.$ac_objext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21676 glibcxx_cv_func__float_trig_use=yes
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21681 glibcxx_cv_func__float_trig_use=no
21683 rm -f conftest.$ac_objext conftest.$ac_ext
21685 ac_cpp='$CPP $CPPFLAGS'
21686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21693 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21694 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21704 for ac_func in _acosf _asinf _atanf \
21705 _cosf _sinf _tanf \
21706 _coshf _sinhf _tanhf
21708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21709 echo "$as_me:$LINENO: checking for $ac_func" >&5
21710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21711 if eval "test \"\${$as_ac_var+set}\" = set"; then
21712 echo $ECHO_N "(cached) $ECHO_C" >&6
21714 if test x$gcc_no_link = xyes; then
21715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21717 { (exit 1); exit 1; }; }
21719 cat >conftest.$ac_ext <<_ACEOF
21720 #line $LINENO "configure"
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 /* System header to define __stub macros and hopefully few prototypes,
21727 which can conflict with char $ac_func (); below.
21728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21729 <limits.h> exists even on freestanding compilers. */
21731 # include <limits.h>
21733 # include <assert.h>
21735 /* Override any gcc2 internal prototype to avoid an error. */
21740 /* We use char because int might match the return type of a gcc2
21741 builtin and then its argument prototype would still apply. */
21743 /* The GNU C library defines this for functions which it implements
21744 to always fail with ENOSYS. Some functions are actually named
21745 something starting with __ and the normal name is an alias. */
21746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21749 char (*f) () = $ac_func;
21758 return f != $ac_func;
21763 rm -f conftest.$ac_objext conftest$ac_exeext
21764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21765 (eval $ac_link) 2>&5
21767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768 (exit $ac_status); } &&
21769 { ac_try='test -s conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 eval "$as_ac_var=yes"
21777 echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21780 eval "$as_ac_var=no"
21782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21786 if test `eval echo '${'$as_ac_var'}'` = yes; then
21787 cat >>confdefs.h <<_ACEOF
21788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21797 echo "$as_me:$LINENO: checking for _float round functions" >&5
21798 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21799 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21800 echo $ECHO_N "(cached) $ECHO_C" >&6
21806 ac_cpp='$CXXCPP $CPPFLAGS'
21807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21811 cat >conftest.$ac_ext <<_ACEOF
21812 #line $LINENO "configure"
21815 cat confdefs.h >>conftest.$ac_ext
21816 cat >>conftest.$ac_ext <<_ACEOF
21817 /* end confdefs.h. */
21822 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21827 rm -f conftest.$ac_objext
21828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21829 (eval $ac_compile) 2>&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } &&
21833 { ac_try='test -s conftest.$ac_objext'
21834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21835 (eval $ac_try) 2>&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); }; }; then
21839 glibcxx_cv_func__float_round_use=yes
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.$ac_ext >&5
21844 glibcxx_cv_func__float_round_use=no
21846 rm -f conftest.$ac_objext conftest.$ac_ext
21848 ac_cpp='$CPP $CPPFLAGS'
21849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21855 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21856 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21857 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21860 for ac_func in _ceilf _floorf
21862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21863 echo "$as_me:$LINENO: checking for $ac_func" >&5
21864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21865 if eval "test \"\${$as_ac_var+set}\" = set"; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 if test x$gcc_no_link = xyes; then
21869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21871 { (exit 1); exit 1; }; }
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 /* System header to define __stub macros and hopefully few prototypes,
21881 which can conflict with char $ac_func (); below.
21882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21883 <limits.h> exists even on freestanding compilers. */
21885 # include <limits.h>
21887 # include <assert.h>
21889 /* Override any gcc2 internal prototype to avoid an error. */
21894 /* We use char because int might match the return type of a gcc2
21895 builtin and then its argument prototype would still apply. */
21897 /* The GNU C library defines this for functions which it implements
21898 to always fail with ENOSYS. Some functions are actually named
21899 something starting with __ and the normal name is an alias. */
21900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21903 char (*f) () = $ac_func;
21912 return f != $ac_func;
21917 rm -f conftest.$ac_objext conftest$ac_exeext
21918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21919 (eval $ac_link) 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -s conftest$ac_exeext'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 eval "$as_ac_var=yes"
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 eval "$as_ac_var=no"
21936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21940 if test `eval echo '${'$as_ac_var'}'` = yes; then
21941 cat >>confdefs.h <<_ACEOF
21942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21952 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21953 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21954 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21961 ac_cpp='$CXXCPP $CPPFLAGS'
21962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21966 cat >conftest.$ac_ext <<_ACEOF
21967 #line $LINENO "configure"
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21977 `for x in _acosl _asinl _atanl \
21978 _cosl _sinl _tanl \
21979 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21984 rm -f conftest.$ac_objext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21986 (eval $ac_compile) 2>&5
21988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21989 (exit $ac_status); } &&
21990 { ac_try='test -s conftest.$ac_objext'
21991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21992 (eval $ac_try) 2>&5
21994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21995 (exit $ac_status); }; }; then
21996 glibcxx_cv_func__long_double_trig_use=yes
21998 echo "$as_me: failed program was:" >&5
21999 sed 's/^/| /' conftest.$ac_ext >&5
22001 glibcxx_cv_func__long_double_trig_use=no
22003 rm -f conftest.$ac_objext conftest.$ac_ext
22005 ac_cpp='$CPP $CPPFLAGS'
22006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
22013 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
22014 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22024 for ac_func in _acosl _asinl _atanl \
22025 _cosl _sinl _tanl \
22026 _coshl _sinhl _tanhl
22028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22029 echo "$as_me:$LINENO: checking for $ac_func" >&5
22030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22031 if eval "test \"\${$as_ac_var+set}\" = set"; then
22032 echo $ECHO_N "(cached) $ECHO_C" >&6
22034 if test x$gcc_no_link = xyes; then
22035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22037 { (exit 1); exit 1; }; }
22039 cat >conftest.$ac_ext <<_ACEOF
22040 #line $LINENO "configure"
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 /* System header to define __stub macros and hopefully few prototypes,
22047 which can conflict with char $ac_func (); below.
22048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22049 <limits.h> exists even on freestanding compilers. */
22051 # include <limits.h>
22053 # include <assert.h>
22055 /* Override any gcc2 internal prototype to avoid an error. */
22060 /* We use char because int might match the return type of a gcc2
22061 builtin and then its argument prototype would still apply. */
22063 /* The GNU C library defines this for functions which it implements
22064 to always fail with ENOSYS. Some functions are actually named
22065 something starting with __ and the normal name is an alias. */
22066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22069 char (*f) () = $ac_func;
22078 return f != $ac_func;
22083 rm -f conftest.$ac_objext conftest$ac_exeext
22084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22085 (eval $ac_link) 2>&5
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); } &&
22089 { ac_try='test -s conftest$ac_exeext'
22090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22091 (eval $ac_try) 2>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); }; }; then
22095 eval "$as_ac_var=yes"
22097 echo "$as_me: failed program was:" >&5
22098 sed 's/^/| /' conftest.$ac_ext >&5
22100 eval "$as_ac_var=no"
22102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22106 if test `eval echo '${'$as_ac_var'}'` = yes; then
22107 cat >>confdefs.h <<_ACEOF
22108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22117 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22118 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22119 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22126 ac_cpp='$CXXCPP $CPPFLAGS'
22127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131 cat >conftest.$ac_ext <<_ACEOF
22132 #line $LINENO "configure"
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22142 `for x in _ceill _floorl; do echo "$x (0);"; done`
22147 rm -f conftest.$ac_objext
22148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22149 (eval $ac_compile) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); } &&
22153 { ac_try='test -s conftest.$ac_objext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 glibcxx_cv_func__long_double_round_use=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 glibcxx_cv_func__long_double_round_use=no
22166 rm -f conftest.$ac_objext conftest.$ac_ext
22168 ac_cpp='$CPP $CPPFLAGS'
22169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22175 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22176 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22177 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22180 for ac_func in _ceill _floorl
22182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22183 echo "$as_me:$LINENO: checking for $ac_func" >&5
22184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22185 if eval "test \"\${$as_ac_var+set}\" = set"; then
22186 echo $ECHO_N "(cached) $ECHO_C" >&6
22188 if test x$gcc_no_link = xyes; then
22189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22191 { (exit 1); exit 1; }; }
22193 cat >conftest.$ac_ext <<_ACEOF
22194 #line $LINENO "configure"
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 /* System header to define __stub macros and hopefully few prototypes,
22201 which can conflict with char $ac_func (); below.
22202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22203 <limits.h> exists even on freestanding compilers. */
22205 # include <limits.h>
22207 # include <assert.h>
22209 /* Override any gcc2 internal prototype to avoid an error. */
22214 /* We use char because int might match the return type of a gcc2
22215 builtin and then its argument prototype would still apply. */
22217 /* The GNU C library defines this for functions which it implements
22218 to always fail with ENOSYS. Some functions are actually named
22219 something starting with __ and the normal name is an alias. */
22220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22223 char (*f) () = $ac_func;
22232 return f != $ac_func;
22237 rm -f conftest.$ac_objext conftest$ac_exeext
22238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22239 (eval $ac_link) 2>&5
22241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22242 (exit $ac_status); } &&
22243 { ac_try='test -s conftest$ac_exeext'
22244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22245 (eval $ac_try) 2>&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 eval "$as_ac_var=yes"
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22254 eval "$as_ac_var=no"
22256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22260 if test `eval echo '${'$as_ac_var'}'` = yes; then
22261 cat >>confdefs.h <<_ACEOF
22262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22271 LIBS="$ac_save_LIBS"
22272 CXXFLAGS="$ac_save_CXXFLAGS"
22276 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22277 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22278 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22279 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22280 echo $ECHO_N "(cached) $ECHO_C" >&6
22286 ac_cpp='$CXXCPP $CPPFLAGS'
22287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22291 cat >conftest.$ac_ext <<_ACEOF
22292 #line $LINENO "configure"
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22307 rm -f conftest.$ac_objext
22308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22309 (eval $ac_compile) 2>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); } &&
22313 { ac_try='test -s conftest.$ac_objext'
22314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22315 (eval $ac_try) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); }; }; then
22319 glibcxx_cv_func___builtin_abs_use=yes
22321 echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.$ac_ext >&5
22324 glibcxx_cv_func___builtin_abs_use=no
22326 rm -f conftest.$ac_objext conftest.$ac_ext
22328 ac_cpp='$CPP $CPPFLAGS'
22329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22337 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22338 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22339 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22340 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22341 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22342 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22343 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22344 echo $ECHO_N "(cached) $ECHO_C" >&6
22347 if test x$gcc_no_link = xyes; then
22348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22350 { (exit 1); exit 1; }; }
22352 cat >conftest.$ac_ext <<_ACEOF
22353 #line $LINENO "configure"
22356 cat confdefs.h >>conftest.$ac_ext
22357 cat >>conftest.$ac_ext <<_ACEOF
22358 /* end confdefs.h. */
22368 rm -f conftest.$ac_objext conftest$ac_exeext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22370 (eval $ac_link) 2>&5
22372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22373 (exit $ac_status); } &&
22374 { ac_try='test -s conftest$ac_exeext'
22375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22376 (eval $ac_try) 2>&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); }; }; then
22380 glibcxx_cv_func___builtin_abs_link=yes
22382 echo "$as_me: failed program was:" >&5
22383 sed 's/^/| /' conftest.$ac_ext >&5
22385 glibcxx_cv_func___builtin_abs_link=no
22387 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22392 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22393 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22394 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22395 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22396 cat >>confdefs.h <<_ACEOF
22397 #define ${ac_tr_func} 1
22404 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22405 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22406 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22407 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22408 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 ac_cpp='$CXXCPP $CPPFLAGS'
22415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419 cat >conftest.$ac_ext <<_ACEOF
22420 #line $LINENO "configure"
22423 cat confdefs.h >>conftest.$ac_ext
22424 cat >>conftest.$ac_ext <<_ACEOF
22425 /* end confdefs.h. */
22430 __builtin_fabsf(0);
22435 rm -f conftest.$ac_objext
22436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22437 (eval $ac_compile) 2>&5
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); } &&
22441 { ac_try='test -s conftest.$ac_objext'
22442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22443 (eval $ac_try) 2>&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); }; }; then
22447 glibcxx_cv_func___builtin_fabsf_use=yes
22449 echo "$as_me: failed program was:" >&5
22450 sed 's/^/| /' conftest.$ac_ext >&5
22452 glibcxx_cv_func___builtin_fabsf_use=no
22454 rm -f conftest.$ac_objext conftest.$ac_ext
22456 ac_cpp='$CPP $CPPFLAGS'
22457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22465 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22466 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22467 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22468 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22469 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22470 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22471 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22475 if test x$gcc_no_link = xyes; then
22476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22478 { (exit 1); exit 1; }; }
22480 cat >conftest.$ac_ext <<_ACEOF
22481 #line $LINENO "configure"
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22491 __builtin_fabsf(0);
22496 rm -f conftest.$ac_objext conftest$ac_exeext
22497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22498 (eval $ac_link) 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } &&
22502 { ac_try='test -s conftest$ac_exeext'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; }; then
22508 glibcxx_cv_func___builtin_fabsf_link=yes
22510 echo "$as_me: failed program was:" >&5
22511 sed 's/^/| /' conftest.$ac_ext >&5
22513 glibcxx_cv_func___builtin_fabsf_link=no
22515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22520 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22521 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22522 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22523 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22524 cat >>confdefs.h <<_ACEOF
22525 #define ${ac_tr_func} 1
22532 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22533 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22534 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22535 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22542 ac_cpp='$CXXCPP $CPPFLAGS'
22543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22547 cat >conftest.$ac_ext <<_ACEOF
22548 #line $LINENO "configure"
22551 cat confdefs.h >>conftest.$ac_ext
22552 cat >>conftest.$ac_ext <<_ACEOF
22553 /* end confdefs.h. */
22563 rm -f conftest.$ac_objext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22565 (eval $ac_compile) 2>&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } &&
22569 { ac_try='test -s conftest.$ac_objext'
22570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22571 (eval $ac_try) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); }; }; then
22575 glibcxx_cv_func___builtin_fabs_use=yes
22577 echo "$as_me: failed program was:" >&5
22578 sed 's/^/| /' conftest.$ac_ext >&5
22580 glibcxx_cv_func___builtin_fabs_use=no
22582 rm -f conftest.$ac_objext conftest.$ac_ext
22584 ac_cpp='$CPP $CPPFLAGS'
22585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22594 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22595 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22596 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22597 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22598 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22599 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22600 echo $ECHO_N "(cached) $ECHO_C" >&6
22603 if test x$gcc_no_link = xyes; then
22604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22606 { (exit 1); exit 1; }; }
22608 cat >conftest.$ac_ext <<_ACEOF
22609 #line $LINENO "configure"
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22624 rm -f conftest.$ac_objext conftest$ac_exeext
22625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22626 (eval $ac_link) 2>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); } &&
22630 { ac_try='test -s conftest$ac_exeext'
22631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632 (eval $ac_try) 2>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); }; }; then
22636 glibcxx_cv_func___builtin_fabs_link=yes
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22641 glibcxx_cv_func___builtin_fabs_link=no
22643 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22648 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22649 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22650 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22651 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22652 cat >>confdefs.h <<_ACEOF
22653 #define ${ac_tr_func} 1
22660 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22661 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22662 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22663 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22675 cat >conftest.$ac_ext <<_ACEOF
22676 #line $LINENO "configure"
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22686 __builtin_fabsl(0);
22691 rm -f conftest.$ac_objext
22692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22693 (eval $ac_compile) 2>&5
22695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22696 (exit $ac_status); } &&
22697 { ac_try='test -s conftest.$ac_objext'
22698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22699 (eval $ac_try) 2>&5
22701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22702 (exit $ac_status); }; }; then
22703 glibcxx_cv_func___builtin_fabsl_use=yes
22705 echo "$as_me: failed program was:" >&5
22706 sed 's/^/| /' conftest.$ac_ext >&5
22708 glibcxx_cv_func___builtin_fabsl_use=no
22710 rm -f conftest.$ac_objext conftest.$ac_ext
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22722 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22723 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22724 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22725 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22726 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22727 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22728 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 if test x$gcc_no_link = xyes; then
22732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22734 { (exit 1); exit 1; }; }
22736 cat >conftest.$ac_ext <<_ACEOF
22737 #line $LINENO "configure"
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22747 __builtin_fabsl(0);
22752 rm -f conftest.$ac_objext conftest$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try='test -s conftest$ac_exeext'
22759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22760 (eval $ac_try) 2>&5
22762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22763 (exit $ac_status); }; }; then
22764 glibcxx_cv_func___builtin_fabsl_link=yes
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22769 glibcxx_cv_func___builtin_fabsl_link=no
22771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22777 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22778 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22779 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22780 cat >>confdefs.h <<_ACEOF
22781 #define ${ac_tr_func} 1
22788 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22789 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22790 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22791 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22792 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 ac_cpp='$CXXCPP $CPPFLAGS'
22799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22803 cat >conftest.$ac_ext <<_ACEOF
22804 #line $LINENO "configure"
22807 cat confdefs.h >>conftest.$ac_ext
22808 cat >>conftest.$ac_ext <<_ACEOF
22809 /* end confdefs.h. */
22819 rm -f conftest.$ac_objext
22820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22821 (eval $ac_compile) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); } &&
22825 { ac_try='test -s conftest.$ac_objext'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 glibcxx_cv_func___builtin_labs_use=yes
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22836 glibcxx_cv_func___builtin_labs_use=no
22838 rm -f conftest.$ac_objext conftest.$ac_ext
22840 ac_cpp='$CPP $CPPFLAGS'
22841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22849 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22850 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22851 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22852 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22853 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22854 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22855 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22856 echo $ECHO_N "(cached) $ECHO_C" >&6
22859 if test x$gcc_no_link = xyes; then
22860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22862 { (exit 1); exit 1; }; }
22864 cat >conftest.$ac_ext <<_ACEOF
22865 #line $LINENO "configure"
22868 cat confdefs.h >>conftest.$ac_ext
22869 cat >>conftest.$ac_ext <<_ACEOF
22870 /* end confdefs.h. */
22880 rm -f conftest.$ac_objext conftest$ac_exeext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22882 (eval $ac_link) 2>&5
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); } &&
22886 { ac_try='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 glibcxx_cv_func___builtin_labs_link=yes
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22897 glibcxx_cv_func___builtin_labs_link=no
22899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22905 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22906 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22907 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22908 cat >>confdefs.h <<_ACEOF
22909 #define ${ac_tr_func} 1
22917 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22918 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22919 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22920 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22927 ac_cpp='$CXXCPP $CPPFLAGS'
22928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22932 cat >conftest.$ac_ext <<_ACEOF
22933 #line $LINENO "configure"
22936 cat confdefs.h >>conftest.$ac_ext
22937 cat >>conftest.$ac_ext <<_ACEOF
22938 /* end confdefs.h. */
22943 __builtin_sqrtf(0);
22948 rm -f conftest.$ac_objext
22949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22950 (eval $ac_compile) 2>&5
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); } &&
22954 { ac_try='test -s conftest.$ac_objext'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 glibcxx_cv_func___builtin_sqrtf_use=yes
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.$ac_ext >&5
22965 glibcxx_cv_func___builtin_sqrtf_use=no
22967 rm -f conftest.$ac_objext conftest.$ac_ext
22969 ac_cpp='$CPP $CPPFLAGS'
22970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22978 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22979 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22980 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22981 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22982 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22983 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22984 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22988 if test x$gcc_no_link = xyes; then
22989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22991 { (exit 1); exit 1; }; }
22993 cat >conftest.$ac_ext <<_ACEOF
22994 #line $LINENO "configure"
22997 cat confdefs.h >>conftest.$ac_ext
22998 cat >>conftest.$ac_ext <<_ACEOF
22999 /* end confdefs.h. */
23004 __builtin_sqrtf(0);
23009 rm -f conftest.$ac_objext conftest$ac_exeext
23010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23011 (eval $ac_link) 2>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); } &&
23015 { ac_try='test -s conftest$ac_exeext'
23016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017 (eval $ac_try) 2>&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 glibcxx_cv_func___builtin_sqrtf_link=yes
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.$ac_ext >&5
23026 glibcxx_cv_func___builtin_sqrtf_link=no
23028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23033 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23034 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23035 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23036 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23037 cat >>confdefs.h <<_ACEOF
23038 #define ${ac_tr_func} 1
23045 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23046 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23047 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23048 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23055 ac_cpp='$CXXCPP $CPPFLAGS'
23056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060 cat >conftest.$ac_ext <<_ACEOF
23061 #line $LINENO "configure"
23064 cat confdefs.h >>conftest.$ac_ext
23065 cat >>conftest.$ac_ext <<_ACEOF
23066 /* end confdefs.h. */
23076 rm -f conftest.$ac_objext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23078 (eval $ac_compile) 2>&5
23080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23081 (exit $ac_status); } &&
23082 { ac_try='test -s conftest.$ac_objext'
23083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23084 (eval $ac_try) 2>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 glibcxx_cv_func___builtin_sqrt_use=yes
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 glibcxx_cv_func___builtin_sqrt_use=no
23095 rm -f conftest.$ac_objext conftest.$ac_ext
23097 ac_cpp='$CPP $CPPFLAGS'
23098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23106 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23107 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23108 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23109 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23110 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23111 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23112 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23113 echo $ECHO_N "(cached) $ECHO_C" >&6
23116 if test x$gcc_no_link = xyes; then
23117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23119 { (exit 1); exit 1; }; }
23121 cat >conftest.$ac_ext <<_ACEOF
23122 #line $LINENO "configure"
23125 cat confdefs.h >>conftest.$ac_ext
23126 cat >>conftest.$ac_ext <<_ACEOF
23127 /* end confdefs.h. */
23137 rm -f conftest.$ac_objext conftest$ac_exeext
23138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23139 (eval $ac_link) 2>&5
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); } &&
23143 { ac_try='test -s conftest$ac_exeext'
23144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23145 (eval $ac_try) 2>&5
23147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23148 (exit $ac_status); }; }; then
23149 glibcxx_cv_func___builtin_sqrt_link=yes
23151 echo "$as_me: failed program was:" >&5
23152 sed 's/^/| /' conftest.$ac_ext >&5
23154 glibcxx_cv_func___builtin_sqrt_link=no
23156 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23161 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23162 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23163 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23164 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23165 cat >>confdefs.h <<_ACEOF
23166 #define ${ac_tr_func} 1
23173 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23174 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23175 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23176 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23177 echo $ECHO_N "(cached) $ECHO_C" >&6
23183 ac_cpp='$CXXCPP $CPPFLAGS'
23184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23188 cat >conftest.$ac_ext <<_ACEOF
23189 #line $LINENO "configure"
23192 cat confdefs.h >>conftest.$ac_ext
23193 cat >>conftest.$ac_ext <<_ACEOF
23194 /* end confdefs.h. */
23199 __builtin_sqrtl(0);
23204 rm -f conftest.$ac_objext
23205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23206 (eval $ac_compile) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); } &&
23210 { ac_try='test -s conftest.$ac_objext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 glibcxx_cv_func___builtin_sqrtl_use=yes
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23221 glibcxx_cv_func___builtin_sqrtl_use=no
23223 rm -f conftest.$ac_objext conftest.$ac_ext
23225 ac_cpp='$CPP $CPPFLAGS'
23226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23234 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23235 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23236 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23237 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23238 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23239 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23240 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23241 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 if test x$gcc_no_link = xyes; then
23245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23247 { (exit 1); exit 1; }; }
23249 cat >conftest.$ac_ext <<_ACEOF
23250 #line $LINENO "configure"
23253 cat confdefs.h >>conftest.$ac_ext
23254 cat >>conftest.$ac_ext <<_ACEOF
23255 /* end confdefs.h. */
23260 __builtin_sqrtl(0);
23265 rm -f conftest.$ac_objext conftest$ac_exeext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23267 (eval $ac_link) 2>&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } &&
23271 { ac_try='test -s conftest$ac_exeext'
23272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23273 (eval $ac_try) 2>&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); }; }; then
23277 glibcxx_cv_func___builtin_sqrtl_link=yes
23279 echo "$as_me: failed program was:" >&5
23280 sed 's/^/| /' conftest.$ac_ext >&5
23282 glibcxx_cv_func___builtin_sqrtl_link=no
23284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23289 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23290 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23291 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23292 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23293 cat >>confdefs.h <<_ACEOF
23294 #define ${ac_tr_func} 1
23302 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23303 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23304 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23305 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23312 ac_cpp='$CXXCPP $CPPFLAGS'
23313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23317 cat >conftest.$ac_ext <<_ACEOF
23318 #line $LINENO "configure"
23321 cat confdefs.h >>conftest.$ac_ext
23322 cat >>conftest.$ac_ext <<_ACEOF
23323 /* end confdefs.h. */
23333 rm -f conftest.$ac_objext
23334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23335 (eval $ac_compile) 2>&5
23337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23338 (exit $ac_status); } &&
23339 { ac_try='test -s conftest.$ac_objext'
23340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23341 (eval $ac_try) 2>&5
23343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23344 (exit $ac_status); }; }; then
23345 glibcxx_cv_func___builtin_sinf_use=yes
23347 echo "$as_me: failed program was:" >&5
23348 sed 's/^/| /' conftest.$ac_ext >&5
23350 glibcxx_cv_func___builtin_sinf_use=no
23352 rm -f conftest.$ac_objext conftest.$ac_ext
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23364 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23365 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23366 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23367 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23368 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23369 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 if test x$gcc_no_link = xyes; then
23374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23376 { (exit 1); exit 1; }; }
23378 cat >conftest.$ac_ext <<_ACEOF
23379 #line $LINENO "configure"
23382 cat confdefs.h >>conftest.$ac_ext
23383 cat >>conftest.$ac_ext <<_ACEOF
23384 /* end confdefs.h. */
23394 rm -f conftest.$ac_objext conftest$ac_exeext
23395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23396 (eval $ac_link) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); } &&
23400 { ac_try='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 glibcxx_cv_func___builtin_sinf_link=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.$ac_ext >&5
23411 glibcxx_cv_func___builtin_sinf_link=no
23413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23418 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23419 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23420 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23421 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23422 cat >>confdefs.h <<_ACEOF
23423 #define ${ac_tr_func} 1
23430 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23431 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23432 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23433 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23434 echo $ECHO_N "(cached) $ECHO_C" >&6
23440 ac_cpp='$CXXCPP $CPPFLAGS'
23441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23445 cat >conftest.$ac_ext <<_ACEOF
23446 #line $LINENO "configure"
23449 cat confdefs.h >>conftest.$ac_ext
23450 cat >>conftest.$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23461 rm -f conftest.$ac_objext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23463 (eval $ac_compile) 2>&5
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); } &&
23467 { ac_try='test -s conftest.$ac_objext'
23468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23469 (eval $ac_try) 2>&5
23471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23472 (exit $ac_status); }; }; then
23473 glibcxx_cv_func___builtin_sin_use=yes
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.$ac_ext >&5
23478 glibcxx_cv_func___builtin_sin_use=no
23480 rm -f conftest.$ac_objext conftest.$ac_ext
23482 ac_cpp='$CPP $CPPFLAGS'
23483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23491 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23492 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23493 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23494 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23495 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23496 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23497 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23498 echo $ECHO_N "(cached) $ECHO_C" >&6
23501 if test x$gcc_no_link = xyes; then
23502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23504 { (exit 1); exit 1; }; }
23506 cat >conftest.$ac_ext <<_ACEOF
23507 #line $LINENO "configure"
23510 cat confdefs.h >>conftest.$ac_ext
23511 cat >>conftest.$ac_ext <<_ACEOF
23512 /* end confdefs.h. */
23522 rm -f conftest.$ac_objext conftest$ac_exeext
23523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23524 (eval $ac_link) 2>&5
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); } &&
23528 { ac_try='test -s conftest$ac_exeext'
23529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23530 (eval $ac_try) 2>&5
23532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23533 (exit $ac_status); }; }; then
23534 glibcxx_cv_func___builtin_sin_link=yes
23536 echo "$as_me: failed program was:" >&5
23537 sed 's/^/| /' conftest.$ac_ext >&5
23539 glibcxx_cv_func___builtin_sin_link=no
23541 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23547 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23548 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23549 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23550 cat >>confdefs.h <<_ACEOF
23551 #define ${ac_tr_func} 1
23558 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23559 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23560 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23561 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23562 echo $ECHO_N "(cached) $ECHO_C" >&6
23568 ac_cpp='$CXXCPP $CPPFLAGS'
23569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23573 cat >conftest.$ac_ext <<_ACEOF
23574 #line $LINENO "configure"
23577 cat confdefs.h >>conftest.$ac_ext
23578 cat >>conftest.$ac_ext <<_ACEOF
23579 /* end confdefs.h. */
23589 rm -f conftest.$ac_objext
23590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23591 (eval $ac_compile) 2>&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); } &&
23595 { ac_try='test -s conftest.$ac_objext'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; }; then
23601 glibcxx_cv_func___builtin_sinl_use=yes
23603 echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23606 glibcxx_cv_func___builtin_sinl_use=no
23608 rm -f conftest.$ac_objext conftest.$ac_ext
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23621 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23622 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23623 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23624 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23625 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23626 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 if test x$gcc_no_link = xyes; then
23630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23632 { (exit 1); exit 1; }; }
23634 cat >conftest.$ac_ext <<_ACEOF
23635 #line $LINENO "configure"
23638 cat confdefs.h >>conftest.$ac_ext
23639 cat >>conftest.$ac_ext <<_ACEOF
23640 /* end confdefs.h. */
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>&5
23654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655 (exit $ac_status); } &&
23656 { ac_try='test -s conftest$ac_exeext'
23657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23658 (eval $ac_try) 2>&5
23660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23661 (exit $ac_status); }; }; then
23662 glibcxx_cv_func___builtin_sinl_link=yes
23664 echo "$as_me: failed program was:" >&5
23665 sed 's/^/| /' conftest.$ac_ext >&5
23667 glibcxx_cv_func___builtin_sinl_link=no
23669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23674 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23675 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23676 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23677 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23678 cat >>confdefs.h <<_ACEOF
23679 #define ${ac_tr_func} 1
23687 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23688 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23689 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23690 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23697 ac_cpp='$CXXCPP $CPPFLAGS'
23698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23702 cat >conftest.$ac_ext <<_ACEOF
23703 #line $LINENO "configure"
23706 cat confdefs.h >>conftest.$ac_ext
23707 cat >>conftest.$ac_ext <<_ACEOF
23708 /* end confdefs.h. */
23718 rm -f conftest.$ac_objext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23720 (eval $ac_compile) 2>&5
23722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23723 (exit $ac_status); } &&
23724 { ac_try='test -s conftest.$ac_objext'
23725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23726 (eval $ac_try) 2>&5
23728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23729 (exit $ac_status); }; }; then
23730 glibcxx_cv_func___builtin_cosf_use=yes
23732 echo "$as_me: failed program was:" >&5
23733 sed 's/^/| /' conftest.$ac_ext >&5
23735 glibcxx_cv_func___builtin_cosf_use=no
23737 rm -f conftest.$ac_objext conftest.$ac_ext
23739 ac_cpp='$CPP $CPPFLAGS'
23740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23749 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23750 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23751 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23752 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23753 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23754 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23755 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 if test x$gcc_no_link = xyes; then
23759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23761 { (exit 1); exit 1; }; }
23763 cat >conftest.$ac_ext <<_ACEOF
23764 #line $LINENO "configure"
23767 cat confdefs.h >>conftest.$ac_ext
23768 cat >>conftest.$ac_ext <<_ACEOF
23769 /* end confdefs.h. */
23779 rm -f conftest.$ac_objext conftest$ac_exeext
23780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23781 (eval $ac_link) 2>&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); } &&
23785 { ac_try='test -s conftest$ac_exeext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 glibcxx_cv_func___builtin_cosf_link=yes
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.$ac_ext >&5
23796 glibcxx_cv_func___builtin_cosf_link=no
23798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23804 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23805 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23806 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23807 cat >>confdefs.h <<_ACEOF
23808 #define ${ac_tr_func} 1
23815 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23816 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23817 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23818 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23819 echo $ECHO_N "(cached) $ECHO_C" >&6
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23830 cat >conftest.$ac_ext <<_ACEOF
23831 #line $LINENO "configure"
23834 cat confdefs.h >>conftest.$ac_ext
23835 cat >>conftest.$ac_ext <<_ACEOF
23836 /* end confdefs.h. */
23846 rm -f conftest.$ac_objext
23847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23848 (eval $ac_compile) 2>&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } &&
23852 { ac_try='test -s conftest.$ac_objext'
23853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854 (eval $ac_try) 2>&5
23856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857 (exit $ac_status); }; }; then
23858 glibcxx_cv_func___builtin_cos_use=yes
23860 echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23863 glibcxx_cv_func___builtin_cos_use=no
23865 rm -f conftest.$ac_objext conftest.$ac_ext
23867 ac_cpp='$CPP $CPPFLAGS'
23868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23877 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23878 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23879 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23880 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23881 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23882 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23883 echo $ECHO_N "(cached) $ECHO_C" >&6
23886 if test x$gcc_no_link = xyes; then
23887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23889 { (exit 1); exit 1; }; }
23891 cat >conftest.$ac_ext <<_ACEOF
23892 #line $LINENO "configure"
23895 cat confdefs.h >>conftest.$ac_ext
23896 cat >>conftest.$ac_ext <<_ACEOF
23897 /* end confdefs.h. */
23907 rm -f conftest.$ac_objext conftest$ac_exeext
23908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23909 (eval $ac_link) 2>&5
23911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23912 (exit $ac_status); } &&
23913 { ac_try='test -s conftest$ac_exeext'
23914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23915 (eval $ac_try) 2>&5
23917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918 (exit $ac_status); }; }; then
23919 glibcxx_cv_func___builtin_cos_link=yes
23921 echo "$as_me: failed program was:" >&5
23922 sed 's/^/| /' conftest.$ac_ext >&5
23924 glibcxx_cv_func___builtin_cos_link=no
23926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23932 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23933 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23934 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23935 cat >>confdefs.h <<_ACEOF
23936 #define ${ac_tr_func} 1
23943 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23944 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23945 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23946 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23947 echo $ECHO_N "(cached) $ECHO_C" >&6
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat >conftest.$ac_ext <<_ACEOF
23959 #line $LINENO "configure"
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23974 rm -f conftest.$ac_objext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); } &&
23980 { ac_try='test -s conftest.$ac_objext'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 glibcxx_cv_func___builtin_cosl_use=yes
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23991 glibcxx_cv_func___builtin_cosl_use=no
23993 rm -f conftest.$ac_objext conftest.$ac_ext
23995 ac_cpp='$CPP $CPPFLAGS'
23996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24004 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
24005 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
24006 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
24007 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
24008 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
24009 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
24010 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
24011 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 if test x$gcc_no_link = xyes; then
24015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24017 { (exit 1); exit 1; }; }
24019 cat >conftest.$ac_ext <<_ACEOF
24020 #line $LINENO "configure"
24023 cat confdefs.h >>conftest.$ac_ext
24024 cat >>conftest.$ac_ext <<_ACEOF
24025 /* end confdefs.h. */
24035 rm -f conftest.$ac_objext conftest$ac_exeext
24036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24037 (eval $ac_link) 2>&5
24039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040 (exit $ac_status); } &&
24041 { ac_try='test -s conftest$ac_exeext'
24042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24043 (eval $ac_try) 2>&5
24045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24046 (exit $ac_status); }; }; then
24047 glibcxx_cv_func___builtin_cosl_link=yes
24049 echo "$as_me: failed program was:" >&5
24050 sed 's/^/| /' conftest.$ac_ext >&5
24052 glibcxx_cv_func___builtin_cosl_link=no
24054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24060 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24061 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24062 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24063 cat >>confdefs.h <<_ACEOF
24064 #define ${ac_tr_func} 1
24072 if test x$dummyvar = x"yes"; then
24073 cat >>confdefs.h <<\_ACEOF
24074 #define HAVE___BUILTIN_ABS 1
24077 cat >>confdefs.h <<\_ACEOF
24078 #define HAVE___BUILTIN_LABS 1
24081 cat >>confdefs.h <<\_ACEOF
24082 #define HAVE___BUILTIN_COS 1
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE___BUILTIN_COSF 1
24089 cat >>confdefs.h <<\_ACEOF
24090 #define HAVE___BUILTIN_COSL 1
24093 cat >>confdefs.h <<\_ACEOF
24094 #define HAVE___BUILTIN_FABS 1
24097 cat >>confdefs.h <<\_ACEOF
24098 #define HAVE___BUILTIN_FABSF 1
24101 cat >>confdefs.h <<\_ACEOF
24102 #define HAVE___BUILTIN_FABSL 1
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE___BUILTIN_SIN 1
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE___BUILTIN_SINF 1
24113 cat >>confdefs.h <<\_ACEOF
24114 #define HAVE___BUILTIN_SINL 1
24117 cat >>confdefs.h <<\_ACEOF
24118 #define HAVE___BUILTIN_SQRT 1
24121 cat >>confdefs.h <<\_ACEOF
24122 #define HAVE___BUILTIN_SQRTF 1
24125 cat >>confdefs.h <<\_ACEOF
24126 #define HAVE___BUILTIN_SQRTL 1
24133 echo "$as_me:$LINENO: checking for main in -lm" >&5
24134 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24135 if test "${ac_cv_lib_m_main+set}" = set; then
24136 echo $ECHO_N "(cached) $ECHO_C" >&6
24138 ac_check_lib_save_LIBS=$LIBS
24140 if test x$gcc_no_link = xyes; then
24141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24143 { (exit 1); exit 1; }; }
24145 cat >conftest.$ac_ext <<_ACEOF
24146 #line $LINENO "configure"
24149 cat confdefs.h >>conftest.$ac_ext
24150 cat >>conftest.$ac_ext <<_ACEOF
24151 /* end confdefs.h. */
24162 rm -f conftest.$ac_objext conftest$ac_exeext
24163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24164 (eval $ac_link) 2>&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } &&
24168 { ac_try='test -s conftest$ac_exeext'
24169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24170 (eval $ac_try) 2>&5
24172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24173 (exit $ac_status); }; }; then
24174 ac_cv_lib_m_main=yes
24176 echo "$as_me: failed program was:" >&5
24177 sed 's/^/| /' conftest.$ac_ext >&5
24179 ac_cv_lib_m_main=no
24181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24182 LIBS=$ac_check_lib_save_LIBS
24184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24185 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24186 if test $ac_cv_lib_m_main = yes; then
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE_LIBM 1
24197 for ac_func in nan copysignf
24199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 echo "$as_me:$LINENO: checking for $ac_func" >&5
24201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24202 if eval "test \"\${$as_ac_var+set}\" = set"; then
24203 echo $ECHO_N "(cached) $ECHO_C" >&6
24205 if test x$gcc_no_link = xyes; then
24206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24208 { (exit 1); exit 1; }; }
24210 cat >conftest.$ac_ext <<_ACEOF
24211 #line $LINENO "configure"
24214 cat confdefs.h >>conftest.$ac_ext
24215 cat >>conftest.$ac_ext <<_ACEOF
24216 /* end confdefs.h. */
24217 /* System header to define __stub macros and hopefully few prototypes,
24218 which can conflict with char $ac_func (); below.
24219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24220 <limits.h> exists even on freestanding compilers. */
24222 # include <limits.h>
24224 # include <assert.h>
24226 /* Override any gcc2 internal prototype to avoid an error. */
24231 /* We use char because int might match the return type of a gcc2
24232 builtin and then its argument prototype would still apply. */
24234 /* The GNU C library defines this for functions which it implements
24235 to always fail with ENOSYS. Some functions are actually named
24236 something starting with __ and the normal name is an alias. */
24237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24240 char (*f) () = $ac_func;
24249 return f != $ac_func;
24254 rm -f conftest.$ac_objext conftest$ac_exeext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24256 (eval $ac_link) 2>&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -s conftest$ac_exeext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266 eval "$as_ac_var=yes"
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24271 eval "$as_ac_var=no"
24273 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24277 if test `eval echo '${'$as_ac_var'}'` = yes; then
24278 cat >>confdefs.h <<_ACEOF
24279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24283 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24289 for ac_func in __signbit
24291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24292 echo "$as_me:$LINENO: checking for $ac_func" >&5
24293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24294 if eval "test \"\${$as_ac_var+set}\" = set"; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 if test x$gcc_no_link = xyes; then
24298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24300 { (exit 1); exit 1; }; }
24302 cat >conftest.$ac_ext <<_ACEOF
24303 #line $LINENO "configure"
24306 cat confdefs.h >>conftest.$ac_ext
24307 cat >>conftest.$ac_ext <<_ACEOF
24308 /* end confdefs.h. */
24309 /* System header to define __stub macros and hopefully few prototypes,
24310 which can conflict with char $ac_func (); below.
24311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24312 <limits.h> exists even on freestanding compilers. */
24314 # include <limits.h>
24316 # include <assert.h>
24318 /* Override any gcc2 internal prototype to avoid an error. */
24323 /* We use char because int might match the return type of a gcc2
24324 builtin and then its argument prototype would still apply. */
24326 /* The GNU C library defines this for functions which it implements
24327 to always fail with ENOSYS. Some functions are actually named
24328 something starting with __ and the normal name is an alias. */
24329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24332 char (*f) () = $ac_func;
24341 return f != $ac_func;
24346 rm -f conftest.$ac_objext conftest$ac_exeext
24347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24348 (eval $ac_link) 2>&5
24350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24351 (exit $ac_status); } &&
24352 { ac_try='test -s conftest$ac_exeext'
24353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24354 (eval $ac_try) 2>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); }; }; then
24358 eval "$as_ac_var=yes"
24360 echo "$as_me: failed program was:" >&5
24361 sed 's/^/| /' conftest.$ac_ext >&5
24363 eval "$as_ac_var=no"
24365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24369 if test `eval echo '${'$as_ac_var'}'` = yes; then
24370 cat >>confdefs.h <<_ACEOF
24371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24375 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24380 for ac_func in __signbitf
24382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24383 echo "$as_me:$LINENO: checking for $ac_func" >&5
24384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24385 if eval "test \"\${$as_ac_var+set}\" = set"; then
24386 echo $ECHO_N "(cached) $ECHO_C" >&6
24388 if test x$gcc_no_link = xyes; then
24389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24391 { (exit 1); exit 1; }; }
24393 cat >conftest.$ac_ext <<_ACEOF
24394 #line $LINENO "configure"
24397 cat confdefs.h >>conftest.$ac_ext
24398 cat >>conftest.$ac_ext <<_ACEOF
24399 /* end confdefs.h. */
24400 /* System header to define __stub macros and hopefully few prototypes,
24401 which can conflict with char $ac_func (); below.
24402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24403 <limits.h> exists even on freestanding compilers. */
24405 # include <limits.h>
24407 # include <assert.h>
24409 /* Override any gcc2 internal prototype to avoid an error. */
24414 /* We use char because int might match the return type of a gcc2
24415 builtin and then its argument prototype would still apply. */
24417 /* The GNU C library defines this for functions which it implements
24418 to always fail with ENOSYS. Some functions are actually named
24419 something starting with __ and the normal name is an alias. */
24420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24423 char (*f) () = $ac_func;
24432 return f != $ac_func;
24437 rm -f conftest.$ac_objext conftest$ac_exeext
24438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24439 (eval $ac_link) 2>&5
24441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24442 (exit $ac_status); } &&
24443 { ac_try='test -s conftest$ac_exeext'
24444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24445 (eval $ac_try) 2>&5
24447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); }; }; then
24449 eval "$as_ac_var=yes"
24451 echo "$as_me: failed program was:" >&5
24452 sed 's/^/| /' conftest.$ac_ext >&5
24454 eval "$as_ac_var=no"
24456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24460 if test `eval echo '${'$as_ac_var'}'` = yes; then
24461 cat >>confdefs.h <<_ACEOF
24462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24466 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24471 if test x$ac_cv_func_copysignl = x"yes"; then
24473 for ac_func in __signbitl
24475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24476 echo "$as_me:$LINENO: checking for $ac_func" >&5
24477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24478 if eval "test \"\${$as_ac_var+set}\" = set"; then
24479 echo $ECHO_N "(cached) $ECHO_C" >&6
24481 if test x$gcc_no_link = xyes; then
24482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24484 { (exit 1); exit 1; }; }
24486 cat >conftest.$ac_ext <<_ACEOF
24487 #line $LINENO "configure"
24490 cat confdefs.h >>conftest.$ac_ext
24491 cat >>conftest.$ac_ext <<_ACEOF
24492 /* end confdefs.h. */
24493 /* System header to define __stub macros and hopefully few prototypes,
24494 which can conflict with char $ac_func (); below.
24495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24496 <limits.h> exists even on freestanding compilers. */
24498 # include <limits.h>
24500 # include <assert.h>
24502 /* Override any gcc2 internal prototype to avoid an error. */
24507 /* We use char because int might match the return type of a gcc2
24508 builtin and then its argument prototype would still apply. */
24510 /* The GNU C library defines this for functions which it implements
24511 to always fail with ENOSYS. Some functions are actually named
24512 something starting with __ and the normal name is an alias. */
24513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24516 char (*f) () = $ac_func;
24525 return f != $ac_func;
24530 rm -f conftest.$ac_objext conftest$ac_exeext
24531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24532 (eval $ac_link) 2>&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } &&
24536 { ac_try='test -s conftest$ac_exeext'
24537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24538 (eval $ac_try) 2>&5
24540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24541 (exit $ac_status); }; }; then
24542 eval "$as_ac_var=yes"
24544 echo "$as_me: failed program was:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24547 eval "$as_ac_var=no"
24549 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24553 if test `eval echo '${'$as_ac_var'}'` = yes; then
24554 cat >>confdefs.h <<_ACEOF
24555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24559 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24565 # XXX Review this. Nothing uses it.
24566 if test -n "$LIBMATHOBJS"; then
24572 # Test wchar.h for mbstate_t, which is needed for char_traits and
24573 # others even if wchar_t support is not on.
24574 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24575 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24576 cat >conftest.$ac_ext <<_ACEOF
24577 #line $LINENO "configure"
24580 cat confdefs.h >>conftest.$ac_ext
24581 cat >>conftest.$ac_ext <<_ACEOF
24582 /* end confdefs.h. */
24587 mbstate_t teststate;
24592 rm -f conftest.$ac_objext
24593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24594 (eval $ac_compile) 2>&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); } &&
24598 { ac_try='test -s conftest.$ac_objext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24611 rm -f conftest.$ac_objext conftest.$ac_ext
24612 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24613 echo "${ECHO_T}$have_mbstate_t" >&6
24614 if test x"$have_mbstate_t" = xyes; then
24615 cat >>confdefs.h <<\_ACEOF
24616 #define HAVE_MBSTATE_T 1
24621 # Sanity check for existence of ISO C99 headers for extended encoding.
24623 for ac_header in wchar.h
24625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24627 echo "$as_me:$LINENO: checking for $ac_header" >&5
24628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24630 echo $ECHO_N "(cached) $ECHO_C" >&6
24632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24635 # Is the header compilable?
24636 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24637 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24638 cat >conftest.$ac_ext <<_ACEOF
24639 #line $LINENO "configure"
24642 cat confdefs.h >>conftest.$ac_ext
24643 cat >>conftest.$ac_ext <<_ACEOF
24644 /* end confdefs.h. */
24645 $ac_includes_default
24646 #include <$ac_header>
24648 rm -f conftest.$ac_objext
24649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24650 (eval $ac_compile) 2>&5
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); } &&
24654 { ac_try='test -s conftest.$ac_objext'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 ac_header_compiler=yes
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.$ac_ext >&5
24665 ac_header_compiler=no
24667 rm -f conftest.$ac_objext conftest.$ac_ext
24668 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24669 echo "${ECHO_T}$ac_header_compiler" >&6
24671 # Is the header present?
24672 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24674 cat >conftest.$ac_ext <<_ACEOF
24675 #line $LINENO "configure"
24678 cat confdefs.h >>conftest.$ac_ext
24679 cat >>conftest.$ac_ext <<_ACEOF
24680 /* end confdefs.h. */
24681 #include <$ac_header>
24683 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24684 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24686 grep -v '^ *+' conftest.er1 >conftest.err
24688 cat conftest.err >&5
24689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24690 (exit $ac_status); } >/dev/null; then
24691 if test -s conftest.err; then
24692 ac_cpp_err=$ac_c_preproc_warn_flag
24699 if test -z "$ac_cpp_err"; then
24700 ac_header_preproc=yes
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24705 ac_header_preproc=no
24707 rm -f conftest.err conftest.$ac_ext
24708 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24709 echo "${ECHO_T}$ac_header_preproc" >&6
24711 # So? What about this header?
24712 case $ac_header_compiler:$ac_header_preproc in
24714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24717 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24720 ## ------------------------------------ ##
24721 ## Report this to bug-autoconf@gnu.org. ##
24722 ## ------------------------------------ ##
24725 sed "s/^/$as_me: WARNING: /" >&2
24728 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24729 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24730 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24731 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24733 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24736 ## ------------------------------------ ##
24737 ## Report this to bug-autoconf@gnu.org. ##
24738 ## ------------------------------------ ##
24741 sed "s/^/$as_me: WARNING: /" >&2
24744 echo "$as_me:$LINENO: checking for $ac_header" >&5
24745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24747 echo $ECHO_N "(cached) $ECHO_C" >&6
24749 eval "$as_ac_Header=$ac_header_preproc"
24751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24756 cat >>confdefs.h <<_ACEOF
24757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24767 for ac_header in wctype.h
24769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24771 echo "$as_me:$LINENO: checking for $ac_header" >&5
24772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24774 echo $ECHO_N "(cached) $ECHO_C" >&6
24776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24779 # Is the header compilable?
24780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24782 cat >conftest.$ac_ext <<_ACEOF
24783 #line $LINENO "configure"
24786 cat confdefs.h >>conftest.$ac_ext
24787 cat >>conftest.$ac_ext <<_ACEOF
24788 /* end confdefs.h. */
24789 $ac_includes_default
24790 #include <$ac_header>
24792 rm -f conftest.$ac_objext
24793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24794 (eval $ac_compile) 2>&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } &&
24798 { ac_try='test -s conftest.$ac_objext'
24799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24800 (eval $ac_try) 2>&5
24802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24803 (exit $ac_status); }; }; then
24804 ac_header_compiler=yes
24806 echo "$as_me: failed program was:" >&5
24807 sed 's/^/| /' conftest.$ac_ext >&5
24809 ac_header_compiler=no
24811 rm -f conftest.$ac_objext conftest.$ac_ext
24812 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24813 echo "${ECHO_T}$ac_header_compiler" >&6
24815 # Is the header present?
24816 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24818 cat >conftest.$ac_ext <<_ACEOF
24819 #line $LINENO "configure"
24822 cat confdefs.h >>conftest.$ac_ext
24823 cat >>conftest.$ac_ext <<_ACEOF
24824 /* end confdefs.h. */
24825 #include <$ac_header>
24827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24830 grep -v '^ *+' conftest.er1 >conftest.err
24832 cat conftest.err >&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); } >/dev/null; then
24835 if test -s conftest.err; then
24836 ac_cpp_err=$ac_c_preproc_warn_flag
24843 if test -z "$ac_cpp_err"; then
24844 ac_header_preproc=yes
24846 echo "$as_me: failed program was:" >&5
24847 sed 's/^/| /' conftest.$ac_ext >&5
24849 ac_header_preproc=no
24851 rm -f conftest.err conftest.$ac_ext
24852 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24853 echo "${ECHO_T}$ac_header_preproc" >&6
24855 # So? What about this header?
24856 case $ac_header_compiler:$ac_header_preproc in
24858 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24859 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24861 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24864 ## ------------------------------------ ##
24865 ## Report this to bug-autoconf@gnu.org. ##
24866 ## ------------------------------------ ##
24869 sed "s/^/$as_me: WARNING: /" >&2
24872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24880 ## ------------------------------------ ##
24881 ## Report this to bug-autoconf@gnu.org. ##
24882 ## ------------------------------------ ##
24885 sed "s/^/$as_me: WARNING: /" >&2
24888 echo "$as_me:$LINENO: checking for $ac_header" >&5
24889 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24891 echo $ECHO_N "(cached) $ECHO_C" >&6
24893 eval "$as_ac_Header=$ac_header_preproc"
24895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24900 cat >>confdefs.h <<_ACEOF
24901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24903 ac_has_wctype_h=yes
24911 # Only continue checking if the ISO C99 headers exist and support is on.
24912 if test x"$ac_has_wchar_h" = xyes &&
24913 test x"$ac_has_wctype_h" = xyes &&
24914 test x"$enable_c_mbchar" != xno; then
24916 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24917 # numeric_limits can instantiate type_traits<wchar_t>
24918 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24919 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24920 cat >conftest.$ac_ext <<_ACEOF
24921 #line $LINENO "configure"
24924 cat confdefs.h >>conftest.$ac_ext
24925 cat >>conftest.$ac_ext <<_ACEOF
24926 /* end confdefs.h. */
24931 int i = WCHAR_MIN; int j = WCHAR_MAX;
24936 rm -f conftest.$ac_objext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24938 (eval $ac_compile) 2>&5
24940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941 (exit $ac_status); } &&
24942 { ac_try='test -s conftest.$ac_objext'
24943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24944 (eval $ac_try) 2>&5
24946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24947 (exit $ac_status); }; }; then
24948 has_wchar_minmax=yes
24950 echo "$as_me: failed program was:" >&5
24951 sed 's/^/| /' conftest.$ac_ext >&5
24953 has_wchar_minmax=no
24955 rm -f conftest.$ac_objext conftest.$ac_ext
24956 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24957 echo "${ECHO_T}$has_wchar_minmax" >&6
24959 # Test wchar.h for WEOF, which is what we use to determine whether
24960 # to specialize for char_traits<wchar_t> or not.
24961 echo "$as_me:$LINENO: checking for WEOF" >&5
24962 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24963 cat >conftest.$ac_ext <<_ACEOF
24964 #line $LINENO "configure"
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24972 #include <stddef.h>
24981 rm -f conftest.$ac_objext
24982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24983 (eval $ac_compile) 2>&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); } &&
24987 { ac_try='test -s conftest.$ac_objext'
24988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24989 (eval $ac_try) 2>&5
24991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24992 (exit $ac_status); }; }; then
24995 echo "$as_me: failed program was:" >&5
24996 sed 's/^/| /' conftest.$ac_ext >&5
25000 rm -f conftest.$ac_objext conftest.$ac_ext
25001 echo "$as_me:$LINENO: result: $has_weof" >&5
25002 echo "${ECHO_T}$has_weof" >&6
25004 # Tests for wide character functions used in char_traits<wchar_t>.
25012 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
25014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25015 echo "$as_me:$LINENO: checking for $ac_func" >&5
25016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25017 if eval "test \"\${$as_ac_var+set}\" = set"; then
25018 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 if test x$gcc_no_link = xyes; then
25021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25023 { (exit 1); exit 1; }; }
25025 cat >conftest.$ac_ext <<_ACEOF
25026 #line $LINENO "configure"
25029 cat confdefs.h >>conftest.$ac_ext
25030 cat >>conftest.$ac_ext <<_ACEOF
25031 /* end confdefs.h. */
25032 /* System header to define __stub macros and hopefully few prototypes,
25033 which can conflict with char $ac_func (); below.
25034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25035 <limits.h> exists even on freestanding compilers. */
25037 # include <limits.h>
25039 # include <assert.h>
25041 /* Override any gcc2 internal prototype to avoid an error. */
25046 /* We use char because int might match the return type of a gcc2
25047 builtin and then its argument prototype would still apply. */
25049 /* The GNU C library defines this for functions which it implements
25050 to always fail with ENOSYS. Some functions are actually named
25051 something starting with __ and the normal name is an alias. */
25052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25055 char (*f) () = $ac_func;
25064 return f != $ac_func;
25069 rm -f conftest.$ac_objext conftest$ac_exeext
25070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25071 (eval $ac_link) 2>&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } &&
25075 { ac_try='test -s conftest$ac_exeext'
25076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25077 (eval $ac_try) 2>&5
25079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25080 (exit $ac_status); }; }; then
25081 eval "$as_ac_var=yes"
25083 echo "$as_me: failed program was:" >&5
25084 sed 's/^/| /' conftest.$ac_ext >&5
25086 eval "$as_ac_var=no"
25088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25092 if test `eval echo '${'$as_ac_var'}'` = yes; then
25093 cat >>confdefs.h <<_ACEOF
25094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25103 # Checks for names injected into std:: by the c_std headers.
25150 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25151 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25152 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25153 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25154 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25155 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25158 echo "$as_me:$LINENO: checking for $ac_func" >&5
25159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25160 if eval "test \"\${$as_ac_var+set}\" = set"; then
25161 echo $ECHO_N "(cached) $ECHO_C" >&6
25163 if test x$gcc_no_link = xyes; then
25164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25166 { (exit 1); exit 1; }; }
25168 cat >conftest.$ac_ext <<_ACEOF
25169 #line $LINENO "configure"
25172 cat confdefs.h >>conftest.$ac_ext
25173 cat >>conftest.$ac_ext <<_ACEOF
25174 /* end confdefs.h. */
25175 /* System header to define __stub macros and hopefully few prototypes,
25176 which can conflict with char $ac_func (); below.
25177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25178 <limits.h> exists even on freestanding compilers. */
25180 # include <limits.h>
25182 # include <assert.h>
25184 /* Override any gcc2 internal prototype to avoid an error. */
25189 /* We use char because int might match the return type of a gcc2
25190 builtin and then its argument prototype would still apply. */
25192 /* The GNU C library defines this for functions which it implements
25193 to always fail with ENOSYS. Some functions are actually named
25194 something starting with __ and the normal name is an alias. */
25195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25198 char (*f) () = $ac_func;
25207 return f != $ac_func;
25212 rm -f conftest.$ac_objext conftest$ac_exeext
25213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25214 (eval $ac_link) 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); } &&
25218 { ac_try='test -s conftest$ac_exeext'
25219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25220 (eval $ac_try) 2>&5
25222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25223 (exit $ac_status); }; }; then
25224 eval "$as_ac_var=yes"
25226 echo "$as_me: failed program was:" >&5
25227 sed 's/^/| /' conftest.$ac_ext >&5
25229 eval "$as_ac_var=no"
25231 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25235 if test `eval echo '${'$as_ac_var'}'` = yes; then
25236 cat >>confdefs.h <<_ACEOF
25237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25246 # Checks for wide character functions that are not required
25247 # for basic wchar_t support. Don't disable support if they are missing.
25248 # Injection of these is wrapped with guard macros.
25254 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25257 echo "$as_me:$LINENO: checking for $ac_func" >&5
25258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25259 if eval "test \"\${$as_ac_var+set}\" = set"; then
25260 echo $ECHO_N "(cached) $ECHO_C" >&6
25262 if test x$gcc_no_link = xyes; then
25263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25265 { (exit 1); exit 1; }; }
25267 cat >conftest.$ac_ext <<_ACEOF
25268 #line $LINENO "configure"
25271 cat confdefs.h >>conftest.$ac_ext
25272 cat >>conftest.$ac_ext <<_ACEOF
25273 /* end confdefs.h. */
25274 /* System header to define __stub macros and hopefully few prototypes,
25275 which can conflict with char $ac_func (); below.
25276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25277 <limits.h> exists even on freestanding compilers. */
25279 # include <limits.h>
25281 # include <assert.h>
25283 /* Override any gcc2 internal prototype to avoid an error. */
25288 /* We use char because int might match the return type of a gcc2
25289 builtin and then its argument prototype would still apply. */
25291 /* The GNU C library defines this for functions which it implements
25292 to always fail with ENOSYS. Some functions are actually named
25293 something starting with __ and the normal name is an alias. */
25294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25297 char (*f) () = $ac_func;
25306 return f != $ac_func;
25311 rm -f conftest.$ac_objext conftest$ac_exeext
25312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25313 (eval $ac_link) 2>&5
25315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25316 (exit $ac_status); } &&
25317 { ac_try='test -s conftest$ac_exeext'
25318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25319 (eval $ac_try) 2>&5
25321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25322 (exit $ac_status); }; }; then
25323 eval "$as_ac_var=yes"
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25328 eval "$as_ac_var=no"
25330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25334 if test `eval echo '${'$as_ac_var'}'` = yes; then
25335 cat >>confdefs.h <<_ACEOF
25336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25343 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25344 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25345 if test x"$has_weof" = xyes &&
25346 test x"$has_wchar_minmax" = xyes &&
25347 test x"$ac_wfuncs" = xyes;
25349 ac_isoC99_wchar_t=yes
25351 ac_isoC99_wchar_t=no
25353 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25354 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25356 # Use iconv for wchar_t to char conversions. As such, check for
25357 # X/Open Portability Guide, version 2 features (XPG2).
25358 if test "${ac_cv_header_iconv_h+set}" = set; then
25359 echo "$as_me:$LINENO: checking for iconv.h" >&5
25360 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25361 if test "${ac_cv_header_iconv_h+set}" = set; then
25362 echo $ECHO_N "(cached) $ECHO_C" >&6
25364 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25365 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25367 # Is the header compilable?
25368 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25369 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25370 cat >conftest.$ac_ext <<_ACEOF
25371 #line $LINENO "configure"
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h. */
25377 $ac_includes_default
25380 rm -f conftest.$ac_objext
25381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25382 (eval $ac_compile) 2>&5
25384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25385 (exit $ac_status); } &&
25386 { ac_try='test -s conftest.$ac_objext'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; }; then
25392 ac_header_compiler=yes
25394 echo "$as_me: failed program was:" >&5
25395 sed 's/^/| /' conftest.$ac_ext >&5
25397 ac_header_compiler=no
25399 rm -f conftest.$ac_objext conftest.$ac_ext
25400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25401 echo "${ECHO_T}$ac_header_compiler" >&6
25403 # Is the header present?
25404 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25405 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25406 cat >conftest.$ac_ext <<_ACEOF
25407 #line $LINENO "configure"
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25418 grep -v '^ *+' conftest.er1 >conftest.err
25420 cat conftest.err >&5
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); } >/dev/null; then
25423 if test -s conftest.err; then
25424 ac_cpp_err=$ac_c_preproc_warn_flag
25431 if test -z "$ac_cpp_err"; then
25432 ac_header_preproc=yes
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25437 ac_header_preproc=no
25439 rm -f conftest.err conftest.$ac_ext
25440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25441 echo "${ECHO_T}$ac_header_preproc" >&6
25443 # So? What about this header?
25444 case $ac_header_compiler:$ac_header_preproc in
25446 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25447 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25448 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25449 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25452 ## ------------------------------------ ##
25453 ## Report this to bug-autoconf@gnu.org. ##
25454 ## ------------------------------------ ##
25457 sed "s/^/$as_me: WARNING: /" >&2
25460 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25461 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25462 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25463 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25464 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25465 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25468 ## ------------------------------------ ##
25469 ## Report this to bug-autoconf@gnu.org. ##
25470 ## ------------------------------------ ##
25473 sed "s/^/$as_me: WARNING: /" >&2
25476 echo "$as_me:$LINENO: checking for iconv.h" >&5
25477 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25478 if test "${ac_cv_header_iconv_h+set}" = set; then
25479 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 ac_cv_header_iconv_h=$ac_header_preproc
25483 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25484 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25487 if test $ac_cv_header_iconv_h = yes; then
25494 if test "${ac_cv_header_langinfo_h+set}" = set; then
25495 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25496 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25497 if test "${ac_cv_header_langinfo_h+set}" = set; then
25498 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25501 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25503 # Is the header compilable?
25504 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25505 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25506 cat >conftest.$ac_ext <<_ACEOF
25507 #line $LINENO "configure"
25510 cat confdefs.h >>conftest.$ac_ext
25511 cat >>conftest.$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25513 $ac_includes_default
25514 #include <langinfo.h>
25516 rm -f conftest.$ac_objext
25517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25518 (eval $ac_compile) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); } &&
25522 { ac_try='test -s conftest.$ac_objext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_header_compiler=yes
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25533 ac_header_compiler=no
25535 rm -f conftest.$ac_objext conftest.$ac_ext
25536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25537 echo "${ECHO_T}$ac_header_compiler" >&6
25539 # Is the header present?
25540 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25541 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25542 cat >conftest.$ac_ext <<_ACEOF
25543 #line $LINENO "configure"
25546 cat confdefs.h >>conftest.$ac_ext
25547 cat >>conftest.$ac_ext <<_ACEOF
25548 /* end confdefs.h. */
25549 #include <langinfo.h>
25551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25554 grep -v '^ *+' conftest.er1 >conftest.err
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } >/dev/null; then
25559 if test -s conftest.err; then
25560 ac_cpp_err=$ac_c_preproc_warn_flag
25567 if test -z "$ac_cpp_err"; then
25568 ac_header_preproc=yes
25570 echo "$as_me: failed program was:" >&5
25571 sed 's/^/| /' conftest.$ac_ext >&5
25573 ac_header_preproc=no
25575 rm -f conftest.err conftest.$ac_ext
25576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25577 echo "${ECHO_T}$ac_header_preproc" >&6
25579 # So? What about this header?
25580 case $ac_header_compiler:$ac_header_preproc in
25582 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25583 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25584 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25585 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25588 ## ------------------------------------ ##
25589 ## Report this to bug-autoconf@gnu.org. ##
25590 ## ------------------------------------ ##
25593 sed "s/^/$as_me: WARNING: /" >&2
25596 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25597 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25598 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25599 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25600 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25601 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25604 ## ------------------------------------ ##
25605 ## Report this to bug-autoconf@gnu.org. ##
25606 ## ------------------------------------ ##
25609 sed "s/^/$as_me: WARNING: /" >&2
25612 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25613 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25614 if test "${ac_cv_header_langinfo_h+set}" = set; then
25615 echo $ECHO_N "(cached) $ECHO_C" >&6
25617 ac_cv_header_langinfo_h=$ac_header_preproc
25619 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25620 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25623 if test $ac_cv_header_langinfo_h = yes; then
25624 ac_has_langinfo_h=yes
25626 ac_has_langinfo_h=no
25631 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25632 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25633 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25634 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25635 echo $ECHO_N "(cached) $ECHO_C" >&6
25637 ac_check_lib_save_LIBS=$LIBS
25638 LIBS="-liconv $LIBS"
25639 if test x$gcc_no_link = xyes; then
25640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25642 { (exit 1); exit 1; }; }
25644 cat >conftest.$ac_ext <<_ACEOF
25645 #line $LINENO "configure"
25648 cat confdefs.h >>conftest.$ac_ext
25649 cat >>conftest.$ac_ext <<_ACEOF
25650 /* end confdefs.h. */
25652 /* Override any gcc2 internal prototype to avoid an error. */
25656 /* We use char because int might match the return type of a gcc2
25657 builtin and then its argument prototype would still apply. */
25667 rm -f conftest.$ac_objext conftest$ac_exeext
25668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25669 (eval $ac_link) 2>&5
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); } &&
25673 { ac_try='test -s conftest$ac_exeext'
25674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25675 (eval $ac_try) 2>&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); }; }; then
25679 ac_cv_lib_iconv_iconv=yes
25681 echo "$as_me: failed program was:" >&5
25682 sed 's/^/| /' conftest.$ac_ext >&5
25684 ac_cv_lib_iconv_iconv=no
25686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25687 LIBS=$ac_check_lib_save_LIBS
25689 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25690 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25691 if test $ac_cv_lib_iconv_iconv = yes; then
25695 ac_save_LIBS="$LIBS"
25696 LIBS="$LIBS $libiconv"
25702 for ac_func in iconv_open iconv_close iconv nl_langinfo
25704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25705 echo "$as_me:$LINENO: checking for $ac_func" >&5
25706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25707 if eval "test \"\${$as_ac_var+set}\" = set"; then
25708 echo $ECHO_N "(cached) $ECHO_C" >&6
25710 if test x$gcc_no_link = xyes; then
25711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25713 { (exit 1); exit 1; }; }
25715 cat >conftest.$ac_ext <<_ACEOF
25716 #line $LINENO "configure"
25719 cat confdefs.h >>conftest.$ac_ext
25720 cat >>conftest.$ac_ext <<_ACEOF
25721 /* end confdefs.h. */
25722 /* System header to define __stub macros and hopefully few prototypes,
25723 which can conflict with char $ac_func (); below.
25724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25725 <limits.h> exists even on freestanding compilers. */
25727 # include <limits.h>
25729 # include <assert.h>
25731 /* Override any gcc2 internal prototype to avoid an error. */
25736 /* We use char because int might match the return type of a gcc2
25737 builtin and then its argument prototype would still apply. */
25739 /* The GNU C library defines this for functions which it implements
25740 to always fail with ENOSYS. Some functions are actually named
25741 something starting with __ and the normal name is an alias. */
25742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25745 char (*f) () = $ac_func;
25754 return f != $ac_func;
25759 rm -f conftest.$ac_objext conftest$ac_exeext
25760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25761 (eval $ac_link) 2>&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -s conftest$ac_exeext'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; }; then
25771 eval "$as_ac_var=yes"
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25776 eval "$as_ac_var=no"
25778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25782 if test `eval echo '${'$as_ac_var'}'` = yes; then
25783 cat >>confdefs.h <<_ACEOF
25784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25793 LIBS="$ac_save_LIBS"
25795 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25796 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25797 if test x"$ac_has_iconv_h" = xyes &&
25798 test x"$ac_has_langinfo_h" = xyes &&
25799 test x"$ac_XPG2funcs" = xyes;
25801 ac_XPG2_wchar_t=yes
25805 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25806 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25808 # At the moment, only enable wchar_t specializations if all the
25809 # above support is present.
25810 if test x"$ac_isoC99_wchar_t" = xyes &&
25811 test x"$ac_XPG2_wchar_t" = xyes;
25813 cat >>confdefs.h <<\_ACEOF
25814 #define _GLIBCXX_USE_WCHAR_T 1
25820 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25821 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25822 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25823 echo "${ECHO_T}$enable_wchar_t" >&6
25826 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25827 ac_save_CXXFLAGS="$CXXFLAGS"
25828 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25831 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25832 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25833 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25834 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25835 echo $ECHO_N "(cached) $ECHO_C" >&6
25841 ac_cpp='$CXXCPP $CPPFLAGS'
25842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25846 cat >conftest.$ac_ext <<_ACEOF
25847 #line $LINENO "configure"
25850 cat confdefs.h >>conftest.$ac_ext
25851 cat >>conftest.$ac_ext <<_ACEOF
25852 /* end confdefs.h. */
25853 #include <stdlib.h>
25862 rm -f conftest.$ac_objext
25863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25864 (eval $ac_compile) 2>&5
25866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25867 (exit $ac_status); } &&
25868 { ac_try='test -s conftest.$ac_objext'
25869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25870 (eval $ac_try) 2>&5
25872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25873 (exit $ac_status); }; }; then
25874 glibcxx_cv_func_strtold_use=yes
25876 echo "$as_me: failed program was:" >&5
25877 sed 's/^/| /' conftest.$ac_ext >&5
25879 glibcxx_cv_func_strtold_use=no
25881 rm -f conftest.$ac_objext conftest.$ac_ext
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25892 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25893 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25894 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25896 for ac_func in strtold
25898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25899 echo "$as_me:$LINENO: checking for $ac_func" >&5
25900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25901 if eval "test \"\${$as_ac_var+set}\" = set"; then
25902 echo $ECHO_N "(cached) $ECHO_C" >&6
25904 if test x$gcc_no_link = xyes; then
25905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25907 { (exit 1); exit 1; }; }
25909 cat >conftest.$ac_ext <<_ACEOF
25910 #line $LINENO "configure"
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 /* System header to define __stub macros and hopefully few prototypes,
25917 which can conflict with char $ac_func (); below.
25918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25919 <limits.h> exists even on freestanding compilers. */
25921 # include <limits.h>
25923 # include <assert.h>
25925 /* Override any gcc2 internal prototype to avoid an error. */
25930 /* We use char because int might match the return type of a gcc2
25931 builtin and then its argument prototype would still apply. */
25933 /* The GNU C library defines this for functions which it implements
25934 to always fail with ENOSYS. Some functions are actually named
25935 something starting with __ and the normal name is an alias. */
25936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25939 char (*f) () = $ac_func;
25948 return f != $ac_func;
25953 rm -f conftest.$ac_objext conftest$ac_exeext
25954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25955 (eval $ac_link) 2>&5
25957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25958 (exit $ac_status); } &&
25959 { ac_try='test -s conftest$ac_exeext'
25960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25961 (eval $ac_try) 2>&5
25963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25964 (exit $ac_status); }; }; then
25965 eval "$as_ac_var=yes"
25967 echo "$as_me: failed program was:" >&5
25968 sed 's/^/| /' conftest.$ac_ext >&5
25970 eval "$as_ac_var=no"
25972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25976 if test `eval echo '${'$as_ac_var'}'` = yes; then
25977 cat >>confdefs.h <<_ACEOF
25978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25987 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25988 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25990 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25991 echo $ECHO_N "(cached) $ECHO_C" >&6
25997 ac_cpp='$CXXCPP $CPPFLAGS'
25998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26002 cat >conftest.$ac_ext <<_ACEOF
26003 #line $LINENO "configure"
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009 #include <stdlib.h>
26018 rm -f conftest.$ac_objext
26019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26020 (eval $ac_compile) 2>&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } &&
26024 { ac_try='test -s conftest.$ac_objext'
26025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26026 (eval $ac_try) 2>&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); }; }; then
26030 glibcxx_cv_func_strtof_use=yes
26032 echo "$as_me: failed program was:" >&5
26033 sed 's/^/| /' conftest.$ac_ext >&5
26035 glibcxx_cv_func_strtof_use=no
26037 rm -f conftest.$ac_objext conftest.$ac_ext
26039 ac_cpp='$CPP $CPPFLAGS'
26040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26049 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26050 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26052 for ac_func in strtof
26054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26055 echo "$as_me:$LINENO: checking for $ac_func" >&5
26056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26057 if eval "test \"\${$as_ac_var+set}\" = set"; then
26058 echo $ECHO_N "(cached) $ECHO_C" >&6
26060 if test x$gcc_no_link = xyes; then
26061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26063 { (exit 1); exit 1; }; }
26065 cat >conftest.$ac_ext <<_ACEOF
26066 #line $LINENO "configure"
26069 cat confdefs.h >>conftest.$ac_ext
26070 cat >>conftest.$ac_ext <<_ACEOF
26071 /* end confdefs.h. */
26072 /* System header to define __stub macros and hopefully few prototypes,
26073 which can conflict with char $ac_func (); below.
26074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26075 <limits.h> exists even on freestanding compilers. */
26077 # include <limits.h>
26079 # include <assert.h>
26081 /* Override any gcc2 internal prototype to avoid an error. */
26086 /* We use char because int might match the return type of a gcc2
26087 builtin and then its argument prototype would still apply. */
26089 /* The GNU C library defines this for functions which it implements
26090 to always fail with ENOSYS. Some functions are actually named
26091 something starting with __ and the normal name is an alias. */
26092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26095 char (*f) () = $ac_func;
26104 return f != $ac_func;
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111 (eval $ac_link) 2>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try='test -s conftest$ac_exeext'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; }; then
26121 eval "$as_ac_var=yes"
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26126 eval "$as_ac_var=no"
26128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26132 if test `eval echo '${'$as_ac_var'}'` = yes; then
26133 cat >>confdefs.h <<_ACEOF
26134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26143 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
26144 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
26145 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
26146 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
26147 echo $ECHO_N "(cached) $ECHO_C" >&6
26153 ac_cpp='$CXXCPP $CPPFLAGS'
26154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <stdlib.h>
26174 rm -f conftest.$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>&5
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); } &&
26180 { ac_try='test -s conftest.$ac_objext'
26181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26182 (eval $ac_try) 2>&5
26184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26185 (exit $ac_status); }; }; then
26186 glibcxx_cv_func_lrand48_use=yes
26188 echo "$as_me: failed program was:" >&5
26189 sed 's/^/| /' conftest.$ac_ext >&5
26191 glibcxx_cv_func_lrand48_use=no
26193 rm -f conftest.$ac_objext conftest.$ac_ext
26195 ac_cpp='$CPP $CPPFLAGS'
26196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26204 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
26205 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
26206 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
26208 for ac_func in lrand48
26210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26211 echo "$as_me:$LINENO: checking for $ac_func" >&5
26212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26213 if eval "test \"\${$as_ac_var+set}\" = set"; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26216 if test x$gcc_no_link = xyes; then
26217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26219 { (exit 1); exit 1; }; }
26221 cat >conftest.$ac_ext <<_ACEOF
26222 #line $LINENO "configure"
26225 cat confdefs.h >>conftest.$ac_ext
26226 cat >>conftest.$ac_ext <<_ACEOF
26227 /* end confdefs.h. */
26228 /* System header to define __stub macros and hopefully few prototypes,
26229 which can conflict with char $ac_func (); below.
26230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26231 <limits.h> exists even on freestanding compilers. */
26233 # include <limits.h>
26235 # include <assert.h>
26237 /* Override any gcc2 internal prototype to avoid an error. */
26242 /* We use char because int might match the return type of a gcc2
26243 builtin and then its argument prototype would still apply. */
26245 /* The GNU C library defines this for functions which it implements
26246 to always fail with ENOSYS. Some functions are actually named
26247 something starting with __ and the normal name is an alias. */
26248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26251 char (*f) () = $ac_func;
26260 return f != $ac_func;
26265 rm -f conftest.$ac_objext conftest$ac_exeext
26266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26267 (eval $ac_link) 2>&5
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); } &&
26271 { ac_try='test -s conftest$ac_exeext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 eval "$as_ac_var=yes"
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26282 eval "$as_ac_var=no"
26284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26288 if test `eval echo '${'$as_ac_var'}'` = yes; then
26289 cat >>confdefs.h <<_ACEOF
26290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26299 CXXFLAGS="$ac_save_CXXFLAGS"
26302 # For showmanyc_helper().
26305 for ac_header in sys/ioctl.h sys/filio.h
26307 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26309 echo "$as_me:$LINENO: checking for $ac_header" >&5
26310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26312 echo $ECHO_N "(cached) $ECHO_C" >&6
26314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26317 # Is the header compilable?
26318 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26319 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26320 cat >conftest.$ac_ext <<_ACEOF
26321 #line $LINENO "configure"
26324 cat confdefs.h >>conftest.$ac_ext
26325 cat >>conftest.$ac_ext <<_ACEOF
26326 /* end confdefs.h. */
26327 $ac_includes_default
26328 #include <$ac_header>
26330 rm -f conftest.$ac_objext
26331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26332 (eval $ac_compile) 2>&5
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); } &&
26336 { ac_try='test -s conftest.$ac_objext'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; }; then
26342 ac_header_compiler=yes
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26347 ac_header_compiler=no
26349 rm -f conftest.$ac_objext conftest.$ac_ext
26350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26351 echo "${ECHO_T}$ac_header_compiler" >&6
26353 # Is the header present?
26354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26356 cat >conftest.$ac_ext <<_ACEOF
26357 #line $LINENO "configure"
26360 cat confdefs.h >>conftest.$ac_ext
26361 cat >>conftest.$ac_ext <<_ACEOF
26362 /* end confdefs.h. */
26363 #include <$ac_header>
26365 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26368 grep -v '^ *+' conftest.er1 >conftest.err
26370 cat conftest.err >&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); } >/dev/null; then
26373 if test -s conftest.err; then
26374 ac_cpp_err=$ac_c_preproc_warn_flag
26381 if test -z "$ac_cpp_err"; then
26382 ac_header_preproc=yes
26384 echo "$as_me: failed program was:" >&5
26385 sed 's/^/| /' conftest.$ac_ext >&5
26387 ac_header_preproc=no
26389 rm -f conftest.err conftest.$ac_ext
26390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26391 echo "${ECHO_T}$ac_header_preproc" >&6
26393 # So? What about this header?
26394 case $ac_header_compiler:$ac_header_preproc in
26396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26402 ## ------------------------------------ ##
26403 ## Report this to bug-autoconf@gnu.org. ##
26404 ## ------------------------------------ ##
26407 sed "s/^/$as_me: WARNING: /" >&2
26410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26418 ## ------------------------------------ ##
26419 ## Report this to bug-autoconf@gnu.org. ##
26420 ## ------------------------------------ ##
26423 sed "s/^/$as_me: WARNING: /" >&2
26426 echo "$as_me:$LINENO: checking for $ac_header" >&5
26427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26428 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26429 echo $ECHO_N "(cached) $ECHO_C" >&6
26431 eval "$as_ac_Header=$ac_header_preproc"
26433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26434 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26437 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26438 cat >>confdefs.h <<_ACEOF
26439 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26447 if test "${glibcxx_cv_POLL+set}" = set; then
26448 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 cat >conftest.$ac_ext <<_ACEOF
26452 #line $LINENO "configure"
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26462 struct pollfd pfd[1];
26463 pfd[0].events = POLLIN;
26469 rm -f conftest.$ac_objext
26470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26471 (eval $ac_compile) 2>&5
26473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26474 (exit $ac_status); } &&
26475 { ac_try='test -s conftest.$ac_objext'
26476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26477 (eval $ac_try) 2>&5
26479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26480 (exit $ac_status); }; }; then
26481 glibcxx_cv_POLL=yes
26483 echo "$as_me: failed program was:" >&5
26484 sed 's/^/| /' conftest.$ac_ext >&5
26488 rm -f conftest.$ac_objext conftest.$ac_ext
26492 if test $glibcxx_cv_POLL = yes; then
26493 cat >>confdefs.h <<\_ACEOF
26494 #define HAVE_POLL 1
26500 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26501 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 if test x$gcc_no_link = xyes; then
26505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26507 { (exit 1); exit 1; }; }
26509 cat >conftest.$ac_ext <<_ACEOF
26510 #line $LINENO "configure"
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516 #include <sys/stat.h>
26520 struct stat buffer;
26522 S_ISREG(buffer.st_mode);
26527 rm -f conftest.$ac_objext conftest$ac_exeext
26528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26529 (eval $ac_link) 2>&5
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); } &&
26533 { ac_try='test -s conftest$ac_exeext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 glibcxx_cv_S_ISREG=yes
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26544 glibcxx_cv_S_ISREG=no
26546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26550 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26554 if test x$gcc_no_link = xyes; then
26555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26557 { (exit 1); exit 1; }; }
26559 cat >conftest.$ac_ext <<_ACEOF
26560 #line $LINENO "configure"
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26566 #include <sys/stat.h>
26570 struct stat buffer;
26572 S_IFREG & buffer.st_mode;
26577 rm -f conftest.$ac_objext conftest$ac_exeext
26578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26579 (eval $ac_link) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); } &&
26583 { ac_try='test -s conftest$ac_exeext'
26584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26585 (eval $ac_try) 2>&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); }; }; then
26589 glibcxx_cv_S_IFREG=yes
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26594 glibcxx_cv_S_IFREG=no
26596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26600 if test $glibcxx_cv_S_ISREG = yes; then
26601 cat >>confdefs.h <<\_ACEOF
26602 #define HAVE_S_ISREG 1
26605 elif test $glibcxx_cv_S_IFREG = yes; then
26606 cat >>confdefs.h <<\_ACEOF
26607 #define HAVE_S_IFREG 1
26615 for ac_header in sys/uio.h
26617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26619 echo "$as_me:$LINENO: checking for $ac_header" >&5
26620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26622 echo $ECHO_N "(cached) $ECHO_C" >&6
26624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26627 # Is the header compilable?
26628 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26630 cat >conftest.$ac_ext <<_ACEOF
26631 #line $LINENO "configure"
26634 cat confdefs.h >>conftest.$ac_ext
26635 cat >>conftest.$ac_ext <<_ACEOF
26636 /* end confdefs.h. */
26637 $ac_includes_default
26638 #include <$ac_header>
26640 rm -f conftest.$ac_objext
26641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26642 (eval $ac_compile) 2>&5
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); } &&
26646 { ac_try='test -s conftest.$ac_objext'
26647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26648 (eval $ac_try) 2>&5
26650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26651 (exit $ac_status); }; }; then
26652 ac_header_compiler=yes
26654 echo "$as_me: failed program was:" >&5
26655 sed 's/^/| /' conftest.$ac_ext >&5
26657 ac_header_compiler=no
26659 rm -f conftest.$ac_objext conftest.$ac_ext
26660 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26661 echo "${ECHO_T}$ac_header_compiler" >&6
26663 # Is the header present?
26664 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26665 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26666 cat >conftest.$ac_ext <<_ACEOF
26667 #line $LINENO "configure"
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26673 #include <$ac_header>
26675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26676 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26678 grep -v '^ *+' conftest.er1 >conftest.err
26680 cat conftest.err >&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); } >/dev/null; then
26683 if test -s conftest.err; then
26684 ac_cpp_err=$ac_c_preproc_warn_flag
26691 if test -z "$ac_cpp_err"; then
26692 ac_header_preproc=yes
26694 echo "$as_me: failed program was:" >&5
26695 sed 's/^/| /' conftest.$ac_ext >&5
26697 ac_header_preproc=no
26699 rm -f conftest.err conftest.$ac_ext
26700 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26701 echo "${ECHO_T}$ac_header_preproc" >&6
26703 # So? What about this header?
26704 case $ac_header_compiler:$ac_header_preproc in
26706 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26707 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26712 ## ------------------------------------ ##
26713 ## Report this to bug-autoconf@gnu.org. ##
26714 ## ------------------------------------ ##
26717 sed "s/^/$as_me: WARNING: /" >&2
26720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26725 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26728 ## ------------------------------------ ##
26729 ## Report this to bug-autoconf@gnu.org. ##
26730 ## ------------------------------------ ##
26733 sed "s/^/$as_me: WARNING: /" >&2
26736 echo "$as_me:$LINENO: checking for $ac_header" >&5
26737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26739 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 eval "$as_ac_Header=$ac_header_preproc"
26743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26748 cat >>confdefs.h <<_ACEOF
26749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26757 if test "${glibcxx_cv_WRITEV+set}" = set; then
26758 echo $ECHO_N "(cached) $ECHO_C" >&6
26761 cat >conftest.$ac_ext <<_ACEOF
26762 #line $LINENO "configure"
26765 cat confdefs.h >>conftest.$ac_ext
26766 cat >>conftest.$ac_ext <<_ACEOF
26767 /* end confdefs.h. */
26768 #include <sys/uio.h>
26772 struct iovec iov[2];
26778 rm -f conftest.$ac_objext
26779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26780 (eval $ac_compile) 2>&5
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); } &&
26784 { ac_try='test -s conftest.$ac_objext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 glibcxx_cv_WRITEV=yes
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26795 glibcxx_cv_WRITEV=no
26797 rm -f conftest.$ac_objext conftest.$ac_ext
26801 if test $glibcxx_cv_WRITEV = yes; then
26802 cat >>confdefs.h <<\_ACEOF
26803 #define HAVE_WRITEV 1
26810 if test "${ac_cv_header_locale_h+set}" = set; then
26811 echo "$as_me:$LINENO: checking for locale.h" >&5
26812 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26813 if test "${ac_cv_header_locale_h+set}" = set; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26817 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26819 # Is the header compilable?
26820 echo "$as_me:$LINENO: checking locale.h usability" >&5
26821 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26822 cat >conftest.$ac_ext <<_ACEOF
26823 #line $LINENO "configure"
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829 $ac_includes_default
26830 #include <locale.h>
26832 rm -f conftest.$ac_objext
26833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26834 (eval $ac_compile) 2>&5
26836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26837 (exit $ac_status); } &&
26838 { ac_try='test -s conftest.$ac_objext'
26839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26840 (eval $ac_try) 2>&5
26842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26843 (exit $ac_status); }; }; then
26844 ac_header_compiler=yes
26846 echo "$as_me: failed program was:" >&5
26847 sed 's/^/| /' conftest.$ac_ext >&5
26849 ac_header_compiler=no
26851 rm -f conftest.$ac_objext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26853 echo "${ECHO_T}$ac_header_compiler" >&6
26855 # Is the header present?
26856 echo "$as_me:$LINENO: checking locale.h presence" >&5
26857 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26858 cat >conftest.$ac_ext <<_ACEOF
26859 #line $LINENO "configure"
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865 #include <locale.h>
26867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26870 grep -v '^ *+' conftest.er1 >conftest.err
26872 cat conftest.err >&5
26873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26874 (exit $ac_status); } >/dev/null; then
26875 if test -s conftest.err; then
26876 ac_cpp_err=$ac_c_preproc_warn_flag
26883 if test -z "$ac_cpp_err"; then
26884 ac_header_preproc=yes
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26889 ac_header_preproc=no
26891 rm -f conftest.err conftest.$ac_ext
26892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26893 echo "${ECHO_T}$ac_header_preproc" >&6
26895 # So? What about this header?
26896 case $ac_header_compiler:$ac_header_preproc in
26898 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26899 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26900 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26901 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26904 ## ------------------------------------ ##
26905 ## Report this to bug-autoconf@gnu.org. ##
26906 ## ------------------------------------ ##
26909 sed "s/^/$as_me: WARNING: /" >&2
26912 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26913 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26914 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26915 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26916 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26917 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26920 ## ------------------------------------ ##
26921 ## Report this to bug-autoconf@gnu.org. ##
26922 ## ------------------------------------ ##
26925 sed "s/^/$as_me: WARNING: /" >&2
26928 echo "$as_me:$LINENO: checking for locale.h" >&5
26929 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26930 if test "${ac_cv_header_locale_h+set}" = set; then
26931 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 ac_cv_header_locale_h=$ac_header_preproc
26935 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26936 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26939 if test $ac_cv_header_locale_h = yes; then
26941 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26942 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26943 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26944 echo $ECHO_N "(cached) $ECHO_C" >&6
26946 if test x$gcc_no_link = xyes; then
26947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26949 { (exit 1); exit 1; }; }
26951 cat >conftest.$ac_ext <<_ACEOF
26952 #line $LINENO "configure"
26955 cat confdefs.h >>conftest.$ac_ext
26956 cat >>conftest.$ac_ext <<_ACEOF
26957 /* end confdefs.h. */
26958 #include <locale.h>
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>&5
26971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26972 (exit $ac_status); } &&
26973 { ac_try='test -s conftest$ac_exeext'
26974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26975 (eval $ac_try) 2>&5
26977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26978 (exit $ac_status); }; }; then
26979 ac_cv_val_LC_MESSAGES=yes
26981 echo "$as_me: failed program was:" >&5
26982 sed 's/^/| /' conftest.$ac_ext >&5
26984 ac_cv_val_LC_MESSAGES=no
26986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26988 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26989 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26990 if test $ac_cv_val_LC_MESSAGES = yes; then
26991 cat >>confdefs.h <<\_ACEOF
26992 #define HAVE_LC_MESSAGES 1
27002 cat >conftest.$ac_ext <<_ACEOF
27003 #line $LINENO "configure"
27006 cat confdefs.h >>conftest.$ac_ext
27007 cat >>conftest.$ac_ext <<_ACEOF
27008 /* end confdefs.h. */
27009 #include <setjmp.h>
27014 while (! sigsetjmp (env, 1))
27015 siglongjmp (env, 1);
27021 rm -f conftest.$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023 (eval $ac_compile) 2>&5
27025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27026 (exit $ac_status); } &&
27027 { ac_try='test -s conftest.$ac_objext'
27028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27029 (eval $ac_try) 2>&5
27031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27032 (exit $ac_status); }; }; then
27034 cat >>confdefs.h <<\_ACEOF
27035 #define HAVE_SIGSETJMP 1
27039 echo "$as_me: failed program was:" >&5
27040 sed 's/^/| /' conftest.$ac_ext >&5
27043 rm -f conftest.$ac_objext conftest.$ac_ext
27045 if test x$gcc_no_link = xyes; then
27046 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27047 ac_cv_func_mmap_fixed_mapped=no
27050 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27053 for ac_header in stdlib.h unistd.h
27055 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27057 echo "$as_me:$LINENO: checking for $ac_header" >&5
27058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27059 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27060 echo $ECHO_N "(cached) $ECHO_C" >&6
27062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27065 # Is the header compilable?
27066 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27067 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27068 cat >conftest.$ac_ext <<_ACEOF
27069 #line $LINENO "configure"
27072 cat confdefs.h >>conftest.$ac_ext
27073 cat >>conftest.$ac_ext <<_ACEOF
27074 /* end confdefs.h. */
27075 $ac_includes_default
27076 #include <$ac_header>
27078 rm -f conftest.$ac_objext
27079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27080 (eval $ac_compile) 2>&5
27082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27083 (exit $ac_status); } &&
27084 { ac_try='test -s conftest.$ac_objext'
27085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27086 (eval $ac_try) 2>&5
27088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27089 (exit $ac_status); }; }; then
27090 ac_header_compiler=yes
27092 echo "$as_me: failed program was:" >&5
27093 sed 's/^/| /' conftest.$ac_ext >&5
27095 ac_header_compiler=no
27097 rm -f conftest.$ac_objext conftest.$ac_ext
27098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27099 echo "${ECHO_T}$ac_header_compiler" >&6
27101 # Is the header present?
27102 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27103 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27104 cat >conftest.$ac_ext <<_ACEOF
27105 #line $LINENO "configure"
27108 cat confdefs.h >>conftest.$ac_ext
27109 cat >>conftest.$ac_ext <<_ACEOF
27110 /* end confdefs.h. */
27111 #include <$ac_header>
27113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27116 grep -v '^ *+' conftest.er1 >conftest.err
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } >/dev/null; then
27121 if test -s conftest.err; then
27122 ac_cpp_err=$ac_c_preproc_warn_flag
27129 if test -z "$ac_cpp_err"; then
27130 ac_header_preproc=yes
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27135 ac_header_preproc=no
27137 rm -f conftest.err conftest.$ac_ext
27138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27139 echo "${ECHO_T}$ac_header_preproc" >&6
27141 # So? What about this header?
27142 case $ac_header_compiler:$ac_header_preproc in
27144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27150 ## ------------------------------------ ##
27151 ## Report this to bug-autoconf@gnu.org. ##
27152 ## ------------------------------------ ##
27155 sed "s/^/$as_me: WARNING: /" >&2
27158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27162 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27163 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27166 ## ------------------------------------ ##
27167 ## Report this to bug-autoconf@gnu.org. ##
27168 ## ------------------------------------ ##
27171 sed "s/^/$as_me: WARNING: /" >&2
27174 echo "$as_me:$LINENO: checking for $ac_header" >&5
27175 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27177 echo $ECHO_N "(cached) $ECHO_C" >&6
27179 eval "$as_ac_Header=$ac_header_preproc"
27181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27182 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27185 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27186 cat >>confdefs.h <<_ACEOF
27187 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27195 for ac_func in getpagesize
27197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27198 echo "$as_me:$LINENO: checking for $ac_func" >&5
27199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27200 if eval "test \"\${$as_ac_var+set}\" = set"; then
27201 echo $ECHO_N "(cached) $ECHO_C" >&6
27203 if test x$gcc_no_link = xyes; then
27204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27206 { (exit 1); exit 1; }; }
27208 cat >conftest.$ac_ext <<_ACEOF
27209 #line $LINENO "configure"
27212 cat confdefs.h >>conftest.$ac_ext
27213 cat >>conftest.$ac_ext <<_ACEOF
27214 /* end confdefs.h. */
27215 /* System header to define __stub macros and hopefully few prototypes,
27216 which can conflict with char $ac_func (); below.
27217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27218 <limits.h> exists even on freestanding compilers. */
27220 # include <limits.h>
27222 # include <assert.h>
27224 /* Override any gcc2 internal prototype to avoid an error. */
27229 /* We use char because int might match the return type of a gcc2
27230 builtin and then its argument prototype would still apply. */
27232 /* The GNU C library defines this for functions which it implements
27233 to always fail with ENOSYS. Some functions are actually named
27234 something starting with __ and the normal name is an alias. */
27235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27238 char (*f) () = $ac_func;
27247 return f != $ac_func;
27252 rm -f conftest.$ac_objext conftest$ac_exeext
27253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27254 (eval $ac_link) 2>&5
27256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27257 (exit $ac_status); } &&
27258 { ac_try='test -s conftest$ac_exeext'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; }; then
27264 eval "$as_ac_var=yes"
27266 echo "$as_me: failed program was:" >&5
27267 sed 's/^/| /' conftest.$ac_ext >&5
27269 eval "$as_ac_var=no"
27271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27275 if test `eval echo '${'$as_ac_var'}'` = yes; then
27276 cat >>confdefs.h <<_ACEOF
27277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27283 echo "$as_me:$LINENO: checking for working mmap" >&5
27284 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27285 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27288 if test "$cross_compiling" = yes; then
27289 ac_cv_func_mmap_fixed_mapped=no
27291 cat >conftest.$ac_ext <<_ACEOF
27292 #line $LINENO "configure"
27295 cat confdefs.h >>conftest.$ac_ext
27296 cat >>conftest.$ac_ext <<_ACEOF
27297 /* end confdefs.h. */
27298 $ac_includes_default
27299 /* malloc might have been renamed as rpl_malloc. */
27302 /* Thanks to Mike Haertel and Jim Avera for this test.
27303 Here is a matrix of mmap possibilities:
27304 mmap private not fixed
27305 mmap private fixed at somewhere currently unmapped
27306 mmap private fixed at somewhere already mapped
27307 mmap shared not fixed
27308 mmap shared fixed at somewhere currently unmapped
27309 mmap shared fixed at somewhere already mapped
27310 For private mappings, we should verify that changes cannot be read()
27311 back from the file, nor mmap's back from the file at a different
27312 address. (There have been systems where private was not correctly
27313 implemented like the infamous i386 svr4.0, and systems where the
27314 VM page cache was not coherent with the file system buffer cache
27315 like early versions of FreeBSD and possibly contemporary NetBSD.)
27316 For shared mappings, we should conversely verify that changes get
27317 propagated back to all the places they're supposed to be.
27319 Grep wants private fixed already mapped.
27320 The main things grep needs to know about mmap are:
27321 * does it exist and is it safe to write into the mmap'd area
27322 * how to use it (BSD variants) */
27325 #include <sys/mman.h>
27327 #if !STDC_HEADERS && !HAVE_STDLIB_H
27331 /* This mess was copied from the GNU getpagesize.h. */
27332 #if !HAVE_GETPAGESIZE
27333 /* Assume that all systems that can run configure have sys/param.h. */
27334 # if !HAVE_SYS_PARAM_H
27335 # define HAVE_SYS_PARAM_H 1
27338 # ifdef _SC_PAGESIZE
27339 # define getpagesize() sysconf(_SC_PAGESIZE)
27340 # else /* no _SC_PAGESIZE */
27341 # if HAVE_SYS_PARAM_H
27342 # include <sys/param.h>
27343 # ifdef EXEC_PAGESIZE
27344 # define getpagesize() EXEC_PAGESIZE
27345 # else /* no EXEC_PAGESIZE */
27347 # define getpagesize() NBPG * CLSIZE
27350 # endif /* no CLSIZE */
27351 # else /* no NBPG */
27353 # define getpagesize() NBPC
27354 # else /* no NBPC */
27356 # define getpagesize() PAGESIZE
27357 # endif /* PAGESIZE */
27358 # endif /* no NBPC */
27359 # endif /* no NBPG */
27360 # endif /* no EXEC_PAGESIZE */
27361 # else /* no HAVE_SYS_PARAM_H */
27362 # define getpagesize() 8192 /* punt totally */
27363 # endif /* no HAVE_SYS_PARAM_H */
27364 # endif /* no _SC_PAGESIZE */
27366 #endif /* no HAVE_GETPAGESIZE */
27371 char *data, *data2, *data3;
27375 pagesize = getpagesize ();
27377 /* First, make a file with some known garbage in it. */
27378 data = (char *) malloc (pagesize);
27381 for (i = 0; i < pagesize; ++i)
27382 *(data + i) = rand ();
27384 fd = creat ("conftest.mmap", 0600);
27387 if (write (fd, data, pagesize) != pagesize)
27391 /* Next, try to mmap the file at a fixed address which already has
27392 something else allocated at it. If we can, also make sure that
27393 we see the same garbage. */
27394 fd = open ("conftest.mmap", O_RDWR);
27397 data2 = (char *) malloc (2 * pagesize);
27400 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27401 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27402 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27404 for (i = 0; i < pagesize; ++i)
27405 if (*(data + i) != *(data2 + i))
27408 /* Finally, make sure that changes to the mapped area do not
27409 percolate back to the file as seen by read(). (This is a bug on
27410 some variants of i386 svr4.0.) */
27411 for (i = 0; i < pagesize; ++i)
27412 *(data2 + i) = *(data2 + i) + 1;
27413 data3 = (char *) malloc (pagesize);
27416 if (read (fd, data3, pagesize) != pagesize)
27418 for (i = 0; i < pagesize; ++i)
27419 if (*(data + i) != *(data3 + i))
27425 rm -f conftest$ac_exeext
27426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27427 (eval $ac_link) 2>&5
27429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27432 (eval $ac_try) 2>&5
27434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27435 (exit $ac_status); }; }; then
27436 ac_cv_func_mmap_fixed_mapped=yes
27438 echo "$as_me: program exited with status $ac_status" >&5
27439 echo "$as_me: failed program was:" >&5
27440 sed 's/^/| /' conftest.$ac_ext >&5
27442 ( exit $ac_status )
27443 ac_cv_func_mmap_fixed_mapped=no
27445 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27448 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27449 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27450 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27452 cat >>confdefs.h <<\_ACEOF
27453 #define HAVE_MMAP 1
27457 rm -f conftest.mmap
27463 # This lets us hard-code the functionality we know we'll have in the cross
27464 # target environment. "Let" is a sugar-coated word placed on an especially
27465 # dull and tedious hack, actually.
27467 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27468 # that involve linking, can't be used:
27469 # "cannot open sim-crt0.o"
27470 # "cannot open crt0.o"
27471 # etc. All this is because there currently exists no unified, consistent
27472 # way for top level CC information to be passed down to target directories:
27473 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27474 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27475 # crosses can be removed.
27477 # If Canadian cross, then don't pick up tools from the build directory.
27478 # Used only in GLIBCXX_EXPORT_INCLUDES.
27479 if test -n "$with_cross_host" &&
27480 test x"$build_alias" != x"$with_cross_host" &&
27481 test x"$build" != x"$target";
27488 # Construct crosses by hand, eliminating bits that need ld...
27489 # GLIBCXX_CHECK_COMPILER_FEATURES
27490 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27491 # GLIBCXX_CHECK_MATH_SUPPORT
27493 # First, test for "known" system libraries. We may be using newlib even
27494 # on a hosted environment.
27495 if test "x${with_newlib}" = "xyes"; then
27496 os_include_dir="os/newlib"
27497 cat >>confdefs.h <<\_ACEOF
27498 #define HAVE_HYPOT 1
27502 # GLIBCXX_CHECK_STDLIB_SUPPORT
27503 cat >>confdefs.h <<\_ACEOF
27504 #define HAVE_STRTOF 1
27507 cat >>confdefs.h <<\_ACEOF
27508 #define HAVE_STRTOLD 1
27512 cat >>confdefs.h <<\_ACEOF
27513 #define HAVE_MMAP 1
27517 cat >>confdefs.h <<\_ACEOF
27518 #define HAVE_ACOSF 1
27521 cat >>confdefs.h <<\_ACEOF
27522 #define HAVE_ASINF 1
27525 cat >>confdefs.h <<\_ACEOF
27526 #define HAVE_ATAN2F 1
27529 cat >>confdefs.h <<\_ACEOF
27530 #define HAVE_ATANF 1
27533 cat >>confdefs.h <<\_ACEOF
27534 #define HAVE_CEILF 1
27537 cat >>confdefs.h <<\_ACEOF
27538 #define HAVE_COPYSIGN 1
27541 cat >>confdefs.h <<\_ACEOF
27542 #define HAVE_COPYSIGNF 1
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_COSF 1
27549 cat >>confdefs.h <<\_ACEOF
27550 #define HAVE_COSHF 1
27553 cat >>confdefs.h <<\_ACEOF
27554 #define HAVE_EXPF 1
27557 cat >>confdefs.h <<\_ACEOF
27558 #define HAVE_FABSF 1
27561 cat >>confdefs.h <<\_ACEOF
27562 #define HAVE_FLOORF 1
27565 cat >>confdefs.h <<\_ACEOF
27566 #define HAVE_FMODF 1
27569 cat >>confdefs.h <<\_ACEOF
27570 #define HAVE_FREXPF 1
27573 cat >>confdefs.h <<\_ACEOF
27574 #define HAVE_LDEXPF 1
27577 cat >>confdefs.h <<\_ACEOF
27578 #define HAVE_LOG10F 1
27581 cat >>confdefs.h <<\_ACEOF
27582 #define HAVE_LOGF 1
27585 cat >>confdefs.h <<\_ACEOF
27586 #define HAVE_MODFF 1
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_POWF 1
27593 cat >>confdefs.h <<\_ACEOF
27594 #define HAVE_SINF 1
27597 cat >>confdefs.h <<\_ACEOF
27598 #define HAVE_SINHF 1
27601 cat >>confdefs.h <<\_ACEOF
27602 #define HAVE_SQRTF 1
27605 cat >>confdefs.h <<\_ACEOF
27606 #define HAVE_TANF 1
27609 cat >>confdefs.h <<\_ACEOF
27610 #define HAVE_TANHF 1
27615 # Base decisions on target environment.
27618 # Darwin versions vary, but the linker should work in a cross environment,
27619 # so we just check for all the features here.
27620 # Check for available headers.
27634 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27635 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27638 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27640 echo "$as_me:$LINENO: checking for $ac_header" >&5
27641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27643 echo $ECHO_N "(cached) $ECHO_C" >&6
27645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27646 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27648 # Is the header compilable?
27649 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27650 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27651 cat >conftest.$ac_ext <<_ACEOF
27652 #line $LINENO "configure"
27655 cat confdefs.h >>conftest.$ac_ext
27656 cat >>conftest.$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27658 $ac_includes_default
27659 #include <$ac_header>
27661 rm -f conftest.$ac_objext
27662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27663 (eval $ac_compile) 2>&5
27665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27666 (exit $ac_status); } &&
27667 { ac_try='test -s conftest.$ac_objext'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; }; then
27673 ac_header_compiler=yes
27675 echo "$as_me: failed program was:" >&5
27676 sed 's/^/| /' conftest.$ac_ext >&5
27678 ac_header_compiler=no
27680 rm -f conftest.$ac_objext conftest.$ac_ext
27681 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27682 echo "${ECHO_T}$ac_header_compiler" >&6
27684 # Is the header present?
27685 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27686 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27687 cat >conftest.$ac_ext <<_ACEOF
27688 #line $LINENO "configure"
27691 cat confdefs.h >>conftest.$ac_ext
27692 cat >>conftest.$ac_ext <<_ACEOF
27693 /* end confdefs.h. */
27694 #include <$ac_header>
27696 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27697 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27699 grep -v '^ *+' conftest.er1 >conftest.err
27701 cat conftest.err >&5
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); } >/dev/null; then
27704 if test -s conftest.err; then
27705 ac_cpp_err=$ac_c_preproc_warn_flag
27712 if test -z "$ac_cpp_err"; then
27713 ac_header_preproc=yes
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27718 ac_header_preproc=no
27720 rm -f conftest.err conftest.$ac_ext
27721 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27722 echo "${ECHO_T}$ac_header_preproc" >&6
27724 # So? What about this header?
27725 case $ac_header_compiler:$ac_header_preproc in
27727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27733 ## ------------------------------------ ##
27734 ## Report this to bug-autoconf@gnu.org. ##
27735 ## ------------------------------------ ##
27738 sed "s/^/$as_me: WARNING: /" >&2
27741 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27742 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27743 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27744 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27749 ## ------------------------------------ ##
27750 ## Report this to bug-autoconf@gnu.org. ##
27751 ## ------------------------------------ ##
27754 sed "s/^/$as_me: WARNING: /" >&2
27757 echo "$as_me:$LINENO: checking for $ac_header" >&5
27758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27759 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27760 echo $ECHO_N "(cached) $ECHO_C" >&6
27762 eval "$as_ac_Header=$ac_header_preproc"
27764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27765 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27769 cat >>confdefs.h <<_ACEOF
27770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27779 # All these tests are for C++; save the language and the compiler flags.
27780 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27781 # found in GLIBCXX_CONFIGURE.
27785 ac_cpp='$CXXCPP $CPPFLAGS'
27786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27790 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27791 ac_save_CXXFLAGS="$CXXFLAGS"
27793 # Check for maintainer-mode bits.
27794 if test x"$USE_MAINTAINER_MODE" = xno; then
27800 # Check for -ffunction-sections -fdata-sections
27801 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27802 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27803 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27804 cat >conftest.$ac_ext <<_ACEOF
27805 #line $LINENO "configure"
27808 cat confdefs.h >>conftest.$ac_ext
27809 cat >>conftest.$ac_ext <<_ACEOF
27810 /* end confdefs.h. */
27820 rm -f conftest.$ac_objext
27821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27822 (eval $ac_compile) 2>&5
27824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27825 (exit $ac_status); } &&
27826 { ac_try='test -s conftest.$ac_objext'
27827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828 (eval $ac_try) 2>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; }; then
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27839 rm -f conftest.$ac_objext conftest.$ac_ext
27840 if test "$ac_test_CXXFLAGS" = set; then
27841 CXXFLAGS="$ac_save_CXXFLAGS"
27843 # this is the suspicious part
27846 if test x"$ac_fdsections" = x"yes"; then
27847 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27849 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27850 echo "${ECHO_T}$ac_fdsections" >&6
27853 ac_cpp='$CPP $CPPFLAGS'
27854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27861 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27863 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27864 ac_save_CXXFLAGS="$CXXFLAGS"
27865 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27867 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27868 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27869 if test "${ac_cv_lib_m_sin+set}" = set; then
27870 echo $ECHO_N "(cached) $ECHO_C" >&6
27872 ac_check_lib_save_LIBS=$LIBS
27874 if test x$gcc_no_link = xyes; then
27875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27877 { (exit 1); exit 1; }; }
27879 cat >conftest.$ac_ext <<_ACEOF
27880 #line $LINENO "configure"
27883 cat confdefs.h >>conftest.$ac_ext
27884 cat >>conftest.$ac_ext <<_ACEOF
27885 /* end confdefs.h. */
27887 /* Override any gcc2 internal prototype to avoid an error. */
27891 /* We use char because int might match the return type of a gcc2
27892 builtin and then its argument prototype would still apply. */
27902 rm -f conftest.$ac_objext conftest$ac_exeext
27903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27904 (eval $ac_link) 2>&5
27906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27907 (exit $ac_status); } &&
27908 { ac_try='test -s conftest$ac_exeext'
27909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27910 (eval $ac_try) 2>&5
27912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27913 (exit $ac_status); }; }; then
27914 ac_cv_lib_m_sin=yes
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.$ac_ext >&5
27921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27922 LIBS=$ac_check_lib_save_LIBS
27924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27925 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27926 if test $ac_cv_lib_m_sin = yes; then
27930 ac_save_LIBS="$LIBS"
27935 echo "$as_me:$LINENO: checking for isinf declaration" >&5
27936 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27937 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27938 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27945 ac_cpp='$CXXCPP $CPPFLAGS'
27946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27950 cat >conftest.$ac_ext <<_ACEOF
27951 #line $LINENO "configure"
27954 cat confdefs.h >>conftest.$ac_ext
27955 cat >>conftest.$ac_ext <<_ACEOF
27956 /* end confdefs.h. */
27958 #ifdef HAVE_IEEEFP_H
27959 #include <ieeefp.h>
27970 rm -f conftest.$ac_objext
27971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27972 (eval $ac_compile) 2>&5
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); } &&
27976 { ac_try='test -s conftest.$ac_objext'
27977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27978 (eval $ac_try) 2>&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); }; }; then
27982 glibcxx_cv_func_isinf_use=yes
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27987 glibcxx_cv_func_isinf_use=no
27989 rm -f conftest.$ac_objext conftest.$ac_ext
27991 ac_cpp='$CPP $CPPFLAGS'
27992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
28001 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
28003 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28005 for ac_func in isinf
28007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28008 echo "$as_me:$LINENO: checking for $ac_func" >&5
28009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28010 if eval "test \"\${$as_ac_var+set}\" = set"; then
28011 echo $ECHO_N "(cached) $ECHO_C" >&6
28013 if test x$gcc_no_link = xyes; then
28014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28016 { (exit 1); exit 1; }; }
28018 cat >conftest.$ac_ext <<_ACEOF
28019 #line $LINENO "configure"
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025 /* System header to define __stub macros and hopefully few prototypes,
28026 which can conflict with char $ac_func (); below.
28027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28028 <limits.h> exists even on freestanding compilers. */
28030 # include <limits.h>
28032 # include <assert.h>
28034 /* Override any gcc2 internal prototype to avoid an error. */
28039 /* We use char because int might match the return type of a gcc2
28040 builtin and then its argument prototype would still apply. */
28042 /* The GNU C library defines this for functions which it implements
28043 to always fail with ENOSYS. Some functions are actually named
28044 something starting with __ and the normal name is an alias. */
28045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28048 char (*f) () = $ac_func;
28057 return f != $ac_func;
28062 rm -f conftest.$ac_objext conftest$ac_exeext
28063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28064 (eval $ac_link) 2>&5
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); } &&
28068 { ac_try='test -s conftest$ac_exeext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074 eval "$as_ac_var=yes"
28076 echo "$as_me: failed program was:" >&5
28077 sed 's/^/| /' conftest.$ac_ext >&5
28079 eval "$as_ac_var=no"
28081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28085 if test `eval echo '${'$as_ac_var'}'` = yes; then
28086 cat >>confdefs.h <<_ACEOF
28087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28095 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28096 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28097 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28098 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28099 echo $ECHO_N "(cached) $ECHO_C" >&6
28105 ac_cpp='$CXXCPP $CPPFLAGS'
28106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28110 cat >conftest.$ac_ext <<_ACEOF
28111 #line $LINENO "configure"
28114 cat confdefs.h >>conftest.$ac_ext
28115 cat >>conftest.$ac_ext <<_ACEOF
28116 /* end confdefs.h. */
28118 #ifdef HAVE_IEEEFP_H
28119 #include <ieeefp.h>
28130 rm -f conftest.$ac_objext
28131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28132 (eval $ac_compile) 2>&5
28134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28135 (exit $ac_status); } &&
28136 { ac_try='test -s conftest.$ac_objext'
28137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28138 (eval $ac_try) 2>&5
28140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28141 (exit $ac_status); }; }; then
28142 glibcxx_cv_func__isinf_use=yes
28144 echo "$as_me: failed program was:" >&5
28145 sed 's/^/| /' conftest.$ac_ext >&5
28147 glibcxx_cv_func__isinf_use=no
28149 rm -f conftest.$ac_objext conftest.$ac_ext
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28161 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28163 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28165 for ac_func in _isinf
28167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28168 echo "$as_me:$LINENO: checking for $ac_func" >&5
28169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28170 if eval "test \"\${$as_ac_var+set}\" = set"; then
28171 echo $ECHO_N "(cached) $ECHO_C" >&6
28173 if test x$gcc_no_link = xyes; then
28174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28176 { (exit 1); exit 1; }; }
28178 cat >conftest.$ac_ext <<_ACEOF
28179 #line $LINENO "configure"
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28185 /* System header to define __stub macros and hopefully few prototypes,
28186 which can conflict with char $ac_func (); below.
28187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28188 <limits.h> exists even on freestanding compilers. */
28190 # include <limits.h>
28192 # include <assert.h>
28194 /* Override any gcc2 internal prototype to avoid an error. */
28199 /* We use char because int might match the return type of a gcc2
28200 builtin and then its argument prototype would still apply. */
28202 /* The GNU C library defines this for functions which it implements
28203 to always fail with ENOSYS. Some functions are actually named
28204 something starting with __ and the normal name is an alias. */
28205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28208 char (*f) () = $ac_func;
28217 return f != $ac_func;
28222 rm -f conftest.$ac_objext conftest$ac_exeext
28223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28224 (eval $ac_link) 2>&5
28226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28227 (exit $ac_status); } &&
28228 { ac_try='test -s conftest$ac_exeext'
28229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28230 (eval $ac_try) 2>&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); }; }; then
28234 eval "$as_ac_var=yes"
28236 echo "$as_me: failed program was:" >&5
28237 sed 's/^/| /' conftest.$ac_ext >&5
28239 eval "$as_ac_var=no"
28241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28245 if test `eval echo '${'$as_ac_var'}'` = yes; then
28246 cat >>confdefs.h <<_ACEOF
28247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28258 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28259 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28260 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28261 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28262 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28273 cat >conftest.$ac_ext <<_ACEOF
28274 #line $LINENO "configure"
28277 cat confdefs.h >>conftest.$ac_ext
28278 cat >>conftest.$ac_ext <<_ACEOF
28279 /* end confdefs.h. */
28281 #ifdef HAVE_IEEEFP_H
28282 #include <ieeefp.h>
28293 rm -f conftest.$ac_objext
28294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28295 (eval $ac_compile) 2>&5
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); } &&
28299 { ac_try='test -s conftest.$ac_objext'
28300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28301 (eval $ac_try) 2>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); }; }; then
28305 glibcxx_cv_func_isnan_use=yes
28307 echo "$as_me: failed program was:" >&5
28308 sed 's/^/| /' conftest.$ac_ext >&5
28310 glibcxx_cv_func_isnan_use=no
28312 rm -f conftest.$ac_objext conftest.$ac_ext
28314 ac_cpp='$CPP $CPPFLAGS'
28315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28324 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28326 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28328 for ac_func in isnan
28330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28331 echo "$as_me:$LINENO: checking for $ac_func" >&5
28332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28333 if eval "test \"\${$as_ac_var+set}\" = set"; then
28334 echo $ECHO_N "(cached) $ECHO_C" >&6
28336 if test x$gcc_no_link = xyes; then
28337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28339 { (exit 1); exit 1; }; }
28341 cat >conftest.$ac_ext <<_ACEOF
28342 #line $LINENO "configure"
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348 /* System header to define __stub macros and hopefully few prototypes,
28349 which can conflict with char $ac_func (); below.
28350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28351 <limits.h> exists even on freestanding compilers. */
28353 # include <limits.h>
28355 # include <assert.h>
28357 /* Override any gcc2 internal prototype to avoid an error. */
28362 /* We use char because int might match the return type of a gcc2
28363 builtin and then its argument prototype would still apply. */
28365 /* The GNU C library defines this for functions which it implements
28366 to always fail with ENOSYS. Some functions are actually named
28367 something starting with __ and the normal name is an alias. */
28368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28371 char (*f) () = $ac_func;
28380 return f != $ac_func;
28385 rm -f conftest.$ac_objext conftest$ac_exeext
28386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28387 (eval $ac_link) 2>&5
28389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28390 (exit $ac_status); } &&
28391 { ac_try='test -s conftest$ac_exeext'
28392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28393 (eval $ac_try) 2>&5
28395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28396 (exit $ac_status); }; }; then
28397 eval "$as_ac_var=yes"
28399 echo "$as_me: failed program was:" >&5
28400 sed 's/^/| /' conftest.$ac_ext >&5
28402 eval "$as_ac_var=no"
28404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28408 if test `eval echo '${'$as_ac_var'}'` = yes; then
28409 cat >>confdefs.h <<_ACEOF
28410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28418 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28419 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28420 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28421 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28422 echo $ECHO_N "(cached) $ECHO_C" >&6
28428 ac_cpp='$CXXCPP $CPPFLAGS'
28429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28433 cat >conftest.$ac_ext <<_ACEOF
28434 #line $LINENO "configure"
28437 cat confdefs.h >>conftest.$ac_ext
28438 cat >>conftest.$ac_ext <<_ACEOF
28439 /* end confdefs.h. */
28441 #ifdef HAVE_IEEEFP_H
28442 #include <ieeefp.h>
28453 rm -f conftest.$ac_objext
28454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28455 (eval $ac_compile) 2>&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try='test -s conftest.$ac_objext'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; }; then
28465 glibcxx_cv_func__isnan_use=yes
28467 echo "$as_me: failed program was:" >&5
28468 sed 's/^/| /' conftest.$ac_ext >&5
28470 glibcxx_cv_func__isnan_use=no
28472 rm -f conftest.$ac_objext conftest.$ac_ext
28474 ac_cpp='$CPP $CPPFLAGS'
28475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28483 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28484 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28486 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28488 for ac_func in _isnan
28490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28491 echo "$as_me:$LINENO: checking for $ac_func" >&5
28492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28493 if eval "test \"\${$as_ac_var+set}\" = set"; then
28494 echo $ECHO_N "(cached) $ECHO_C" >&6
28496 if test x$gcc_no_link = xyes; then
28497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28499 { (exit 1); exit 1; }; }
28501 cat >conftest.$ac_ext <<_ACEOF
28502 #line $LINENO "configure"
28505 cat confdefs.h >>conftest.$ac_ext
28506 cat >>conftest.$ac_ext <<_ACEOF
28507 /* end confdefs.h. */
28508 /* System header to define __stub macros and hopefully few prototypes,
28509 which can conflict with char $ac_func (); below.
28510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28511 <limits.h> exists even on freestanding compilers. */
28513 # include <limits.h>
28515 # include <assert.h>
28517 /* Override any gcc2 internal prototype to avoid an error. */
28522 /* We use char because int might match the return type of a gcc2
28523 builtin and then its argument prototype would still apply. */
28525 /* The GNU C library defines this for functions which it implements
28526 to always fail with ENOSYS. Some functions are actually named
28527 something starting with __ and the normal name is an alias. */
28528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28531 char (*f) () = $ac_func;
28540 return f != $ac_func;
28545 rm -f conftest.$ac_objext conftest$ac_exeext
28546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28547 (eval $ac_link) 2>&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } &&
28551 { ac_try='test -s conftest$ac_exeext'
28552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28553 (eval $ac_try) 2>&5
28555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28556 (exit $ac_status); }; }; then
28557 eval "$as_ac_var=yes"
28559 echo "$as_me: failed program was:" >&5
28560 sed 's/^/| /' conftest.$ac_ext >&5
28562 eval "$as_ac_var=no"
28564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28568 if test `eval echo '${'$as_ac_var'}'` = yes; then
28569 cat >>confdefs.h <<_ACEOF
28570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28581 echo "$as_me:$LINENO: checking for finite declaration" >&5
28582 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28583 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28584 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28585 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 ac_cpp='$CXXCPP $CPPFLAGS'
28592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28596 cat >conftest.$ac_ext <<_ACEOF
28597 #line $LINENO "configure"
28600 cat confdefs.h >>conftest.$ac_ext
28601 cat >>conftest.$ac_ext <<_ACEOF
28602 /* end confdefs.h. */
28604 #ifdef HAVE_IEEEFP_H
28605 #include <ieeefp.h>
28616 rm -f conftest.$ac_objext
28617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28618 (eval $ac_compile) 2>&5
28620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28621 (exit $ac_status); } &&
28622 { ac_try='test -s conftest.$ac_objext'
28623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28624 (eval $ac_try) 2>&5
28626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28627 (exit $ac_status); }; }; then
28628 glibcxx_cv_func_finite_use=yes
28630 echo "$as_me: failed program was:" >&5
28631 sed 's/^/| /' conftest.$ac_ext >&5
28633 glibcxx_cv_func_finite_use=no
28635 rm -f conftest.$ac_objext conftest.$ac_ext
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28646 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28647 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28649 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28651 for ac_func in finite
28653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28654 echo "$as_me:$LINENO: checking for $ac_func" >&5
28655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28656 if eval "test \"\${$as_ac_var+set}\" = set"; then
28657 echo $ECHO_N "(cached) $ECHO_C" >&6
28659 if test x$gcc_no_link = xyes; then
28660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28662 { (exit 1); exit 1; }; }
28664 cat >conftest.$ac_ext <<_ACEOF
28665 #line $LINENO "configure"
28668 cat confdefs.h >>conftest.$ac_ext
28669 cat >>conftest.$ac_ext <<_ACEOF
28670 /* end confdefs.h. */
28671 /* System header to define __stub macros and hopefully few prototypes,
28672 which can conflict with char $ac_func (); below.
28673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28674 <limits.h> exists even on freestanding compilers. */
28676 # include <limits.h>
28678 # include <assert.h>
28680 /* Override any gcc2 internal prototype to avoid an error. */
28685 /* We use char because int might match the return type of a gcc2
28686 builtin and then its argument prototype would still apply. */
28688 /* The GNU C library defines this for functions which it implements
28689 to always fail with ENOSYS. Some functions are actually named
28690 something starting with __ and the normal name is an alias. */
28691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28694 char (*f) () = $ac_func;
28703 return f != $ac_func;
28708 rm -f conftest.$ac_objext conftest$ac_exeext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28710 (eval $ac_link) 2>&5
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); } &&
28714 { ac_try='test -s conftest$ac_exeext'
28715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28716 (eval $ac_try) 2>&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); }; }; then
28720 eval "$as_ac_var=yes"
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28725 eval "$as_ac_var=no"
28727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28731 if test `eval echo '${'$as_ac_var'}'` = yes; then
28732 cat >>confdefs.h <<_ACEOF
28733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28741 echo "$as_me:$LINENO: checking for _finite declaration" >&5
28742 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28743 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28744 if test "${glibcxx_cv_func__finite_use+set}" = set; then
28745 echo $ECHO_N "(cached) $ECHO_C" >&6
28751 ac_cpp='$CXXCPP $CPPFLAGS'
28752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28756 cat >conftest.$ac_ext <<_ACEOF
28757 #line $LINENO "configure"
28760 cat confdefs.h >>conftest.$ac_ext
28761 cat >>conftest.$ac_ext <<_ACEOF
28762 /* end confdefs.h. */
28764 #ifdef HAVE_IEEEFP_H
28765 #include <ieeefp.h>
28776 rm -f conftest.$ac_objext
28777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28778 (eval $ac_compile) 2>&5
28780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28781 (exit $ac_status); } &&
28782 { ac_try='test -s conftest.$ac_objext'
28783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28784 (eval $ac_try) 2>&5
28786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28787 (exit $ac_status); }; }; then
28788 glibcxx_cv_func__finite_use=yes
28790 echo "$as_me: failed program was:" >&5
28791 sed 's/^/| /' conftest.$ac_ext >&5
28793 glibcxx_cv_func__finite_use=no
28795 rm -f conftest.$ac_objext conftest.$ac_ext
28797 ac_cpp='$CPP $CPPFLAGS'
28798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28807 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28809 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28811 for ac_func in _finite
28813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28814 echo "$as_me:$LINENO: checking for $ac_func" >&5
28815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28816 if eval "test \"\${$as_ac_var+set}\" = set"; then
28817 echo $ECHO_N "(cached) $ECHO_C" >&6
28819 if test x$gcc_no_link = xyes; then
28820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28822 { (exit 1); exit 1; }; }
28824 cat >conftest.$ac_ext <<_ACEOF
28825 #line $LINENO "configure"
28828 cat confdefs.h >>conftest.$ac_ext
28829 cat >>conftest.$ac_ext <<_ACEOF
28830 /* end confdefs.h. */
28831 /* System header to define __stub macros and hopefully few prototypes,
28832 which can conflict with char $ac_func (); below.
28833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28834 <limits.h> exists even on freestanding compilers. */
28836 # include <limits.h>
28838 # include <assert.h>
28840 /* Override any gcc2 internal prototype to avoid an error. */
28845 /* We use char because int might match the return type of a gcc2
28846 builtin and then its argument prototype would still apply. */
28848 /* The GNU C library defines this for functions which it implements
28849 to always fail with ENOSYS. Some functions are actually named
28850 something starting with __ and the normal name is an alias. */
28851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28854 char (*f) () = $ac_func;
28863 return f != $ac_func;
28868 rm -f conftest.$ac_objext conftest$ac_exeext
28869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28870 (eval $ac_link) 2>&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } &&
28874 { ac_try='test -s conftest$ac_exeext'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; }; then
28880 eval "$as_ac_var=yes"
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28885 eval "$as_ac_var=no"
28887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28891 if test `eval echo '${'$as_ac_var'}'` = yes; then
28892 cat >>confdefs.h <<_ACEOF
28893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28904 echo "$as_me:$LINENO: checking for copysign declaration" >&5
28905 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28906 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28907 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28908 echo $ECHO_N "(cached) $ECHO_C" >&6
28914 ac_cpp='$CXXCPP $CPPFLAGS'
28915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28919 cat >conftest.$ac_ext <<_ACEOF
28920 #line $LINENO "configure"
28923 cat confdefs.h >>conftest.$ac_ext
28924 cat >>conftest.$ac_ext <<_ACEOF
28925 /* end confdefs.h. */
28935 rm -f conftest.$ac_objext
28936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28937 (eval $ac_compile) 2>&5
28939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28940 (exit $ac_status); } &&
28941 { ac_try='test -s conftest.$ac_objext'
28942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28943 (eval $ac_try) 2>&5
28945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28946 (exit $ac_status); }; }; then
28947 glibcxx_cv_func_copysign_use=yes
28949 echo "$as_me: failed program was:" >&5
28950 sed 's/^/| /' conftest.$ac_ext >&5
28952 glibcxx_cv_func_copysign_use=no
28954 rm -f conftest.$ac_objext conftest.$ac_ext
28956 ac_cpp='$CPP $CPPFLAGS'
28957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28966 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28968 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28970 for ac_func in copysign
28972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28973 echo "$as_me:$LINENO: checking for $ac_func" >&5
28974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28975 if eval "test \"\${$as_ac_var+set}\" = set"; then
28976 echo $ECHO_N "(cached) $ECHO_C" >&6
28978 if test x$gcc_no_link = xyes; then
28979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28981 { (exit 1); exit 1; }; }
28983 cat >conftest.$ac_ext <<_ACEOF
28984 #line $LINENO "configure"
28987 cat confdefs.h >>conftest.$ac_ext
28988 cat >>conftest.$ac_ext <<_ACEOF
28989 /* end confdefs.h. */
28990 /* System header to define __stub macros and hopefully few prototypes,
28991 which can conflict with char $ac_func (); below.
28992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28993 <limits.h> exists even on freestanding compilers. */
28995 # include <limits.h>
28997 # include <assert.h>
28999 /* Override any gcc2 internal prototype to avoid an error. */
29004 /* We use char because int might match the return type of a gcc2
29005 builtin and then its argument prototype would still apply. */
29007 /* The GNU C library defines this for functions which it implements
29008 to always fail with ENOSYS. Some functions are actually named
29009 something starting with __ and the normal name is an alias. */
29010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29013 char (*f) () = $ac_func;
29022 return f != $ac_func;
29027 rm -f conftest.$ac_objext conftest$ac_exeext
29028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29029 (eval $ac_link) 2>&5
29031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29032 (exit $ac_status); } &&
29033 { ac_try='test -s conftest$ac_exeext'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; }; then
29039 eval "$as_ac_var=yes"
29041 echo "$as_me: failed program was:" >&5
29042 sed 's/^/| /' conftest.$ac_ext >&5
29044 eval "$as_ac_var=no"
29046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29050 if test `eval echo '${'$as_ac_var'}'` = yes; then
29051 cat >>confdefs.h <<_ACEOF
29052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29060 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29061 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29062 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29063 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
29064 echo $ECHO_N "(cached) $ECHO_C" >&6
29070 ac_cpp='$CXXCPP $CPPFLAGS'
29071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29075 cat >conftest.$ac_ext <<_ACEOF
29076 #line $LINENO "configure"
29079 cat confdefs.h >>conftest.$ac_ext
29080 cat >>conftest.$ac_ext <<_ACEOF
29081 /* end confdefs.h. */
29091 rm -f conftest.$ac_objext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29093 (eval $ac_compile) 2>&5
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); } &&
29097 { ac_try='test -s conftest.$ac_objext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 glibcxx_cv_func__copysign_use=yes
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.$ac_ext >&5
29108 glibcxx_cv_func__copysign_use=no
29110 rm -f conftest.$ac_objext conftest.$ac_ext
29112 ac_cpp='$CPP $CPPFLAGS'
29113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29121 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29122 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29124 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29126 for ac_func in _copysign
29128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29129 echo "$as_me:$LINENO: checking for $ac_func" >&5
29130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29131 if eval "test \"\${$as_ac_var+set}\" = set"; then
29132 echo $ECHO_N "(cached) $ECHO_C" >&6
29134 if test x$gcc_no_link = xyes; then
29135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29137 { (exit 1); exit 1; }; }
29139 cat >conftest.$ac_ext <<_ACEOF
29140 #line $LINENO "configure"
29143 cat confdefs.h >>conftest.$ac_ext
29144 cat >>conftest.$ac_ext <<_ACEOF
29145 /* end confdefs.h. */
29146 /* System header to define __stub macros and hopefully few prototypes,
29147 which can conflict with char $ac_func (); below.
29148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29149 <limits.h> exists even on freestanding compilers. */
29151 # include <limits.h>
29153 # include <assert.h>
29155 /* Override any gcc2 internal prototype to avoid an error. */
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29163 /* The GNU C library defines this for functions which it implements
29164 to always fail with ENOSYS. Some functions are actually named
29165 something starting with __ and the normal name is an alias. */
29166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29169 char (*f) () = $ac_func;
29178 return f != $ac_func;
29183 rm -f conftest.$ac_objext conftest$ac_exeext
29184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29185 (eval $ac_link) 2>&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); } &&
29189 { ac_try='test -s conftest$ac_exeext'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; }; then
29195 eval "$as_ac_var=yes"
29197 echo "$as_me: failed program was:" >&5
29198 sed 's/^/| /' conftest.$ac_ext >&5
29200 eval "$as_ac_var=no"
29202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29206 if test `eval echo '${'$as_ac_var'}'` = yes; then
29207 cat >>confdefs.h <<_ACEOF
29208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29219 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29220 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29221 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29222 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29223 echo $ECHO_N "(cached) $ECHO_C" >&6
29229 ac_cpp='$CXXCPP $CPPFLAGS'
29230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29234 cat >conftest.$ac_ext <<_ACEOF
29235 #line $LINENO "configure"
29238 cat confdefs.h >>conftest.$ac_ext
29239 cat >>conftest.$ac_ext <<_ACEOF
29240 /* end confdefs.h. */
29250 rm -f conftest.$ac_objext
29251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29252 (eval $ac_compile) 2>&5
29254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29255 (exit $ac_status); } &&
29256 { ac_try='test -s conftest.$ac_objext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29262 glibcxx_cv_func_sincos_use=yes
29264 echo "$as_me: failed program was:" >&5
29265 sed 's/^/| /' conftest.$ac_ext >&5
29267 glibcxx_cv_func_sincos_use=no
29269 rm -f conftest.$ac_objext conftest.$ac_ext
29271 ac_cpp='$CPP $CPPFLAGS'
29272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29281 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29283 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29285 for ac_func in sincos
29287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29288 echo "$as_me:$LINENO: checking for $ac_func" >&5
29289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29290 if eval "test \"\${$as_ac_var+set}\" = set"; then
29291 echo $ECHO_N "(cached) $ECHO_C" >&6
29293 if test x$gcc_no_link = xyes; then
29294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29296 { (exit 1); exit 1; }; }
29298 cat >conftest.$ac_ext <<_ACEOF
29299 #line $LINENO "configure"
29302 cat confdefs.h >>conftest.$ac_ext
29303 cat >>conftest.$ac_ext <<_ACEOF
29304 /* end confdefs.h. */
29305 /* System header to define __stub macros and hopefully few prototypes,
29306 which can conflict with char $ac_func (); below.
29307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29308 <limits.h> exists even on freestanding compilers. */
29310 # include <limits.h>
29312 # include <assert.h>
29314 /* Override any gcc2 internal prototype to avoid an error. */
29319 /* We use char because int might match the return type of a gcc2
29320 builtin and then its argument prototype would still apply. */
29322 /* The GNU C library defines this for functions which it implements
29323 to always fail with ENOSYS. Some functions are actually named
29324 something starting with __ and the normal name is an alias. */
29325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29328 char (*f) () = $ac_func;
29337 return f != $ac_func;
29342 rm -f conftest.$ac_objext conftest$ac_exeext
29343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29344 (eval $ac_link) 2>&5
29346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29347 (exit $ac_status); } &&
29348 { ac_try='test -s conftest$ac_exeext'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; }; then
29354 eval "$as_ac_var=yes"
29356 echo "$as_me: failed program was:" >&5
29357 sed 's/^/| /' conftest.$ac_ext >&5
29359 eval "$as_ac_var=no"
29361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29365 if test `eval echo '${'$as_ac_var'}'` = yes; then
29366 cat >>confdefs.h <<_ACEOF
29367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29375 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29376 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29377 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29378 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat >conftest.$ac_ext <<_ACEOF
29391 #line $LINENO "configure"
29394 cat confdefs.h >>conftest.$ac_ext
29395 cat >>conftest.$ac_ext <<_ACEOF
29396 /* end confdefs.h. */
29406 rm -f conftest.$ac_objext
29407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29408 (eval $ac_compile) 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); } &&
29412 { ac_try='test -s conftest.$ac_objext'
29413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29414 (eval $ac_try) 2>&5
29416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29417 (exit $ac_status); }; }; then
29418 glibcxx_cv_func__sincos_use=yes
29420 echo "$as_me: failed program was:" >&5
29421 sed 's/^/| /' conftest.$ac_ext >&5
29423 glibcxx_cv_func__sincos_use=no
29425 rm -f conftest.$ac_objext conftest.$ac_ext
29427 ac_cpp='$CPP $CPPFLAGS'
29428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29437 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29439 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29441 for ac_func in _sincos
29443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29444 echo "$as_me:$LINENO: checking for $ac_func" >&5
29445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29446 if eval "test \"\${$as_ac_var+set}\" = set"; then
29447 echo $ECHO_N "(cached) $ECHO_C" >&6
29449 if test x$gcc_no_link = xyes; then
29450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29452 { (exit 1); exit 1; }; }
29454 cat >conftest.$ac_ext <<_ACEOF
29455 #line $LINENO "configure"
29458 cat confdefs.h >>conftest.$ac_ext
29459 cat >>conftest.$ac_ext <<_ACEOF
29460 /* end confdefs.h. */
29461 /* System header to define __stub macros and hopefully few prototypes,
29462 which can conflict with char $ac_func (); below.
29463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29464 <limits.h> exists even on freestanding compilers. */
29466 # include <limits.h>
29468 # include <assert.h>
29470 /* Override any gcc2 internal prototype to avoid an error. */
29475 /* We use char because int might match the return type of a gcc2
29476 builtin and then its argument prototype would still apply. */
29478 /* The GNU C library defines this for functions which it implements
29479 to always fail with ENOSYS. Some functions are actually named
29480 something starting with __ and the normal name is an alias. */
29481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29484 char (*f) () = $ac_func;
29493 return f != $ac_func;
29498 rm -f conftest.$ac_objext conftest$ac_exeext
29499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29500 (eval $ac_link) 2>&5
29502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29503 (exit $ac_status); } &&
29504 { ac_try='test -s conftest$ac_exeext'
29505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29506 (eval $ac_try) 2>&5
29508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29509 (exit $ac_status); }; }; then
29510 eval "$as_ac_var=yes"
29512 echo "$as_me: failed program was:" >&5
29513 sed 's/^/| /' conftest.$ac_ext >&5
29515 eval "$as_ac_var=no"
29517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29521 if test `eval echo '${'$as_ac_var'}'` = yes; then
29522 cat >>confdefs.h <<_ACEOF
29523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29534 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29535 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29536 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29537 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29544 ac_cpp='$CXXCPP $CPPFLAGS'
29545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29549 cat >conftest.$ac_ext <<_ACEOF
29550 #line $LINENO "configure"
29553 cat confdefs.h >>conftest.$ac_ext
29554 cat >>conftest.$ac_ext <<_ACEOF
29555 /* end confdefs.h. */
29557 #ifdef HAVE_IEEEFP_H
29558 #include <ieeefp.h>
29569 rm -f conftest.$ac_objext
29570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29571 (eval $ac_compile) 2>&5
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); } &&
29575 { ac_try='test -s conftest.$ac_objext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 glibcxx_cv_func_fpclass_use=yes
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29586 glibcxx_cv_func_fpclass_use=no
29588 rm -f conftest.$ac_objext conftest.$ac_ext
29590 ac_cpp='$CPP $CPPFLAGS'
29591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29600 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29602 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29604 for ac_func in fpclass
29606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29607 echo "$as_me:$LINENO: checking for $ac_func" >&5
29608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29609 if eval "test \"\${$as_ac_var+set}\" = set"; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 if test x$gcc_no_link = xyes; then
29613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29615 { (exit 1); exit 1; }; }
29617 cat >conftest.$ac_ext <<_ACEOF
29618 #line $LINENO "configure"
29621 cat confdefs.h >>conftest.$ac_ext
29622 cat >>conftest.$ac_ext <<_ACEOF
29623 /* end confdefs.h. */
29624 /* System header to define __stub macros and hopefully few prototypes,
29625 which can conflict with char $ac_func (); below.
29626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29627 <limits.h> exists even on freestanding compilers. */
29629 # include <limits.h>
29631 # include <assert.h>
29633 /* Override any gcc2 internal prototype to avoid an error. */
29638 /* We use char because int might match the return type of a gcc2
29639 builtin and then its argument prototype would still apply. */
29641 /* The GNU C library defines this for functions which it implements
29642 to always fail with ENOSYS. Some functions are actually named
29643 something starting with __ and the normal name is an alias. */
29644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29647 char (*f) () = $ac_func;
29656 return f != $ac_func;
29661 rm -f conftest.$ac_objext conftest$ac_exeext
29662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29663 (eval $ac_link) 2>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); } &&
29667 { ac_try='test -s conftest$ac_exeext'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 eval "$as_ac_var=yes"
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 eval "$as_ac_var=no"
29680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29684 if test `eval echo '${'$as_ac_var'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29694 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29695 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29696 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29697 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29698 echo $ECHO_N "(cached) $ECHO_C" >&6
29704 ac_cpp='$CXXCPP $CPPFLAGS'
29705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29709 cat >conftest.$ac_ext <<_ACEOF
29710 #line $LINENO "configure"
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29717 #ifdef HAVE_IEEEFP_H
29718 #include <ieeefp.h>
29729 rm -f conftest.$ac_objext
29730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29731 (eval $ac_compile) 2>&5
29733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29734 (exit $ac_status); } &&
29735 { ac_try='test -s conftest.$ac_objext'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; }; then
29741 glibcxx_cv_func__fpclass_use=yes
29743 echo "$as_me: failed program was:" >&5
29744 sed 's/^/| /' conftest.$ac_ext >&5
29746 glibcxx_cv_func__fpclass_use=no
29748 rm -f conftest.$ac_objext conftest.$ac_ext
29750 ac_cpp='$CPP $CPPFLAGS'
29751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29759 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29760 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29764 for ac_func in _fpclass
29766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29767 echo "$as_me:$LINENO: checking for $ac_func" >&5
29768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29769 if eval "test \"\${$as_ac_var+set}\" = set"; then
29770 echo $ECHO_N "(cached) $ECHO_C" >&6
29772 if test x$gcc_no_link = xyes; then
29773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29775 { (exit 1); exit 1; }; }
29777 cat >conftest.$ac_ext <<_ACEOF
29778 #line $LINENO "configure"
29781 cat confdefs.h >>conftest.$ac_ext
29782 cat >>conftest.$ac_ext <<_ACEOF
29783 /* end confdefs.h. */
29784 /* System header to define __stub macros and hopefully few prototypes,
29785 which can conflict with char $ac_func (); below.
29786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29787 <limits.h> exists even on freestanding compilers. */
29789 # include <limits.h>
29791 # include <assert.h>
29793 /* Override any gcc2 internal prototype to avoid an error. */
29798 /* We use char because int might match the return type of a gcc2
29799 builtin and then its argument prototype would still apply. */
29801 /* The GNU C library defines this for functions which it implements
29802 to always fail with ENOSYS. Some functions are actually named
29803 something starting with __ and the normal name is an alias. */
29804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29807 char (*f) () = $ac_func;
29816 return f != $ac_func;
29821 rm -f conftest.$ac_objext conftest$ac_exeext
29822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29823 (eval $ac_link) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try='test -s conftest$ac_exeext'
29828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29829 (eval $ac_try) 2>&5
29831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29832 (exit $ac_status); }; }; then
29833 eval "$as_ac_var=yes"
29835 echo "$as_me: failed program was:" >&5
29836 sed 's/^/| /' conftest.$ac_ext >&5
29838 eval "$as_ac_var=no"
29840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29844 if test `eval echo '${'$as_ac_var'}'` = yes; then
29845 cat >>confdefs.h <<_ACEOF
29846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29857 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29858 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29859 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29860 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29861 echo $ECHO_N "(cached) $ECHO_C" >&6
29867 ac_cpp='$CXXCPP $CPPFLAGS'
29868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29872 cat >conftest.$ac_ext <<_ACEOF
29873 #line $LINENO "configure"
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29880 #ifdef HAVE_IEEEFP_H
29881 #include <ieeefp.h>
29892 rm -f conftest.$ac_objext
29893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29894 (eval $ac_compile) 2>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); } &&
29898 { ac_try='test -s conftest.$ac_objext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 glibcxx_cv_func_qfpclass_use=yes
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 glibcxx_cv_func_qfpclass_use=no
29911 rm -f conftest.$ac_objext conftest.$ac_ext
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29923 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29925 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29927 for ac_func in qfpclass
29929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29930 echo "$as_me:$LINENO: checking for $ac_func" >&5
29931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29932 if eval "test \"\${$as_ac_var+set}\" = set"; then
29933 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 if test x$gcc_no_link = xyes; then
29936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29938 { (exit 1); exit 1; }; }
29940 cat >conftest.$ac_ext <<_ACEOF
29941 #line $LINENO "configure"
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947 /* System header to define __stub macros and hopefully few prototypes,
29948 which can conflict with char $ac_func (); below.
29949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29950 <limits.h> exists even on freestanding compilers. */
29952 # include <limits.h>
29954 # include <assert.h>
29956 /* Override any gcc2 internal prototype to avoid an error. */
29961 /* We use char because int might match the return type of a gcc2
29962 builtin and then its argument prototype would still apply. */
29964 /* The GNU C library defines this for functions which it implements
29965 to always fail with ENOSYS. Some functions are actually named
29966 something starting with __ and the normal name is an alias. */
29967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29970 char (*f) () = $ac_func;
29979 return f != $ac_func;
29984 rm -f conftest.$ac_objext conftest$ac_exeext
29985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29986 (eval $ac_link) 2>&5
29988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29989 (exit $ac_status); } &&
29990 { ac_try='test -s conftest$ac_exeext'
29991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29992 (eval $ac_try) 2>&5
29994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29995 (exit $ac_status); }; }; then
29996 eval "$as_ac_var=yes"
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.$ac_ext >&5
30001 eval "$as_ac_var=no"
30003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30007 if test `eval echo '${'$as_ac_var'}'` = yes; then
30008 cat >>confdefs.h <<_ACEOF
30009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30017 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
30018 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
30019 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30020 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
30021 echo $ECHO_N "(cached) $ECHO_C" >&6
30027 ac_cpp='$CXXCPP $CPPFLAGS'
30028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032 cat >conftest.$ac_ext <<_ACEOF
30033 #line $LINENO "configure"
30036 cat confdefs.h >>conftest.$ac_ext
30037 cat >>conftest.$ac_ext <<_ACEOF
30038 /* end confdefs.h. */
30040 #ifdef HAVE_IEEEFP_H
30041 #include <ieeefp.h>
30052 rm -f conftest.$ac_objext
30053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30054 (eval $ac_compile) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } &&
30058 { ac_try='test -s conftest.$ac_objext'
30059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30060 (eval $ac_try) 2>&5
30062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30063 (exit $ac_status); }; }; then
30064 glibcxx_cv_func__qfpclass_use=yes
30066 echo "$as_me: failed program was:" >&5
30067 sed 's/^/| /' conftest.$ac_ext >&5
30069 glibcxx_cv_func__qfpclass_use=no
30071 rm -f conftest.$ac_objext conftest.$ac_ext
30073 ac_cpp='$CPP $CPPFLAGS'
30074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
30083 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
30085 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30087 for ac_func in _qfpclass
30089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30090 echo "$as_me:$LINENO: checking for $ac_func" >&5
30091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30092 if eval "test \"\${$as_ac_var+set}\" = set"; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 if test x$gcc_no_link = xyes; then
30096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30098 { (exit 1); exit 1; }; }
30100 cat >conftest.$ac_ext <<_ACEOF
30101 #line $LINENO "configure"
30104 cat confdefs.h >>conftest.$ac_ext
30105 cat >>conftest.$ac_ext <<_ACEOF
30106 /* end confdefs.h. */
30107 /* System header to define __stub macros and hopefully few prototypes,
30108 which can conflict with char $ac_func (); below.
30109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30110 <limits.h> exists even on freestanding compilers. */
30112 # include <limits.h>
30114 # include <assert.h>
30116 /* Override any gcc2 internal prototype to avoid an error. */
30121 /* We use char because int might match the return type of a gcc2
30122 builtin and then its argument prototype would still apply. */
30124 /* The GNU C library defines this for functions which it implements
30125 to always fail with ENOSYS. Some functions are actually named
30126 something starting with __ and the normal name is an alias. */
30127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30130 char (*f) () = $ac_func;
30139 return f != $ac_func;
30144 rm -f conftest.$ac_objext conftest$ac_exeext
30145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30146 (eval $ac_link) 2>&5
30148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30149 (exit $ac_status); } &&
30150 { ac_try='test -s conftest$ac_exeext'
30151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30152 (eval $ac_try) 2>&5
30154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30155 (exit $ac_status); }; }; then
30156 eval "$as_ac_var=yes"
30158 echo "$as_me: failed program was:" >&5
30159 sed 's/^/| /' conftest.$ac_ext >&5
30161 eval "$as_ac_var=no"
30163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30167 if test `eval echo '${'$as_ac_var'}'` = yes; then
30168 cat >>confdefs.h <<_ACEOF
30169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30180 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30181 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30182 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30183 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30184 echo $ECHO_N "(cached) $ECHO_C" >&6
30190 ac_cpp='$CXXCPP $CPPFLAGS'
30191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30195 cat >conftest.$ac_ext <<_ACEOF
30196 #line $LINENO "configure"
30199 cat confdefs.h >>conftest.$ac_ext
30200 cat >>conftest.$ac_ext <<_ACEOF
30201 /* end confdefs.h. */
30211 rm -f conftest.$ac_objext
30212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30213 (eval $ac_compile) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); } &&
30217 { ac_try='test -s conftest.$ac_objext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 glibcxx_cv_func_hypot_use=yes
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30228 glibcxx_cv_func_hypot_use=no
30230 rm -f conftest.$ac_objext conftest.$ac_ext
30232 ac_cpp='$CPP $CPPFLAGS'
30233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30242 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30244 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30246 for ac_func in hypot
30248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30249 echo "$as_me:$LINENO: checking for $ac_func" >&5
30250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30251 if eval "test \"\${$as_ac_var+set}\" = set"; then
30252 echo $ECHO_N "(cached) $ECHO_C" >&6
30254 if test x$gcc_no_link = xyes; then
30255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30257 { (exit 1); exit 1; }; }
30259 cat >conftest.$ac_ext <<_ACEOF
30260 #line $LINENO "configure"
30263 cat confdefs.h >>conftest.$ac_ext
30264 cat >>conftest.$ac_ext <<_ACEOF
30265 /* end confdefs.h. */
30266 /* System header to define __stub macros and hopefully few prototypes,
30267 which can conflict with char $ac_func (); below.
30268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30269 <limits.h> exists even on freestanding compilers. */
30271 # include <limits.h>
30273 # include <assert.h>
30275 /* Override any gcc2 internal prototype to avoid an error. */
30280 /* We use char because int might match the return type of a gcc2
30281 builtin and then its argument prototype would still apply. */
30283 /* The GNU C library defines this for functions which it implements
30284 to always fail with ENOSYS. Some functions are actually named
30285 something starting with __ and the normal name is an alias. */
30286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30289 char (*f) () = $ac_func;
30298 return f != $ac_func;
30303 rm -f conftest.$ac_objext conftest$ac_exeext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30305 (eval $ac_link) 2>&5
30307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308 (exit $ac_status); } &&
30309 { ac_try='test -s conftest$ac_exeext'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; }; then
30315 eval "$as_ac_var=yes"
30317 echo "$as_me: failed program was:" >&5
30318 sed 's/^/| /' conftest.$ac_ext >&5
30320 eval "$as_ac_var=no"
30322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30326 if test `eval echo '${'$as_ac_var'}'` = yes; then
30327 cat >>confdefs.h <<_ACEOF
30328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30336 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30337 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30338 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30339 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30346 ac_cpp='$CXXCPP $CPPFLAGS'
30347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30351 cat >conftest.$ac_ext <<_ACEOF
30352 #line $LINENO "configure"
30355 cat confdefs.h >>conftest.$ac_ext
30356 cat >>conftest.$ac_ext <<_ACEOF
30357 /* end confdefs.h. */
30367 rm -f conftest.$ac_objext
30368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30369 (eval $ac_compile) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); } &&
30373 { ac_try='test -s conftest.$ac_objext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30379 glibcxx_cv_func__hypot_use=yes
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30384 glibcxx_cv_func__hypot_use=no
30386 rm -f conftest.$ac_objext conftest.$ac_ext
30388 ac_cpp='$CPP $CPPFLAGS'
30389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30398 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30402 for ac_func in _hypot
30404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30405 echo "$as_me:$LINENO: checking for $ac_func" >&5
30406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30407 if eval "test \"\${$as_ac_var+set}\" = set"; then
30408 echo $ECHO_N "(cached) $ECHO_C" >&6
30410 if test x$gcc_no_link = xyes; then
30411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30413 { (exit 1); exit 1; }; }
30415 cat >conftest.$ac_ext <<_ACEOF
30416 #line $LINENO "configure"
30419 cat confdefs.h >>conftest.$ac_ext
30420 cat >>conftest.$ac_ext <<_ACEOF
30421 /* end confdefs.h. */
30422 /* System header to define __stub macros and hopefully few prototypes,
30423 which can conflict with char $ac_func (); below.
30424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30425 <limits.h> exists even on freestanding compilers. */
30427 # include <limits.h>
30429 # include <assert.h>
30431 /* Override any gcc2 internal prototype to avoid an error. */
30436 /* We use char because int might match the return type of a gcc2
30437 builtin and then its argument prototype would still apply. */
30439 /* The GNU C library defines this for functions which it implements
30440 to always fail with ENOSYS. Some functions are actually named
30441 something starting with __ and the normal name is an alias. */
30442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30445 char (*f) () = $ac_func;
30454 return f != $ac_func;
30459 rm -f conftest.$ac_objext conftest$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>&5
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); } &&
30465 { ac_try='test -s conftest$ac_exeext'
30466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30467 (eval $ac_try) 2>&5
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; }; then
30471 eval "$as_ac_var=yes"
30473 echo "$as_me: failed program was:" >&5
30474 sed 's/^/| /' conftest.$ac_ext >&5
30476 eval "$as_ac_var=no"
30478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30482 if test `eval echo '${'$as_ac_var'}'` = yes; then
30483 cat >>confdefs.h <<_ACEOF
30484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30495 echo "$as_me:$LINENO: checking for float trig functions" >&5
30496 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30497 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30498 echo $ECHO_N "(cached) $ECHO_C" >&6
30504 ac_cpp='$CXXCPP $CPPFLAGS'
30505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30509 cat >conftest.$ac_ext <<_ACEOF
30510 #line $LINENO "configure"
30513 cat confdefs.h >>conftest.$ac_ext
30514 cat >>conftest.$ac_ext <<_ACEOF
30515 /* end confdefs.h. */
30520 `for x in acosf asinf atanf \
30522 coshf sinhf tanhf; do echo "$x (0);"; done`
30527 rm -f conftest.$ac_objext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30529 (eval $ac_compile) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); } &&
30533 { ac_try='test -s conftest.$ac_objext'
30534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30535 (eval $ac_try) 2>&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); }; }; then
30539 glibcxx_cv_func_float_trig_use=yes
30541 echo "$as_me: failed program was:" >&5
30542 sed 's/^/| /' conftest.$ac_ext >&5
30544 glibcxx_cv_func_float_trig_use=no
30546 rm -f conftest.$ac_objext conftest.$ac_ext
30548 ac_cpp='$CPP $CPPFLAGS'
30549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30556 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30557 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30567 for ac_func in acosf asinf atanf \
30571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30572 echo "$as_me:$LINENO: checking for $ac_func" >&5
30573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30574 if eval "test \"\${$as_ac_var+set}\" = set"; then
30575 echo $ECHO_N "(cached) $ECHO_C" >&6
30577 if test x$gcc_no_link = xyes; then
30578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30580 { (exit 1); exit 1; }; }
30582 cat >conftest.$ac_ext <<_ACEOF
30583 #line $LINENO "configure"
30586 cat confdefs.h >>conftest.$ac_ext
30587 cat >>conftest.$ac_ext <<_ACEOF
30588 /* end confdefs.h. */
30589 /* System header to define __stub macros and hopefully few prototypes,
30590 which can conflict with char $ac_func (); below.
30591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30592 <limits.h> exists even on freestanding compilers. */
30594 # include <limits.h>
30596 # include <assert.h>
30598 /* Override any gcc2 internal prototype to avoid an error. */
30603 /* We use char because int might match the return type of a gcc2
30604 builtin and then its argument prototype would still apply. */
30606 /* The GNU C library defines this for functions which it implements
30607 to always fail with ENOSYS. Some functions are actually named
30608 something starting with __ and the normal name is an alias. */
30609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30612 char (*f) () = $ac_func;
30621 return f != $ac_func;
30626 rm -f conftest.$ac_objext conftest$ac_exeext
30627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30628 (eval $ac_link) 2>&5
30630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30631 (exit $ac_status); } &&
30632 { ac_try='test -s conftest$ac_exeext'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; }; then
30638 eval "$as_ac_var=yes"
30640 echo "$as_me: failed program was:" >&5
30641 sed 's/^/| /' conftest.$ac_ext >&5
30643 eval "$as_ac_var=no"
30645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30649 if test `eval echo '${'$as_ac_var'}'` = yes; then
30650 cat >>confdefs.h <<_ACEOF
30651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30660 echo "$as_me:$LINENO: checking for float round functions" >&5
30661 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30662 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30663 echo $ECHO_N "(cached) $ECHO_C" >&6
30669 ac_cpp='$CXXCPP $CPPFLAGS'
30670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30674 cat >conftest.$ac_ext <<_ACEOF
30675 #line $LINENO "configure"
30678 cat confdefs.h >>conftest.$ac_ext
30679 cat >>conftest.$ac_ext <<_ACEOF
30680 /* end confdefs.h. */
30685 `for x in ceilf floorf; do echo "$x (0);"; done`
30690 rm -f conftest.$ac_objext
30691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30692 (eval $ac_compile) 2>&5
30694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30695 (exit $ac_status); } &&
30696 { ac_try='test -s conftest.$ac_objext'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; }; then
30702 glibcxx_cv_func_float_round_use=yes
30704 echo "$as_me: failed program was:" >&5
30705 sed 's/^/| /' conftest.$ac_ext >&5
30707 glibcxx_cv_func_float_round_use=no
30709 rm -f conftest.$ac_objext conftest.$ac_ext
30711 ac_cpp='$CPP $CPPFLAGS'
30712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30719 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30720 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30723 for ac_func in ceilf floorf
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
30815 echo "$as_me:$LINENO: checking for expf declaration" >&5
30816 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30817 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30818 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30830 cat >conftest.$ac_ext <<_ACEOF
30831 #line $LINENO "configure"
30834 cat confdefs.h >>conftest.$ac_ext
30835 cat >>conftest.$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30838 #ifdef HAVE_IEEEFP_H
30839 #include <ieeefp.h>
30850 rm -f conftest.$ac_objext
30851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30852 (eval $ac_compile) 2>&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } &&
30856 { ac_try='test -s conftest.$ac_objext'
30857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30858 (eval $ac_try) 2>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); }; }; then
30862 glibcxx_cv_func_expf_use=yes
30864 echo "$as_me: failed program was:" >&5
30865 sed 's/^/| /' conftest.$ac_ext >&5
30867 glibcxx_cv_func_expf_use=no
30869 rm -f conftest.$ac_objext conftest.$ac_ext
30871 ac_cpp='$CPP $CPPFLAGS'
30872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30881 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30883 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30885 for ac_func in expf
30887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30888 echo "$as_me:$LINENO: checking for $ac_func" >&5
30889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30890 if eval "test \"\${$as_ac_var+set}\" = set"; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30893 if test x$gcc_no_link = xyes; then
30894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30896 { (exit 1); exit 1; }; }
30898 cat >conftest.$ac_ext <<_ACEOF
30899 #line $LINENO "configure"
30902 cat confdefs.h >>conftest.$ac_ext
30903 cat >>conftest.$ac_ext <<_ACEOF
30904 /* end confdefs.h. */
30905 /* System header to define __stub macros and hopefully few prototypes,
30906 which can conflict with char $ac_func (); below.
30907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30908 <limits.h> exists even on freestanding compilers. */
30910 # include <limits.h>
30912 # include <assert.h>
30914 /* Override any gcc2 internal prototype to avoid an error. */
30919 /* We use char because int might match the return type of a gcc2
30920 builtin and then its argument prototype would still apply. */
30922 /* The GNU C library defines this for functions which it implements
30923 to always fail with ENOSYS. Some functions are actually named
30924 something starting with __ and the normal name is an alias. */
30925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30928 char (*f) () = $ac_func;
30937 return f != $ac_func;
30942 rm -f conftest.$ac_objext conftest$ac_exeext
30943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30944 (eval $ac_link) 2>&5
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); } &&
30948 { ac_try='test -s conftest$ac_exeext'
30949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30950 (eval $ac_try) 2>&5
30952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30953 (exit $ac_status); }; }; then
30954 eval "$as_ac_var=yes"
30956 echo "$as_me: failed program was:" >&5
30957 sed 's/^/| /' conftest.$ac_ext >&5
30959 eval "$as_ac_var=no"
30961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30965 if test `eval echo '${'$as_ac_var'}'` = yes; then
30966 cat >>confdefs.h <<_ACEOF
30967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30975 echo "$as_me:$LINENO: checking for _expf declaration" >&5
30976 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
30977 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30978 if test "${glibcxx_cv_func__expf_use+set}" = set; then
30979 echo $ECHO_N "(cached) $ECHO_C" >&6
30985 ac_cpp='$CXXCPP $CPPFLAGS'
30986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30990 cat >conftest.$ac_ext <<_ACEOF
30991 #line $LINENO "configure"
30994 cat confdefs.h >>conftest.$ac_ext
30995 cat >>conftest.$ac_ext <<_ACEOF
30996 /* end confdefs.h. */
30998 #ifdef HAVE_IEEEFP_H
30999 #include <ieeefp.h>
31010 rm -f conftest.$ac_objext
31011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31012 (eval $ac_compile) 2>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try='test -s conftest.$ac_objext'
31017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31018 (eval $ac_try) 2>&5
31020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31021 (exit $ac_status); }; }; then
31022 glibcxx_cv_func__expf_use=yes
31024 echo "$as_me: failed program was:" >&5
31025 sed 's/^/| /' conftest.$ac_ext >&5
31027 glibcxx_cv_func__expf_use=no
31029 rm -f conftest.$ac_objext conftest.$ac_ext
31031 ac_cpp='$CPP $CPPFLAGS'
31032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
31041 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
31043 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31045 for ac_func in _expf
31047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31048 echo "$as_me:$LINENO: checking for $ac_func" >&5
31049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31050 if eval "test \"\${$as_ac_var+set}\" = set"; then
31051 echo $ECHO_N "(cached) $ECHO_C" >&6
31053 if test x$gcc_no_link = xyes; then
31054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31056 { (exit 1); exit 1; }; }
31058 cat >conftest.$ac_ext <<_ACEOF
31059 #line $LINENO "configure"
31062 cat confdefs.h >>conftest.$ac_ext
31063 cat >>conftest.$ac_ext <<_ACEOF
31064 /* end confdefs.h. */
31065 /* System header to define __stub macros and hopefully few prototypes,
31066 which can conflict with char $ac_func (); below.
31067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31068 <limits.h> exists even on freestanding compilers. */
31070 # include <limits.h>
31072 # include <assert.h>
31074 /* Override any gcc2 internal prototype to avoid an error. */
31079 /* We use char because int might match the return type of a gcc2
31080 builtin and then its argument prototype would still apply. */
31082 /* The GNU C library defines this for functions which it implements
31083 to always fail with ENOSYS. Some functions are actually named
31084 something starting with __ and the normal name is an alias. */
31085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31088 char (*f) () = $ac_func;
31097 return f != $ac_func;
31102 rm -f conftest.$ac_objext conftest$ac_exeext
31103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31104 (eval $ac_link) 2>&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } &&
31108 { ac_try='test -s conftest$ac_exeext'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; }; then
31114 eval "$as_ac_var=yes"
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.$ac_ext >&5
31119 eval "$as_ac_var=no"
31121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31125 if test `eval echo '${'$as_ac_var'}'` = yes; then
31126 cat >>confdefs.h <<_ACEOF
31127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31138 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31139 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31140 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31141 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31142 echo $ECHO_N "(cached) $ECHO_C" >&6
31148 ac_cpp='$CXXCPP $CPPFLAGS'
31149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31153 cat >conftest.$ac_ext <<_ACEOF
31154 #line $LINENO "configure"
31157 cat confdefs.h >>conftest.$ac_ext
31158 cat >>conftest.$ac_ext <<_ACEOF
31159 /* end confdefs.h. */
31161 #ifdef HAVE_IEEEFP_H
31162 #include <ieeefp.h>
31173 rm -f conftest.$ac_objext
31174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31175 (eval $ac_compile) 2>&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } &&
31179 { ac_try='test -s conftest.$ac_objext'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; }; then
31185 glibcxx_cv_func_isnanf_use=yes
31187 echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31190 glibcxx_cv_func_isnanf_use=no
31192 rm -f conftest.$ac_objext conftest.$ac_ext
31194 ac_cpp='$CPP $CPPFLAGS'
31195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31204 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31206 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31208 for ac_func in isnanf
31210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31211 echo "$as_me:$LINENO: checking for $ac_func" >&5
31212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31213 if eval "test \"\${$as_ac_var+set}\" = set"; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31216 if test x$gcc_no_link = xyes; then
31217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31219 { (exit 1); exit 1; }; }
31221 cat >conftest.$ac_ext <<_ACEOF
31222 #line $LINENO "configure"
31225 cat confdefs.h >>conftest.$ac_ext
31226 cat >>conftest.$ac_ext <<_ACEOF
31227 /* end confdefs.h. */
31228 /* System header to define __stub macros and hopefully few prototypes,
31229 which can conflict with char $ac_func (); below.
31230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31231 <limits.h> exists even on freestanding compilers. */
31233 # include <limits.h>
31235 # include <assert.h>
31237 /* Override any gcc2 internal prototype to avoid an error. */
31242 /* We use char because int might match the return type of a gcc2
31243 builtin and then its argument prototype would still apply. */
31245 /* The GNU C library defines this for functions which it implements
31246 to always fail with ENOSYS. Some functions are actually named
31247 something starting with __ and the normal name is an alias. */
31248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31251 char (*f) () = $ac_func;
31260 return f != $ac_func;
31265 rm -f conftest.$ac_objext conftest$ac_exeext
31266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31267 (eval $ac_link) 2>&5
31269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31270 (exit $ac_status); } &&
31271 { ac_try='test -s conftest$ac_exeext'
31272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31273 (eval $ac_try) 2>&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); }; }; then
31277 eval "$as_ac_var=yes"
31279 echo "$as_me: failed program was:" >&5
31280 sed 's/^/| /' conftest.$ac_ext >&5
31282 eval "$as_ac_var=no"
31284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31288 if test `eval echo '${'$as_ac_var'}'` = yes; then
31289 cat >>confdefs.h <<_ACEOF
31290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31298 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31299 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31300 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31301 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31302 echo $ECHO_N "(cached) $ECHO_C" >&6
31308 ac_cpp='$CXXCPP $CPPFLAGS'
31309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31313 cat >conftest.$ac_ext <<_ACEOF
31314 #line $LINENO "configure"
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31321 #ifdef HAVE_IEEEFP_H
31322 #include <ieeefp.h>
31333 rm -f conftest.$ac_objext
31334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31335 (eval $ac_compile) 2>&5
31337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31338 (exit $ac_status); } &&
31339 { ac_try='test -s conftest.$ac_objext'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; }; then
31345 glibcxx_cv_func__isnanf_use=yes
31347 echo "$as_me: failed program was:" >&5
31348 sed 's/^/| /' conftest.$ac_ext >&5
31350 glibcxx_cv_func__isnanf_use=no
31352 rm -f conftest.$ac_objext conftest.$ac_ext
31354 ac_cpp='$CPP $CPPFLAGS'
31355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31363 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31364 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31366 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31368 for ac_func in _isnanf
31370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31371 echo "$as_me:$LINENO: checking for $ac_func" >&5
31372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31373 if eval "test \"\${$as_ac_var+set}\" = set"; then
31374 echo $ECHO_N "(cached) $ECHO_C" >&6
31376 if test x$gcc_no_link = xyes; then
31377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31379 { (exit 1); exit 1; }; }
31381 cat >conftest.$ac_ext <<_ACEOF
31382 #line $LINENO "configure"
31385 cat confdefs.h >>conftest.$ac_ext
31386 cat >>conftest.$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31388 /* System header to define __stub macros and hopefully few prototypes,
31389 which can conflict with char $ac_func (); below.
31390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31391 <limits.h> exists even on freestanding compilers. */
31393 # include <limits.h>
31395 # include <assert.h>
31397 /* Override any gcc2 internal prototype to avoid an error. */
31402 /* We use char because int might match the return type of a gcc2
31403 builtin and then its argument prototype would still apply. */
31405 /* The GNU C library defines this for functions which it implements
31406 to always fail with ENOSYS. Some functions are actually named
31407 something starting with __ and the normal name is an alias. */
31408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31411 char (*f) () = $ac_func;
31420 return f != $ac_func;
31425 rm -f conftest.$ac_objext conftest$ac_exeext
31426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31427 (eval $ac_link) 2>&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } &&
31431 { ac_try='test -s conftest$ac_exeext'
31432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31433 (eval $ac_try) 2>&5
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); }; }; then
31437 eval "$as_ac_var=yes"
31439 echo "$as_me: failed program was:" >&5
31440 sed 's/^/| /' conftest.$ac_ext >&5
31442 eval "$as_ac_var=no"
31444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31448 if test `eval echo '${'$as_ac_var'}'` = yes; then
31449 cat >>confdefs.h <<_ACEOF
31450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31461 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31462 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31463 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31464 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31471 ac_cpp='$CXXCPP $CPPFLAGS'
31472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476 cat >conftest.$ac_ext <<_ACEOF
31477 #line $LINENO "configure"
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31496 rm -f conftest.$ac_objext
31497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31498 (eval $ac_compile) 2>&5
31500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31501 (exit $ac_status); } &&
31502 { ac_try='test -s conftest.$ac_objext'
31503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31504 (eval $ac_try) 2>&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); }; }; then
31508 glibcxx_cv_func_isinff_use=yes
31510 echo "$as_me: failed program was:" >&5
31511 sed 's/^/| /' conftest.$ac_ext >&5
31513 glibcxx_cv_func_isinff_use=no
31515 rm -f conftest.$ac_objext conftest.$ac_ext
31517 ac_cpp='$CPP $CPPFLAGS'
31518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31527 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31529 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31531 for ac_func in isinff
31533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31534 echo "$as_me:$LINENO: checking for $ac_func" >&5
31535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31536 if eval "test \"\${$as_ac_var+set}\" = set"; then
31537 echo $ECHO_N "(cached) $ECHO_C" >&6
31539 if test x$gcc_no_link = xyes; then
31540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31542 { (exit 1); exit 1; }; }
31544 cat >conftest.$ac_ext <<_ACEOF
31545 #line $LINENO "configure"
31548 cat confdefs.h >>conftest.$ac_ext
31549 cat >>conftest.$ac_ext <<_ACEOF
31550 /* end confdefs.h. */
31551 /* System header to define __stub macros and hopefully few prototypes,
31552 which can conflict with char $ac_func (); below.
31553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31554 <limits.h> exists even on freestanding compilers. */
31556 # include <limits.h>
31558 # include <assert.h>
31560 /* Override any gcc2 internal prototype to avoid an error. */
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31568 /* The GNU C library defines this for functions which it implements
31569 to always fail with ENOSYS. Some functions are actually named
31570 something starting with __ and the normal name is an alias. */
31571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31574 char (*f) () = $ac_func;
31583 return f != $ac_func;
31588 rm -f conftest.$ac_objext conftest$ac_exeext
31589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31590 (eval $ac_link) 2>&5
31592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31593 (exit $ac_status); } &&
31594 { ac_try='test -s conftest$ac_exeext'
31595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31596 (eval $ac_try) 2>&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); }; }; then
31600 eval "$as_ac_var=yes"
31602 echo "$as_me: failed program was:" >&5
31603 sed 's/^/| /' conftest.$ac_ext >&5
31605 eval "$as_ac_var=no"
31607 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31611 if test `eval echo '${'$as_ac_var'}'` = yes; then
31612 cat >>confdefs.h <<_ACEOF
31613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31621 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31622 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31623 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31624 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31625 echo $ECHO_N "(cached) $ECHO_C" >&6
31631 ac_cpp='$CXXCPP $CPPFLAGS'
31632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31636 cat >conftest.$ac_ext <<_ACEOF
31637 #line $LINENO "configure"
31640 cat confdefs.h >>conftest.$ac_ext
31641 cat >>conftest.$ac_ext <<_ACEOF
31642 /* end confdefs.h. */
31644 #ifdef HAVE_IEEEFP_H
31645 #include <ieeefp.h>
31656 rm -f conftest.$ac_objext
31657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31658 (eval $ac_compile) 2>&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -s conftest.$ac_objext'
31663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31664 (eval $ac_try) 2>&5
31666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31667 (exit $ac_status); }; }; then
31668 glibcxx_cv_func__isinff_use=yes
31670 echo "$as_me: failed program was:" >&5
31671 sed 's/^/| /' conftest.$ac_ext >&5
31673 glibcxx_cv_func__isinff_use=no
31675 rm -f conftest.$ac_objext conftest.$ac_ext
31677 ac_cpp='$CPP $CPPFLAGS'
31678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31687 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31689 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31691 for ac_func in _isinff
31693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31694 echo "$as_me:$LINENO: checking for $ac_func" >&5
31695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31696 if eval "test \"\${$as_ac_var+set}\" = set"; then
31697 echo $ECHO_N "(cached) $ECHO_C" >&6
31699 if test x$gcc_no_link = xyes; then
31700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31702 { (exit 1); exit 1; }; }
31704 cat >conftest.$ac_ext <<_ACEOF
31705 #line $LINENO "configure"
31708 cat confdefs.h >>conftest.$ac_ext
31709 cat >>conftest.$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 /* System header to define __stub macros and hopefully few prototypes,
31712 which can conflict with char $ac_func (); below.
31713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31714 <limits.h> exists even on freestanding compilers. */
31716 # include <limits.h>
31718 # include <assert.h>
31720 /* Override any gcc2 internal prototype to avoid an error. */
31725 /* We use char because int might match the return type of a gcc2
31726 builtin and then its argument prototype would still apply. */
31728 /* The GNU C library defines this for functions which it implements
31729 to always fail with ENOSYS. Some functions are actually named
31730 something starting with __ and the normal name is an alias. */
31731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31734 char (*f) () = $ac_func;
31743 return f != $ac_func;
31748 rm -f conftest.$ac_objext conftest$ac_exeext
31749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31750 (eval $ac_link) 2>&5
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); } &&
31754 { ac_try='test -s conftest$ac_exeext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760 eval "$as_ac_var=yes"
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31765 eval "$as_ac_var=no"
31767 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31771 if test `eval echo '${'$as_ac_var'}'` = yes; then
31772 cat >>confdefs.h <<_ACEOF
31773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31784 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31785 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31786 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31787 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31788 echo $ECHO_N "(cached) $ECHO_C" >&6
31794 ac_cpp='$CXXCPP $CPPFLAGS'
31795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31799 cat >conftest.$ac_ext <<_ACEOF
31800 #line $LINENO "configure"
31803 cat confdefs.h >>conftest.$ac_ext
31804 cat >>conftest.$ac_ext <<_ACEOF
31805 /* end confdefs.h. */
31815 rm -f conftest.$ac_objext
31816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31817 (eval $ac_compile) 2>&5
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); } &&
31821 { ac_try='test -s conftest.$ac_objext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 glibcxx_cv_func_atan2f_use=yes
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31832 glibcxx_cv_func_atan2f_use=no
31834 rm -f conftest.$ac_objext conftest.$ac_ext
31836 ac_cpp='$CPP $CPPFLAGS'
31837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31846 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31848 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31850 for ac_func in atan2f
31852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31853 echo "$as_me:$LINENO: checking for $ac_func" >&5
31854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31855 if eval "test \"\${$as_ac_var+set}\" = set"; then
31856 echo $ECHO_N "(cached) $ECHO_C" >&6
31858 if test x$gcc_no_link = xyes; then
31859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31861 { (exit 1); exit 1; }; }
31863 cat >conftest.$ac_ext <<_ACEOF
31864 #line $LINENO "configure"
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31870 /* System header to define __stub macros and hopefully few prototypes,
31871 which can conflict with char $ac_func (); below.
31872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31873 <limits.h> exists even on freestanding compilers. */
31875 # include <limits.h>
31877 # include <assert.h>
31879 /* Override any gcc2 internal prototype to avoid an error. */
31884 /* We use char because int might match the return type of a gcc2
31885 builtin and then its argument prototype would still apply. */
31887 /* The GNU C library defines this for functions which it implements
31888 to always fail with ENOSYS. Some functions are actually named
31889 something starting with __ and the normal name is an alias. */
31890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31893 char (*f) () = $ac_func;
31902 return f != $ac_func;
31907 rm -f conftest.$ac_objext conftest$ac_exeext
31908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31909 (eval $ac_link) 2>&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); } &&
31913 { ac_try='test -s conftest$ac_exeext'
31914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31915 (eval $ac_try) 2>&5
31917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31918 (exit $ac_status); }; }; then
31919 eval "$as_ac_var=yes"
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31924 eval "$as_ac_var=no"
31926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31930 if test `eval echo '${'$as_ac_var'}'` = yes; then
31931 cat >>confdefs.h <<_ACEOF
31932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31940 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31941 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31942 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31943 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31944 echo $ECHO_N "(cached) $ECHO_C" >&6
31950 ac_cpp='$CXXCPP $CPPFLAGS'
31951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31955 cat >conftest.$ac_ext <<_ACEOF
31956 #line $LINENO "configure"
31959 cat confdefs.h >>conftest.$ac_ext
31960 cat >>conftest.$ac_ext <<_ACEOF
31961 /* end confdefs.h. */
31971 rm -f conftest.$ac_objext
31972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31973 (eval $ac_compile) 2>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); } &&
31977 { ac_try='test -s conftest.$ac_objext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31983 glibcxx_cv_func__atan2f_use=yes
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31988 glibcxx_cv_func__atan2f_use=no
31990 rm -f conftest.$ac_objext conftest.$ac_ext
31992 ac_cpp='$CPP $CPPFLAGS'
31993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32001 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
32002 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
32004 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
32006 for ac_func in _atan2f
32008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32009 echo "$as_me:$LINENO: checking for $ac_func" >&5
32010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32011 if eval "test \"\${$as_ac_var+set}\" = set"; then
32012 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 if test x$gcc_no_link = xyes; then
32015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32017 { (exit 1); exit 1; }; }
32019 cat >conftest.$ac_ext <<_ACEOF
32020 #line $LINENO "configure"
32023 cat confdefs.h >>conftest.$ac_ext
32024 cat >>conftest.$ac_ext <<_ACEOF
32025 /* end confdefs.h. */
32026 /* System header to define __stub macros and hopefully few prototypes,
32027 which can conflict with char $ac_func (); below.
32028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32029 <limits.h> exists even on freestanding compilers. */
32031 # include <limits.h>
32033 # include <assert.h>
32035 /* Override any gcc2 internal prototype to avoid an error. */
32040 /* We use char because int might match the return type of a gcc2
32041 builtin and then its argument prototype would still apply. */
32043 /* The GNU C library defines this for functions which it implements
32044 to always fail with ENOSYS. Some functions are actually named
32045 something starting with __ and the normal name is an alias. */
32046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32049 char (*f) () = $ac_func;
32058 return f != $ac_func;
32063 rm -f conftest.$ac_objext conftest$ac_exeext
32064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32065 (eval $ac_link) 2>&5
32067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32068 (exit $ac_status); } &&
32069 { ac_try='test -s conftest$ac_exeext'
32070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32071 (eval $ac_try) 2>&5
32073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32074 (exit $ac_status); }; }; then
32075 eval "$as_ac_var=yes"
32077 echo "$as_me: failed program was:" >&5
32078 sed 's/^/| /' conftest.$ac_ext >&5
32080 eval "$as_ac_var=no"
32082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32086 if test `eval echo '${'$as_ac_var'}'` = yes; then
32087 cat >>confdefs.h <<_ACEOF
32088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32099 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32100 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32101 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32102 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32103 echo $ECHO_N "(cached) $ECHO_C" >&6
32109 ac_cpp='$CXXCPP $CPPFLAGS'
32110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32114 cat >conftest.$ac_ext <<_ACEOF
32115 #line $LINENO "configure"
32118 cat confdefs.h >>conftest.$ac_ext
32119 cat >>conftest.$ac_ext <<_ACEOF
32120 /* end confdefs.h. */
32122 #ifdef HAVE_IEEEFP_H
32123 #include <ieeefp.h>
32134 rm -f conftest.$ac_objext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32136 (eval $ac_compile) 2>&5
32138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32139 (exit $ac_status); } &&
32140 { ac_try='test -s conftest.$ac_objext'
32141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32142 (eval $ac_try) 2>&5
32144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32145 (exit $ac_status); }; }; then
32146 glibcxx_cv_func_fabsf_use=yes
32148 echo "$as_me: failed program was:" >&5
32149 sed 's/^/| /' conftest.$ac_ext >&5
32151 glibcxx_cv_func_fabsf_use=no
32153 rm -f conftest.$ac_objext conftest.$ac_ext
32155 ac_cpp='$CPP $CPPFLAGS'
32156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32165 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32169 for ac_func in fabsf
32171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32172 echo "$as_me:$LINENO: checking for $ac_func" >&5
32173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32174 if eval "test \"\${$as_ac_var+set}\" = set"; then
32175 echo $ECHO_N "(cached) $ECHO_C" >&6
32177 if test x$gcc_no_link = xyes; then
32178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32180 { (exit 1); exit 1; }; }
32182 cat >conftest.$ac_ext <<_ACEOF
32183 #line $LINENO "configure"
32186 cat confdefs.h >>conftest.$ac_ext
32187 cat >>conftest.$ac_ext <<_ACEOF
32188 /* end confdefs.h. */
32189 /* System header to define __stub macros and hopefully few prototypes,
32190 which can conflict with char $ac_func (); below.
32191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32192 <limits.h> exists even on freestanding compilers. */
32194 # include <limits.h>
32196 # include <assert.h>
32198 /* Override any gcc2 internal prototype to avoid an error. */
32203 /* We use char because int might match the return type of a gcc2
32204 builtin and then its argument prototype would still apply. */
32206 /* The GNU C library defines this for functions which it implements
32207 to always fail with ENOSYS. Some functions are actually named
32208 something starting with __ and the normal name is an alias. */
32209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32212 char (*f) () = $ac_func;
32221 return f != $ac_func;
32226 rm -f conftest.$ac_objext conftest$ac_exeext
32227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32228 (eval $ac_link) 2>&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); } &&
32232 { ac_try='test -s conftest$ac_exeext'
32233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32234 (eval $ac_try) 2>&5
32236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32237 (exit $ac_status); }; }; then
32238 eval "$as_ac_var=yes"
32240 echo "$as_me: failed program was:" >&5
32241 sed 's/^/| /' conftest.$ac_ext >&5
32243 eval "$as_ac_var=no"
32245 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32249 if test `eval echo '${'$as_ac_var'}'` = yes; then
32250 cat >>confdefs.h <<_ACEOF
32251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32259 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32260 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32263 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 ac_cpp='$CXXCPP $CPPFLAGS'
32270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274 cat >conftest.$ac_ext <<_ACEOF
32275 #line $LINENO "configure"
32278 cat confdefs.h >>conftest.$ac_ext
32279 cat >>conftest.$ac_ext <<_ACEOF
32280 /* end confdefs.h. */
32282 #ifdef HAVE_IEEEFP_H
32283 #include <ieeefp.h>
32294 rm -f conftest.$ac_objext
32295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32296 (eval $ac_compile) 2>&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try='test -s conftest.$ac_objext'
32301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32302 (eval $ac_try) 2>&5
32304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32305 (exit $ac_status); }; }; then
32306 glibcxx_cv_func__fabsf_use=yes
32308 echo "$as_me: failed program was:" >&5
32309 sed 's/^/| /' conftest.$ac_ext >&5
32311 glibcxx_cv_func__fabsf_use=no
32313 rm -f conftest.$ac_objext conftest.$ac_ext
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32325 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32327 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32329 for ac_func in _fabsf
32331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32332 echo "$as_me:$LINENO: checking for $ac_func" >&5
32333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32334 if eval "test \"\${$as_ac_var+set}\" = set"; then
32335 echo $ECHO_N "(cached) $ECHO_C" >&6
32337 if test x$gcc_no_link = xyes; then
32338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32340 { (exit 1); exit 1; }; }
32342 cat >conftest.$ac_ext <<_ACEOF
32343 #line $LINENO "configure"
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 /* System header to define __stub macros and hopefully few prototypes,
32350 which can conflict with char $ac_func (); below.
32351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32352 <limits.h> exists even on freestanding compilers. */
32354 # include <limits.h>
32356 # include <assert.h>
32358 /* Override any gcc2 internal prototype to avoid an error. */
32363 /* We use char because int might match the return type of a gcc2
32364 builtin and then its argument prototype would still apply. */
32366 /* The GNU C library defines this for functions which it implements
32367 to always fail with ENOSYS. Some functions are actually named
32368 something starting with __ and the normal name is an alias. */
32369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32372 char (*f) () = $ac_func;
32381 return f != $ac_func;
32386 rm -f conftest.$ac_objext conftest$ac_exeext
32387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32388 (eval $ac_link) 2>&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -s conftest$ac_exeext'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; }; then
32398 eval "$as_ac_var=yes"
32400 echo "$as_me: failed program was:" >&5
32401 sed 's/^/| /' conftest.$ac_ext >&5
32403 eval "$as_ac_var=no"
32405 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32409 if test `eval echo '${'$as_ac_var'}'` = yes; then
32410 cat >>confdefs.h <<_ACEOF
32411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32422 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32423 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32424 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32425 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32426 echo $ECHO_N "(cached) $ECHO_C" >&6
32432 ac_cpp='$CXXCPP $CPPFLAGS'
32433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32437 cat >conftest.$ac_ext <<_ACEOF
32438 #line $LINENO "configure"
32441 cat confdefs.h >>conftest.$ac_ext
32442 cat >>conftest.$ac_ext <<_ACEOF
32443 /* end confdefs.h. */
32453 rm -f conftest.$ac_objext
32454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32455 (eval $ac_compile) 2>&5
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); } &&
32459 { ac_try='test -s conftest.$ac_objext'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; }; then
32465 glibcxx_cv_func_fmodf_use=yes
32467 echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.$ac_ext >&5
32470 glibcxx_cv_func_fmodf_use=no
32472 rm -f conftest.$ac_objext conftest.$ac_ext
32474 ac_cpp='$CPP $CPPFLAGS'
32475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32484 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32486 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32488 for ac_func in fmodf
32490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32491 echo "$as_me:$LINENO: checking for $ac_func" >&5
32492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32493 if eval "test \"\${$as_ac_var+set}\" = set"; then
32494 echo $ECHO_N "(cached) $ECHO_C" >&6
32496 if test x$gcc_no_link = xyes; then
32497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32499 { (exit 1); exit 1; }; }
32501 cat >conftest.$ac_ext <<_ACEOF
32502 #line $LINENO "configure"
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508 /* System header to define __stub macros and hopefully few prototypes,
32509 which can conflict with char $ac_func (); below.
32510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32511 <limits.h> exists even on freestanding compilers. */
32513 # include <limits.h>
32515 # include <assert.h>
32517 /* Override any gcc2 internal prototype to avoid an error. */
32522 /* We use char because int might match the return type of a gcc2
32523 builtin and then its argument prototype would still apply. */
32525 /* The GNU C library defines this for functions which it implements
32526 to always fail with ENOSYS. Some functions are actually named
32527 something starting with __ and the normal name is an alias. */
32528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32531 char (*f) () = $ac_func;
32540 return f != $ac_func;
32545 rm -f conftest.$ac_objext conftest$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } &&
32551 { ac_try='test -s conftest$ac_exeext'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; }; then
32557 eval "$as_ac_var=yes"
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32562 eval "$as_ac_var=no"
32564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32568 if test `eval echo '${'$as_ac_var'}'` = yes; then
32569 cat >>confdefs.h <<_ACEOF
32570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32578 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32579 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32580 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32581 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32582 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 ac_cpp='$CXXCPP $CPPFLAGS'
32589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32593 cat >conftest.$ac_ext <<_ACEOF
32594 #line $LINENO "configure"
32597 cat confdefs.h >>conftest.$ac_ext
32598 cat >>conftest.$ac_ext <<_ACEOF
32599 /* end confdefs.h. */
32609 rm -f conftest.$ac_objext
32610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32611 (eval $ac_compile) 2>&5
32613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32614 (exit $ac_status); } &&
32615 { ac_try='test -s conftest.$ac_objext'
32616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32617 (eval $ac_try) 2>&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); }; }; then
32621 glibcxx_cv_func__fmodf_use=yes
32623 echo "$as_me: failed program was:" >&5
32624 sed 's/^/| /' conftest.$ac_ext >&5
32626 glibcxx_cv_func__fmodf_use=no
32628 rm -f conftest.$ac_objext conftest.$ac_ext
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32639 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32640 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32642 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32644 for ac_func in _fmodf
32646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32647 echo "$as_me:$LINENO: checking for $ac_func" >&5
32648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32649 if eval "test \"\${$as_ac_var+set}\" = set"; then
32650 echo $ECHO_N "(cached) $ECHO_C" >&6
32652 if test x$gcc_no_link = xyes; then
32653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32655 { (exit 1); exit 1; }; }
32657 cat >conftest.$ac_ext <<_ACEOF
32658 #line $LINENO "configure"
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32664 /* System header to define __stub macros and hopefully few prototypes,
32665 which can conflict with char $ac_func (); below.
32666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32667 <limits.h> exists even on freestanding compilers. */
32669 # include <limits.h>
32671 # include <assert.h>
32673 /* Override any gcc2 internal prototype to avoid an error. */
32678 /* We use char because int might match the return type of a gcc2
32679 builtin and then its argument prototype would still apply. */
32681 /* The GNU C library defines this for functions which it implements
32682 to always fail with ENOSYS. Some functions are actually named
32683 something starting with __ and the normal name is an alias. */
32684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32687 char (*f) () = $ac_func;
32696 return f != $ac_func;
32701 rm -f conftest.$ac_objext conftest$ac_exeext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32703 (eval $ac_link) 2>&5
32705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32706 (exit $ac_status); } &&
32707 { ac_try='test -s conftest$ac_exeext'
32708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32709 (eval $ac_try) 2>&5
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); }; }; then
32713 eval "$as_ac_var=yes"
32715 echo "$as_me: failed program was:" >&5
32716 sed 's/^/| /' conftest.$ac_ext >&5
32718 eval "$as_ac_var=no"
32720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32724 if test `eval echo '${'$as_ac_var'}'` = yes; then
32725 cat >>confdefs.h <<_ACEOF
32726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32737 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32738 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32739 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32740 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32741 echo $ECHO_N "(cached) $ECHO_C" >&6
32747 ac_cpp='$CXXCPP $CPPFLAGS'
32748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32752 cat >conftest.$ac_ext <<_ACEOF
32753 #line $LINENO "configure"
32756 cat confdefs.h >>conftest.$ac_ext
32757 cat >>conftest.$ac_ext <<_ACEOF
32758 /* end confdefs.h. */
32768 rm -f conftest.$ac_objext
32769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32770 (eval $ac_compile) 2>&5
32772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32773 (exit $ac_status); } &&
32774 { ac_try='test -s conftest.$ac_objext'
32775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32776 (eval $ac_try) 2>&5
32778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32779 (exit $ac_status); }; }; then
32780 glibcxx_cv_func_frexpf_use=yes
32782 echo "$as_me: failed program was:" >&5
32783 sed 's/^/| /' conftest.$ac_ext >&5
32785 glibcxx_cv_func_frexpf_use=no
32787 rm -f conftest.$ac_objext conftest.$ac_ext
32789 ac_cpp='$CPP $CPPFLAGS'
32790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32798 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32799 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32801 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32803 for ac_func in frexpf
32805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32806 echo "$as_me:$LINENO: checking for $ac_func" >&5
32807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32808 if eval "test \"\${$as_ac_var+set}\" = set"; then
32809 echo $ECHO_N "(cached) $ECHO_C" >&6
32811 if test x$gcc_no_link = xyes; then
32812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32814 { (exit 1); exit 1; }; }
32816 cat >conftest.$ac_ext <<_ACEOF
32817 #line $LINENO "configure"
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32823 /* System header to define __stub macros and hopefully few prototypes,
32824 which can conflict with char $ac_func (); below.
32825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32826 <limits.h> exists even on freestanding compilers. */
32828 # include <limits.h>
32830 # include <assert.h>
32832 /* Override any gcc2 internal prototype to avoid an error. */
32837 /* We use char because int might match the return type of a gcc2
32838 builtin and then its argument prototype would still apply. */
32840 /* The GNU C library defines this for functions which it implements
32841 to always fail with ENOSYS. Some functions are actually named
32842 something starting with __ and the normal name is an alias. */
32843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32846 char (*f) () = $ac_func;
32855 return f != $ac_func;
32860 rm -f conftest.$ac_objext conftest$ac_exeext
32861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32862 (eval $ac_link) 2>&5
32864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32865 (exit $ac_status); } &&
32866 { ac_try='test -s conftest$ac_exeext'
32867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32868 (eval $ac_try) 2>&5
32870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32871 (exit $ac_status); }; }; then
32872 eval "$as_ac_var=yes"
32874 echo "$as_me: failed program was:" >&5
32875 sed 's/^/| /' conftest.$ac_ext >&5
32877 eval "$as_ac_var=no"
32879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32893 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32894 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32895 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32896 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32897 echo $ECHO_N "(cached) $ECHO_C" >&6
32903 ac_cpp='$CXXCPP $CPPFLAGS'
32904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32908 cat >conftest.$ac_ext <<_ACEOF
32909 #line $LINENO "configure"
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32924 rm -f conftest.$ac_objext
32925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32926 (eval $ac_compile) 2>&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } &&
32930 { ac_try='test -s conftest.$ac_objext'
32931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932 (eval $ac_try) 2>&5
32934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935 (exit $ac_status); }; }; then
32936 glibcxx_cv_func__frexpf_use=yes
32938 echo "$as_me: failed program was:" >&5
32939 sed 's/^/| /' conftest.$ac_ext >&5
32941 glibcxx_cv_func__frexpf_use=no
32943 rm -f conftest.$ac_objext conftest.$ac_ext
32945 ac_cpp='$CPP $CPPFLAGS'
32946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32954 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32955 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32957 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32959 for ac_func in _frexpf
32961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32962 echo "$as_me:$LINENO: checking for $ac_func" >&5
32963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32964 if eval "test \"\${$as_ac_var+set}\" = set"; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32967 if test x$gcc_no_link = xyes; then
32968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32970 { (exit 1); exit 1; }; }
32972 cat >conftest.$ac_ext <<_ACEOF
32973 #line $LINENO "configure"
32976 cat confdefs.h >>conftest.$ac_ext
32977 cat >>conftest.$ac_ext <<_ACEOF
32978 /* end confdefs.h. */
32979 /* System header to define __stub macros and hopefully few prototypes,
32980 which can conflict with char $ac_func (); below.
32981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32982 <limits.h> exists even on freestanding compilers. */
32984 # include <limits.h>
32986 # include <assert.h>
32988 /* Override any gcc2 internal prototype to avoid an error. */
32993 /* We use char because int might match the return type of a gcc2
32994 builtin and then its argument prototype would still apply. */
32996 /* The GNU C library defines this for functions which it implements
32997 to always fail with ENOSYS. Some functions are actually named
32998 something starting with __ and the normal name is an alias. */
32999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33002 char (*f) () = $ac_func;
33011 return f != $ac_func;
33016 rm -f conftest.$ac_objext conftest$ac_exeext
33017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33018 (eval $ac_link) 2>&5
33020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33021 (exit $ac_status); } &&
33022 { ac_try='test -s conftest$ac_exeext'
33023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33024 (eval $ac_try) 2>&5
33026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027 (exit $ac_status); }; }; then
33028 eval "$as_ac_var=yes"
33030 echo "$as_me: failed program was:" >&5
33031 sed 's/^/| /' conftest.$ac_ext >&5
33033 eval "$as_ac_var=no"
33035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33039 if test `eval echo '${'$as_ac_var'}'` = yes; then
33040 cat >>confdefs.h <<_ACEOF
33041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33052 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33053 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33054 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33055 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33056 echo $ECHO_N "(cached) $ECHO_C" >&6
33062 ac_cpp='$CXXCPP $CPPFLAGS'
33063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33067 cat >conftest.$ac_ext <<_ACEOF
33068 #line $LINENO "configure"
33071 cat confdefs.h >>conftest.$ac_ext
33072 cat >>conftest.$ac_ext <<_ACEOF
33073 /* end confdefs.h. */
33083 rm -f conftest.$ac_objext
33084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33085 (eval $ac_compile) 2>&5
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); } &&
33089 { ac_try='test -s conftest.$ac_objext'
33090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33091 (eval $ac_try) 2>&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); }; }; then
33095 glibcxx_cv_func_hypotf_use=yes
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33100 glibcxx_cv_func_hypotf_use=no
33102 rm -f conftest.$ac_objext conftest.$ac_ext
33104 ac_cpp='$CPP $CPPFLAGS'
33105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33113 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33114 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33116 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33118 for ac_func in hypotf
33120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33121 echo "$as_me:$LINENO: checking for $ac_func" >&5
33122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33123 if eval "test \"\${$as_ac_var+set}\" = set"; then
33124 echo $ECHO_N "(cached) $ECHO_C" >&6
33126 if test x$gcc_no_link = xyes; then
33127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33129 { (exit 1); exit 1; }; }
33131 cat >conftest.$ac_ext <<_ACEOF
33132 #line $LINENO "configure"
33135 cat confdefs.h >>conftest.$ac_ext
33136 cat >>conftest.$ac_ext <<_ACEOF
33137 /* end confdefs.h. */
33138 /* System header to define __stub macros and hopefully few prototypes,
33139 which can conflict with char $ac_func (); below.
33140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33141 <limits.h> exists even on freestanding compilers. */
33143 # include <limits.h>
33145 # include <assert.h>
33147 /* Override any gcc2 internal prototype to avoid an error. */
33152 /* We use char because int might match the return type of a gcc2
33153 builtin and then its argument prototype would still apply. */
33155 /* The GNU C library defines this for functions which it implements
33156 to always fail with ENOSYS. Some functions are actually named
33157 something starting with __ and the normal name is an alias. */
33158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33161 char (*f) () = $ac_func;
33170 return f != $ac_func;
33175 rm -f conftest.$ac_objext conftest$ac_exeext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33177 (eval $ac_link) 2>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); } &&
33181 { ac_try='test -s conftest$ac_exeext'
33182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183 (eval $ac_try) 2>&5
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); }; }; then
33187 eval "$as_ac_var=yes"
33189 echo "$as_me: failed program was:" >&5
33190 sed 's/^/| /' conftest.$ac_ext >&5
33192 eval "$as_ac_var=no"
33194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33198 if test `eval echo '${'$as_ac_var'}'` = yes; then
33199 cat >>confdefs.h <<_ACEOF
33200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33208 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33209 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33210 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33211 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33212 echo $ECHO_N "(cached) $ECHO_C" >&6
33218 ac_cpp='$CXXCPP $CPPFLAGS'
33219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223 cat >conftest.$ac_ext <<_ACEOF
33224 #line $LINENO "configure"
33227 cat confdefs.h >>conftest.$ac_ext
33228 cat >>conftest.$ac_ext <<_ACEOF
33229 /* end confdefs.h. */
33239 rm -f conftest.$ac_objext
33240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33241 (eval $ac_compile) 2>&5
33243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33244 (exit $ac_status); } &&
33245 { ac_try='test -s conftest.$ac_objext'
33246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33247 (eval $ac_try) 2>&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); }; }; then
33251 glibcxx_cv_func__hypotf_use=yes
33253 echo "$as_me: failed program was:" >&5
33254 sed 's/^/| /' conftest.$ac_ext >&5
33256 glibcxx_cv_func__hypotf_use=no
33258 rm -f conftest.$ac_objext conftest.$ac_ext
33260 ac_cpp='$CPP $CPPFLAGS'
33261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33270 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33272 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33274 for ac_func in _hypotf
33276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33277 echo "$as_me:$LINENO: checking for $ac_func" >&5
33278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33279 if eval "test \"\${$as_ac_var+set}\" = set"; then
33280 echo $ECHO_N "(cached) $ECHO_C" >&6
33282 if test x$gcc_no_link = xyes; then
33283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33285 { (exit 1); exit 1; }; }
33287 cat >conftest.$ac_ext <<_ACEOF
33288 #line $LINENO "configure"
33291 cat confdefs.h >>conftest.$ac_ext
33292 cat >>conftest.$ac_ext <<_ACEOF
33293 /* end confdefs.h. */
33294 /* System header to define __stub macros and hopefully few prototypes,
33295 which can conflict with char $ac_func (); below.
33296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33297 <limits.h> exists even on freestanding compilers. */
33299 # include <limits.h>
33301 # include <assert.h>
33303 /* Override any gcc2 internal prototype to avoid an error. */
33308 /* We use char because int might match the return type of a gcc2
33309 builtin and then its argument prototype would still apply. */
33311 /* The GNU C library defines this for functions which it implements
33312 to always fail with ENOSYS. Some functions are actually named
33313 something starting with __ and the normal name is an alias. */
33314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33317 char (*f) () = $ac_func;
33326 return f != $ac_func;
33331 rm -f conftest.$ac_objext conftest$ac_exeext
33332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33333 (eval $ac_link) 2>&5
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); } &&
33337 { ac_try='test -s conftest$ac_exeext'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; }; then
33343 eval "$as_ac_var=yes"
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33348 eval "$as_ac_var=no"
33350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33354 if test `eval echo '${'$as_ac_var'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33367 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33368 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33369 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33370 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33371 echo $ECHO_N "(cached) $ECHO_C" >&6
33377 ac_cpp='$CXXCPP $CPPFLAGS'
33378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33382 cat >conftest.$ac_ext <<_ACEOF
33383 #line $LINENO "configure"
33386 cat confdefs.h >>conftest.$ac_ext
33387 cat >>conftest.$ac_ext <<_ACEOF
33388 /* end confdefs.h. */
33398 rm -f conftest.$ac_objext
33399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33400 (eval $ac_compile) 2>&5
33402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33403 (exit $ac_status); } &&
33404 { ac_try='test -s conftest.$ac_objext'
33405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33406 (eval $ac_try) 2>&5
33408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409 (exit $ac_status); }; }; then
33410 glibcxx_cv_func_ldexpf_use=yes
33412 echo "$as_me: failed program was:" >&5
33413 sed 's/^/| /' conftest.$ac_ext >&5
33415 glibcxx_cv_func_ldexpf_use=no
33417 rm -f conftest.$ac_objext conftest.$ac_ext
33419 ac_cpp='$CPP $CPPFLAGS'
33420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33429 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33431 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33433 for ac_func in ldexpf
33435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33436 echo "$as_me:$LINENO: checking for $ac_func" >&5
33437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33438 if eval "test \"\${$as_ac_var+set}\" = set"; then
33439 echo $ECHO_N "(cached) $ECHO_C" >&6
33441 if test x$gcc_no_link = xyes; then
33442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33444 { (exit 1); exit 1; }; }
33446 cat >conftest.$ac_ext <<_ACEOF
33447 #line $LINENO "configure"
33450 cat confdefs.h >>conftest.$ac_ext
33451 cat >>conftest.$ac_ext <<_ACEOF
33452 /* end confdefs.h. */
33453 /* System header to define __stub macros and hopefully few prototypes,
33454 which can conflict with char $ac_func (); below.
33455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33456 <limits.h> exists even on freestanding compilers. */
33458 # include <limits.h>
33460 # include <assert.h>
33462 /* Override any gcc2 internal prototype to avoid an error. */
33467 /* We use char because int might match the return type of a gcc2
33468 builtin and then its argument prototype would still apply. */
33470 /* The GNU C library defines this for functions which it implements
33471 to always fail with ENOSYS. Some functions are actually named
33472 something starting with __ and the normal name is an alias. */
33473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33476 char (*f) () = $ac_func;
33485 return f != $ac_func;
33490 rm -f conftest.$ac_objext conftest$ac_exeext
33491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33492 (eval $ac_link) 2>&5
33494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33495 (exit $ac_status); } &&
33496 { ac_try='test -s conftest$ac_exeext'
33497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33498 (eval $ac_try) 2>&5
33500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33501 (exit $ac_status); }; }; then
33502 eval "$as_ac_var=yes"
33504 echo "$as_me: failed program was:" >&5
33505 sed 's/^/| /' conftest.$ac_ext >&5
33507 eval "$as_ac_var=no"
33509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33513 if test `eval echo '${'$as_ac_var'}'` = yes; then
33514 cat >>confdefs.h <<_ACEOF
33515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33523 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33524 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33525 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33526 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33527 echo $ECHO_N "(cached) $ECHO_C" >&6
33533 ac_cpp='$CXXCPP $CPPFLAGS'
33534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33538 cat >conftest.$ac_ext <<_ACEOF
33539 #line $LINENO "configure"
33542 cat confdefs.h >>conftest.$ac_ext
33543 cat >>conftest.$ac_ext <<_ACEOF
33544 /* end confdefs.h. */
33554 rm -f conftest.$ac_objext
33555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33556 (eval $ac_compile) 2>&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); } &&
33560 { ac_try='test -s conftest.$ac_objext'
33561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33562 (eval $ac_try) 2>&5
33564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33565 (exit $ac_status); }; }; then
33566 glibcxx_cv_func__ldexpf_use=yes
33568 echo "$as_me: failed program was:" >&5
33569 sed 's/^/| /' conftest.$ac_ext >&5
33571 glibcxx_cv_func__ldexpf_use=no
33573 rm -f conftest.$ac_objext conftest.$ac_ext
33575 ac_cpp='$CPP $CPPFLAGS'
33576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33584 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33585 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33587 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33589 for ac_func in _ldexpf
33591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33592 echo "$as_me:$LINENO: checking for $ac_func" >&5
33593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33594 if eval "test \"\${$as_ac_var+set}\" = set"; then
33595 echo $ECHO_N "(cached) $ECHO_C" >&6
33597 if test x$gcc_no_link = xyes; then
33598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33600 { (exit 1); exit 1; }; }
33602 cat >conftest.$ac_ext <<_ACEOF
33603 #line $LINENO "configure"
33606 cat confdefs.h >>conftest.$ac_ext
33607 cat >>conftest.$ac_ext <<_ACEOF
33608 /* end confdefs.h. */
33609 /* System header to define __stub macros and hopefully few prototypes,
33610 which can conflict with char $ac_func (); below.
33611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33612 <limits.h> exists even on freestanding compilers. */
33614 # include <limits.h>
33616 # include <assert.h>
33618 /* Override any gcc2 internal prototype to avoid an error. */
33623 /* We use char because int might match the return type of a gcc2
33624 builtin and then its argument prototype would still apply. */
33626 /* The GNU C library defines this for functions which it implements
33627 to always fail with ENOSYS. Some functions are actually named
33628 something starting with __ and the normal name is an alias. */
33629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33632 char (*f) () = $ac_func;
33641 return f != $ac_func;
33646 rm -f conftest.$ac_objext conftest$ac_exeext
33647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33648 (eval $ac_link) 2>&5
33650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33651 (exit $ac_status); } &&
33652 { ac_try='test -s conftest$ac_exeext'
33653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33654 (eval $ac_try) 2>&5
33656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33657 (exit $ac_status); }; }; then
33658 eval "$as_ac_var=yes"
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33663 eval "$as_ac_var=no"
33665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33669 if test `eval echo '${'$as_ac_var'}'` = yes; then
33670 cat >>confdefs.h <<_ACEOF
33671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33682 echo "$as_me:$LINENO: checking for logf declaration" >&5
33683 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33684 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33685 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33686 echo $ECHO_N "(cached) $ECHO_C" >&6
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 cat >conftest.$ac_ext <<_ACEOF
33698 #line $LINENO "configure"
33701 cat confdefs.h >>conftest.$ac_ext
33702 cat >>conftest.$ac_ext <<_ACEOF
33703 /* end confdefs.h. */
33705 #ifdef HAVE_IEEEFP_H
33706 #include <ieeefp.h>
33717 rm -f conftest.$ac_objext
33718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33719 (eval $ac_compile) 2>&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -s conftest.$ac_objext'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; }; then
33729 glibcxx_cv_func_logf_use=yes
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33734 glibcxx_cv_func_logf_use=no
33736 rm -f conftest.$ac_objext conftest.$ac_ext
33738 ac_cpp='$CPP $CPPFLAGS'
33739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33747 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33748 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33750 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33752 for ac_func in logf
33754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33755 echo "$as_me:$LINENO: checking for $ac_func" >&5
33756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33757 if eval "test \"\${$as_ac_var+set}\" = set"; then
33758 echo $ECHO_N "(cached) $ECHO_C" >&6
33760 if test x$gcc_no_link = xyes; then
33761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33763 { (exit 1); exit 1; }; }
33765 cat >conftest.$ac_ext <<_ACEOF
33766 #line $LINENO "configure"
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772 /* System header to define __stub macros and hopefully few prototypes,
33773 which can conflict with char $ac_func (); below.
33774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33775 <limits.h> exists even on freestanding compilers. */
33777 # include <limits.h>
33779 # include <assert.h>
33781 /* Override any gcc2 internal prototype to avoid an error. */
33786 /* We use char because int might match the return type of a gcc2
33787 builtin and then its argument prototype would still apply. */
33789 /* The GNU C library defines this for functions which it implements
33790 to always fail with ENOSYS. Some functions are actually named
33791 something starting with __ and the normal name is an alias. */
33792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33795 char (*f) () = $ac_func;
33804 return f != $ac_func;
33809 rm -f conftest.$ac_objext conftest$ac_exeext
33810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33811 (eval $ac_link) 2>&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } &&
33815 { ac_try='test -s conftest$ac_exeext'
33816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33817 (eval $ac_try) 2>&5
33819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33820 (exit $ac_status); }; }; then
33821 eval "$as_ac_var=yes"
33823 echo "$as_me: failed program was:" >&5
33824 sed 's/^/| /' conftest.$ac_ext >&5
33826 eval "$as_ac_var=no"
33828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33832 if test `eval echo '${'$as_ac_var'}'` = yes; then
33833 cat >>confdefs.h <<_ACEOF
33834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33842 echo "$as_me:$LINENO: checking for _logf declaration" >&5
33843 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33844 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33845 if test "${glibcxx_cv_func__logf_use+set}" = set; then
33846 echo $ECHO_N "(cached) $ECHO_C" >&6
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33857 cat >conftest.$ac_ext <<_ACEOF
33858 #line $LINENO "configure"
33861 cat confdefs.h >>conftest.$ac_ext
33862 cat >>conftest.$ac_ext <<_ACEOF
33863 /* end confdefs.h. */
33865 #ifdef HAVE_IEEEFP_H
33866 #include <ieeefp.h>
33877 rm -f conftest.$ac_objext
33878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33879 (eval $ac_compile) 2>&5
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); } &&
33883 { ac_try='test -s conftest.$ac_objext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889 glibcxx_cv_func__logf_use=yes
33891 echo "$as_me: failed program was:" >&5
33892 sed 's/^/| /' conftest.$ac_ext >&5
33894 glibcxx_cv_func__logf_use=no
33896 rm -f conftest.$ac_objext conftest.$ac_ext
33898 ac_cpp='$CPP $CPPFLAGS'
33899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
33908 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
33910 if test x$glibcxx_cv_func__logf_use = x"yes"; then
33912 for ac_func in _logf
33914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33915 echo "$as_me:$LINENO: checking for $ac_func" >&5
33916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33917 if eval "test \"\${$as_ac_var+set}\" = set"; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 if test x$gcc_no_link = xyes; then
33921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33923 { (exit 1); exit 1; }; }
33925 cat >conftest.$ac_ext <<_ACEOF
33926 #line $LINENO "configure"
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33932 /* System header to define __stub macros and hopefully few prototypes,
33933 which can conflict with char $ac_func (); below.
33934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33935 <limits.h> exists even on freestanding compilers. */
33937 # include <limits.h>
33939 # include <assert.h>
33941 /* Override any gcc2 internal prototype to avoid an error. */
33946 /* We use char because int might match the return type of a gcc2
33947 builtin and then its argument prototype would still apply. */
33949 /* The GNU C library defines this for functions which it implements
33950 to always fail with ENOSYS. Some functions are actually named
33951 something starting with __ and the normal name is an alias. */
33952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33955 char (*f) () = $ac_func;
33964 return f != $ac_func;
33969 rm -f conftest.$ac_objext conftest$ac_exeext
33970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33971 (eval $ac_link) 2>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } &&
33975 { ac_try='test -s conftest$ac_exeext'
33976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33977 (eval $ac_try) 2>&5
33979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33980 (exit $ac_status); }; }; then
33981 eval "$as_ac_var=yes"
33983 echo "$as_me: failed program was:" >&5
33984 sed 's/^/| /' conftest.$ac_ext >&5
33986 eval "$as_ac_var=no"
33988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33992 if test `eval echo '${'$as_ac_var'}'` = yes; then
33993 cat >>confdefs.h <<_ACEOF
33994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34005 echo "$as_me:$LINENO: checking for log10f declaration" >&5
34006 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
34007 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34008 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
34009 echo $ECHO_N "(cached) $ECHO_C" >&6
34015 ac_cpp='$CXXCPP $CPPFLAGS'
34016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34020 cat >conftest.$ac_ext <<_ACEOF
34021 #line $LINENO "configure"
34024 cat confdefs.h >>conftest.$ac_ext
34025 cat >>conftest.$ac_ext <<_ACEOF
34026 /* end confdefs.h. */
34028 #ifdef HAVE_IEEEFP_H
34029 #include <ieeefp.h>
34040 rm -f conftest.$ac_objext
34041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34042 (eval $ac_compile) 2>&5
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); } &&
34046 { ac_try='test -s conftest.$ac_objext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 glibcxx_cv_func_log10f_use=yes
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34057 glibcxx_cv_func_log10f_use=no
34059 rm -f conftest.$ac_objext conftest.$ac_ext
34061 ac_cpp='$CPP $CPPFLAGS'
34062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34071 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34073 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34075 for ac_func in log10f
34077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34078 echo "$as_me:$LINENO: checking for $ac_func" >&5
34079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34080 if eval "test \"\${$as_ac_var+set}\" = set"; then
34081 echo $ECHO_N "(cached) $ECHO_C" >&6
34083 if test x$gcc_no_link = xyes; then
34084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34086 { (exit 1); exit 1; }; }
34088 cat >conftest.$ac_ext <<_ACEOF
34089 #line $LINENO "configure"
34092 cat confdefs.h >>conftest.$ac_ext
34093 cat >>conftest.$ac_ext <<_ACEOF
34094 /* end confdefs.h. */
34095 /* System header to define __stub macros and hopefully few prototypes,
34096 which can conflict with char $ac_func (); below.
34097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34098 <limits.h> exists even on freestanding compilers. */
34100 # include <limits.h>
34102 # include <assert.h>
34104 /* Override any gcc2 internal prototype to avoid an error. */
34109 /* We use char because int might match the return type of a gcc2
34110 builtin and then its argument prototype would still apply. */
34112 /* The GNU C library defines this for functions which it implements
34113 to always fail with ENOSYS. Some functions are actually named
34114 something starting with __ and the normal name is an alias. */
34115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34118 char (*f) () = $ac_func;
34127 return f != $ac_func;
34132 rm -f conftest.$ac_objext conftest$ac_exeext
34133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34134 (eval $ac_link) 2>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try='test -s conftest$ac_exeext'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; }; then
34144 eval "$as_ac_var=yes"
34146 echo "$as_me: failed program was:" >&5
34147 sed 's/^/| /' conftest.$ac_ext >&5
34149 eval "$as_ac_var=no"
34151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34155 if test `eval echo '${'$as_ac_var'}'` = yes; then
34156 cat >>confdefs.h <<_ACEOF
34157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34165 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34166 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34167 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34168 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34169 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34180 cat >conftest.$ac_ext <<_ACEOF
34181 #line $LINENO "configure"
34184 cat confdefs.h >>conftest.$ac_ext
34185 cat >>conftest.$ac_ext <<_ACEOF
34186 /* end confdefs.h. */
34188 #ifdef HAVE_IEEEFP_H
34189 #include <ieeefp.h>
34200 rm -f conftest.$ac_objext
34201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34202 (eval $ac_compile) 2>&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } &&
34206 { ac_try='test -s conftest.$ac_objext'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; }; then
34212 glibcxx_cv_func__log10f_use=yes
34214 echo "$as_me: failed program was:" >&5
34215 sed 's/^/| /' conftest.$ac_ext >&5
34217 glibcxx_cv_func__log10f_use=no
34219 rm -f conftest.$ac_objext conftest.$ac_ext
34221 ac_cpp='$CPP $CPPFLAGS'
34222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34230 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34231 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34233 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34235 for ac_func in _log10f
34237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34238 echo "$as_me:$LINENO: checking for $ac_func" >&5
34239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34240 if eval "test \"\${$as_ac_var+set}\" = set"; then
34241 echo $ECHO_N "(cached) $ECHO_C" >&6
34243 if test x$gcc_no_link = xyes; then
34244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34246 { (exit 1); exit 1; }; }
34248 cat >conftest.$ac_ext <<_ACEOF
34249 #line $LINENO "configure"
34252 cat confdefs.h >>conftest.$ac_ext
34253 cat >>conftest.$ac_ext <<_ACEOF
34254 /* end confdefs.h. */
34255 /* System header to define __stub macros and hopefully few prototypes,
34256 which can conflict with char $ac_func (); below.
34257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34258 <limits.h> exists even on freestanding compilers. */
34260 # include <limits.h>
34262 # include <assert.h>
34264 /* Override any gcc2 internal prototype to avoid an error. */
34269 /* We use char because int might match the return type of a gcc2
34270 builtin and then its argument prototype would still apply. */
34272 /* The GNU C library defines this for functions which it implements
34273 to always fail with ENOSYS. Some functions are actually named
34274 something starting with __ and the normal name is an alias. */
34275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34278 char (*f) () = $ac_func;
34287 return f != $ac_func;
34292 rm -f conftest.$ac_objext conftest$ac_exeext
34293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34294 (eval $ac_link) 2>&5
34296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34297 (exit $ac_status); } &&
34298 { ac_try='test -s conftest$ac_exeext'
34299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34300 (eval $ac_try) 2>&5
34302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34303 (exit $ac_status); }; }; then
34304 eval "$as_ac_var=yes"
34306 echo "$as_me: failed program was:" >&5
34307 sed 's/^/| /' conftest.$ac_ext >&5
34309 eval "$as_ac_var=no"
34311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34315 if test `eval echo '${'$as_ac_var'}'` = yes; then
34316 cat >>confdefs.h <<_ACEOF
34317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34328 echo "$as_me:$LINENO: checking for modff declaration" >&5
34329 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34330 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34331 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34338 ac_cpp='$CXXCPP $CPPFLAGS'
34339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34343 cat >conftest.$ac_ext <<_ACEOF
34344 #line $LINENO "configure"
34347 cat confdefs.h >>conftest.$ac_ext
34348 cat >>conftest.$ac_ext <<_ACEOF
34349 /* end confdefs.h. */
34359 rm -f conftest.$ac_objext
34360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34361 (eval $ac_compile) 2>&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); } &&
34365 { ac_try='test -s conftest.$ac_objext'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; }; then
34371 glibcxx_cv_func_modff_use=yes
34373 echo "$as_me: failed program was:" >&5
34374 sed 's/^/| /' conftest.$ac_ext >&5
34376 glibcxx_cv_func_modff_use=no
34378 rm -f conftest.$ac_objext conftest.$ac_ext
34380 ac_cpp='$CPP $CPPFLAGS'
34381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34389 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34390 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34392 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34394 for ac_func in modff
34396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34397 echo "$as_me:$LINENO: checking for $ac_func" >&5
34398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34399 if eval "test \"\${$as_ac_var+set}\" = set"; then
34400 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 if test x$gcc_no_link = xyes; then
34403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34405 { (exit 1); exit 1; }; }
34407 cat >conftest.$ac_ext <<_ACEOF
34408 #line $LINENO "configure"
34411 cat confdefs.h >>conftest.$ac_ext
34412 cat >>conftest.$ac_ext <<_ACEOF
34413 /* end confdefs.h. */
34414 /* System header to define __stub macros and hopefully few prototypes,
34415 which can conflict with char $ac_func (); below.
34416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34417 <limits.h> exists even on freestanding compilers. */
34419 # include <limits.h>
34421 # include <assert.h>
34423 /* Override any gcc2 internal prototype to avoid an error. */
34428 /* We use char because int might match the return type of a gcc2
34429 builtin and then its argument prototype would still apply. */
34431 /* The GNU C library defines this for functions which it implements
34432 to always fail with ENOSYS. Some functions are actually named
34433 something starting with __ and the normal name is an alias. */
34434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34437 char (*f) () = $ac_func;
34446 return f != $ac_func;
34451 rm -f conftest.$ac_objext conftest$ac_exeext
34452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34453 (eval $ac_link) 2>&5
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); } &&
34457 { ac_try='test -s conftest$ac_exeext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 eval "$as_ac_var=yes"
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34468 eval "$as_ac_var=no"
34470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34474 if test `eval echo '${'$as_ac_var'}'` = yes; then
34475 cat >>confdefs.h <<_ACEOF
34476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34484 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34485 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34486 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34487 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34488 echo $ECHO_N "(cached) $ECHO_C" >&6
34494 ac_cpp='$CXXCPP $CPPFLAGS'
34495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34499 cat >conftest.$ac_ext <<_ACEOF
34500 #line $LINENO "configure"
34503 cat confdefs.h >>conftest.$ac_ext
34504 cat >>conftest.$ac_ext <<_ACEOF
34505 /* end confdefs.h. */
34515 rm -f conftest.$ac_objext
34516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34517 (eval $ac_compile) 2>&5
34519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34520 (exit $ac_status); } &&
34521 { ac_try='test -s conftest.$ac_objext'
34522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34523 (eval $ac_try) 2>&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); }; }; then
34527 glibcxx_cv_func__modff_use=yes
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34532 glibcxx_cv_func__modff_use=no
34534 rm -f conftest.$ac_objext conftest.$ac_ext
34536 ac_cpp='$CPP $CPPFLAGS'
34537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34545 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34546 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34548 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34550 for ac_func in _modff
34552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34553 echo "$as_me:$LINENO: checking for $ac_func" >&5
34554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34555 if eval "test \"\${$as_ac_var+set}\" = set"; then
34556 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 if test x$gcc_no_link = xyes; then
34559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34561 { (exit 1); exit 1; }; }
34563 cat >conftest.$ac_ext <<_ACEOF
34564 #line $LINENO "configure"
34567 cat confdefs.h >>conftest.$ac_ext
34568 cat >>conftest.$ac_ext <<_ACEOF
34569 /* end confdefs.h. */
34570 /* System header to define __stub macros and hopefully few prototypes,
34571 which can conflict with char $ac_func (); below.
34572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34573 <limits.h> exists even on freestanding compilers. */
34575 # include <limits.h>
34577 # include <assert.h>
34579 /* Override any gcc2 internal prototype to avoid an error. */
34584 /* We use char because int might match the return type of a gcc2
34585 builtin and then its argument prototype would still apply. */
34587 /* The GNU C library defines this for functions which it implements
34588 to always fail with ENOSYS. Some functions are actually named
34589 something starting with __ and the normal name is an alias. */
34590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34593 char (*f) () = $ac_func;
34602 return f != $ac_func;
34607 rm -f conftest.$ac_objext conftest$ac_exeext
34608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34609 (eval $ac_link) 2>&5
34611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34612 (exit $ac_status); } &&
34613 { ac_try='test -s conftest$ac_exeext'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; }; then
34619 eval "$as_ac_var=yes"
34621 echo "$as_me: failed program was:" >&5
34622 sed 's/^/| /' conftest.$ac_ext >&5
34624 eval "$as_ac_var=no"
34626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34630 if test `eval echo '${'$as_ac_var'}'` = yes; then
34631 cat >>confdefs.h <<_ACEOF
34632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34643 echo "$as_me:$LINENO: checking for powf declaration" >&5
34644 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34645 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34646 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34653 ac_cpp='$CXXCPP $CPPFLAGS'
34654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658 cat >conftest.$ac_ext <<_ACEOF
34659 #line $LINENO "configure"
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34674 rm -f conftest.$ac_objext
34675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34676 (eval $ac_compile) 2>&5
34678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34679 (exit $ac_status); } &&
34680 { ac_try='test -s conftest.$ac_objext'
34681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34682 (eval $ac_try) 2>&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); }; }; then
34686 glibcxx_cv_func_powf_use=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.$ac_ext >&5
34691 glibcxx_cv_func_powf_use=no
34693 rm -f conftest.$ac_objext conftest.$ac_ext
34695 ac_cpp='$CPP $CPPFLAGS'
34696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34705 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34707 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34709 for ac_func in powf
34711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34712 echo "$as_me:$LINENO: checking for $ac_func" >&5
34713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34714 if eval "test \"\${$as_ac_var+set}\" = set"; then
34715 echo $ECHO_N "(cached) $ECHO_C" >&6
34717 if test x$gcc_no_link = xyes; then
34718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34720 { (exit 1); exit 1; }; }
34722 cat >conftest.$ac_ext <<_ACEOF
34723 #line $LINENO "configure"
34726 cat confdefs.h >>conftest.$ac_ext
34727 cat >>conftest.$ac_ext <<_ACEOF
34728 /* end confdefs.h. */
34729 /* System header to define __stub macros and hopefully few prototypes,
34730 which can conflict with char $ac_func (); below.
34731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34732 <limits.h> exists even on freestanding compilers. */
34734 # include <limits.h>
34736 # include <assert.h>
34738 /* Override any gcc2 internal prototype to avoid an error. */
34743 /* We use char because int might match the return type of a gcc2
34744 builtin and then its argument prototype would still apply. */
34746 /* The GNU C library defines this for functions which it implements
34747 to always fail with ENOSYS. Some functions are actually named
34748 something starting with __ and the normal name is an alias. */
34749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34752 char (*f) () = $ac_func;
34761 return f != $ac_func;
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>&5
34770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34771 (exit $ac_status); } &&
34772 { ac_try='test -s conftest$ac_exeext'
34773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34774 (eval $ac_try) 2>&5
34776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34777 (exit $ac_status); }; }; then
34778 eval "$as_ac_var=yes"
34780 echo "$as_me: failed program was:" >&5
34781 sed 's/^/| /' conftest.$ac_ext >&5
34783 eval "$as_ac_var=no"
34785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34789 if test `eval echo '${'$as_ac_var'}'` = yes; then
34790 cat >>confdefs.h <<_ACEOF
34791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34799 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34800 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34801 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34802 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34803 echo $ECHO_N "(cached) $ECHO_C" >&6
34809 ac_cpp='$CXXCPP $CPPFLAGS'
34810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34814 cat >conftest.$ac_ext <<_ACEOF
34815 #line $LINENO "configure"
34818 cat confdefs.h >>conftest.$ac_ext
34819 cat >>conftest.$ac_ext <<_ACEOF
34820 /* end confdefs.h. */
34830 rm -f conftest.$ac_objext
34831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34832 (eval $ac_compile) 2>&5
34834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34835 (exit $ac_status); } &&
34836 { ac_try='test -s conftest.$ac_objext'
34837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34838 (eval $ac_try) 2>&5
34840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34841 (exit $ac_status); }; }; then
34842 glibcxx_cv_func__powf_use=yes
34844 echo "$as_me: failed program was:" >&5
34845 sed 's/^/| /' conftest.$ac_ext >&5
34847 glibcxx_cv_func__powf_use=no
34849 rm -f conftest.$ac_objext conftest.$ac_ext
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34861 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34863 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34865 for ac_func in _powf
34867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34868 echo "$as_me:$LINENO: checking for $ac_func" >&5
34869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34870 if eval "test \"\${$as_ac_var+set}\" = set"; then
34871 echo $ECHO_N "(cached) $ECHO_C" >&6
34873 if test x$gcc_no_link = xyes; then
34874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34876 { (exit 1); exit 1; }; }
34878 cat >conftest.$ac_ext <<_ACEOF
34879 #line $LINENO "configure"
34882 cat confdefs.h >>conftest.$ac_ext
34883 cat >>conftest.$ac_ext <<_ACEOF
34884 /* end confdefs.h. */
34885 /* System header to define __stub macros and hopefully few prototypes,
34886 which can conflict with char $ac_func (); below.
34887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34888 <limits.h> exists even on freestanding compilers. */
34890 # include <limits.h>
34892 # include <assert.h>
34894 /* Override any gcc2 internal prototype to avoid an error. */
34899 /* We use char because int might match the return type of a gcc2
34900 builtin and then its argument prototype would still apply. */
34902 /* The GNU C library defines this for functions which it implements
34903 to always fail with ENOSYS. Some functions are actually named
34904 something starting with __ and the normal name is an alias. */
34905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34908 char (*f) () = $ac_func;
34917 return f != $ac_func;
34922 rm -f conftest.$ac_objext conftest$ac_exeext
34923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34924 (eval $ac_link) 2>&5
34926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34927 (exit $ac_status); } &&
34928 { ac_try='test -s conftest$ac_exeext'
34929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34930 (eval $ac_try) 2>&5
34932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34933 (exit $ac_status); }; }; then
34934 eval "$as_ac_var=yes"
34936 echo "$as_me: failed program was:" >&5
34937 sed 's/^/| /' conftest.$ac_ext >&5
34939 eval "$as_ac_var=no"
34941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34945 if test `eval echo '${'$as_ac_var'}'` = yes; then
34946 cat >>confdefs.h <<_ACEOF
34947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34958 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34959 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34960 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34961 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat >conftest.$ac_ext <<_ACEOF
34974 #line $LINENO "configure"
34977 cat confdefs.h >>conftest.$ac_ext
34978 cat >>conftest.$ac_ext <<_ACEOF
34979 /* end confdefs.h. */
34981 #ifdef HAVE_IEEEFP_H
34982 #include <ieeefp.h>
34993 rm -f conftest.$ac_objext
34994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34995 (eval $ac_compile) 2>&5
34997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34998 (exit $ac_status); } &&
34999 { ac_try='test -s conftest.$ac_objext'
35000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001 (eval $ac_try) 2>&5
35003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004 (exit $ac_status); }; }; then
35005 glibcxx_cv_func_sqrtf_use=yes
35007 echo "$as_me: failed program was:" >&5
35008 sed 's/^/| /' conftest.$ac_ext >&5
35010 glibcxx_cv_func_sqrtf_use=no
35012 rm -f conftest.$ac_objext conftest.$ac_ext
35014 ac_cpp='$CPP $CPPFLAGS'
35015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35023 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35024 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35026 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35028 for ac_func in sqrtf
35030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35031 echo "$as_me:$LINENO: checking for $ac_func" >&5
35032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35033 if eval "test \"\${$as_ac_var+set}\" = set"; then
35034 echo $ECHO_N "(cached) $ECHO_C" >&6
35036 if test x$gcc_no_link = xyes; then
35037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35039 { (exit 1); exit 1; }; }
35041 cat >conftest.$ac_ext <<_ACEOF
35042 #line $LINENO "configure"
35045 cat confdefs.h >>conftest.$ac_ext
35046 cat >>conftest.$ac_ext <<_ACEOF
35047 /* end confdefs.h. */
35048 /* System header to define __stub macros and hopefully few prototypes,
35049 which can conflict with char $ac_func (); below.
35050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35051 <limits.h> exists even on freestanding compilers. */
35053 # include <limits.h>
35055 # include <assert.h>
35057 /* Override any gcc2 internal prototype to avoid an error. */
35062 /* We use char because int might match the return type of a gcc2
35063 builtin and then its argument prototype would still apply. */
35065 /* The GNU C library defines this for functions which it implements
35066 to always fail with ENOSYS. Some functions are actually named
35067 something starting with __ and the normal name is an alias. */
35068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35071 char (*f) () = $ac_func;
35080 return f != $ac_func;
35085 rm -f conftest.$ac_objext conftest$ac_exeext
35086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35087 (eval $ac_link) 2>&5
35089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35090 (exit $ac_status); } &&
35091 { ac_try='test -s conftest$ac_exeext'
35092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35093 (eval $ac_try) 2>&5
35095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35096 (exit $ac_status); }; }; then
35097 eval "$as_ac_var=yes"
35099 echo "$as_me: failed program was:" >&5
35100 sed 's/^/| /' conftest.$ac_ext >&5
35102 eval "$as_ac_var=no"
35104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35108 if test `eval echo '${'$as_ac_var'}'` = yes; then
35109 cat >>confdefs.h <<_ACEOF
35110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35118 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35119 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35120 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35121 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133 cat >conftest.$ac_ext <<_ACEOF
35134 #line $LINENO "configure"
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35141 #ifdef HAVE_IEEEFP_H
35142 #include <ieeefp.h>
35153 rm -f conftest.$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } &&
35159 { ac_try='test -s conftest.$ac_objext'
35160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35161 (eval $ac_try) 2>&5
35163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35164 (exit $ac_status); }; }; then
35165 glibcxx_cv_func__sqrtf_use=yes
35167 echo "$as_me: failed program was:" >&5
35168 sed 's/^/| /' conftest.$ac_ext >&5
35170 glibcxx_cv_func__sqrtf_use=no
35172 rm -f conftest.$ac_objext conftest.$ac_ext
35174 ac_cpp='$CPP $CPPFLAGS'
35175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35184 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35186 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35188 for ac_func in _sqrtf
35190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35191 echo "$as_me:$LINENO: checking for $ac_func" >&5
35192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35193 if eval "test \"\${$as_ac_var+set}\" = set"; then
35194 echo $ECHO_N "(cached) $ECHO_C" >&6
35196 if test x$gcc_no_link = xyes; then
35197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35199 { (exit 1); exit 1; }; }
35201 cat >conftest.$ac_ext <<_ACEOF
35202 #line $LINENO "configure"
35205 cat confdefs.h >>conftest.$ac_ext
35206 cat >>conftest.$ac_ext <<_ACEOF
35207 /* end confdefs.h. */
35208 /* System header to define __stub macros and hopefully few prototypes,
35209 which can conflict with char $ac_func (); below.
35210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35211 <limits.h> exists even on freestanding compilers. */
35213 # include <limits.h>
35215 # include <assert.h>
35217 /* Override any gcc2 internal prototype to avoid an error. */
35222 /* We use char because int might match the return type of a gcc2
35223 builtin and then its argument prototype would still apply. */
35225 /* The GNU C library defines this for functions which it implements
35226 to always fail with ENOSYS. Some functions are actually named
35227 something starting with __ and the normal name is an alias. */
35228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35231 char (*f) () = $ac_func;
35240 return f != $ac_func;
35245 rm -f conftest.$ac_objext conftest$ac_exeext
35246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35247 (eval $ac_link) 2>&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try='test -s conftest$ac_exeext'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; }; then
35257 eval "$as_ac_var=yes"
35259 echo "$as_me: failed program was:" >&5
35260 sed 's/^/| /' conftest.$ac_ext >&5
35262 eval "$as_ac_var=no"
35264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35268 if test `eval echo '${'$as_ac_var'}'` = yes; then
35269 cat >>confdefs.h <<_ACEOF
35270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35281 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35282 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35283 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35284 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35285 echo $ECHO_N "(cached) $ECHO_C" >&6
35291 ac_cpp='$CXXCPP $CPPFLAGS'
35292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35296 cat >conftest.$ac_ext <<_ACEOF
35297 #line $LINENO "configure"
35300 cat confdefs.h >>conftest.$ac_ext
35301 cat >>conftest.$ac_ext <<_ACEOF
35302 /* end confdefs.h. */
35312 rm -f conftest.$ac_objext
35313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35314 (eval $ac_compile) 2>&5
35316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35317 (exit $ac_status); } &&
35318 { ac_try='test -s conftest.$ac_objext'
35319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35320 (eval $ac_try) 2>&5
35322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35323 (exit $ac_status); }; }; then
35324 glibcxx_cv_func_sincosf_use=yes
35326 echo "$as_me: failed program was:" >&5
35327 sed 's/^/| /' conftest.$ac_ext >&5
35329 glibcxx_cv_func_sincosf_use=no
35331 rm -f conftest.$ac_objext conftest.$ac_ext
35333 ac_cpp='$CPP $CPPFLAGS'
35334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35342 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35343 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35345 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35347 for ac_func in sincosf
35349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35350 echo "$as_me:$LINENO: checking for $ac_func" >&5
35351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35352 if eval "test \"\${$as_ac_var+set}\" = set"; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35355 if test x$gcc_no_link = xyes; then
35356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35358 { (exit 1); exit 1; }; }
35360 cat >conftest.$ac_ext <<_ACEOF
35361 #line $LINENO "configure"
35364 cat confdefs.h >>conftest.$ac_ext
35365 cat >>conftest.$ac_ext <<_ACEOF
35366 /* end confdefs.h. */
35367 /* System header to define __stub macros and hopefully few prototypes,
35368 which can conflict with char $ac_func (); below.
35369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35370 <limits.h> exists even on freestanding compilers. */
35372 # include <limits.h>
35374 # include <assert.h>
35376 /* Override any gcc2 internal prototype to avoid an error. */
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35384 /* The GNU C library defines this for functions which it implements
35385 to always fail with ENOSYS. Some functions are actually named
35386 something starting with __ and the normal name is an alias. */
35387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35390 char (*f) () = $ac_func;
35399 return f != $ac_func;
35404 rm -f conftest.$ac_objext conftest$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>&5
35408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35409 (exit $ac_status); } &&
35410 { ac_try='test -s conftest$ac_exeext'
35411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35412 (eval $ac_try) 2>&5
35414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35415 (exit $ac_status); }; }; then
35416 eval "$as_ac_var=yes"
35418 echo "$as_me: failed program was:" >&5
35419 sed 's/^/| /' conftest.$ac_ext >&5
35421 eval "$as_ac_var=no"
35423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35427 if test `eval echo '${'$as_ac_var'}'` = yes; then
35428 cat >>confdefs.h <<_ACEOF
35429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35437 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35438 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35439 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35440 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35441 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 ac_cpp='$CXXCPP $CPPFLAGS'
35448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35452 cat >conftest.$ac_ext <<_ACEOF
35453 #line $LINENO "configure"
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35468 rm -f conftest.$ac_objext
35469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35470 (eval $ac_compile) 2>&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } &&
35474 { ac_try='test -s conftest.$ac_objext'
35475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35476 (eval $ac_try) 2>&5
35478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35479 (exit $ac_status); }; }; then
35480 glibcxx_cv_func__sincosf_use=yes
35482 echo "$as_me: failed program was:" >&5
35483 sed 's/^/| /' conftest.$ac_ext >&5
35485 glibcxx_cv_func__sincosf_use=no
35487 rm -f conftest.$ac_objext conftest.$ac_ext
35489 ac_cpp='$CPP $CPPFLAGS'
35490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35498 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35499 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35501 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35503 for ac_func in _sincosf
35505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35506 echo "$as_me:$LINENO: checking for $ac_func" >&5
35507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35508 if eval "test \"\${$as_ac_var+set}\" = set"; then
35509 echo $ECHO_N "(cached) $ECHO_C" >&6
35511 if test x$gcc_no_link = xyes; then
35512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35514 { (exit 1); exit 1; }; }
35516 cat >conftest.$ac_ext <<_ACEOF
35517 #line $LINENO "configure"
35520 cat confdefs.h >>conftest.$ac_ext
35521 cat >>conftest.$ac_ext <<_ACEOF
35522 /* end confdefs.h. */
35523 /* System header to define __stub macros and hopefully few prototypes,
35524 which can conflict with char $ac_func (); below.
35525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35526 <limits.h> exists even on freestanding compilers. */
35528 # include <limits.h>
35530 # include <assert.h>
35532 /* Override any gcc2 internal prototype to avoid an error. */
35537 /* We use char because int might match the return type of a gcc2
35538 builtin and then its argument prototype would still apply. */
35540 /* The GNU C library defines this for functions which it implements
35541 to always fail with ENOSYS. Some functions are actually named
35542 something starting with __ and the normal name is an alias. */
35543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35546 char (*f) () = $ac_func;
35555 return f != $ac_func;
35560 rm -f conftest.$ac_objext conftest$ac_exeext
35561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35562 (eval $ac_link) 2>&5
35564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35565 (exit $ac_status); } &&
35566 { ac_try='test -s conftest$ac_exeext'
35567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35568 (eval $ac_try) 2>&5
35570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35571 (exit $ac_status); }; }; then
35572 eval "$as_ac_var=yes"
35574 echo "$as_me: failed program was:" >&5
35575 sed 's/^/| /' conftest.$ac_ext >&5
35577 eval "$as_ac_var=no"
35579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35583 if test `eval echo '${'$as_ac_var'}'` = yes; then
35584 cat >>confdefs.h <<_ACEOF
35585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35596 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35597 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35598 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35599 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35600 echo $ECHO_N "(cached) $ECHO_C" >&6
35606 ac_cpp='$CXXCPP $CPPFLAGS'
35607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35611 cat >conftest.$ac_ext <<_ACEOF
35612 #line $LINENO "configure"
35615 cat confdefs.h >>conftest.$ac_ext
35616 cat >>conftest.$ac_ext <<_ACEOF
35617 /* end confdefs.h. */
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35631 rm -f conftest.$ac_objext
35632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35633 (eval $ac_compile) 2>&5
35635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636 (exit $ac_status); } &&
35637 { ac_try='test -s conftest.$ac_objext'
35638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639 (eval $ac_try) 2>&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); }; }; then
35643 glibcxx_cv_func_finitef_use=yes
35645 echo "$as_me: failed program was:" >&5
35646 sed 's/^/| /' conftest.$ac_ext >&5
35648 glibcxx_cv_func_finitef_use=no
35650 rm -f conftest.$ac_objext conftest.$ac_ext
35652 ac_cpp='$CPP $CPPFLAGS'
35653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35662 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35664 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35666 for ac_func in finitef
35668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35669 echo "$as_me:$LINENO: checking for $ac_func" >&5
35670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35671 if eval "test \"\${$as_ac_var+set}\" = set"; then
35672 echo $ECHO_N "(cached) $ECHO_C" >&6
35674 if test x$gcc_no_link = xyes; then
35675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35677 { (exit 1); exit 1; }; }
35679 cat >conftest.$ac_ext <<_ACEOF
35680 #line $LINENO "configure"
35683 cat confdefs.h >>conftest.$ac_ext
35684 cat >>conftest.$ac_ext <<_ACEOF
35685 /* end confdefs.h. */
35686 /* System header to define __stub macros and hopefully few prototypes,
35687 which can conflict with char $ac_func (); below.
35688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35689 <limits.h> exists even on freestanding compilers. */
35691 # include <limits.h>
35693 # include <assert.h>
35695 /* Override any gcc2 internal prototype to avoid an error. */
35700 /* We use char because int might match the return type of a gcc2
35701 builtin and then its argument prototype would still apply. */
35703 /* The GNU C library defines this for functions which it implements
35704 to always fail with ENOSYS. Some functions are actually named
35705 something starting with __ and the normal name is an alias. */
35706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35709 char (*f) () = $ac_func;
35718 return f != $ac_func;
35723 rm -f conftest.$ac_objext conftest$ac_exeext
35724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35725 (eval $ac_link) 2>&5
35727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35728 (exit $ac_status); } &&
35729 { ac_try='test -s conftest$ac_exeext'
35730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35731 (eval $ac_try) 2>&5
35733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35734 (exit $ac_status); }; }; then
35735 eval "$as_ac_var=yes"
35737 echo "$as_me: failed program was:" >&5
35738 sed 's/^/| /' conftest.$ac_ext >&5
35740 eval "$as_ac_var=no"
35742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35746 if test `eval echo '${'$as_ac_var'}'` = yes; then
35747 cat >>confdefs.h <<_ACEOF
35748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35756 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35757 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35758 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35759 if test "${glibcxx_cv_func__finitef_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. */
35779 #ifdef HAVE_IEEEFP_H
35780 #include <ieeefp.h>
35791 rm -f conftest.$ac_objext
35792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35793 (eval $ac_compile) 2>&5
35795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35796 (exit $ac_status); } &&
35797 { ac_try='test -s conftest.$ac_objext'
35798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35799 (eval $ac_try) 2>&5
35801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35802 (exit $ac_status); }; }; then
35803 glibcxx_cv_func__finitef_use=yes
35805 echo "$as_me: failed program was:" >&5
35806 sed 's/^/| /' conftest.$ac_ext >&5
35808 glibcxx_cv_func__finitef_use=no
35810 rm -f conftest.$ac_objext conftest.$ac_ext
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35822 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35824 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35826 for ac_func in _finitef
35828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35829 echo "$as_me:$LINENO: checking for $ac_func" >&5
35830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35831 if eval "test \"\${$as_ac_var+set}\" = set"; then
35832 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 if test x$gcc_no_link = xyes; then
35835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35837 { (exit 1); exit 1; }; }
35839 cat >conftest.$ac_ext <<_ACEOF
35840 #line $LINENO "configure"
35843 cat confdefs.h >>conftest.$ac_ext
35844 cat >>conftest.$ac_ext <<_ACEOF
35845 /* end confdefs.h. */
35846 /* System header to define __stub macros and hopefully few prototypes,
35847 which can conflict with char $ac_func (); below.
35848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35849 <limits.h> exists even on freestanding compilers. */
35851 # include <limits.h>
35853 # include <assert.h>
35855 /* Override any gcc2 internal prototype to avoid an error. */
35860 /* We use char because int might match the return type of a gcc2
35861 builtin and then its argument prototype would still apply. */
35863 /* The GNU C library defines this for functions which it implements
35864 to always fail with ENOSYS. Some functions are actually named
35865 something starting with __ and the normal name is an alias. */
35866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35869 char (*f) () = $ac_func;
35878 return f != $ac_func;
35883 rm -f conftest.$ac_objext conftest$ac_exeext
35884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35885 (eval $ac_link) 2>&5
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); } &&
35889 { ac_try='test -s conftest$ac_exeext'
35890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35891 (eval $ac_try) 2>&5
35893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35894 (exit $ac_status); }; }; then
35895 eval "$as_ac_var=yes"
35897 echo "$as_me: failed program was:" >&5
35898 sed 's/^/| /' conftest.$ac_ext >&5
35900 eval "$as_ac_var=no"
35902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35906 if test `eval echo '${'$as_ac_var'}'` = yes; then
35907 cat >>confdefs.h <<_ACEOF
35908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35919 echo "$as_me:$LINENO: checking for long double trig functions" >&5
35920 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35921 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35922 echo $ECHO_N "(cached) $ECHO_C" >&6
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35933 cat >conftest.$ac_ext <<_ACEOF
35934 #line $LINENO "configure"
35937 cat confdefs.h >>conftest.$ac_ext
35938 cat >>conftest.$ac_ext <<_ACEOF
35939 /* end confdefs.h. */
35944 `for x in acosl asinl atanl \
35946 coshl sinhl tanhl; do echo "$x (0);"; done`
35951 rm -f conftest.$ac_objext
35952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35953 (eval $ac_compile) 2>&5
35955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35956 (exit $ac_status); } &&
35957 { ac_try='test -s conftest.$ac_objext'
35958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35959 (eval $ac_try) 2>&5
35961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35962 (exit $ac_status); }; }; then
35963 glibcxx_cv_func_long_double_trig_use=yes
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35968 glibcxx_cv_func_long_double_trig_use=no
35970 rm -f conftest.$ac_objext conftest.$ac_ext
35972 ac_cpp='$CPP $CPPFLAGS'
35973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35980 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35981 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35991 for ac_func in acosl asinl atanl \
35995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35996 echo "$as_me:$LINENO: checking for $ac_func" >&5
35997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35998 if eval "test \"\${$as_ac_var+set}\" = set"; then
35999 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 if test x$gcc_no_link = xyes; then
36002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36004 { (exit 1); exit 1; }; }
36006 cat >conftest.$ac_ext <<_ACEOF
36007 #line $LINENO "configure"
36010 cat confdefs.h >>conftest.$ac_ext
36011 cat >>conftest.$ac_ext <<_ACEOF
36012 /* end confdefs.h. */
36013 /* System header to define __stub macros and hopefully few prototypes,
36014 which can conflict with char $ac_func (); below.
36015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36016 <limits.h> exists even on freestanding compilers. */
36018 # include <limits.h>
36020 # include <assert.h>
36022 /* Override any gcc2 internal prototype to avoid an error. */
36027 /* We use char because int might match the return type of a gcc2
36028 builtin and then its argument prototype would still apply. */
36030 /* The GNU C library defines this for functions which it implements
36031 to always fail with ENOSYS. Some functions are actually named
36032 something starting with __ and the normal name is an alias. */
36033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36036 char (*f) () = $ac_func;
36045 return f != $ac_func;
36050 rm -f conftest.$ac_objext conftest$ac_exeext
36051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36052 (eval $ac_link) 2>&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } &&
36056 { ac_try='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36067 eval "$as_ac_var=no"
36069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36073 if test `eval echo '${'$as_ac_var'}'` = yes; then
36074 cat >>confdefs.h <<_ACEOF
36075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36084 echo "$as_me:$LINENO: checking for long double round functions" >&5
36085 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36086 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36087 echo $ECHO_N "(cached) $ECHO_C" >&6
36093 ac_cpp='$CXXCPP $CPPFLAGS'
36094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36098 cat >conftest.$ac_ext <<_ACEOF
36099 #line $LINENO "configure"
36102 cat confdefs.h >>conftest.$ac_ext
36103 cat >>conftest.$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36109 `for x in ceill floorl; do echo "$x (0);"; done`
36114 rm -f conftest.$ac_objext
36115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36116 (eval $ac_compile) 2>&5
36118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36119 (exit $ac_status); } &&
36120 { ac_try='test -s conftest.$ac_objext'
36121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36122 (eval $ac_try) 2>&5
36124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36125 (exit $ac_status); }; }; then
36126 glibcxx_cv_func_long_double_round_use=yes
36128 echo "$as_me: failed program was:" >&5
36129 sed 's/^/| /' conftest.$ac_ext >&5
36131 glibcxx_cv_func_long_double_round_use=no
36133 rm -f conftest.$ac_objext conftest.$ac_ext
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36143 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36144 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36147 for ac_func in ceill floorl
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
36239 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36240 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36241 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36242 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36243 echo $ECHO_N "(cached) $ECHO_C" >&6
36249 ac_cpp='$CXXCPP $CPPFLAGS'
36250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254 cat >conftest.$ac_ext <<_ACEOF
36255 #line $LINENO "configure"
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36262 #ifdef HAVE_IEEEFP_H
36263 #include <ieeefp.h>
36274 rm -f conftest.$ac_objext
36275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36276 (eval $ac_compile) 2>&5
36278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36279 (exit $ac_status); } &&
36280 { ac_try='test -s conftest.$ac_objext'
36281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282 (eval $ac_try) 2>&5
36284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285 (exit $ac_status); }; }; then
36286 glibcxx_cv_func_isnanl_use=yes
36288 echo "$as_me: failed program was:" >&5
36289 sed 's/^/| /' conftest.$ac_ext >&5
36291 glibcxx_cv_func_isnanl_use=no
36293 rm -f conftest.$ac_objext conftest.$ac_ext
36295 ac_cpp='$CPP $CPPFLAGS'
36296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36305 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36307 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36309 for ac_func in isnanl
36311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36312 echo "$as_me:$LINENO: checking for $ac_func" >&5
36313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36314 if eval "test \"\${$as_ac_var+set}\" = set"; then
36315 echo $ECHO_N "(cached) $ECHO_C" >&6
36317 if test x$gcc_no_link = xyes; then
36318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36320 { (exit 1); exit 1; }; }
36322 cat >conftest.$ac_ext <<_ACEOF
36323 #line $LINENO "configure"
36326 cat confdefs.h >>conftest.$ac_ext
36327 cat >>conftest.$ac_ext <<_ACEOF
36328 /* end confdefs.h. */
36329 /* System header to define __stub macros and hopefully few prototypes,
36330 which can conflict with char $ac_func (); below.
36331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36332 <limits.h> exists even on freestanding compilers. */
36334 # include <limits.h>
36336 # include <assert.h>
36338 /* Override any gcc2 internal prototype to avoid an error. */
36343 /* We use char because int might match the return type of a gcc2
36344 builtin and then its argument prototype would still apply. */
36346 /* The GNU C library defines this for functions which it implements
36347 to always fail with ENOSYS. Some functions are actually named
36348 something starting with __ and the normal name is an alias. */
36349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36352 char (*f) () = $ac_func;
36361 return f != $ac_func;
36366 rm -f conftest.$ac_objext conftest$ac_exeext
36367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36368 (eval $ac_link) 2>&5
36370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36371 (exit $ac_status); } &&
36372 { ac_try='test -s conftest$ac_exeext'
36373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36374 (eval $ac_try) 2>&5
36376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36377 (exit $ac_status); }; }; then
36378 eval "$as_ac_var=yes"
36380 echo "$as_me: failed program was:" >&5
36381 sed 's/^/| /' conftest.$ac_ext >&5
36383 eval "$as_ac_var=no"
36385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36389 if test `eval echo '${'$as_ac_var'}'` = yes; then
36390 cat >>confdefs.h <<_ACEOF
36391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36399 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36400 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36401 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36402 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36409 ac_cpp='$CXXCPP $CPPFLAGS'
36410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36414 cat >conftest.$ac_ext <<_ACEOF
36415 #line $LINENO "configure"
36418 cat confdefs.h >>conftest.$ac_ext
36419 cat >>conftest.$ac_ext <<_ACEOF
36420 /* end confdefs.h. */
36422 #ifdef HAVE_IEEEFP_H
36423 #include <ieeefp.h>
36434 rm -f conftest.$ac_objext
36435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36436 (eval $ac_compile) 2>&5
36438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36439 (exit $ac_status); } &&
36440 { ac_try='test -s conftest.$ac_objext'
36441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36442 (eval $ac_try) 2>&5
36444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36445 (exit $ac_status); }; }; then
36446 glibcxx_cv_func__isnanl_use=yes
36448 echo "$as_me: failed program was:" >&5
36449 sed 's/^/| /' conftest.$ac_ext >&5
36451 glibcxx_cv_func__isnanl_use=no
36453 rm -f conftest.$ac_objext conftest.$ac_ext
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36465 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36467 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36469 for ac_func in _isnanl
36471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 echo "$as_me:$LINENO: checking for $ac_func" >&5
36473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36474 if eval "test \"\${$as_ac_var+set}\" = set"; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 if test x$gcc_no_link = xyes; then
36478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36480 { (exit 1); exit 1; }; }
36482 cat >conftest.$ac_ext <<_ACEOF
36483 #line $LINENO "configure"
36486 cat confdefs.h >>conftest.$ac_ext
36487 cat >>conftest.$ac_ext <<_ACEOF
36488 /* end confdefs.h. */
36489 /* System header to define __stub macros and hopefully few prototypes,
36490 which can conflict with char $ac_func (); below.
36491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36492 <limits.h> exists even on freestanding compilers. */
36494 # include <limits.h>
36496 # include <assert.h>
36498 /* Override any gcc2 internal prototype to avoid an error. */
36503 /* We use char because int might match the return type of a gcc2
36504 builtin and then its argument prototype would still apply. */
36506 /* The GNU C library defines this for functions which it implements
36507 to always fail with ENOSYS. Some functions are actually named
36508 something starting with __ and the normal name is an alias. */
36509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36512 char (*f) () = $ac_func;
36521 return f != $ac_func;
36526 rm -f conftest.$ac_objext conftest$ac_exeext
36527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36528 (eval $ac_link) 2>&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } &&
36532 { ac_try='test -s conftest$ac_exeext'
36533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36534 (eval $ac_try) 2>&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); }; }; then
36538 eval "$as_ac_var=yes"
36540 echo "$as_me: failed program was:" >&5
36541 sed 's/^/| /' conftest.$ac_ext >&5
36543 eval "$as_ac_var=no"
36545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36549 if test `eval echo '${'$as_ac_var'}'` = yes; then
36550 cat >>confdefs.h <<_ACEOF
36551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36562 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36563 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36564 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36565 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36572 ac_cpp='$CXXCPP $CPPFLAGS'
36573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36577 cat >conftest.$ac_ext <<_ACEOF
36578 #line $LINENO "configure"
36581 cat confdefs.h >>conftest.$ac_ext
36582 cat >>conftest.$ac_ext <<_ACEOF
36583 /* end confdefs.h. */
36585 #ifdef HAVE_IEEEFP_H
36586 #include <ieeefp.h>
36597 rm -f conftest.$ac_objext
36598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36599 (eval $ac_compile) 2>&5
36601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36602 (exit $ac_status); } &&
36603 { ac_try='test -s conftest.$ac_objext'
36604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36605 (eval $ac_try) 2>&5
36607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36608 (exit $ac_status); }; }; then
36609 glibcxx_cv_func_isinfl_use=yes
36611 echo "$as_me: failed program was:" >&5
36612 sed 's/^/| /' conftest.$ac_ext >&5
36614 glibcxx_cv_func_isinfl_use=no
36616 rm -f conftest.$ac_objext conftest.$ac_ext
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36627 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36628 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36630 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36632 for ac_func in isinfl
36634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36635 echo "$as_me:$LINENO: checking for $ac_func" >&5
36636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36637 if eval "test \"\${$as_ac_var+set}\" = set"; then
36638 echo $ECHO_N "(cached) $ECHO_C" >&6
36640 if test x$gcc_no_link = xyes; then
36641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36643 { (exit 1); exit 1; }; }
36645 cat >conftest.$ac_ext <<_ACEOF
36646 #line $LINENO "configure"
36649 cat confdefs.h >>conftest.$ac_ext
36650 cat >>conftest.$ac_ext <<_ACEOF
36651 /* end confdefs.h. */
36652 /* System header to define __stub macros and hopefully few prototypes,
36653 which can conflict with char $ac_func (); below.
36654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36655 <limits.h> exists even on freestanding compilers. */
36657 # include <limits.h>
36659 # include <assert.h>
36661 /* Override any gcc2 internal prototype to avoid an error. */
36666 /* We use char because int might match the return type of a gcc2
36667 builtin and then its argument prototype would still apply. */
36669 /* The GNU C library defines this for functions which it implements
36670 to always fail with ENOSYS. Some functions are actually named
36671 something starting with __ and the normal name is an alias. */
36672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36675 char (*f) () = $ac_func;
36684 return f != $ac_func;
36689 rm -f conftest.$ac_objext conftest$ac_exeext
36690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36691 (eval $ac_link) 2>&5
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); } &&
36695 { ac_try='test -s conftest$ac_exeext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 eval "$as_ac_var=yes"
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36706 eval "$as_ac_var=no"
36708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36722 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36723 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36724 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36725 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat >conftest.$ac_ext <<_ACEOF
36738 #line $LINENO "configure"
36741 cat confdefs.h >>conftest.$ac_ext
36742 cat >>conftest.$ac_ext <<_ACEOF
36743 /* end confdefs.h. */
36745 #ifdef HAVE_IEEEFP_H
36746 #include <ieeefp.h>
36757 rm -f conftest.$ac_objext
36758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36759 (eval $ac_compile) 2>&5
36761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762 (exit $ac_status); } &&
36763 { ac_try='test -s conftest.$ac_objext'
36764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36765 (eval $ac_try) 2>&5
36767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36768 (exit $ac_status); }; }; then
36769 glibcxx_cv_func__isinfl_use=yes
36771 echo "$as_me: failed program was:" >&5
36772 sed 's/^/| /' conftest.$ac_ext >&5
36774 glibcxx_cv_func__isinfl_use=no
36776 rm -f conftest.$ac_objext conftest.$ac_ext
36778 ac_cpp='$CPP $CPPFLAGS'
36779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36788 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36790 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36792 for ac_func in _isinfl
36794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36795 echo "$as_me:$LINENO: checking for $ac_func" >&5
36796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36797 if eval "test \"\${$as_ac_var+set}\" = set"; then
36798 echo $ECHO_N "(cached) $ECHO_C" >&6
36800 if test x$gcc_no_link = xyes; then
36801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36803 { (exit 1); exit 1; }; }
36805 cat >conftest.$ac_ext <<_ACEOF
36806 #line $LINENO "configure"
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812 /* System header to define __stub macros and hopefully few prototypes,
36813 which can conflict with char $ac_func (); below.
36814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36815 <limits.h> exists even on freestanding compilers. */
36817 # include <limits.h>
36819 # include <assert.h>
36821 /* Override any gcc2 internal prototype to avoid an error. */
36826 /* We use char because int might match the return type of a gcc2
36827 builtin and then its argument prototype would still apply. */
36829 /* The GNU C library defines this for functions which it implements
36830 to always fail with ENOSYS. Some functions are actually named
36831 something starting with __ and the normal name is an alias. */
36832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36835 char (*f) () = $ac_func;
36844 return f != $ac_func;
36849 rm -f conftest.$ac_objext conftest$ac_exeext
36850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36851 (eval $ac_link) 2>&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try='test -s conftest$ac_exeext'
36856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36857 (eval $ac_try) 2>&5
36859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36860 (exit $ac_status); }; }; then
36861 eval "$as_ac_var=yes"
36863 echo "$as_me: failed program was:" >&5
36864 sed 's/^/| /' conftest.$ac_ext >&5
36866 eval "$as_ac_var=no"
36868 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36872 if test `eval echo '${'$as_ac_var'}'` = yes; then
36873 cat >>confdefs.h <<_ACEOF
36874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36885 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36886 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36887 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36888 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36889 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 ac_cpp='$CXXCPP $CPPFLAGS'
36896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36900 cat >conftest.$ac_ext <<_ACEOF
36901 #line $LINENO "configure"
36904 cat confdefs.h >>conftest.$ac_ext
36905 cat >>conftest.$ac_ext <<_ACEOF
36906 /* end confdefs.h. */
36916 rm -f conftest.$ac_objext
36917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36918 (eval $ac_compile) 2>&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } &&
36922 { ac_try='test -s conftest.$ac_objext'
36923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36924 (eval $ac_try) 2>&5
36926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36927 (exit $ac_status); }; }; then
36928 glibcxx_cv_func_copysignl_use=yes
36930 echo "$as_me: failed program was:" >&5
36931 sed 's/^/| /' conftest.$ac_ext >&5
36933 glibcxx_cv_func_copysignl_use=no
36935 rm -f conftest.$ac_objext conftest.$ac_ext
36937 ac_cpp='$CPP $CPPFLAGS'
36938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36947 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36949 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36951 for ac_func in copysignl
36953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36954 echo "$as_me:$LINENO: checking for $ac_func" >&5
36955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36956 if eval "test \"\${$as_ac_var+set}\" = set"; then
36957 echo $ECHO_N "(cached) $ECHO_C" >&6
36959 if test x$gcc_no_link = xyes; then
36960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36962 { (exit 1); exit 1; }; }
36964 cat >conftest.$ac_ext <<_ACEOF
36965 #line $LINENO "configure"
36968 cat confdefs.h >>conftest.$ac_ext
36969 cat >>conftest.$ac_ext <<_ACEOF
36970 /* end confdefs.h. */
36971 /* System header to define __stub macros and hopefully few prototypes,
36972 which can conflict with char $ac_func (); below.
36973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36974 <limits.h> exists even on freestanding compilers. */
36976 # include <limits.h>
36978 # include <assert.h>
36980 /* Override any gcc2 internal prototype to avoid an error. */
36985 /* We use char because int might match the return type of a gcc2
36986 builtin and then its argument prototype would still apply. */
36988 /* The GNU C library defines this for functions which it implements
36989 to always fail with ENOSYS. Some functions are actually named
36990 something starting with __ and the normal name is an alias. */
36991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36994 char (*f) () = $ac_func;
37003 return f != $ac_func;
37008 rm -f conftest.$ac_objext conftest$ac_exeext
37009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37010 (eval $ac_link) 2>&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } &&
37014 { ac_try='test -s conftest$ac_exeext'
37015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37016 (eval $ac_try) 2>&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); }; }; then
37020 eval "$as_ac_var=yes"
37022 echo "$as_me: failed program was:" >&5
37023 sed 's/^/| /' conftest.$ac_ext >&5
37025 eval "$as_ac_var=no"
37027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37031 if test `eval echo '${'$as_ac_var'}'` = yes; then
37032 cat >>confdefs.h <<_ACEOF
37033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37041 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37042 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37043 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37044 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
37045 echo $ECHO_N "(cached) $ECHO_C" >&6
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37056 cat >conftest.$ac_ext <<_ACEOF
37057 #line $LINENO "configure"
37060 cat confdefs.h >>conftest.$ac_ext
37061 cat >>conftest.$ac_ext <<_ACEOF
37062 /* end confdefs.h. */
37072 rm -f conftest.$ac_objext
37073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37074 (eval $ac_compile) 2>&5
37076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37077 (exit $ac_status); } &&
37078 { ac_try='test -s conftest.$ac_objext'
37079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37080 (eval $ac_try) 2>&5
37082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37083 (exit $ac_status); }; }; then
37084 glibcxx_cv_func__copysignl_use=yes
37086 echo "$as_me: failed program was:" >&5
37087 sed 's/^/| /' conftest.$ac_ext >&5
37089 glibcxx_cv_func__copysignl_use=no
37091 rm -f conftest.$ac_objext conftest.$ac_ext
37093 ac_cpp='$CPP $CPPFLAGS'
37094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37103 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37105 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37107 for ac_func in _copysignl
37109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37110 echo "$as_me:$LINENO: checking for $ac_func" >&5
37111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37112 if eval "test \"\${$as_ac_var+set}\" = set"; then
37113 echo $ECHO_N "(cached) $ECHO_C" >&6
37115 if test x$gcc_no_link = xyes; then
37116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37118 { (exit 1); exit 1; }; }
37120 cat >conftest.$ac_ext <<_ACEOF
37121 #line $LINENO "configure"
37124 cat confdefs.h >>conftest.$ac_ext
37125 cat >>conftest.$ac_ext <<_ACEOF
37126 /* end confdefs.h. */
37127 /* System header to define __stub macros and hopefully few prototypes,
37128 which can conflict with char $ac_func (); below.
37129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37130 <limits.h> exists even on freestanding compilers. */
37132 # include <limits.h>
37134 # include <assert.h>
37136 /* Override any gcc2 internal prototype to avoid an error. */
37141 /* We use char because int might match the return type of a gcc2
37142 builtin and then its argument prototype would still apply. */
37144 /* The GNU C library defines this for functions which it implements
37145 to always fail with ENOSYS. Some functions are actually named
37146 something starting with __ and the normal name is an alias. */
37147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37150 char (*f) () = $ac_func;
37159 return f != $ac_func;
37164 rm -f conftest.$ac_objext conftest$ac_exeext
37165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37166 (eval $ac_link) 2>&5
37168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37169 (exit $ac_status); } &&
37170 { ac_try='test -s conftest$ac_exeext'
37171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37172 (eval $ac_try) 2>&5
37174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37175 (exit $ac_status); }; }; then
37176 eval "$as_ac_var=yes"
37178 echo "$as_me: failed program was:" >&5
37179 sed 's/^/| /' conftest.$ac_ext >&5
37181 eval "$as_ac_var=no"
37183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37187 if test `eval echo '${'$as_ac_var'}'` = yes; then
37188 cat >>confdefs.h <<_ACEOF
37189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37200 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37201 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37202 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37203 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37204 echo $ECHO_N "(cached) $ECHO_C" >&6
37210 ac_cpp='$CXXCPP $CPPFLAGS'
37211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37215 cat >conftest.$ac_ext <<_ACEOF
37216 #line $LINENO "configure"
37219 cat confdefs.h >>conftest.$ac_ext
37220 cat >>conftest.$ac_ext <<_ACEOF
37221 /* end confdefs.h. */
37231 rm -f conftest.$ac_objext
37232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37233 (eval $ac_compile) 2>&5
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); } &&
37237 { ac_try='test -s conftest.$ac_objext'
37238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239 (eval $ac_try) 2>&5
37241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242 (exit $ac_status); }; }; then
37243 glibcxx_cv_func_atan2l_use=yes
37245 echo "$as_me: failed program was:" >&5
37246 sed 's/^/| /' conftest.$ac_ext >&5
37248 glibcxx_cv_func_atan2l_use=no
37250 rm -f conftest.$ac_objext conftest.$ac_ext
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37262 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37264 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37266 for ac_func in atan2l
37268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37269 echo "$as_me:$LINENO: checking for $ac_func" >&5
37270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37271 if eval "test \"\${$as_ac_var+set}\" = set"; then
37272 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 if test x$gcc_no_link = xyes; then
37275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37277 { (exit 1); exit 1; }; }
37279 cat >conftest.$ac_ext <<_ACEOF
37280 #line $LINENO "configure"
37283 cat confdefs.h >>conftest.$ac_ext
37284 cat >>conftest.$ac_ext <<_ACEOF
37285 /* end confdefs.h. */
37286 /* System header to define __stub macros and hopefully few prototypes,
37287 which can conflict with char $ac_func (); below.
37288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37289 <limits.h> exists even on freestanding compilers. */
37291 # include <limits.h>
37293 # include <assert.h>
37295 /* Override any gcc2 internal prototype to avoid an error. */
37300 /* We use char because int might match the return type of a gcc2
37301 builtin and then its argument prototype would still apply. */
37303 /* The GNU C library defines this for functions which it implements
37304 to always fail with ENOSYS. Some functions are actually named
37305 something starting with __ and the normal name is an alias. */
37306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37309 char (*f) () = $ac_func;
37318 return f != $ac_func;
37323 rm -f conftest.$ac_objext conftest$ac_exeext
37324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37325 (eval $ac_link) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); } &&
37329 { ac_try='test -s conftest$ac_exeext'
37330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37331 (eval $ac_try) 2>&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); }; }; then
37335 eval "$as_ac_var=yes"
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37340 eval "$as_ac_var=no"
37342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37346 if test `eval echo '${'$as_ac_var'}'` = yes; then
37347 cat >>confdefs.h <<_ACEOF
37348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37356 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37357 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37358 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37359 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37360 echo $ECHO_N "(cached) $ECHO_C" >&6
37366 ac_cpp='$CXXCPP $CPPFLAGS'
37367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37371 cat >conftest.$ac_ext <<_ACEOF
37372 #line $LINENO "configure"
37375 cat confdefs.h >>conftest.$ac_ext
37376 cat >>conftest.$ac_ext <<_ACEOF
37377 /* end confdefs.h. */
37387 rm -f conftest.$ac_objext
37388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37389 (eval $ac_compile) 2>&5
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); } &&
37393 { ac_try='test -s conftest.$ac_objext'
37394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37395 (eval $ac_try) 2>&5
37397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37398 (exit $ac_status); }; }; then
37399 glibcxx_cv_func__atan2l_use=yes
37401 echo "$as_me: failed program was:" >&5
37402 sed 's/^/| /' conftest.$ac_ext >&5
37404 glibcxx_cv_func__atan2l_use=no
37406 rm -f conftest.$ac_objext conftest.$ac_ext
37408 ac_cpp='$CPP $CPPFLAGS'
37409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37417 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37418 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37420 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37422 for ac_func in _atan2l
37424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37425 echo "$as_me:$LINENO: checking for $ac_func" >&5
37426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37427 if eval "test \"\${$as_ac_var+set}\" = set"; then
37428 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 if test x$gcc_no_link = xyes; then
37431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37433 { (exit 1); exit 1; }; }
37435 cat >conftest.$ac_ext <<_ACEOF
37436 #line $LINENO "configure"
37439 cat confdefs.h >>conftest.$ac_ext
37440 cat >>conftest.$ac_ext <<_ACEOF
37441 /* end confdefs.h. */
37442 /* System header to define __stub macros and hopefully few prototypes,
37443 which can conflict with char $ac_func (); below.
37444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37445 <limits.h> exists even on freestanding compilers. */
37447 # include <limits.h>
37449 # include <assert.h>
37451 /* Override any gcc2 internal prototype to avoid an error. */
37456 /* We use char because int might match the return type of a gcc2
37457 builtin and then its argument prototype would still apply. */
37459 /* The GNU C library defines this for functions which it implements
37460 to always fail with ENOSYS. Some functions are actually named
37461 something starting with __ and the normal name is an alias. */
37462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37465 char (*f) () = $ac_func;
37474 return f != $ac_func;
37479 rm -f conftest.$ac_objext conftest$ac_exeext
37480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37481 (eval $ac_link) 2>&5
37483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37484 (exit $ac_status); } &&
37485 { ac_try='test -s conftest$ac_exeext'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; }; then
37491 eval "$as_ac_var=yes"
37493 echo "$as_me: failed program was:" >&5
37494 sed 's/^/| /' conftest.$ac_ext >&5
37496 eval "$as_ac_var=no"
37498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37502 if test `eval echo '${'$as_ac_var'}'` = yes; then
37503 cat >>confdefs.h <<_ACEOF
37504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37515 echo "$as_me:$LINENO: checking for expl declaration" >&5
37516 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37517 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37518 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37519 echo $ECHO_N "(cached) $ECHO_C" >&6
37525 ac_cpp='$CXXCPP $CPPFLAGS'
37526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37530 cat >conftest.$ac_ext <<_ACEOF
37531 #line $LINENO "configure"
37534 cat confdefs.h >>conftest.$ac_ext
37535 cat >>conftest.$ac_ext <<_ACEOF
37536 /* end confdefs.h. */
37538 #ifdef HAVE_IEEEFP_H
37539 #include <ieeefp.h>
37550 rm -f conftest.$ac_objext
37551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37552 (eval $ac_compile) 2>&5
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); } &&
37556 { ac_try='test -s conftest.$ac_objext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 glibcxx_cv_func_expl_use=yes
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37567 glibcxx_cv_func_expl_use=no
37569 rm -f conftest.$ac_objext conftest.$ac_ext
37571 ac_cpp='$CPP $CPPFLAGS'
37572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37580 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37581 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37583 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37585 for ac_func in expl
37587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37588 echo "$as_me:$LINENO: checking for $ac_func" >&5
37589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37590 if eval "test \"\${$as_ac_var+set}\" = set"; then
37591 echo $ECHO_N "(cached) $ECHO_C" >&6
37593 if test x$gcc_no_link = xyes; then
37594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37596 { (exit 1); exit 1; }; }
37598 cat >conftest.$ac_ext <<_ACEOF
37599 #line $LINENO "configure"
37602 cat confdefs.h >>conftest.$ac_ext
37603 cat >>conftest.$ac_ext <<_ACEOF
37604 /* end confdefs.h. */
37605 /* System header to define __stub macros and hopefully few prototypes,
37606 which can conflict with char $ac_func (); below.
37607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37608 <limits.h> exists even on freestanding compilers. */
37610 # include <limits.h>
37612 # include <assert.h>
37614 /* Override any gcc2 internal prototype to avoid an error. */
37619 /* We use char because int might match the return type of a gcc2
37620 builtin and then its argument prototype would still apply. */
37622 /* The GNU C library defines this for functions which it implements
37623 to always fail with ENOSYS. Some functions are actually named
37624 something starting with __ and the normal name is an alias. */
37625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37628 char (*f) () = $ac_func;
37637 return f != $ac_func;
37642 rm -f conftest.$ac_objext conftest$ac_exeext
37643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37644 (eval $ac_link) 2>&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } &&
37648 { ac_try='test -s conftest$ac_exeext'
37649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37650 (eval $ac_try) 2>&5
37652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37653 (exit $ac_status); }; }; then
37654 eval "$as_ac_var=yes"
37656 echo "$as_me: failed program was:" >&5
37657 sed 's/^/| /' conftest.$ac_ext >&5
37659 eval "$as_ac_var=no"
37661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37665 if test `eval echo '${'$as_ac_var'}'` = yes; then
37666 cat >>confdefs.h <<_ACEOF
37667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37675 echo "$as_me:$LINENO: checking for _expl declaration" >&5
37676 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37678 if test "${glibcxx_cv_func__expl_use+set}" = set; then
37679 echo $ECHO_N "(cached) $ECHO_C" >&6
37685 ac_cpp='$CXXCPP $CPPFLAGS'
37686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37690 cat >conftest.$ac_ext <<_ACEOF
37691 #line $LINENO "configure"
37694 cat confdefs.h >>conftest.$ac_ext
37695 cat >>conftest.$ac_ext <<_ACEOF
37696 /* end confdefs.h. */
37698 #ifdef HAVE_IEEEFP_H
37699 #include <ieeefp.h>
37710 rm -f conftest.$ac_objext
37711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37712 (eval $ac_compile) 2>&5
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); } &&
37716 { ac_try='test -s conftest.$ac_objext'
37717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37718 (eval $ac_try) 2>&5
37720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37721 (exit $ac_status); }; }; then
37722 glibcxx_cv_func__expl_use=yes
37724 echo "$as_me: failed program was:" >&5
37725 sed 's/^/| /' conftest.$ac_ext >&5
37727 glibcxx_cv_func__expl_use=no
37729 rm -f conftest.$ac_objext conftest.$ac_ext
37731 ac_cpp='$CPP $CPPFLAGS'
37732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37740 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37741 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37743 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37745 for ac_func in _expl
37747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37748 echo "$as_me:$LINENO: checking for $ac_func" >&5
37749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37750 if eval "test \"\${$as_ac_var+set}\" = set"; then
37751 echo $ECHO_N "(cached) $ECHO_C" >&6
37753 if test x$gcc_no_link = xyes; then
37754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37756 { (exit 1); exit 1; }; }
37758 cat >conftest.$ac_ext <<_ACEOF
37759 #line $LINENO "configure"
37762 cat confdefs.h >>conftest.$ac_ext
37763 cat >>conftest.$ac_ext <<_ACEOF
37764 /* end confdefs.h. */
37765 /* System header to define __stub macros and hopefully few prototypes,
37766 which can conflict with char $ac_func (); below.
37767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37768 <limits.h> exists even on freestanding compilers. */
37770 # include <limits.h>
37772 # include <assert.h>
37774 /* Override any gcc2 internal prototype to avoid an error. */
37779 /* We use char because int might match the return type of a gcc2
37780 builtin and then its argument prototype would still apply. */
37782 /* The GNU C library defines this for functions which it implements
37783 to always fail with ENOSYS. Some functions are actually named
37784 something starting with __ and the normal name is an alias. */
37785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37788 char (*f) () = $ac_func;
37797 return f != $ac_func;
37802 rm -f conftest.$ac_objext conftest$ac_exeext
37803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37804 (eval $ac_link) 2>&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } &&
37808 { ac_try='test -s conftest$ac_exeext'
37809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37810 (eval $ac_try) 2>&5
37812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37813 (exit $ac_status); }; }; then
37814 eval "$as_ac_var=yes"
37816 echo "$as_me: failed program was:" >&5
37817 sed 's/^/| /' conftest.$ac_ext >&5
37819 eval "$as_ac_var=no"
37821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37825 if test `eval echo '${'$as_ac_var'}'` = yes; then
37826 cat >>confdefs.h <<_ACEOF
37827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37838 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37839 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37840 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37841 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37842 echo $ECHO_N "(cached) $ECHO_C" >&6
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat >conftest.$ac_ext <<_ACEOF
37854 #line $LINENO "configure"
37857 cat confdefs.h >>conftest.$ac_ext
37858 cat >>conftest.$ac_ext <<_ACEOF
37859 /* end confdefs.h. */
37861 #ifdef HAVE_IEEEFP_H
37862 #include <ieeefp.h>
37873 rm -f conftest.$ac_objext
37874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37875 (eval $ac_compile) 2>&5
37877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37878 (exit $ac_status); } &&
37879 { ac_try='test -s conftest.$ac_objext'
37880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37881 (eval $ac_try) 2>&5
37883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37884 (exit $ac_status); }; }; then
37885 glibcxx_cv_func_fabsl_use=yes
37887 echo "$as_me: failed program was:" >&5
37888 sed 's/^/| /' conftest.$ac_ext >&5
37890 glibcxx_cv_func_fabsl_use=no
37892 rm -f conftest.$ac_objext conftest.$ac_ext
37894 ac_cpp='$CPP $CPPFLAGS'
37895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37904 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37906 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37908 for ac_func in fabsl
37910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37911 echo "$as_me:$LINENO: checking for $ac_func" >&5
37912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37913 if eval "test \"\${$as_ac_var+set}\" = set"; then
37914 echo $ECHO_N "(cached) $ECHO_C" >&6
37916 if test x$gcc_no_link = xyes; then
37917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37919 { (exit 1); exit 1; }; }
37921 cat >conftest.$ac_ext <<_ACEOF
37922 #line $LINENO "configure"
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h. */
37928 /* System header to define __stub macros and hopefully few prototypes,
37929 which can conflict with char $ac_func (); below.
37930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37931 <limits.h> exists even on freestanding compilers. */
37933 # include <limits.h>
37935 # include <assert.h>
37937 /* Override any gcc2 internal prototype to avoid an error. */
37942 /* We use char because int might match the return type of a gcc2
37943 builtin and then its argument prototype would still apply. */
37945 /* The GNU C library defines this for functions which it implements
37946 to always fail with ENOSYS. Some functions are actually named
37947 something starting with __ and the normal name is an alias. */
37948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37951 char (*f) () = $ac_func;
37960 return f != $ac_func;
37965 rm -f conftest.$ac_objext conftest$ac_exeext
37966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37967 (eval $ac_link) 2>&5
37969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37970 (exit $ac_status); } &&
37971 { ac_try='test -s conftest$ac_exeext'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; }; then
37977 eval "$as_ac_var=yes"
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37982 eval "$as_ac_var=no"
37984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37988 if test `eval echo '${'$as_ac_var'}'` = yes; then
37989 cat >>confdefs.h <<_ACEOF
37990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37998 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
37999 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
38000 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38001 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
38002 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 ac_cpp='$CXXCPP $CPPFLAGS'
38009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013 cat >conftest.$ac_ext <<_ACEOF
38014 #line $LINENO "configure"
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38021 #ifdef HAVE_IEEEFP_H
38022 #include <ieeefp.h>
38033 rm -f conftest.$ac_objext
38034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38035 (eval $ac_compile) 2>&5
38037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38038 (exit $ac_status); } &&
38039 { ac_try='test -s conftest.$ac_objext'
38040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38041 (eval $ac_try) 2>&5
38043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38044 (exit $ac_status); }; }; then
38045 glibcxx_cv_func__fabsl_use=yes
38047 echo "$as_me: failed program was:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 glibcxx_cv_func__fabsl_use=no
38052 rm -f conftest.$ac_objext conftest.$ac_ext
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
38064 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
38066 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38068 for ac_func in _fabsl
38070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38076 if test x$gcc_no_link = xyes; then
38077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38079 { (exit 1); exit 1; }; }
38081 cat >conftest.$ac_ext <<_ACEOF
38082 #line $LINENO "configure"
38085 cat confdefs.h >>conftest.$ac_ext
38086 cat >>conftest.$ac_ext <<_ACEOF
38087 /* end confdefs.h. */
38088 /* System header to define __stub macros and hopefully few prototypes,
38089 which can conflict with char $ac_func (); below.
38090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38091 <limits.h> exists even on freestanding compilers. */
38093 # include <limits.h>
38095 # include <assert.h>
38097 /* Override any gcc2 internal prototype to avoid an error. */
38102 /* We use char because int might match the return type of a gcc2
38103 builtin and then its argument prototype would still apply. */
38105 /* The GNU C library defines this for functions which it implements
38106 to always fail with ENOSYS. Some functions are actually named
38107 something starting with __ and the normal name is an alias. */
38108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38111 char (*f) () = $ac_func;
38120 return f != $ac_func;
38125 rm -f conftest.$ac_objext conftest$ac_exeext
38126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38127 (eval $ac_link) 2>&5
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); } &&
38131 { ac_try='test -s conftest$ac_exeext'
38132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38133 (eval $ac_try) 2>&5
38135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38136 (exit $ac_status); }; }; then
38137 eval "$as_ac_var=yes"
38139 echo "$as_me: failed program was:" >&5
38140 sed 's/^/| /' conftest.$ac_ext >&5
38142 eval "$as_ac_var=no"
38144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38147 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38148 if test `eval echo '${'$as_ac_var'}'` = yes; then
38149 cat >>confdefs.h <<_ACEOF
38150 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38161 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38162 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38163 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38164 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38171 ac_cpp='$CXXCPP $CPPFLAGS'
38172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38176 cat >conftest.$ac_ext <<_ACEOF
38177 #line $LINENO "configure"
38180 cat confdefs.h >>conftest.$ac_ext
38181 cat >>conftest.$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38192 rm -f conftest.$ac_objext
38193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38194 (eval $ac_compile) 2>&5
38196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38197 (exit $ac_status); } &&
38198 { ac_try='test -s conftest.$ac_objext'
38199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38200 (eval $ac_try) 2>&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); }; }; then
38204 glibcxx_cv_func_fmodl_use=yes
38206 echo "$as_me: failed program was:" >&5
38207 sed 's/^/| /' conftest.$ac_ext >&5
38209 glibcxx_cv_func_fmodl_use=no
38211 rm -f conftest.$ac_objext conftest.$ac_ext
38213 ac_cpp='$CPP $CPPFLAGS'
38214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38223 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38225 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38227 for ac_func in fmodl
38229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38230 echo "$as_me:$LINENO: checking for $ac_func" >&5
38231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38232 if eval "test \"\${$as_ac_var+set}\" = set"; then
38233 echo $ECHO_N "(cached) $ECHO_C" >&6
38235 if test x$gcc_no_link = xyes; then
38236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38238 { (exit 1); exit 1; }; }
38240 cat >conftest.$ac_ext <<_ACEOF
38241 #line $LINENO "configure"
38244 cat confdefs.h >>conftest.$ac_ext
38245 cat >>conftest.$ac_ext <<_ACEOF
38246 /* end confdefs.h. */
38247 /* System header to define __stub macros and hopefully few prototypes,
38248 which can conflict with char $ac_func (); below.
38249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38250 <limits.h> exists even on freestanding compilers. */
38252 # include <limits.h>
38254 # include <assert.h>
38256 /* Override any gcc2 internal prototype to avoid an error. */
38261 /* We use char because int might match the return type of a gcc2
38262 builtin and then its argument prototype would still apply. */
38264 /* The GNU C library defines this for functions which it implements
38265 to always fail with ENOSYS. Some functions are actually named
38266 something starting with __ and the normal name is an alias. */
38267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38270 char (*f) () = $ac_func;
38279 return f != $ac_func;
38284 rm -f conftest.$ac_objext conftest$ac_exeext
38285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38286 (eval $ac_link) 2>&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try='test -s conftest$ac_exeext'
38291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292 (eval $ac_try) 2>&5
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); }; }; then
38296 eval "$as_ac_var=yes"
38298 echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38301 eval "$as_ac_var=no"
38303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38307 if test `eval echo '${'$as_ac_var'}'` = yes; then
38308 cat >>confdefs.h <<_ACEOF
38309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38317 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38318 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38319 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38320 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38321 echo $ECHO_N "(cached) $ECHO_C" >&6
38327 ac_cpp='$CXXCPP $CPPFLAGS'
38328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38332 cat >conftest.$ac_ext <<_ACEOF
38333 #line $LINENO "configure"
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38348 rm -f conftest.$ac_objext
38349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38350 (eval $ac_compile) 2>&5
38352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38353 (exit $ac_status); } &&
38354 { ac_try='test -s conftest.$ac_objext'
38355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38356 (eval $ac_try) 2>&5
38358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38359 (exit $ac_status); }; }; then
38360 glibcxx_cv_func__fmodl_use=yes
38362 echo "$as_me: failed program was:" >&5
38363 sed 's/^/| /' conftest.$ac_ext >&5
38365 glibcxx_cv_func__fmodl_use=no
38367 rm -f conftest.$ac_objext conftest.$ac_ext
38369 ac_cpp='$CPP $CPPFLAGS'
38370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38378 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38379 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38381 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38383 for ac_func in _fmodl
38385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38386 echo "$as_me:$LINENO: checking for $ac_func" >&5
38387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38388 if eval "test \"\${$as_ac_var+set}\" = set"; then
38389 echo $ECHO_N "(cached) $ECHO_C" >&6
38391 if test x$gcc_no_link = xyes; then
38392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38394 { (exit 1); exit 1; }; }
38396 cat >conftest.$ac_ext <<_ACEOF
38397 #line $LINENO "configure"
38400 cat confdefs.h >>conftest.$ac_ext
38401 cat >>conftest.$ac_ext <<_ACEOF
38402 /* end confdefs.h. */
38403 /* System header to define __stub macros and hopefully few prototypes,
38404 which can conflict with char $ac_func (); below.
38405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38406 <limits.h> exists even on freestanding compilers. */
38408 # include <limits.h>
38410 # include <assert.h>
38412 /* Override any gcc2 internal prototype to avoid an error. */
38417 /* We use char because int might match the return type of a gcc2
38418 builtin and then its argument prototype would still apply. */
38420 /* The GNU C library defines this for functions which it implements
38421 to always fail with ENOSYS. Some functions are actually named
38422 something starting with __ and the normal name is an alias. */
38423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38426 char (*f) () = $ac_func;
38435 return f != $ac_func;
38440 rm -f conftest.$ac_objext conftest$ac_exeext
38441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38442 (eval $ac_link) 2>&5
38444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38445 (exit $ac_status); } &&
38446 { ac_try='test -s conftest$ac_exeext'
38447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38448 (eval $ac_try) 2>&5
38450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38451 (exit $ac_status); }; }; then
38452 eval "$as_ac_var=yes"
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.$ac_ext >&5
38457 eval "$as_ac_var=no"
38459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38463 if test `eval echo '${'$as_ac_var'}'` = yes; then
38464 cat >>confdefs.h <<_ACEOF
38465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38476 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38477 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38478 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38479 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38480 echo $ECHO_N "(cached) $ECHO_C" >&6
38486 ac_cpp='$CXXCPP $CPPFLAGS'
38487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38491 cat >conftest.$ac_ext <<_ACEOF
38492 #line $LINENO "configure"
38495 cat confdefs.h >>conftest.$ac_ext
38496 cat >>conftest.$ac_ext <<_ACEOF
38497 /* end confdefs.h. */
38507 rm -f conftest.$ac_objext
38508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38509 (eval $ac_compile) 2>&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try='test -s conftest.$ac_objext'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; }; then
38519 glibcxx_cv_func_frexpl_use=yes
38521 echo "$as_me: failed program was:" >&5
38522 sed 's/^/| /' conftest.$ac_ext >&5
38524 glibcxx_cv_func_frexpl_use=no
38526 rm -f conftest.$ac_objext conftest.$ac_ext
38528 ac_cpp='$CPP $CPPFLAGS'
38529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38538 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38540 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38542 for ac_func in frexpl
38544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38545 echo "$as_me:$LINENO: checking for $ac_func" >&5
38546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38547 if eval "test \"\${$as_ac_var+set}\" = set"; then
38548 echo $ECHO_N "(cached) $ECHO_C" >&6
38550 if test x$gcc_no_link = xyes; then
38551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38553 { (exit 1); exit 1; }; }
38555 cat >conftest.$ac_ext <<_ACEOF
38556 #line $LINENO "configure"
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562 /* System header to define __stub macros and hopefully few prototypes,
38563 which can conflict with char $ac_func (); below.
38564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38565 <limits.h> exists even on freestanding compilers. */
38567 # include <limits.h>
38569 # include <assert.h>
38571 /* Override any gcc2 internal prototype to avoid an error. */
38576 /* We use char because int might match the return type of a gcc2
38577 builtin and then its argument prototype would still apply. */
38579 /* The GNU C library defines this for functions which it implements
38580 to always fail with ENOSYS. Some functions are actually named
38581 something starting with __ and the normal name is an alias. */
38582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38585 char (*f) () = $ac_func;
38594 return f != $ac_func;
38599 rm -f conftest.$ac_objext conftest$ac_exeext
38600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38601 (eval $ac_link) 2>&5
38603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38604 (exit $ac_status); } &&
38605 { ac_try='test -s conftest$ac_exeext'
38606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38607 (eval $ac_try) 2>&5
38609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38610 (exit $ac_status); }; }; then
38611 eval "$as_ac_var=yes"
38613 echo "$as_me: failed program was:" >&5
38614 sed 's/^/| /' conftest.$ac_ext >&5
38616 eval "$as_ac_var=no"
38618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38622 if test `eval echo '${'$as_ac_var'}'` = yes; then
38623 cat >>confdefs.h <<_ACEOF
38624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38632 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38633 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38635 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38636 echo $ECHO_N "(cached) $ECHO_C" >&6
38642 ac_cpp='$CXXCPP $CPPFLAGS'
38643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38647 cat >conftest.$ac_ext <<_ACEOF
38648 #line $LINENO "configure"
38651 cat confdefs.h >>conftest.$ac_ext
38652 cat >>conftest.$ac_ext <<_ACEOF
38653 /* end confdefs.h. */
38663 rm -f conftest.$ac_objext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38665 (eval $ac_compile) 2>&5
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); } &&
38669 { ac_try='test -s conftest.$ac_objext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 glibcxx_cv_func__frexpl_use=yes
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38680 glibcxx_cv_func__frexpl_use=no
38682 rm -f conftest.$ac_objext conftest.$ac_ext
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38694 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38698 for ac_func in _frexpl
38700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38701 echo "$as_me:$LINENO: checking for $ac_func" >&5
38702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38703 if eval "test \"\${$as_ac_var+set}\" = set"; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38706 if test x$gcc_no_link = xyes; then
38707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38709 { (exit 1); exit 1; }; }
38711 cat >conftest.$ac_ext <<_ACEOF
38712 #line $LINENO "configure"
38715 cat confdefs.h >>conftest.$ac_ext
38716 cat >>conftest.$ac_ext <<_ACEOF
38717 /* end confdefs.h. */
38718 /* System header to define __stub macros and hopefully few prototypes,
38719 which can conflict with char $ac_func (); below.
38720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38721 <limits.h> exists even on freestanding compilers. */
38723 # include <limits.h>
38725 # include <assert.h>
38727 /* Override any gcc2 internal prototype to avoid an error. */
38732 /* We use char because int might match the return type of a gcc2
38733 builtin and then its argument prototype would still apply. */
38735 /* The GNU C library defines this for functions which it implements
38736 to always fail with ENOSYS. Some functions are actually named
38737 something starting with __ and the normal name is an alias. */
38738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38741 char (*f) () = $ac_func;
38750 return f != $ac_func;
38755 rm -f conftest.$ac_objext conftest$ac_exeext
38756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38757 (eval $ac_link) 2>&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try='test -s conftest$ac_exeext'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; }; then
38767 eval "$as_ac_var=yes"
38769 echo "$as_me: failed program was:" >&5
38770 sed 's/^/| /' conftest.$ac_ext >&5
38772 eval "$as_ac_var=no"
38774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38778 if test `eval echo '${'$as_ac_var'}'` = yes; then
38779 cat >>confdefs.h <<_ACEOF
38780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38791 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38792 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38793 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38794 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38795 echo $ECHO_N "(cached) $ECHO_C" >&6
38801 ac_cpp='$CXXCPP $CPPFLAGS'
38802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38806 cat >conftest.$ac_ext <<_ACEOF
38807 #line $LINENO "configure"
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38822 rm -f conftest.$ac_objext
38823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38824 (eval $ac_compile) 2>&5
38826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38827 (exit $ac_status); } &&
38828 { ac_try='test -s conftest.$ac_objext'
38829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38830 (eval $ac_try) 2>&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); }; }; then
38834 glibcxx_cv_func_hypotl_use=yes
38836 echo "$as_me: failed program was:" >&5
38837 sed 's/^/| /' conftest.$ac_ext >&5
38839 glibcxx_cv_func_hypotl_use=no
38841 rm -f conftest.$ac_objext conftest.$ac_ext
38843 ac_cpp='$CPP $CPPFLAGS'
38844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38853 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38855 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38857 for ac_func in hypotl
38859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38860 echo "$as_me:$LINENO: checking for $ac_func" >&5
38861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38862 if eval "test \"\${$as_ac_var+set}\" = set"; then
38863 echo $ECHO_N "(cached) $ECHO_C" >&6
38865 if test x$gcc_no_link = xyes; then
38866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38868 { (exit 1); exit 1; }; }
38870 cat >conftest.$ac_ext <<_ACEOF
38871 #line $LINENO "configure"
38874 cat confdefs.h >>conftest.$ac_ext
38875 cat >>conftest.$ac_ext <<_ACEOF
38876 /* end confdefs.h. */
38877 /* System header to define __stub macros and hopefully few prototypes,
38878 which can conflict with char $ac_func (); below.
38879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38880 <limits.h> exists even on freestanding compilers. */
38882 # include <limits.h>
38884 # include <assert.h>
38886 /* Override any gcc2 internal prototype to avoid an error. */
38891 /* We use char because int might match the return type of a gcc2
38892 builtin and then its argument prototype would still apply. */
38894 /* The GNU C library defines this for functions which it implements
38895 to always fail with ENOSYS. Some functions are actually named
38896 something starting with __ and the normal name is an alias. */
38897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38900 char (*f) () = $ac_func;
38909 return f != $ac_func;
38914 rm -f conftest.$ac_objext conftest$ac_exeext
38915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38916 (eval $ac_link) 2>&5
38918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38919 (exit $ac_status); } &&
38920 { ac_try='test -s conftest$ac_exeext'
38921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38922 (eval $ac_try) 2>&5
38924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38925 (exit $ac_status); }; }; then
38926 eval "$as_ac_var=yes"
38928 echo "$as_me: failed program was:" >&5
38929 sed 's/^/| /' conftest.$ac_ext >&5
38931 eval "$as_ac_var=no"
38933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38937 if test `eval echo '${'$as_ac_var'}'` = yes; then
38938 cat >>confdefs.h <<_ACEOF
38939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38947 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38948 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38949 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38950 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38951 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 ac_cpp='$CXXCPP $CPPFLAGS'
38958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962 cat >conftest.$ac_ext <<_ACEOF
38963 #line $LINENO "configure"
38966 cat confdefs.h >>conftest.$ac_ext
38967 cat >>conftest.$ac_ext <<_ACEOF
38968 /* end confdefs.h. */
38978 rm -f conftest.$ac_objext
38979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38980 (eval $ac_compile) 2>&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); } &&
38984 { ac_try='test -s conftest.$ac_objext'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; }; then
38990 glibcxx_cv_func__hypotl_use=yes
38992 echo "$as_me: failed program was:" >&5
38993 sed 's/^/| /' conftest.$ac_ext >&5
38995 glibcxx_cv_func__hypotl_use=no
38997 rm -f conftest.$ac_objext conftest.$ac_ext
38999 ac_cpp='$CPP $CPPFLAGS'
39000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
39009 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
39011 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39013 for ac_func in _hypotl
39015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39016 echo "$as_me:$LINENO: checking for $ac_func" >&5
39017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39018 if eval "test \"\${$as_ac_var+set}\" = set"; then
39019 echo $ECHO_N "(cached) $ECHO_C" >&6
39021 if test x$gcc_no_link = xyes; then
39022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39024 { (exit 1); exit 1; }; }
39026 cat >conftest.$ac_ext <<_ACEOF
39027 #line $LINENO "configure"
39030 cat confdefs.h >>conftest.$ac_ext
39031 cat >>conftest.$ac_ext <<_ACEOF
39032 /* end confdefs.h. */
39033 /* System header to define __stub macros and hopefully few prototypes,
39034 which can conflict with char $ac_func (); below.
39035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39036 <limits.h> exists even on freestanding compilers. */
39038 # include <limits.h>
39040 # include <assert.h>
39042 /* Override any gcc2 internal prototype to avoid an error. */
39047 /* We use char because int might match the return type of a gcc2
39048 builtin and then its argument prototype would still apply. */
39050 /* The GNU C library defines this for functions which it implements
39051 to always fail with ENOSYS. Some functions are actually named
39052 something starting with __ and the normal name is an alias. */
39053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39056 char (*f) () = $ac_func;
39065 return f != $ac_func;
39070 rm -f conftest.$ac_objext conftest$ac_exeext
39071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39072 (eval $ac_link) 2>&5
39074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39075 (exit $ac_status); } &&
39076 { ac_try='test -s conftest$ac_exeext'
39077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39078 (eval $ac_try) 2>&5
39080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39081 (exit $ac_status); }; }; then
39082 eval "$as_ac_var=yes"
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.$ac_ext >&5
39087 eval "$as_ac_var=no"
39089 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39093 if test `eval echo '${'$as_ac_var'}'` = yes; then
39094 cat >>confdefs.h <<_ACEOF
39095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39106 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39107 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39108 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39109 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39110 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 ac_cpp='$CXXCPP $CPPFLAGS'
39117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39121 cat >conftest.$ac_ext <<_ACEOF
39122 #line $LINENO "configure"
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h. */
39137 rm -f conftest.$ac_objext
39138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39139 (eval $ac_compile) 2>&5
39141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39142 (exit $ac_status); } &&
39143 { ac_try='test -s conftest.$ac_objext'
39144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39145 (eval $ac_try) 2>&5
39147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39148 (exit $ac_status); }; }; then
39149 glibcxx_cv_func_ldexpl_use=yes
39151 echo "$as_me: failed program was:" >&5
39152 sed 's/^/| /' conftest.$ac_ext >&5
39154 glibcxx_cv_func_ldexpl_use=no
39156 rm -f conftest.$ac_objext conftest.$ac_ext
39158 ac_cpp='$CPP $CPPFLAGS'
39159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39168 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39170 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39172 for ac_func in ldexpl
39174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39175 echo "$as_me:$LINENO: checking for $ac_func" >&5
39176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39177 if eval "test \"\${$as_ac_var+set}\" = set"; then
39178 echo $ECHO_N "(cached) $ECHO_C" >&6
39180 if test x$gcc_no_link = xyes; then
39181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39183 { (exit 1); exit 1; }; }
39185 cat >conftest.$ac_ext <<_ACEOF
39186 #line $LINENO "configure"
39189 cat confdefs.h >>conftest.$ac_ext
39190 cat >>conftest.$ac_ext <<_ACEOF
39191 /* end confdefs.h. */
39192 /* System header to define __stub macros and hopefully few prototypes,
39193 which can conflict with char $ac_func (); below.
39194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39195 <limits.h> exists even on freestanding compilers. */
39197 # include <limits.h>
39199 # include <assert.h>
39201 /* Override any gcc2 internal prototype to avoid an error. */
39206 /* We use char because int might match the return type of a gcc2
39207 builtin and then its argument prototype would still apply. */
39209 /* The GNU C library defines this for functions which it implements
39210 to always fail with ENOSYS. Some functions are actually named
39211 something starting with __ and the normal name is an alias. */
39212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39215 char (*f) () = $ac_func;
39224 return f != $ac_func;
39229 rm -f conftest.$ac_objext conftest$ac_exeext
39230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39231 (eval $ac_link) 2>&5
39233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39234 (exit $ac_status); } &&
39235 { ac_try='test -s conftest$ac_exeext'
39236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39237 (eval $ac_try) 2>&5
39239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39240 (exit $ac_status); }; }; then
39241 eval "$as_ac_var=yes"
39243 echo "$as_me: failed program was:" >&5
39244 sed 's/^/| /' conftest.$ac_ext >&5
39246 eval "$as_ac_var=no"
39248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39252 if test `eval echo '${'$as_ac_var'}'` = yes; then
39253 cat >>confdefs.h <<_ACEOF
39254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39262 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39263 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39264 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39265 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39272 ac_cpp='$CXXCPP $CPPFLAGS'
39273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39277 cat >conftest.$ac_ext <<_ACEOF
39278 #line $LINENO "configure"
39281 cat confdefs.h >>conftest.$ac_ext
39282 cat >>conftest.$ac_ext <<_ACEOF
39283 /* end confdefs.h. */
39293 rm -f conftest.$ac_objext
39294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39295 (eval $ac_compile) 2>&5
39297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39298 (exit $ac_status); } &&
39299 { ac_try='test -s conftest.$ac_objext'
39300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39301 (eval $ac_try) 2>&5
39303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39304 (exit $ac_status); }; }; then
39305 glibcxx_cv_func__ldexpl_use=yes
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.$ac_ext >&5
39310 glibcxx_cv_func__ldexpl_use=no
39312 rm -f conftest.$ac_objext conftest.$ac_ext
39314 ac_cpp='$CPP $CPPFLAGS'
39315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39324 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39326 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39328 for ac_func in _ldexpl
39330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39331 echo "$as_me:$LINENO: checking for $ac_func" >&5
39332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39333 if eval "test \"\${$as_ac_var+set}\" = set"; then
39334 echo $ECHO_N "(cached) $ECHO_C" >&6
39336 if test x$gcc_no_link = xyes; then
39337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39339 { (exit 1); exit 1; }; }
39341 cat >conftest.$ac_ext <<_ACEOF
39342 #line $LINENO "configure"
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* System header to define __stub macros and hopefully few prototypes,
39349 which can conflict with char $ac_func (); below.
39350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39351 <limits.h> exists even on freestanding compilers. */
39353 # include <limits.h>
39355 # include <assert.h>
39357 /* Override any gcc2 internal prototype to avoid an error. */
39362 /* We use char because int might match the return type of a gcc2
39363 builtin and then its argument prototype would still apply. */
39365 /* The GNU C library defines this for functions which it implements
39366 to always fail with ENOSYS. Some functions are actually named
39367 something starting with __ and the normal name is an alias. */
39368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39371 char (*f) () = $ac_func;
39380 return f != $ac_func;
39385 rm -f conftest.$ac_objext conftest$ac_exeext
39386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39387 (eval $ac_link) 2>&5
39389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39390 (exit $ac_status); } &&
39391 { ac_try='test -s conftest$ac_exeext'
39392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39393 (eval $ac_try) 2>&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); }; }; then
39397 eval "$as_ac_var=yes"
39399 echo "$as_me: failed program was:" >&5
39400 sed 's/^/| /' conftest.$ac_ext >&5
39402 eval "$as_ac_var=no"
39404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39408 if test `eval echo '${'$as_ac_var'}'` = yes; then
39409 cat >>confdefs.h <<_ACEOF
39410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39421 echo "$as_me:$LINENO: checking for logl declaration" >&5
39422 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39423 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39424 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39431 ac_cpp='$CXXCPP $CPPFLAGS'
39432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436 cat >conftest.$ac_ext <<_ACEOF
39437 #line $LINENO "configure"
39440 cat confdefs.h >>conftest.$ac_ext
39441 cat >>conftest.$ac_ext <<_ACEOF
39442 /* end confdefs.h. */
39444 #ifdef HAVE_IEEEFP_H
39445 #include <ieeefp.h>
39456 rm -f conftest.$ac_objext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39458 (eval $ac_compile) 2>&5
39460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39461 (exit $ac_status); } &&
39462 { ac_try='test -s conftest.$ac_objext'
39463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39464 (eval $ac_try) 2>&5
39466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39467 (exit $ac_status); }; }; then
39468 glibcxx_cv_func_logl_use=yes
39470 echo "$as_me: failed program was:" >&5
39471 sed 's/^/| /' conftest.$ac_ext >&5
39473 glibcxx_cv_func_logl_use=no
39475 rm -f conftest.$ac_objext conftest.$ac_ext
39477 ac_cpp='$CPP $CPPFLAGS'
39478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39487 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39489 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39491 for ac_func in logl
39493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39494 echo "$as_me:$LINENO: checking for $ac_func" >&5
39495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39496 if eval "test \"\${$as_ac_var+set}\" = set"; then
39497 echo $ECHO_N "(cached) $ECHO_C" >&6
39499 if test x$gcc_no_link = xyes; then
39500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39502 { (exit 1); exit 1; }; }
39504 cat >conftest.$ac_ext <<_ACEOF
39505 #line $LINENO "configure"
39508 cat confdefs.h >>conftest.$ac_ext
39509 cat >>conftest.$ac_ext <<_ACEOF
39510 /* end confdefs.h. */
39511 /* System header to define __stub macros and hopefully few prototypes,
39512 which can conflict with char $ac_func (); below.
39513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39514 <limits.h> exists even on freestanding compilers. */
39516 # include <limits.h>
39518 # include <assert.h>
39520 /* Override any gcc2 internal prototype to avoid an error. */
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39534 char (*f) () = $ac_func;
39543 return f != $ac_func;
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>&5
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); } &&
39554 { ac_try='test -s conftest$ac_exeext'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; }; then
39560 eval "$as_ac_var=yes"
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39565 eval "$as_ac_var=no"
39567 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39571 if test `eval echo '${'$as_ac_var'}'` = yes; then
39572 cat >>confdefs.h <<_ACEOF
39573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39581 echo "$as_me:$LINENO: checking for _logl declaration" >&5
39582 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39583 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39584 if test "${glibcxx_cv_func__logl_use+set}" = set; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39591 ac_cpp='$CXXCPP $CPPFLAGS'
39592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596 cat >conftest.$ac_ext <<_ACEOF
39597 #line $LINENO "configure"
39600 cat confdefs.h >>conftest.$ac_ext
39601 cat >>conftest.$ac_ext <<_ACEOF
39602 /* end confdefs.h. */
39604 #ifdef HAVE_IEEEFP_H
39605 #include <ieeefp.h>
39616 rm -f conftest.$ac_objext
39617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39618 (eval $ac_compile) 2>&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } &&
39622 { ac_try='test -s conftest.$ac_objext'
39623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39624 (eval $ac_try) 2>&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); }; }; then
39628 glibcxx_cv_func__logl_use=yes
39630 echo "$as_me: failed program was:" >&5
39631 sed 's/^/| /' conftest.$ac_ext >&5
39633 glibcxx_cv_func__logl_use=no
39635 rm -f conftest.$ac_objext conftest.$ac_ext
39637 ac_cpp='$CPP $CPPFLAGS'
39638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39646 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39647 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39649 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39651 for ac_func in _logl
39653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39654 echo "$as_me:$LINENO: checking for $ac_func" >&5
39655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39656 if eval "test \"\${$as_ac_var+set}\" = set"; then
39657 echo $ECHO_N "(cached) $ECHO_C" >&6
39659 if test x$gcc_no_link = xyes; then
39660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39662 { (exit 1); exit 1; }; }
39664 cat >conftest.$ac_ext <<_ACEOF
39665 #line $LINENO "configure"
39668 cat confdefs.h >>conftest.$ac_ext
39669 cat >>conftest.$ac_ext <<_ACEOF
39670 /* end confdefs.h. */
39671 /* System header to define __stub macros and hopefully few prototypes,
39672 which can conflict with char $ac_func (); below.
39673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39674 <limits.h> exists even on freestanding compilers. */
39676 # include <limits.h>
39678 # include <assert.h>
39680 /* Override any gcc2 internal prototype to avoid an error. */
39685 /* We use char because int might match the return type of a gcc2
39686 builtin and then its argument prototype would still apply. */
39688 /* The GNU C library defines this for functions which it implements
39689 to always fail with ENOSYS. Some functions are actually named
39690 something starting with __ and the normal name is an alias. */
39691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39694 char (*f) () = $ac_func;
39703 return f != $ac_func;
39708 rm -f conftest.$ac_objext conftest$ac_exeext
39709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39710 (eval $ac_link) 2>&5
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); } &&
39714 { ac_try='test -s conftest$ac_exeext'
39715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716 (eval $ac_try) 2>&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); }; }; then
39720 eval "$as_ac_var=yes"
39722 echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39725 eval "$as_ac_var=no"
39727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39731 if test `eval echo '${'$as_ac_var'}'` = yes; then
39732 cat >>confdefs.h <<_ACEOF
39733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39744 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39745 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39746 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39747 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39748 echo $ECHO_N "(cached) $ECHO_C" >&6
39754 ac_cpp='$CXXCPP $CPPFLAGS'
39755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39759 cat >conftest.$ac_ext <<_ACEOF
39760 #line $LINENO "configure"
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39767 #ifdef HAVE_IEEEFP_H
39768 #include <ieeefp.h>
39779 rm -f conftest.$ac_objext
39780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39781 (eval $ac_compile) 2>&5
39783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39784 (exit $ac_status); } &&
39785 { ac_try='test -s conftest.$ac_objext'
39786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39787 (eval $ac_try) 2>&5
39789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39790 (exit $ac_status); }; }; then
39791 glibcxx_cv_func_log10l_use=yes
39793 echo "$as_me: failed program was:" >&5
39794 sed 's/^/| /' conftest.$ac_ext >&5
39796 glibcxx_cv_func_log10l_use=no
39798 rm -f conftest.$ac_objext conftest.$ac_ext
39800 ac_cpp='$CPP $CPPFLAGS'
39801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39810 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39812 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39814 for ac_func in log10l
39816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39817 echo "$as_me:$LINENO: checking for $ac_func" >&5
39818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39819 if eval "test \"\${$as_ac_var+set}\" = set"; then
39820 echo $ECHO_N "(cached) $ECHO_C" >&6
39822 if test x$gcc_no_link = xyes; then
39823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39825 { (exit 1); exit 1; }; }
39827 cat >conftest.$ac_ext <<_ACEOF
39828 #line $LINENO "configure"
39831 cat confdefs.h >>conftest.$ac_ext
39832 cat >>conftest.$ac_ext <<_ACEOF
39833 /* end confdefs.h. */
39834 /* System header to define __stub macros and hopefully few prototypes,
39835 which can conflict with char $ac_func (); below.
39836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39837 <limits.h> exists even on freestanding compilers. */
39839 # include <limits.h>
39841 # include <assert.h>
39843 /* Override any gcc2 internal prototype to avoid an error. */
39848 /* We use char because int might match the return type of a gcc2
39849 builtin and then its argument prototype would still apply. */
39851 /* The GNU C library defines this for functions which it implements
39852 to always fail with ENOSYS. Some functions are actually named
39853 something starting with __ and the normal name is an alias. */
39854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39857 char (*f) () = $ac_func;
39866 return f != $ac_func;
39871 rm -f conftest.$ac_objext conftest$ac_exeext
39872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39873 (eval $ac_link) 2>&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -s conftest$ac_exeext'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; }; then
39883 eval "$as_ac_var=yes"
39885 echo "$as_me: failed program was:" >&5
39886 sed 's/^/| /' conftest.$ac_ext >&5
39888 eval "$as_ac_var=no"
39890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39894 if test `eval echo '${'$as_ac_var'}'` = yes; then
39895 cat >>confdefs.h <<_ACEOF
39896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39904 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
39905 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
39906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39914 ac_cpp='$CXXCPP $CPPFLAGS'
39915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39919 cat >conftest.$ac_ext <<_ACEOF
39920 #line $LINENO "configure"
39923 cat confdefs.h >>conftest.$ac_ext
39924 cat >>conftest.$ac_ext <<_ACEOF
39925 /* end confdefs.h. */
39927 #ifdef HAVE_IEEEFP_H
39928 #include <ieeefp.h>
39939 rm -f conftest.$ac_objext
39940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39941 (eval $ac_compile) 2>&5
39943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39944 (exit $ac_status); } &&
39945 { ac_try='test -s conftest.$ac_objext'
39946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39947 (eval $ac_try) 2>&5
39949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39950 (exit $ac_status); }; }; then
39951 glibcxx_cv_func__log10l_use=yes
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.$ac_ext >&5
39956 glibcxx_cv_func__log10l_use=no
39958 rm -f conftest.$ac_objext conftest.$ac_ext
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
39970 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
39972 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39974 for ac_func in _log10l
39976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39977 echo "$as_me:$LINENO: checking for $ac_func" >&5
39978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39979 if eval "test \"\${$as_ac_var+set}\" = set"; then
39980 echo $ECHO_N "(cached) $ECHO_C" >&6
39982 if test x$gcc_no_link = xyes; then
39983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39985 { (exit 1); exit 1; }; }
39987 cat >conftest.$ac_ext <<_ACEOF
39988 #line $LINENO "configure"
39991 cat confdefs.h >>conftest.$ac_ext
39992 cat >>conftest.$ac_ext <<_ACEOF
39993 /* end confdefs.h. */
39994 /* System header to define __stub macros and hopefully few prototypes,
39995 which can conflict with char $ac_func (); below.
39996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39997 <limits.h> exists even on freestanding compilers. */
39999 # include <limits.h>
40001 # include <assert.h>
40003 /* Override any gcc2 internal prototype to avoid an error. */
40008 /* We use char because int might match the return type of a gcc2
40009 builtin and then its argument prototype would still apply. */
40011 /* The GNU C library defines this for functions which it implements
40012 to always fail with ENOSYS. Some functions are actually named
40013 something starting with __ and the normal name is an alias. */
40014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40017 char (*f) () = $ac_func;
40026 return f != $ac_func;
40031 rm -f conftest.$ac_objext conftest$ac_exeext
40032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40033 (eval $ac_link) 2>&5
40035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40036 (exit $ac_status); } &&
40037 { ac_try='test -s conftest$ac_exeext'
40038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40039 (eval $ac_try) 2>&5
40041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40042 (exit $ac_status); }; }; then
40043 eval "$as_ac_var=yes"
40045 echo "$as_me: failed program was:" >&5
40046 sed 's/^/| /' conftest.$ac_ext >&5
40048 eval "$as_ac_var=no"
40050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40054 if test `eval echo '${'$as_ac_var'}'` = yes; then
40055 cat >>confdefs.h <<_ACEOF
40056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40067 echo "$as_me:$LINENO: checking for modfl declaration" >&5
40068 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40069 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40070 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat >conftest.$ac_ext <<_ACEOF
40083 #line $LINENO "configure"
40086 cat confdefs.h >>conftest.$ac_ext
40087 cat >>conftest.$ac_ext <<_ACEOF
40088 /* end confdefs.h. */
40098 rm -f conftest.$ac_objext
40099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40100 (eval $ac_compile) 2>&5
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); } &&
40104 { ac_try='test -s conftest.$ac_objext'
40105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40106 (eval $ac_try) 2>&5
40108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109 (exit $ac_status); }; }; then
40110 glibcxx_cv_func_modfl_use=yes
40112 echo "$as_me: failed program was:" >&5
40113 sed 's/^/| /' conftest.$ac_ext >&5
40115 glibcxx_cv_func_modfl_use=no
40117 rm -f conftest.$ac_objext conftest.$ac_ext
40119 ac_cpp='$CPP $CPPFLAGS'
40120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40129 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40131 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40133 for ac_func in modfl
40135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40136 echo "$as_me:$LINENO: checking for $ac_func" >&5
40137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40138 if eval "test \"\${$as_ac_var+set}\" = set"; then
40139 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 if test x$gcc_no_link = xyes; then
40142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40144 { (exit 1); exit 1; }; }
40146 cat >conftest.$ac_ext <<_ACEOF
40147 #line $LINENO "configure"
40150 cat confdefs.h >>conftest.$ac_ext
40151 cat >>conftest.$ac_ext <<_ACEOF
40152 /* end confdefs.h. */
40153 /* System header to define __stub macros and hopefully few prototypes,
40154 which can conflict with char $ac_func (); below.
40155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40156 <limits.h> exists even on freestanding compilers. */
40158 # include <limits.h>
40160 # include <assert.h>
40162 /* Override any gcc2 internal prototype to avoid an error. */
40167 /* We use char because int might match the return type of a gcc2
40168 builtin and then its argument prototype would still apply. */
40170 /* The GNU C library defines this for functions which it implements
40171 to always fail with ENOSYS. Some functions are actually named
40172 something starting with __ and the normal name is an alias. */
40173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40176 char (*f) () = $ac_func;
40185 return f != $ac_func;
40190 rm -f conftest.$ac_objext conftest$ac_exeext
40191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40192 (eval $ac_link) 2>&5
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); } &&
40196 { ac_try='test -s conftest$ac_exeext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 eval "$as_ac_var=yes"
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40207 eval "$as_ac_var=no"
40209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40213 if test `eval echo '${'$as_ac_var'}'` = yes; then
40214 cat >>confdefs.h <<_ACEOF
40215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40223 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40224 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40225 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40226 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40227 echo $ECHO_N "(cached) $ECHO_C" >&6
40233 ac_cpp='$CXXCPP $CPPFLAGS'
40234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40238 cat >conftest.$ac_ext <<_ACEOF
40239 #line $LINENO "configure"
40242 cat confdefs.h >>conftest.$ac_ext
40243 cat >>conftest.$ac_ext <<_ACEOF
40244 /* end confdefs.h. */
40254 rm -f conftest.$ac_objext
40255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40256 (eval $ac_compile) 2>&5
40258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40259 (exit $ac_status); } &&
40260 { ac_try='test -s conftest.$ac_objext'
40261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40262 (eval $ac_try) 2>&5
40264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40265 (exit $ac_status); }; }; then
40266 glibcxx_cv_func__modfl_use=yes
40268 echo "$as_me: failed program was:" >&5
40269 sed 's/^/| /' conftest.$ac_ext >&5
40271 glibcxx_cv_func__modfl_use=no
40273 rm -f conftest.$ac_objext conftest.$ac_ext
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40285 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40289 for ac_func in _modfl
40291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40292 echo "$as_me:$LINENO: checking for $ac_func" >&5
40293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40294 if eval "test \"\${$as_ac_var+set}\" = set"; then
40295 echo $ECHO_N "(cached) $ECHO_C" >&6
40297 if test x$gcc_no_link = xyes; then
40298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40300 { (exit 1); exit 1; }; }
40302 cat >conftest.$ac_ext <<_ACEOF
40303 #line $LINENO "configure"
40306 cat confdefs.h >>conftest.$ac_ext
40307 cat >>conftest.$ac_ext <<_ACEOF
40308 /* end confdefs.h. */
40309 /* System header to define __stub macros and hopefully few prototypes,
40310 which can conflict with char $ac_func (); below.
40311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40312 <limits.h> exists even on freestanding compilers. */
40314 # include <limits.h>
40316 # include <assert.h>
40318 /* Override any gcc2 internal prototype to avoid an error. */
40323 /* We use char because int might match the return type of a gcc2
40324 builtin and then its argument prototype would still apply. */
40326 /* The GNU C library defines this for functions which it implements
40327 to always fail with ENOSYS. Some functions are actually named
40328 something starting with __ and the normal name is an alias. */
40329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40332 char (*f) () = $ac_func;
40341 return f != $ac_func;
40346 rm -f conftest.$ac_objext conftest$ac_exeext
40347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40348 (eval $ac_link) 2>&5
40350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40351 (exit $ac_status); } &&
40352 { ac_try='test -s conftest$ac_exeext'
40353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40354 (eval $ac_try) 2>&5
40356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40357 (exit $ac_status); }; }; then
40358 eval "$as_ac_var=yes"
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.$ac_ext >&5
40363 eval "$as_ac_var=no"
40365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40369 if test `eval echo '${'$as_ac_var'}'` = yes; then
40370 cat >>confdefs.h <<_ACEOF
40371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40382 echo "$as_me:$LINENO: checking for powl declaration" >&5
40383 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40384 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40385 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40386 echo $ECHO_N "(cached) $ECHO_C" >&6
40392 ac_cpp='$CXXCPP $CPPFLAGS'
40393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40397 cat >conftest.$ac_ext <<_ACEOF
40398 #line $LINENO "configure"
40401 cat confdefs.h >>conftest.$ac_ext
40402 cat >>conftest.$ac_ext <<_ACEOF
40403 /* end confdefs.h. */
40413 rm -f conftest.$ac_objext
40414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40415 (eval $ac_compile) 2>&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); } &&
40419 { ac_try='test -s conftest.$ac_objext'
40420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40421 (eval $ac_try) 2>&5
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); }; }; then
40425 glibcxx_cv_func_powl_use=yes
40427 echo "$as_me: failed program was:" >&5
40428 sed 's/^/| /' conftest.$ac_ext >&5
40430 glibcxx_cv_func_powl_use=no
40432 rm -f conftest.$ac_objext conftest.$ac_ext
40434 ac_cpp='$CPP $CPPFLAGS'
40435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40444 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40446 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40448 for ac_func in powl
40450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40451 echo "$as_me:$LINENO: checking for $ac_func" >&5
40452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40453 if eval "test \"\${$as_ac_var+set}\" = set"; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40456 if test x$gcc_no_link = xyes; then
40457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40459 { (exit 1); exit 1; }; }
40461 cat >conftest.$ac_ext <<_ACEOF
40462 #line $LINENO "configure"
40465 cat confdefs.h >>conftest.$ac_ext
40466 cat >>conftest.$ac_ext <<_ACEOF
40467 /* end confdefs.h. */
40468 /* System header to define __stub macros and hopefully few prototypes,
40469 which can conflict with char $ac_func (); below.
40470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40471 <limits.h> exists even on freestanding compilers. */
40473 # include <limits.h>
40475 # include <assert.h>
40477 /* Override any gcc2 internal prototype to avoid an error. */
40482 /* We use char because int might match the return type of a gcc2
40483 builtin and then its argument prototype would still apply. */
40485 /* The GNU C library defines this for functions which it implements
40486 to always fail with ENOSYS. Some functions are actually named
40487 something starting with __ and the normal name is an alias. */
40488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40491 char (*f) () = $ac_func;
40500 return f != $ac_func;
40505 rm -f conftest.$ac_objext conftest$ac_exeext
40506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40507 (eval $ac_link) 2>&5
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); } &&
40511 { ac_try='test -s conftest$ac_exeext'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; }; then
40517 eval "$as_ac_var=yes"
40519 echo "$as_me: failed program was:" >&5
40520 sed 's/^/| /' conftest.$ac_ext >&5
40522 eval "$as_ac_var=no"
40524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40528 if test `eval echo '${'$as_ac_var'}'` = yes; then
40529 cat >>confdefs.h <<_ACEOF
40530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40538 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40539 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40540 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40541 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40542 echo $ECHO_N "(cached) $ECHO_C" >&6
40548 ac_cpp='$CXXCPP $CPPFLAGS'
40549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553 cat >conftest.$ac_ext <<_ACEOF
40554 #line $LINENO "configure"
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h. */
40569 rm -f conftest.$ac_objext
40570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40571 (eval $ac_compile) 2>&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } &&
40575 { ac_try='test -s conftest.$ac_objext'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; }; then
40581 glibcxx_cv_func__powl_use=yes
40583 echo "$as_me: failed program was:" >&5
40584 sed 's/^/| /' conftest.$ac_ext >&5
40586 glibcxx_cv_func__powl_use=no
40588 rm -f conftest.$ac_objext conftest.$ac_ext
40590 ac_cpp='$CPP $CPPFLAGS'
40591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40599 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40600 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40602 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40604 for ac_func in _powl
40606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40607 echo "$as_me:$LINENO: checking for $ac_func" >&5
40608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40609 if eval "test \"\${$as_ac_var+set}\" = set"; then
40610 echo $ECHO_N "(cached) $ECHO_C" >&6
40612 if test x$gcc_no_link = xyes; then
40613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40615 { (exit 1); exit 1; }; }
40617 cat >conftest.$ac_ext <<_ACEOF
40618 #line $LINENO "configure"
40621 cat confdefs.h >>conftest.$ac_ext
40622 cat >>conftest.$ac_ext <<_ACEOF
40623 /* end confdefs.h. */
40624 /* System header to define __stub macros and hopefully few prototypes,
40625 which can conflict with char $ac_func (); below.
40626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40627 <limits.h> exists even on freestanding compilers. */
40629 # include <limits.h>
40631 # include <assert.h>
40633 /* Override any gcc2 internal prototype to avoid an error. */
40638 /* We use char because int might match the return type of a gcc2
40639 builtin and then its argument prototype would still apply. */
40641 /* The GNU C library defines this for functions which it implements
40642 to always fail with ENOSYS. Some functions are actually named
40643 something starting with __ and the normal name is an alias. */
40644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40647 char (*f) () = $ac_func;
40656 return f != $ac_func;
40661 rm -f conftest.$ac_objext conftest$ac_exeext
40662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40663 (eval $ac_link) 2>&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try='test -s conftest$ac_exeext'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; }; then
40673 eval "$as_ac_var=yes"
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40678 eval "$as_ac_var=no"
40680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40684 if test `eval echo '${'$as_ac_var'}'` = yes; then
40685 cat >>confdefs.h <<_ACEOF
40686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40697 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40698 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40699 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40700 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40707 ac_cpp='$CXXCPP $CPPFLAGS'
40708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712 cat >conftest.$ac_ext <<_ACEOF
40713 #line $LINENO "configure"
40716 cat confdefs.h >>conftest.$ac_ext
40717 cat >>conftest.$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40720 #ifdef HAVE_IEEEFP_H
40721 #include <ieeefp.h>
40732 rm -f conftest.$ac_objext
40733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40734 (eval $ac_compile) 2>&5
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); } &&
40738 { ac_try='test -s conftest.$ac_objext'
40739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40740 (eval $ac_try) 2>&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); }; }; then
40744 glibcxx_cv_func_sqrtl_use=yes
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40749 glibcxx_cv_func_sqrtl_use=no
40751 rm -f conftest.$ac_objext conftest.$ac_ext
40753 ac_cpp='$CPP $CPPFLAGS'
40754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40763 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40765 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40767 for ac_func in sqrtl
40769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40770 echo "$as_me:$LINENO: checking for $ac_func" >&5
40771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40772 if eval "test \"\${$as_ac_var+set}\" = set"; then
40773 echo $ECHO_N "(cached) $ECHO_C" >&6
40775 if test x$gcc_no_link = xyes; then
40776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40778 { (exit 1); exit 1; }; }
40780 cat >conftest.$ac_ext <<_ACEOF
40781 #line $LINENO "configure"
40784 cat confdefs.h >>conftest.$ac_ext
40785 cat >>conftest.$ac_ext <<_ACEOF
40786 /* end confdefs.h. */
40787 /* System header to define __stub macros and hopefully few prototypes,
40788 which can conflict with char $ac_func (); below.
40789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40790 <limits.h> exists even on freestanding compilers. */
40792 # include <limits.h>
40794 # include <assert.h>
40796 /* Override any gcc2 internal prototype to avoid an error. */
40801 /* We use char because int might match the return type of a gcc2
40802 builtin and then its argument prototype would still apply. */
40804 /* The GNU C library defines this for functions which it implements
40805 to always fail with ENOSYS. Some functions are actually named
40806 something starting with __ and the normal name is an alias. */
40807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40810 char (*f) () = $ac_func;
40819 return f != $ac_func;
40824 rm -f conftest.$ac_objext conftest$ac_exeext
40825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40826 (eval $ac_link) 2>&5
40828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40829 (exit $ac_status); } &&
40830 { ac_try='test -s conftest$ac_exeext'
40831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40832 (eval $ac_try) 2>&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); }; }; then
40836 eval "$as_ac_var=yes"
40838 echo "$as_me: failed program was:" >&5
40839 sed 's/^/| /' conftest.$ac_ext >&5
40841 eval "$as_ac_var=no"
40843 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40847 if test `eval echo '${'$as_ac_var'}'` = yes; then
40848 cat >>confdefs.h <<_ACEOF
40849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40857 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40858 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40859 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40860 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
40861 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 ac_cpp='$CXXCPP $CPPFLAGS'
40868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40872 cat >conftest.$ac_ext <<_ACEOF
40873 #line $LINENO "configure"
40876 cat confdefs.h >>conftest.$ac_ext
40877 cat >>conftest.$ac_ext <<_ACEOF
40878 /* end confdefs.h. */
40880 #ifdef HAVE_IEEEFP_H
40881 #include <ieeefp.h>
40892 rm -f conftest.$ac_objext
40893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40894 (eval $ac_compile) 2>&5
40896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40897 (exit $ac_status); } &&
40898 { ac_try='test -s conftest.$ac_objext'
40899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40900 (eval $ac_try) 2>&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); }; }; then
40904 glibcxx_cv_func__sqrtl_use=yes
40906 echo "$as_me: failed program was:" >&5
40907 sed 's/^/| /' conftest.$ac_ext >&5
40909 glibcxx_cv_func__sqrtl_use=no
40911 rm -f conftest.$ac_objext conftest.$ac_ext
40913 ac_cpp='$CPP $CPPFLAGS'
40914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
40923 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
40925 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40927 for ac_func in _sqrtl
40929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40930 echo "$as_me:$LINENO: checking for $ac_func" >&5
40931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40932 if eval "test \"\${$as_ac_var+set}\" = set"; then
40933 echo $ECHO_N "(cached) $ECHO_C" >&6
40935 if test x$gcc_no_link = xyes; then
40936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40938 { (exit 1); exit 1; }; }
40940 cat >conftest.$ac_ext <<_ACEOF
40941 #line $LINENO "configure"
40944 cat confdefs.h >>conftest.$ac_ext
40945 cat >>conftest.$ac_ext <<_ACEOF
40946 /* end confdefs.h. */
40947 /* System header to define __stub macros and hopefully few prototypes,
40948 which can conflict with char $ac_func (); below.
40949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40950 <limits.h> exists even on freestanding compilers. */
40952 # include <limits.h>
40954 # include <assert.h>
40956 /* Override any gcc2 internal prototype to avoid an error. */
40961 /* We use char because int might match the return type of a gcc2
40962 builtin and then its argument prototype would still apply. */
40964 /* The GNU C library defines this for functions which it implements
40965 to always fail with ENOSYS. Some functions are actually named
40966 something starting with __ and the normal name is an alias. */
40967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40970 char (*f) () = $ac_func;
40979 return f != $ac_func;
40984 rm -f conftest.$ac_objext conftest$ac_exeext
40985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40986 (eval $ac_link) 2>&5
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); } &&
40990 { ac_try='test -s conftest$ac_exeext'
40991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40992 (eval $ac_try) 2>&5
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); }; }; then
40996 eval "$as_ac_var=yes"
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41001 eval "$as_ac_var=no"
41003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41007 if test `eval echo '${'$as_ac_var'}'` = yes; then
41008 cat >>confdefs.h <<_ACEOF
41009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41020 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41021 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41022 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41023 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41024 echo $ECHO_N "(cached) $ECHO_C" >&6
41030 ac_cpp='$CXXCPP $CPPFLAGS'
41031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41035 cat >conftest.$ac_ext <<_ACEOF
41036 #line $LINENO "configure"
41039 cat confdefs.h >>conftest.$ac_ext
41040 cat >>conftest.$ac_ext <<_ACEOF
41041 /* end confdefs.h. */
41051 rm -f conftest.$ac_objext
41052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41053 (eval $ac_compile) 2>&5
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); } &&
41057 { ac_try='test -s conftest.$ac_objext'
41058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41059 (eval $ac_try) 2>&5
41061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41062 (exit $ac_status); }; }; then
41063 glibcxx_cv_func_sincosl_use=yes
41065 echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 glibcxx_cv_func_sincosl_use=no
41070 rm -f conftest.$ac_objext conftest.$ac_ext
41072 ac_cpp='$CPP $CPPFLAGS'
41073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41081 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41082 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41084 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41086 for ac_func in sincosl
41088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41089 echo "$as_me:$LINENO: checking for $ac_func" >&5
41090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41091 if eval "test \"\${$as_ac_var+set}\" = set"; then
41092 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 if test x$gcc_no_link = xyes; then
41095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41097 { (exit 1); exit 1; }; }
41099 cat >conftest.$ac_ext <<_ACEOF
41100 #line $LINENO "configure"
41103 cat confdefs.h >>conftest.$ac_ext
41104 cat >>conftest.$ac_ext <<_ACEOF
41105 /* end confdefs.h. */
41106 /* System header to define __stub macros and hopefully few prototypes,
41107 which can conflict with char $ac_func (); below.
41108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41109 <limits.h> exists even on freestanding compilers. */
41111 # include <limits.h>
41113 # include <assert.h>
41115 /* Override any gcc2 internal prototype to avoid an error. */
41120 /* We use char because int might match the return type of a gcc2
41121 builtin and then its argument prototype would still apply. */
41123 /* The GNU C library defines this for functions which it implements
41124 to always fail with ENOSYS. Some functions are actually named
41125 something starting with __ and the normal name is an alias. */
41126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41129 char (*f) () = $ac_func;
41138 return f != $ac_func;
41143 rm -f conftest.$ac_objext conftest$ac_exeext
41144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41145 (eval $ac_link) 2>&5
41147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41148 (exit $ac_status); } &&
41149 { ac_try='test -s conftest$ac_exeext'
41150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41151 (eval $ac_try) 2>&5
41153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41154 (exit $ac_status); }; }; then
41155 eval "$as_ac_var=yes"
41157 echo "$as_me: failed program was:" >&5
41158 sed 's/^/| /' conftest.$ac_ext >&5
41160 eval "$as_ac_var=no"
41162 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41166 if test `eval echo '${'$as_ac_var'}'` = yes; then
41167 cat >>confdefs.h <<_ACEOF
41168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41176 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41177 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41178 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41179 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41180 echo $ECHO_N "(cached) $ECHO_C" >&6
41186 ac_cpp='$CXXCPP $CPPFLAGS'
41187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41191 cat >conftest.$ac_ext <<_ACEOF
41192 #line $LINENO "configure"
41195 cat confdefs.h >>conftest.$ac_ext
41196 cat >>conftest.$ac_ext <<_ACEOF
41197 /* end confdefs.h. */
41207 rm -f conftest.$ac_objext
41208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41209 (eval $ac_compile) 2>&5
41211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212 (exit $ac_status); } &&
41213 { ac_try='test -s conftest.$ac_objext'
41214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41215 (eval $ac_try) 2>&5
41217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41218 (exit $ac_status); }; }; then
41219 glibcxx_cv_func__sincosl_use=yes
41221 echo "$as_me: failed program was:" >&5
41222 sed 's/^/| /' conftest.$ac_ext >&5
41224 glibcxx_cv_func__sincosl_use=no
41226 rm -f conftest.$ac_objext conftest.$ac_ext
41228 ac_cpp='$CPP $CPPFLAGS'
41229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41237 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41238 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41240 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41242 for ac_func in _sincosl
41244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41245 echo "$as_me:$LINENO: checking for $ac_func" >&5
41246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41247 if eval "test \"\${$as_ac_var+set}\" = set"; then
41248 echo $ECHO_N "(cached) $ECHO_C" >&6
41250 if test x$gcc_no_link = xyes; then
41251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41253 { (exit 1); exit 1; }; }
41255 cat >conftest.$ac_ext <<_ACEOF
41256 #line $LINENO "configure"
41259 cat confdefs.h >>conftest.$ac_ext
41260 cat >>conftest.$ac_ext <<_ACEOF
41261 /* end confdefs.h. */
41262 /* System header to define __stub macros and hopefully few prototypes,
41263 which can conflict with char $ac_func (); below.
41264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41265 <limits.h> exists even on freestanding compilers. */
41267 # include <limits.h>
41269 # include <assert.h>
41271 /* Override any gcc2 internal prototype to avoid an error. */
41276 /* We use char because int might match the return type of a gcc2
41277 builtin and then its argument prototype would still apply. */
41279 /* The GNU C library defines this for functions which it implements
41280 to always fail with ENOSYS. Some functions are actually named
41281 something starting with __ and the normal name is an alias. */
41282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41285 char (*f) () = $ac_func;
41294 return f != $ac_func;
41299 rm -f conftest.$ac_objext conftest$ac_exeext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41301 (eval $ac_link) 2>&5
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); } &&
41305 { ac_try='test -s conftest$ac_exeext'
41306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41307 (eval $ac_try) 2>&5
41309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41310 (exit $ac_status); }; }; then
41311 eval "$as_ac_var=yes"
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41316 eval "$as_ac_var=no"
41318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41322 if test `eval echo '${'$as_ac_var'}'` = yes; then
41323 cat >>confdefs.h <<_ACEOF
41324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41335 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41336 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41337 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41338 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41345 ac_cpp='$CXXCPP $CPPFLAGS'
41346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41350 cat >conftest.$ac_ext <<_ACEOF
41351 #line $LINENO "configure"
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41358 #ifdef HAVE_IEEEFP_H
41359 #include <ieeefp.h>
41370 rm -f conftest.$ac_objext
41371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41372 (eval $ac_compile) 2>&5
41374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375 (exit $ac_status); } &&
41376 { ac_try='test -s conftest.$ac_objext'
41377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378 (eval $ac_try) 2>&5
41380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381 (exit $ac_status); }; }; then
41382 glibcxx_cv_func_finitel_use=yes
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41387 glibcxx_cv_func_finitel_use=no
41389 rm -f conftest.$ac_objext conftest.$ac_ext
41391 ac_cpp='$CPP $CPPFLAGS'
41392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41401 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41403 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41405 for ac_func in finitel
41407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41408 echo "$as_me:$LINENO: checking for $ac_func" >&5
41409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41410 if eval "test \"\${$as_ac_var+set}\" = set"; then
41411 echo $ECHO_N "(cached) $ECHO_C" >&6
41413 if test x$gcc_no_link = xyes; then
41414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41416 { (exit 1); exit 1; }; }
41418 cat >conftest.$ac_ext <<_ACEOF
41419 #line $LINENO "configure"
41422 cat confdefs.h >>conftest.$ac_ext
41423 cat >>conftest.$ac_ext <<_ACEOF
41424 /* end confdefs.h. */
41425 /* System header to define __stub macros and hopefully few prototypes,
41426 which can conflict with char $ac_func (); below.
41427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41428 <limits.h> exists even on freestanding compilers. */
41430 # include <limits.h>
41432 # include <assert.h>
41434 /* Override any gcc2 internal prototype to avoid an error. */
41439 /* We use char because int might match the return type of a gcc2
41440 builtin and then its argument prototype would still apply. */
41442 /* The GNU C library defines this for functions which it implements
41443 to always fail with ENOSYS. Some functions are actually named
41444 something starting with __ and the normal name is an alias. */
41445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41448 char (*f) () = $ac_func;
41457 return f != $ac_func;
41462 rm -f conftest.$ac_objext conftest$ac_exeext
41463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41464 (eval $ac_link) 2>&5
41466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41467 (exit $ac_status); } &&
41468 { ac_try='test -s conftest$ac_exeext'
41469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41470 (eval $ac_try) 2>&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); }; }; then
41474 eval "$as_ac_var=yes"
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41479 eval "$as_ac_var=no"
41481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41485 if test `eval echo '${'$as_ac_var'}'` = yes; then
41486 cat >>confdefs.h <<_ACEOF
41487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41495 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41496 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41497 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41498 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41499 echo $ECHO_N "(cached) $ECHO_C" >&6
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41510 cat >conftest.$ac_ext <<_ACEOF
41511 #line $LINENO "configure"
41514 cat confdefs.h >>conftest.$ac_ext
41515 cat >>conftest.$ac_ext <<_ACEOF
41516 /* end confdefs.h. */
41518 #ifdef HAVE_IEEEFP_H
41519 #include <ieeefp.h>
41530 rm -f conftest.$ac_objext
41531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41532 (eval $ac_compile) 2>&5
41534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41535 (exit $ac_status); } &&
41536 { ac_try='test -s conftest.$ac_objext'
41537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41538 (eval $ac_try) 2>&5
41540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41541 (exit $ac_status); }; }; then
41542 glibcxx_cv_func__finitel_use=yes
41544 echo "$as_me: failed program was:" >&5
41545 sed 's/^/| /' conftest.$ac_ext >&5
41547 glibcxx_cv_func__finitel_use=no
41549 rm -f conftest.$ac_objext conftest.$ac_ext
41551 ac_cpp='$CPP $CPPFLAGS'
41552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41561 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41563 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41565 for ac_func in _finitel
41567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41568 echo "$as_me:$LINENO: checking for $ac_func" >&5
41569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41570 if eval "test \"\${$as_ac_var+set}\" = set"; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41573 if test x$gcc_no_link = xyes; then
41574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41576 { (exit 1); exit 1; }; }
41578 cat >conftest.$ac_ext <<_ACEOF
41579 #line $LINENO "configure"
41582 cat confdefs.h >>conftest.$ac_ext
41583 cat >>conftest.$ac_ext <<_ACEOF
41584 /* end confdefs.h. */
41585 /* System header to define __stub macros and hopefully few prototypes,
41586 which can conflict with char $ac_func (); below.
41587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41588 <limits.h> exists even on freestanding compilers. */
41590 # include <limits.h>
41592 # include <assert.h>
41594 /* Override any gcc2 internal prototype to avoid an error. */
41599 /* We use char because int might match the return type of a gcc2
41600 builtin and then its argument prototype would still apply. */
41602 /* The GNU C library defines this for functions which it implements
41603 to always fail with ENOSYS. Some functions are actually named
41604 something starting with __ and the normal name is an alias. */
41605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41608 char (*f) () = $ac_func;
41617 return f != $ac_func;
41622 rm -f conftest.$ac_objext conftest$ac_exeext
41623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41624 (eval $ac_link) 2>&5
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); } &&
41628 { ac_try='test -s conftest$ac_exeext'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; }; then
41634 eval "$as_ac_var=yes"
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.$ac_ext >&5
41639 eval "$as_ac_var=no"
41641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41645 if test `eval echo '${'$as_ac_var'}'` = yes; then
41646 cat >>confdefs.h <<_ACEOF
41647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41659 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41660 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41661 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41662 echo $ECHO_N "(cached) $ECHO_C" >&6
41668 ac_cpp='$CXXCPP $CPPFLAGS'
41669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41673 cat >conftest.$ac_ext <<_ACEOF
41674 #line $LINENO "configure"
41677 cat confdefs.h >>conftest.$ac_ext
41678 cat >>conftest.$ac_ext <<_ACEOF
41679 /* end confdefs.h. */
41684 `for x in _acosf _asinf _atanf \
41685 _cosf _sinf _tanf \
41686 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41691 rm -f conftest.$ac_objext
41692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41693 (eval $ac_compile) 2>&5
41695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41696 (exit $ac_status); } &&
41697 { ac_try='test -s conftest.$ac_objext'
41698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41699 (eval $ac_try) 2>&5
41701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41702 (exit $ac_status); }; }; then
41703 glibcxx_cv_func__float_trig_use=yes
41705 echo "$as_me: failed program was:" >&5
41706 sed 's/^/| /' conftest.$ac_ext >&5
41708 glibcxx_cv_func__float_trig_use=no
41710 rm -f conftest.$ac_objext conftest.$ac_ext
41712 ac_cpp='$CPP $CPPFLAGS'
41713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41720 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41721 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41731 for ac_func in _acosf _asinf _atanf \
41732 _cosf _sinf _tanf \
41733 _coshf _sinhf _tanhf
41735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41736 echo "$as_me:$LINENO: checking for $ac_func" >&5
41737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41738 if eval "test \"\${$as_ac_var+set}\" = set"; then
41739 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 if test x$gcc_no_link = xyes; then
41742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41744 { (exit 1); exit 1; }; }
41746 cat >conftest.$ac_ext <<_ACEOF
41747 #line $LINENO "configure"
41750 cat confdefs.h >>conftest.$ac_ext
41751 cat >>conftest.$ac_ext <<_ACEOF
41752 /* end confdefs.h. */
41753 /* System header to define __stub macros and hopefully few prototypes,
41754 which can conflict with char $ac_func (); below.
41755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41756 <limits.h> exists even on freestanding compilers. */
41758 # include <limits.h>
41760 # include <assert.h>
41762 /* Override any gcc2 internal prototype to avoid an error. */
41767 /* We use char because int might match the return type of a gcc2
41768 builtin and then its argument prototype would still apply. */
41770 /* The GNU C library defines this for functions which it implements
41771 to always fail with ENOSYS. Some functions are actually named
41772 something starting with __ and the normal name is an alias. */
41773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41776 char (*f) () = $ac_func;
41785 return f != $ac_func;
41790 rm -f conftest.$ac_objext conftest$ac_exeext
41791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41792 (eval $ac_link) 2>&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } &&
41796 { ac_try='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.$ac_ext >&5
41807 eval "$as_ac_var=no"
41809 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41811 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41812 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41813 if test `eval echo '${'$as_ac_var'}'` = yes; then
41814 cat >>confdefs.h <<_ACEOF
41815 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41824 echo "$as_me:$LINENO: checking for _float round functions" >&5
41825 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41826 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41827 echo $ECHO_N "(cached) $ECHO_C" >&6
41833 ac_cpp='$CXXCPP $CPPFLAGS'
41834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41838 cat >conftest.$ac_ext <<_ACEOF
41839 #line $LINENO "configure"
41842 cat confdefs.h >>conftest.$ac_ext
41843 cat >>conftest.$ac_ext <<_ACEOF
41844 /* end confdefs.h. */
41849 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41854 rm -f conftest.$ac_objext
41855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41856 (eval $ac_compile) 2>&5
41858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41859 (exit $ac_status); } &&
41860 { ac_try='test -s conftest.$ac_objext'
41861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41862 (eval $ac_try) 2>&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); }; }; then
41866 glibcxx_cv_func__float_round_use=yes
41868 echo "$as_me: failed program was:" >&5
41869 sed 's/^/| /' conftest.$ac_ext >&5
41871 glibcxx_cv_func__float_round_use=no
41873 rm -f conftest.$ac_objext conftest.$ac_ext
41875 ac_cpp='$CPP $CPPFLAGS'
41876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41882 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41883 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41884 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41887 for ac_func in _ceilf _floorf
41889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41890 echo "$as_me:$LINENO: checking for $ac_func" >&5
41891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41892 if eval "test \"\${$as_ac_var+set}\" = set"; then
41893 echo $ECHO_N "(cached) $ECHO_C" >&6
41895 if test x$gcc_no_link = xyes; then
41896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41898 { (exit 1); exit 1; }; }
41900 cat >conftest.$ac_ext <<_ACEOF
41901 #line $LINENO "configure"
41904 cat confdefs.h >>conftest.$ac_ext
41905 cat >>conftest.$ac_ext <<_ACEOF
41906 /* end confdefs.h. */
41907 /* System header to define __stub macros and hopefully few prototypes,
41908 which can conflict with char $ac_func (); below.
41909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41910 <limits.h> exists even on freestanding compilers. */
41912 # include <limits.h>
41914 # include <assert.h>
41916 /* Override any gcc2 internal prototype to avoid an error. */
41921 /* We use char because int might match the return type of a gcc2
41922 builtin and then its argument prototype would still apply. */
41924 /* The GNU C library defines this for functions which it implements
41925 to always fail with ENOSYS. Some functions are actually named
41926 something starting with __ and the normal name is an alias. */
41927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41930 char (*f) () = $ac_func;
41939 return f != $ac_func;
41944 rm -f conftest.$ac_objext conftest$ac_exeext
41945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41946 (eval $ac_link) 2>&5
41948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949 (exit $ac_status); } &&
41950 { ac_try='test -s conftest$ac_exeext'
41951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41952 (eval $ac_try) 2>&5
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); }; }; then
41956 eval "$as_ac_var=yes"
41958 echo "$as_me: failed program was:" >&5
41959 sed 's/^/| /' conftest.$ac_ext >&5
41961 eval "$as_ac_var=no"
41963 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41967 if test `eval echo '${'$as_ac_var'}'` = yes; then
41968 cat >>confdefs.h <<_ACEOF
41969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41979 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41980 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41981 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41982 echo $ECHO_N "(cached) $ECHO_C" >&6
41988 ac_cpp='$CXXCPP $CPPFLAGS'
41989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41993 cat >conftest.$ac_ext <<_ACEOF
41994 #line $LINENO "configure"
41997 cat confdefs.h >>conftest.$ac_ext
41998 cat >>conftest.$ac_ext <<_ACEOF
41999 /* end confdefs.h. */
42004 `for x in _acosl _asinl _atanl \
42005 _cosl _sinl _tanl \
42006 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
42011 rm -f conftest.$ac_objext
42012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42013 (eval $ac_compile) 2>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); } &&
42017 { ac_try='test -s conftest.$ac_objext'
42018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42019 (eval $ac_try) 2>&5
42021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42022 (exit $ac_status); }; }; then
42023 glibcxx_cv_func__long_double_trig_use=yes
42025 echo "$as_me: failed program was:" >&5
42026 sed 's/^/| /' conftest.$ac_ext >&5
42028 glibcxx_cv_func__long_double_trig_use=no
42030 rm -f conftest.$ac_objext conftest.$ac_ext
42032 ac_cpp='$CPP $CPPFLAGS'
42033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42040 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42041 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42051 for ac_func in _acosl _asinl _atanl \
42052 _cosl _sinl _tanl \
42053 _coshl _sinhl _tanhl
42055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42056 echo "$as_me:$LINENO: checking for $ac_func" >&5
42057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42058 if eval "test \"\${$as_ac_var+set}\" = set"; then
42059 echo $ECHO_N "(cached) $ECHO_C" >&6
42061 if test x$gcc_no_link = xyes; then
42062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42064 { (exit 1); exit 1; }; }
42066 cat >conftest.$ac_ext <<_ACEOF
42067 #line $LINENO "configure"
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* System header to define __stub macros and hopefully few prototypes,
42074 which can conflict with char $ac_func (); below.
42075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42076 <limits.h> exists even on freestanding compilers. */
42078 # include <limits.h>
42080 # include <assert.h>
42082 /* Override any gcc2 internal prototype to avoid an error. */
42087 /* We use char because int might match the return type of a gcc2
42088 builtin and then its argument prototype would still apply. */
42090 /* The GNU C library defines this for functions which it implements
42091 to always fail with ENOSYS. Some functions are actually named
42092 something starting with __ and the normal name is an alias. */
42093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42096 char (*f) () = $ac_func;
42105 return f != $ac_func;
42110 rm -f conftest.$ac_objext conftest$ac_exeext
42111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42112 (eval $ac_link) 2>&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try='test -s conftest$ac_exeext'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; }; then
42122 eval "$as_ac_var=yes"
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.$ac_ext >&5
42127 eval "$as_ac_var=no"
42129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42133 if test `eval echo '${'$as_ac_var'}'` = yes; then
42134 cat >>confdefs.h <<_ACEOF
42135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42144 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42145 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42146 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42153 ac_cpp='$CXXCPP $CPPFLAGS'
42154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42158 cat >conftest.$ac_ext <<_ACEOF
42159 #line $LINENO "configure"
42162 cat confdefs.h >>conftest.$ac_ext
42163 cat >>conftest.$ac_ext <<_ACEOF
42164 /* end confdefs.h. */
42169 `for x in _ceill _floorl; do echo "$x (0);"; done`
42174 rm -f conftest.$ac_objext
42175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42176 (eval $ac_compile) 2>&5
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); } &&
42180 { ac_try='test -s conftest.$ac_objext'
42181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42182 (eval $ac_try) 2>&5
42184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42185 (exit $ac_status); }; }; then
42186 glibcxx_cv_func__long_double_round_use=yes
42188 echo "$as_me: failed program was:" >&5
42189 sed 's/^/| /' conftest.$ac_ext >&5
42191 glibcxx_cv_func__long_double_round_use=no
42193 rm -f conftest.$ac_objext conftest.$ac_ext
42195 ac_cpp='$CPP $CPPFLAGS'
42196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42203 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42204 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42207 for ac_func in _ceill _floorl
42209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42210 echo "$as_me:$LINENO: checking for $ac_func" >&5
42211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42212 if eval "test \"\${$as_ac_var+set}\" = set"; then
42213 echo $ECHO_N "(cached) $ECHO_C" >&6
42215 if test x$gcc_no_link = xyes; then
42216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42218 { (exit 1); exit 1; }; }
42220 cat >conftest.$ac_ext <<_ACEOF
42221 #line $LINENO "configure"
42224 cat confdefs.h >>conftest.$ac_ext
42225 cat >>conftest.$ac_ext <<_ACEOF
42226 /* end confdefs.h. */
42227 /* System header to define __stub macros and hopefully few prototypes,
42228 which can conflict with char $ac_func (); below.
42229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42230 <limits.h> exists even on freestanding compilers. */
42232 # include <limits.h>
42234 # include <assert.h>
42236 /* Override any gcc2 internal prototype to avoid an error. */
42241 /* We use char because int might match the return type of a gcc2
42242 builtin and then its argument prototype would still apply. */
42244 /* The GNU C library defines this for functions which it implements
42245 to always fail with ENOSYS. Some functions are actually named
42246 something starting with __ and the normal name is an alias. */
42247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42250 char (*f) () = $ac_func;
42259 return f != $ac_func;
42264 rm -f conftest.$ac_objext conftest$ac_exeext
42265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42266 (eval $ac_link) 2>&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } &&
42270 { ac_try='test -s conftest$ac_exeext'
42271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42272 (eval $ac_try) 2>&5
42274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275 (exit $ac_status); }; }; then
42276 eval "$as_ac_var=yes"
42278 echo "$as_me: failed program was:" >&5
42279 sed 's/^/| /' conftest.$ac_ext >&5
42281 eval "$as_ac_var=no"
42283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42287 if test `eval echo '${'$as_ac_var'}'` = yes; then
42288 cat >>confdefs.h <<_ACEOF
42289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42298 LIBS="$ac_save_LIBS"
42299 CXXFLAGS="$ac_save_CXXFLAGS"
42303 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42304 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42305 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42306 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42307 echo $ECHO_N "(cached) $ECHO_C" >&6
42313 ac_cpp='$CXXCPP $CPPFLAGS'
42314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318 cat >conftest.$ac_ext <<_ACEOF
42319 #line $LINENO "configure"
42322 cat confdefs.h >>conftest.$ac_ext
42323 cat >>conftest.$ac_ext <<_ACEOF
42324 /* end confdefs.h. */
42334 rm -f conftest.$ac_objext
42335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42336 (eval $ac_compile) 2>&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try='test -s conftest.$ac_objext'
42341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42342 (eval $ac_try) 2>&5
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); }; }; then
42346 glibcxx_cv_func___builtin_abs_use=yes
42348 echo "$as_me: failed program was:" >&5
42349 sed 's/^/| /' conftest.$ac_ext >&5
42351 glibcxx_cv_func___builtin_abs_use=no
42353 rm -f conftest.$ac_objext conftest.$ac_ext
42355 ac_cpp='$CPP $CPPFLAGS'
42356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42365 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42366 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42367 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42368 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42369 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42370 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42371 echo $ECHO_N "(cached) $ECHO_C" >&6
42374 if test x$gcc_no_link = xyes; then
42375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42377 { (exit 1); exit 1; }; }
42379 cat >conftest.$ac_ext <<_ACEOF
42380 #line $LINENO "configure"
42383 cat confdefs.h >>conftest.$ac_ext
42384 cat >>conftest.$ac_ext <<_ACEOF
42385 /* end confdefs.h. */
42395 rm -f conftest.$ac_objext conftest$ac_exeext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42397 (eval $ac_link) 2>&5
42399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42400 (exit $ac_status); } &&
42401 { ac_try='test -s conftest$ac_exeext'
42402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42403 (eval $ac_try) 2>&5
42405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42406 (exit $ac_status); }; }; then
42407 glibcxx_cv_func___builtin_abs_link=yes
42409 echo "$as_me: failed program was:" >&5
42410 sed 's/^/| /' conftest.$ac_ext >&5
42412 glibcxx_cv_func___builtin_abs_link=no
42414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42419 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42420 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42421 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42422 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42423 cat >>confdefs.h <<_ACEOF
42424 #define ${ac_tr_func} 1
42431 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42432 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42433 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42434 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42435 echo $ECHO_N "(cached) $ECHO_C" >&6
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42446 cat >conftest.$ac_ext <<_ACEOF
42447 #line $LINENO "configure"
42450 cat confdefs.h >>conftest.$ac_ext
42451 cat >>conftest.$ac_ext <<_ACEOF
42452 /* end confdefs.h. */
42457 __builtin_fabsf(0);
42462 rm -f conftest.$ac_objext
42463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42464 (eval $ac_compile) 2>&5
42466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42467 (exit $ac_status); } &&
42468 { ac_try='test -s conftest.$ac_objext'
42469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42470 (eval $ac_try) 2>&5
42472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42473 (exit $ac_status); }; }; then
42474 glibcxx_cv_func___builtin_fabsf_use=yes
42476 echo "$as_me: failed program was:" >&5
42477 sed 's/^/| /' conftest.$ac_ext >&5
42479 glibcxx_cv_func___builtin_fabsf_use=no
42481 rm -f conftest.$ac_objext conftest.$ac_ext
42483 ac_cpp='$CPP $CPPFLAGS'
42484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42492 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42493 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42494 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42495 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42496 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42497 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42498 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42499 echo $ECHO_N "(cached) $ECHO_C" >&6
42502 if test x$gcc_no_link = xyes; then
42503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42505 { (exit 1); exit 1; }; }
42507 cat >conftest.$ac_ext <<_ACEOF
42508 #line $LINENO "configure"
42511 cat confdefs.h >>conftest.$ac_ext
42512 cat >>conftest.$ac_ext <<_ACEOF
42513 /* end confdefs.h. */
42518 __builtin_fabsf(0);
42523 rm -f conftest.$ac_objext conftest$ac_exeext
42524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42525 (eval $ac_link) 2>&5
42527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42528 (exit $ac_status); } &&
42529 { ac_try='test -s conftest$ac_exeext'
42530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42531 (eval $ac_try) 2>&5
42533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42534 (exit $ac_status); }; }; then
42535 glibcxx_cv_func___builtin_fabsf_link=yes
42537 echo "$as_me: failed program was:" >&5
42538 sed 's/^/| /' conftest.$ac_ext >&5
42540 glibcxx_cv_func___builtin_fabsf_link=no
42542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42547 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42548 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42549 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42550 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42551 cat >>confdefs.h <<_ACEOF
42552 #define ${ac_tr_func} 1
42559 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42560 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42561 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42562 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42563 echo $ECHO_N "(cached) $ECHO_C" >&6
42569 ac_cpp='$CXXCPP $CPPFLAGS'
42570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42574 cat >conftest.$ac_ext <<_ACEOF
42575 #line $LINENO "configure"
42578 cat confdefs.h >>conftest.$ac_ext
42579 cat >>conftest.$ac_ext <<_ACEOF
42580 /* end confdefs.h. */
42590 rm -f conftest.$ac_objext
42591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42592 (eval $ac_compile) 2>&5
42594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42595 (exit $ac_status); } &&
42596 { ac_try='test -s conftest.$ac_objext'
42597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42598 (eval $ac_try) 2>&5
42600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42601 (exit $ac_status); }; }; then
42602 glibcxx_cv_func___builtin_fabs_use=yes
42604 echo "$as_me: failed program was:" >&5
42605 sed 's/^/| /' conftest.$ac_ext >&5
42607 glibcxx_cv_func___builtin_fabs_use=no
42609 rm -f conftest.$ac_objext conftest.$ac_ext
42611 ac_cpp='$CPP $CPPFLAGS'
42612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42621 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42622 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42623 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42624 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42625 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42626 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42627 echo $ECHO_N "(cached) $ECHO_C" >&6
42630 if test x$gcc_no_link = xyes; then
42631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42633 { (exit 1); exit 1; }; }
42635 cat >conftest.$ac_ext <<_ACEOF
42636 #line $LINENO "configure"
42639 cat confdefs.h >>conftest.$ac_ext
42640 cat >>conftest.$ac_ext <<_ACEOF
42641 /* end confdefs.h. */
42651 rm -f conftest.$ac_objext conftest$ac_exeext
42652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42653 (eval $ac_link) 2>&5
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); } &&
42657 { ac_try='test -s conftest$ac_exeext'
42658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42659 (eval $ac_try) 2>&5
42661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42662 (exit $ac_status); }; }; then
42663 glibcxx_cv_func___builtin_fabs_link=yes
42665 echo "$as_me: failed program was:" >&5
42666 sed 's/^/| /' conftest.$ac_ext >&5
42668 glibcxx_cv_func___builtin_fabs_link=no
42670 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42675 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42676 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42677 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42678 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42679 cat >>confdefs.h <<_ACEOF
42680 #define ${ac_tr_func} 1
42687 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42688 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42689 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42690 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42691 echo $ECHO_N "(cached) $ECHO_C" >&6
42697 ac_cpp='$CXXCPP $CPPFLAGS'
42698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42702 cat >conftest.$ac_ext <<_ACEOF
42703 #line $LINENO "configure"
42706 cat confdefs.h >>conftest.$ac_ext
42707 cat >>conftest.$ac_ext <<_ACEOF
42708 /* end confdefs.h. */
42713 __builtin_fabsl(0);
42718 rm -f conftest.$ac_objext
42719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42720 (eval $ac_compile) 2>&5
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); } &&
42724 { ac_try='test -s conftest.$ac_objext'
42725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42726 (eval $ac_try) 2>&5
42728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42729 (exit $ac_status); }; }; then
42730 glibcxx_cv_func___builtin_fabsl_use=yes
42732 echo "$as_me: failed program was:" >&5
42733 sed 's/^/| /' conftest.$ac_ext >&5
42735 glibcxx_cv_func___builtin_fabsl_use=no
42737 rm -f conftest.$ac_objext conftest.$ac_ext
42739 ac_cpp='$CPP $CPPFLAGS'
42740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42749 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42750 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42751 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42752 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42753 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42754 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42755 echo $ECHO_N "(cached) $ECHO_C" >&6
42758 if test x$gcc_no_link = xyes; then
42759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42761 { (exit 1); exit 1; }; }
42763 cat >conftest.$ac_ext <<_ACEOF
42764 #line $LINENO "configure"
42767 cat confdefs.h >>conftest.$ac_ext
42768 cat >>conftest.$ac_ext <<_ACEOF
42769 /* end confdefs.h. */
42774 __builtin_fabsl(0);
42779 rm -f conftest.$ac_objext conftest$ac_exeext
42780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42781 (eval $ac_link) 2>&5
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); } &&
42785 { ac_try='test -s conftest$ac_exeext'
42786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42787 (eval $ac_try) 2>&5
42789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42790 (exit $ac_status); }; }; then
42791 glibcxx_cv_func___builtin_fabsl_link=yes
42793 echo "$as_me: failed program was:" >&5
42794 sed 's/^/| /' conftest.$ac_ext >&5
42796 glibcxx_cv_func___builtin_fabsl_link=no
42798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42803 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42804 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42805 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42806 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42807 cat >>confdefs.h <<_ACEOF
42808 #define ${ac_tr_func} 1
42815 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42816 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42817 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42818 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42819 echo $ECHO_N "(cached) $ECHO_C" >&6
42825 ac_cpp='$CXXCPP $CPPFLAGS'
42826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42830 cat >conftest.$ac_ext <<_ACEOF
42831 #line $LINENO "configure"
42834 cat confdefs.h >>conftest.$ac_ext
42835 cat >>conftest.$ac_ext <<_ACEOF
42836 /* end confdefs.h. */
42846 rm -f conftest.$ac_objext
42847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42848 (eval $ac_compile) 2>&5
42850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42851 (exit $ac_status); } &&
42852 { ac_try='test -s conftest.$ac_objext'
42853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42854 (eval $ac_try) 2>&5
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); }; }; then
42858 glibcxx_cv_func___builtin_labs_use=yes
42860 echo "$as_me: failed program was:" >&5
42861 sed 's/^/| /' conftest.$ac_ext >&5
42863 glibcxx_cv_func___builtin_labs_use=no
42865 rm -f conftest.$ac_objext conftest.$ac_ext
42867 ac_cpp='$CPP $CPPFLAGS'
42868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42876 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42877 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42878 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42879 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42880 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42881 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42882 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42883 echo $ECHO_N "(cached) $ECHO_C" >&6
42886 if test x$gcc_no_link = xyes; then
42887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42889 { (exit 1); exit 1; }; }
42891 cat >conftest.$ac_ext <<_ACEOF
42892 #line $LINENO "configure"
42895 cat confdefs.h >>conftest.$ac_ext
42896 cat >>conftest.$ac_ext <<_ACEOF
42897 /* end confdefs.h. */
42907 rm -f conftest.$ac_objext conftest$ac_exeext
42908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42909 (eval $ac_link) 2>&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } &&
42913 { ac_try='test -s conftest$ac_exeext'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; }; then
42919 glibcxx_cv_func___builtin_labs_link=yes
42921 echo "$as_me: failed program was:" >&5
42922 sed 's/^/| /' conftest.$ac_ext >&5
42924 glibcxx_cv_func___builtin_labs_link=no
42926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42931 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42932 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42933 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42934 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42935 cat >>confdefs.h <<_ACEOF
42936 #define ${ac_tr_func} 1
42944 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42945 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42946 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42947 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42948 echo $ECHO_N "(cached) $ECHO_C" >&6
42954 ac_cpp='$CXXCPP $CPPFLAGS'
42955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42959 cat >conftest.$ac_ext <<_ACEOF
42960 #line $LINENO "configure"
42963 cat confdefs.h >>conftest.$ac_ext
42964 cat >>conftest.$ac_ext <<_ACEOF
42965 /* end confdefs.h. */
42970 __builtin_sqrtf(0);
42975 rm -f conftest.$ac_objext
42976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42977 (eval $ac_compile) 2>&5
42979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42980 (exit $ac_status); } &&
42981 { ac_try='test -s conftest.$ac_objext'
42982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42983 (eval $ac_try) 2>&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); }; }; then
42987 glibcxx_cv_func___builtin_sqrtf_use=yes
42989 echo "$as_me: failed program was:" >&5
42990 sed 's/^/| /' conftest.$ac_ext >&5
42992 glibcxx_cv_func___builtin_sqrtf_use=no
42994 rm -f conftest.$ac_objext conftest.$ac_ext
42996 ac_cpp='$CPP $CPPFLAGS'
42997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43005 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
43006 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
43007 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
43008 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
43009 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
43010 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
43011 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43015 if test x$gcc_no_link = xyes; then
43016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43018 { (exit 1); exit 1; }; }
43020 cat >conftest.$ac_ext <<_ACEOF
43021 #line $LINENO "configure"
43024 cat confdefs.h >>conftest.$ac_ext
43025 cat >>conftest.$ac_ext <<_ACEOF
43026 /* end confdefs.h. */
43031 __builtin_sqrtf(0);
43036 rm -f conftest.$ac_objext conftest$ac_exeext
43037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43038 (eval $ac_link) 2>&5
43040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43041 (exit $ac_status); } &&
43042 { ac_try='test -s conftest$ac_exeext'
43043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43044 (eval $ac_try) 2>&5
43046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43047 (exit $ac_status); }; }; then
43048 glibcxx_cv_func___builtin_sqrtf_link=yes
43050 echo "$as_me: failed program was:" >&5
43051 sed 's/^/| /' conftest.$ac_ext >&5
43053 glibcxx_cv_func___builtin_sqrtf_link=no
43055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43061 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43062 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43063 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43064 cat >>confdefs.h <<_ACEOF
43065 #define ${ac_tr_func} 1
43072 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43073 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43074 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43075 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43076 echo $ECHO_N "(cached) $ECHO_C" >&6
43082 ac_cpp='$CXXCPP $CPPFLAGS'
43083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43087 cat >conftest.$ac_ext <<_ACEOF
43088 #line $LINENO "configure"
43091 cat confdefs.h >>conftest.$ac_ext
43092 cat >>conftest.$ac_ext <<_ACEOF
43093 /* end confdefs.h. */
43103 rm -f conftest.$ac_objext
43104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43105 (eval $ac_compile) 2>&5
43107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43108 (exit $ac_status); } &&
43109 { ac_try='test -s conftest.$ac_objext'
43110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43111 (eval $ac_try) 2>&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); }; }; then
43115 glibcxx_cv_func___builtin_sqrt_use=yes
43117 echo "$as_me: failed program was:" >&5
43118 sed 's/^/| /' conftest.$ac_ext >&5
43120 glibcxx_cv_func___builtin_sqrt_use=no
43122 rm -f conftest.$ac_objext conftest.$ac_ext
43124 ac_cpp='$CPP $CPPFLAGS'
43125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43133 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43134 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43135 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43136 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43137 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43138 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43139 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43140 echo $ECHO_N "(cached) $ECHO_C" >&6
43143 if test x$gcc_no_link = xyes; then
43144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43146 { (exit 1); exit 1; }; }
43148 cat >conftest.$ac_ext <<_ACEOF
43149 #line $LINENO "configure"
43152 cat confdefs.h >>conftest.$ac_ext
43153 cat >>conftest.$ac_ext <<_ACEOF
43154 /* end confdefs.h. */
43164 rm -f conftest.$ac_objext conftest$ac_exeext
43165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43166 (eval $ac_link) 2>&5
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); } &&
43170 { ac_try='test -s conftest$ac_exeext'
43171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172 (eval $ac_try) 2>&5
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; }; then
43176 glibcxx_cv_func___builtin_sqrt_link=yes
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43181 glibcxx_cv_func___builtin_sqrt_link=no
43183 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43188 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43189 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43190 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43191 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43192 cat >>confdefs.h <<_ACEOF
43193 #define ${ac_tr_func} 1
43200 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43201 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43202 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43203 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43204 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43215 cat >conftest.$ac_ext <<_ACEOF
43216 #line $LINENO "configure"
43219 cat confdefs.h >>conftest.$ac_ext
43220 cat >>conftest.$ac_ext <<_ACEOF
43221 /* end confdefs.h. */
43226 __builtin_sqrtl(0);
43231 rm -f conftest.$ac_objext
43232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43233 (eval $ac_compile) 2>&5
43235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43236 (exit $ac_status); } &&
43237 { ac_try='test -s conftest.$ac_objext'
43238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43239 (eval $ac_try) 2>&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); }; }; then
43243 glibcxx_cv_func___builtin_sqrtl_use=yes
43245 echo "$as_me: failed program was:" >&5
43246 sed 's/^/| /' conftest.$ac_ext >&5
43248 glibcxx_cv_func___builtin_sqrtl_use=no
43250 rm -f conftest.$ac_objext conftest.$ac_ext
43252 ac_cpp='$CPP $CPPFLAGS'
43253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43261 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43262 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43263 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43264 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43265 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43266 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43267 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43268 echo $ECHO_N "(cached) $ECHO_C" >&6
43271 if test x$gcc_no_link = xyes; then
43272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43274 { (exit 1); exit 1; }; }
43276 cat >conftest.$ac_ext <<_ACEOF
43277 #line $LINENO "configure"
43280 cat confdefs.h >>conftest.$ac_ext
43281 cat >>conftest.$ac_ext <<_ACEOF
43282 /* end confdefs.h. */
43287 __builtin_sqrtl(0);
43292 rm -f conftest.$ac_objext conftest$ac_exeext
43293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43294 (eval $ac_link) 2>&5
43296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43297 (exit $ac_status); } &&
43298 { ac_try='test -s conftest$ac_exeext'
43299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43300 (eval $ac_try) 2>&5
43302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43303 (exit $ac_status); }; }; then
43304 glibcxx_cv_func___builtin_sqrtl_link=yes
43306 echo "$as_me: failed program was:" >&5
43307 sed 's/^/| /' conftest.$ac_ext >&5
43309 glibcxx_cv_func___builtin_sqrtl_link=no
43311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43316 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43317 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43318 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43319 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43320 cat >>confdefs.h <<_ACEOF
43321 #define ${ac_tr_func} 1
43329 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43330 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43331 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43332 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43333 echo $ECHO_N "(cached) $ECHO_C" >&6
43339 ac_cpp='$CXXCPP $CPPFLAGS'
43340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344 cat >conftest.$ac_ext <<_ACEOF
43345 #line $LINENO "configure"
43348 cat confdefs.h >>conftest.$ac_ext
43349 cat >>conftest.$ac_ext <<_ACEOF
43350 /* end confdefs.h. */
43360 rm -f conftest.$ac_objext
43361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43362 (eval $ac_compile) 2>&5
43364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43365 (exit $ac_status); } &&
43366 { ac_try='test -s conftest.$ac_objext'
43367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43368 (eval $ac_try) 2>&5
43370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371 (exit $ac_status); }; }; then
43372 glibcxx_cv_func___builtin_sinf_use=yes
43374 echo "$as_me: failed program was:" >&5
43375 sed 's/^/| /' conftest.$ac_ext >&5
43377 glibcxx_cv_func___builtin_sinf_use=no
43379 rm -f conftest.$ac_objext conftest.$ac_ext
43381 ac_cpp='$CPP $CPPFLAGS'
43382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43391 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43392 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43393 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43394 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43395 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43396 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43397 echo $ECHO_N "(cached) $ECHO_C" >&6
43400 if test x$gcc_no_link = xyes; then
43401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43403 { (exit 1); exit 1; }; }
43405 cat >conftest.$ac_ext <<_ACEOF
43406 #line $LINENO "configure"
43409 cat confdefs.h >>conftest.$ac_ext
43410 cat >>conftest.$ac_ext <<_ACEOF
43411 /* end confdefs.h. */
43421 rm -f conftest.$ac_objext conftest$ac_exeext
43422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43423 (eval $ac_link) 2>&5
43425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43426 (exit $ac_status); } &&
43427 { ac_try='test -s conftest$ac_exeext'
43428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43429 (eval $ac_try) 2>&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); }; }; then
43433 glibcxx_cv_func___builtin_sinf_link=yes
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43438 glibcxx_cv_func___builtin_sinf_link=no
43440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43445 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43446 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43447 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43448 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43449 cat >>confdefs.h <<_ACEOF
43450 #define ${ac_tr_func} 1
43457 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43458 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43459 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43460 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43461 echo $ECHO_N "(cached) $ECHO_C" >&6
43467 ac_cpp='$CXXCPP $CPPFLAGS'
43468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43472 cat >conftest.$ac_ext <<_ACEOF
43473 #line $LINENO "configure"
43476 cat confdefs.h >>conftest.$ac_ext
43477 cat >>conftest.$ac_ext <<_ACEOF
43478 /* end confdefs.h. */
43488 rm -f conftest.$ac_objext
43489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43490 (eval $ac_compile) 2>&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } &&
43494 { ac_try='test -s conftest.$ac_objext'
43495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43496 (eval $ac_try) 2>&5
43498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43499 (exit $ac_status); }; }; then
43500 glibcxx_cv_func___builtin_sin_use=yes
43502 echo "$as_me: failed program was:" >&5
43503 sed 's/^/| /' conftest.$ac_ext >&5
43505 glibcxx_cv_func___builtin_sin_use=no
43507 rm -f conftest.$ac_objext conftest.$ac_ext
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43519 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43520 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43521 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43522 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43523 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43524 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43525 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 if test x$gcc_no_link = xyes; then
43529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43531 { (exit 1); exit 1; }; }
43533 cat >conftest.$ac_ext <<_ACEOF
43534 #line $LINENO "configure"
43537 cat confdefs.h >>conftest.$ac_ext
43538 cat >>conftest.$ac_ext <<_ACEOF
43539 /* end confdefs.h. */
43549 rm -f conftest.$ac_objext conftest$ac_exeext
43550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43551 (eval $ac_link) 2>&5
43553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43554 (exit $ac_status); } &&
43555 { ac_try='test -s conftest$ac_exeext'
43556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43557 (eval $ac_try) 2>&5
43559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43560 (exit $ac_status); }; }; then
43561 glibcxx_cv_func___builtin_sin_link=yes
43563 echo "$as_me: failed program was:" >&5
43564 sed 's/^/| /' conftest.$ac_ext >&5
43566 glibcxx_cv_func___builtin_sin_link=no
43568 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43573 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43574 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43575 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43576 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43577 cat >>confdefs.h <<_ACEOF
43578 #define ${ac_tr_func} 1
43585 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43586 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43587 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43588 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43589 echo $ECHO_N "(cached) $ECHO_C" >&6
43595 ac_cpp='$CXXCPP $CPPFLAGS'
43596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43600 cat >conftest.$ac_ext <<_ACEOF
43601 #line $LINENO "configure"
43604 cat confdefs.h >>conftest.$ac_ext
43605 cat >>conftest.$ac_ext <<_ACEOF
43606 /* end confdefs.h. */
43616 rm -f conftest.$ac_objext
43617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43618 (eval $ac_compile) 2>&5
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); } &&
43622 { ac_try='test -s conftest.$ac_objext'
43623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43624 (eval $ac_try) 2>&5
43626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43627 (exit $ac_status); }; }; then
43628 glibcxx_cv_func___builtin_sinl_use=yes
43630 echo "$as_me: failed program was:" >&5
43631 sed 's/^/| /' conftest.$ac_ext >&5
43633 glibcxx_cv_func___builtin_sinl_use=no
43635 rm -f conftest.$ac_objext conftest.$ac_ext
43637 ac_cpp='$CPP $CPPFLAGS'
43638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43646 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43647 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43648 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43649 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43650 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43651 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43652 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43653 echo $ECHO_N "(cached) $ECHO_C" >&6
43656 if test x$gcc_no_link = xyes; then
43657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43659 { (exit 1); exit 1; }; }
43661 cat >conftest.$ac_ext <<_ACEOF
43662 #line $LINENO "configure"
43665 cat confdefs.h >>conftest.$ac_ext
43666 cat >>conftest.$ac_ext <<_ACEOF
43667 /* end confdefs.h. */
43677 rm -f conftest.$ac_objext conftest$ac_exeext
43678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43679 (eval $ac_link) 2>&5
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); } &&
43683 { ac_try='test -s conftest$ac_exeext'
43684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685 (eval $ac_try) 2>&5
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); }; }; then
43689 glibcxx_cv_func___builtin_sinl_link=yes
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43694 glibcxx_cv_func___builtin_sinl_link=no
43696 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43701 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43702 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43703 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43704 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43705 cat >>confdefs.h <<_ACEOF
43706 #define ${ac_tr_func} 1
43714 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43715 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43716 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43717 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43718 echo $ECHO_N "(cached) $ECHO_C" >&6
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729 cat >conftest.$ac_ext <<_ACEOF
43730 #line $LINENO "configure"
43733 cat confdefs.h >>conftest.$ac_ext
43734 cat >>conftest.$ac_ext <<_ACEOF
43735 /* end confdefs.h. */
43745 rm -f conftest.$ac_objext
43746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43747 (eval $ac_compile) 2>&5
43749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43750 (exit $ac_status); } &&
43751 { ac_try='test -s conftest.$ac_objext'
43752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43753 (eval $ac_try) 2>&5
43755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43756 (exit $ac_status); }; }; then
43757 glibcxx_cv_func___builtin_cosf_use=yes
43759 echo "$as_me: failed program was:" >&5
43760 sed 's/^/| /' conftest.$ac_ext >&5
43762 glibcxx_cv_func___builtin_cosf_use=no
43764 rm -f conftest.$ac_objext conftest.$ac_ext
43766 ac_cpp='$CPP $CPPFLAGS'
43767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43776 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43777 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43778 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43779 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43780 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43781 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43782 echo $ECHO_N "(cached) $ECHO_C" >&6
43785 if test x$gcc_no_link = xyes; then
43786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43788 { (exit 1); exit 1; }; }
43790 cat >conftest.$ac_ext <<_ACEOF
43791 #line $LINENO "configure"
43794 cat confdefs.h >>conftest.$ac_ext
43795 cat >>conftest.$ac_ext <<_ACEOF
43796 /* end confdefs.h. */
43806 rm -f conftest.$ac_objext conftest$ac_exeext
43807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43808 (eval $ac_link) 2>&5
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); } &&
43812 { ac_try='test -s conftest$ac_exeext'
43813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43814 (eval $ac_try) 2>&5
43816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43817 (exit $ac_status); }; }; then
43818 glibcxx_cv_func___builtin_cosf_link=yes
43820 echo "$as_me: failed program was:" >&5
43821 sed 's/^/| /' conftest.$ac_ext >&5
43823 glibcxx_cv_func___builtin_cosf_link=no
43825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43830 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43831 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43832 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43833 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43834 cat >>confdefs.h <<_ACEOF
43835 #define ${ac_tr_func} 1
43842 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43843 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43844 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43845 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43846 echo $ECHO_N "(cached) $ECHO_C" >&6
43852 ac_cpp='$CXXCPP $CPPFLAGS'
43853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43857 cat >conftest.$ac_ext <<_ACEOF
43858 #line $LINENO "configure"
43861 cat confdefs.h >>conftest.$ac_ext
43862 cat >>conftest.$ac_ext <<_ACEOF
43863 /* end confdefs.h. */
43873 rm -f conftest.$ac_objext
43874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43875 (eval $ac_compile) 2>&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } &&
43879 { ac_try='test -s conftest.$ac_objext'
43880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43881 (eval $ac_try) 2>&5
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); }; }; then
43885 glibcxx_cv_func___builtin_cos_use=yes
43887 echo "$as_me: failed program was:" >&5
43888 sed 's/^/| /' conftest.$ac_ext >&5
43890 glibcxx_cv_func___builtin_cos_use=no
43892 rm -f conftest.$ac_objext conftest.$ac_ext
43894 ac_cpp='$CPP $CPPFLAGS'
43895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43904 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43905 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43906 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43907 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43908 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43909 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43910 echo $ECHO_N "(cached) $ECHO_C" >&6
43913 if test x$gcc_no_link = xyes; then
43914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43916 { (exit 1); exit 1; }; }
43918 cat >conftest.$ac_ext <<_ACEOF
43919 #line $LINENO "configure"
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43934 rm -f conftest.$ac_objext conftest$ac_exeext
43935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43936 (eval $ac_link) 2>&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } &&
43940 { ac_try='test -s conftest$ac_exeext'
43941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43942 (eval $ac_try) 2>&5
43944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43945 (exit $ac_status); }; }; then
43946 glibcxx_cv_func___builtin_cos_link=yes
43948 echo "$as_me: failed program was:" >&5
43949 sed 's/^/| /' conftest.$ac_ext >&5
43951 glibcxx_cv_func___builtin_cos_link=no
43953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43958 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43959 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43960 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43961 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43962 cat >>confdefs.h <<_ACEOF
43963 #define ${ac_tr_func} 1
43970 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43971 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43972 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43973 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985 cat >conftest.$ac_ext <<_ACEOF
43986 #line $LINENO "configure"
43989 cat confdefs.h >>conftest.$ac_ext
43990 cat >>conftest.$ac_ext <<_ACEOF
43991 /* end confdefs.h. */
44001 rm -f conftest.$ac_objext
44002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44003 (eval $ac_compile) 2>&5
44005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44006 (exit $ac_status); } &&
44007 { ac_try='test -s conftest.$ac_objext'
44008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44009 (eval $ac_try) 2>&5
44011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44012 (exit $ac_status); }; }; then
44013 glibcxx_cv_func___builtin_cosl_use=yes
44015 echo "$as_me: failed program was:" >&5
44016 sed 's/^/| /' conftest.$ac_ext >&5
44018 glibcxx_cv_func___builtin_cosl_use=no
44020 rm -f conftest.$ac_objext conftest.$ac_ext
44022 ac_cpp='$CPP $CPPFLAGS'
44023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44031 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44032 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44033 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44034 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44035 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44036 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44037 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44038 echo $ECHO_N "(cached) $ECHO_C" >&6
44041 if test x$gcc_no_link = xyes; then
44042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44044 { (exit 1); exit 1; }; }
44046 cat >conftest.$ac_ext <<_ACEOF
44047 #line $LINENO "configure"
44050 cat confdefs.h >>conftest.$ac_ext
44051 cat >>conftest.$ac_ext <<_ACEOF
44052 /* end confdefs.h. */
44062 rm -f conftest.$ac_objext conftest$ac_exeext
44063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44064 (eval $ac_link) 2>&5
44066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44067 (exit $ac_status); } &&
44068 { ac_try='test -s conftest$ac_exeext'
44069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44070 (eval $ac_try) 2>&5
44072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44073 (exit $ac_status); }; }; then
44074 glibcxx_cv_func___builtin_cosl_link=yes
44076 echo "$as_me: failed program was:" >&5
44077 sed 's/^/| /' conftest.$ac_ext >&5
44079 glibcxx_cv_func___builtin_cosl_link=no
44081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44086 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44087 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44088 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44089 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44090 cat >>confdefs.h <<_ACEOF
44091 #define ${ac_tr_func} 1
44099 if test x$dummyvar = x"yes"; then
44100 cat >>confdefs.h <<\_ACEOF
44101 #define HAVE___BUILTIN_ABS 1
44104 cat >>confdefs.h <<\_ACEOF
44105 #define HAVE___BUILTIN_LABS 1
44108 cat >>confdefs.h <<\_ACEOF
44109 #define HAVE___BUILTIN_COS 1
44112 cat >>confdefs.h <<\_ACEOF
44113 #define HAVE___BUILTIN_COSF 1
44116 cat >>confdefs.h <<\_ACEOF
44117 #define HAVE___BUILTIN_COSL 1
44120 cat >>confdefs.h <<\_ACEOF
44121 #define HAVE___BUILTIN_FABS 1
44124 cat >>confdefs.h <<\_ACEOF
44125 #define HAVE___BUILTIN_FABSF 1
44128 cat >>confdefs.h <<\_ACEOF
44129 #define HAVE___BUILTIN_FABSL 1
44132 cat >>confdefs.h <<\_ACEOF
44133 #define HAVE___BUILTIN_SIN 1
44136 cat >>confdefs.h <<\_ACEOF
44137 #define HAVE___BUILTIN_SINF 1
44140 cat >>confdefs.h <<\_ACEOF
44141 #define HAVE___BUILTIN_SINL 1
44144 cat >>confdefs.h <<\_ACEOF
44145 #define HAVE___BUILTIN_SQRT 1
44148 cat >>confdefs.h <<\_ACEOF
44149 #define HAVE___BUILTIN_SQRTF 1
44152 cat >>confdefs.h <<\_ACEOF
44153 #define HAVE___BUILTIN_SQRTL 1
44160 echo "$as_me:$LINENO: checking for main in -lm" >&5
44161 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44162 if test "${ac_cv_lib_m_main+set}" = set; then
44163 echo $ECHO_N "(cached) $ECHO_C" >&6
44165 ac_check_lib_save_LIBS=$LIBS
44167 if test x$gcc_no_link = xyes; then
44168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44170 { (exit 1); exit 1; }; }
44172 cat >conftest.$ac_ext <<_ACEOF
44173 #line $LINENO "configure"
44176 cat confdefs.h >>conftest.$ac_ext
44177 cat >>conftest.$ac_ext <<_ACEOF
44178 /* end confdefs.h. */
44189 rm -f conftest.$ac_objext conftest$ac_exeext
44190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44191 (eval $ac_link) 2>&5
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); } &&
44195 { ac_try='test -s conftest$ac_exeext'
44196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44197 (eval $ac_try) 2>&5
44199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44200 (exit $ac_status); }; }; then
44201 ac_cv_lib_m_main=yes
44203 echo "$as_me: failed program was:" >&5
44204 sed 's/^/| /' conftest.$ac_ext >&5
44206 ac_cv_lib_m_main=no
44208 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44209 LIBS=$ac_check_lib_save_LIBS
44211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44212 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44213 if test $ac_cv_lib_m_main = yes; then
44214 cat >>confdefs.h <<_ACEOF
44215 #define HAVE_LIBM 1
44224 for ac_func in nan copysignf
44226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44227 echo "$as_me:$LINENO: checking for $ac_func" >&5
44228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44229 if eval "test \"\${$as_ac_var+set}\" = set"; then
44230 echo $ECHO_N "(cached) $ECHO_C" >&6
44232 if test x$gcc_no_link = xyes; then
44233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44235 { (exit 1); exit 1; }; }
44237 cat >conftest.$ac_ext <<_ACEOF
44238 #line $LINENO "configure"
44241 cat confdefs.h >>conftest.$ac_ext
44242 cat >>conftest.$ac_ext <<_ACEOF
44243 /* end confdefs.h. */
44244 /* System header to define __stub macros and hopefully few prototypes,
44245 which can conflict with char $ac_func (); below.
44246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44247 <limits.h> exists even on freestanding compilers. */
44249 # include <limits.h>
44251 # include <assert.h>
44253 /* Override any gcc2 internal prototype to avoid an error. */
44258 /* We use char because int might match the return type of a gcc2
44259 builtin and then its argument prototype would still apply. */
44261 /* The GNU C library defines this for functions which it implements
44262 to always fail with ENOSYS. Some functions are actually named
44263 something starting with __ and the normal name is an alias. */
44264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44267 char (*f) () = $ac_func;
44276 return f != $ac_func;
44281 rm -f conftest.$ac_objext conftest$ac_exeext
44282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44283 (eval $ac_link) 2>&5
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); } &&
44287 { ac_try='test -s conftest$ac_exeext'
44288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44289 (eval $ac_try) 2>&5
44291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44292 (exit $ac_status); }; }; then
44293 eval "$as_ac_var=yes"
44295 echo "$as_me: failed program was:" >&5
44296 sed 's/^/| /' conftest.$ac_ext >&5
44298 eval "$as_ac_var=no"
44300 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44304 if test `eval echo '${'$as_ac_var'}'` = yes; then
44305 cat >>confdefs.h <<_ACEOF
44306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44310 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44316 for ac_func in __signbit
44318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44319 echo "$as_me:$LINENO: checking for $ac_func" >&5
44320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44321 if eval "test \"\${$as_ac_var+set}\" = set"; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44324 if test x$gcc_no_link = xyes; then
44325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44327 { (exit 1); exit 1; }; }
44329 cat >conftest.$ac_ext <<_ACEOF
44330 #line $LINENO "configure"
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 /* System header to define __stub macros and hopefully few prototypes,
44337 which can conflict with char $ac_func (); below.
44338 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44339 <limits.h> exists even on freestanding compilers. */
44341 # include <limits.h>
44343 # include <assert.h>
44345 /* Override any gcc2 internal prototype to avoid an error. */
44350 /* We use char because int might match the return type of a gcc2
44351 builtin and then its argument prototype would still apply. */
44353 /* The GNU C library defines this for functions which it implements
44354 to always fail with ENOSYS. Some functions are actually named
44355 something starting with __ and the normal name is an alias. */
44356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44359 char (*f) () = $ac_func;
44368 return f != $ac_func;
44373 rm -f conftest.$ac_objext conftest$ac_exeext
44374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44375 (eval $ac_link) 2>&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); } &&
44379 { ac_try='test -s conftest$ac_exeext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 eval "$as_ac_var=yes"
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44390 eval "$as_ac_var=no"
44392 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44396 if test `eval echo '${'$as_ac_var'}'` = yes; then
44397 cat >>confdefs.h <<_ACEOF
44398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44402 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44407 for ac_func in __signbitf
44409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44410 echo "$as_me:$LINENO: checking for $ac_func" >&5
44411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44412 if eval "test \"\${$as_ac_var+set}\" = set"; then
44413 echo $ECHO_N "(cached) $ECHO_C" >&6
44415 if test x$gcc_no_link = xyes; then
44416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44418 { (exit 1); exit 1; }; }
44420 cat >conftest.$ac_ext <<_ACEOF
44421 #line $LINENO "configure"
44424 cat confdefs.h >>conftest.$ac_ext
44425 cat >>conftest.$ac_ext <<_ACEOF
44426 /* end confdefs.h. */
44427 /* System header to define __stub macros and hopefully few prototypes,
44428 which can conflict with char $ac_func (); below.
44429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44430 <limits.h> exists even on freestanding compilers. */
44432 # include <limits.h>
44434 # include <assert.h>
44436 /* Override any gcc2 internal prototype to avoid an error. */
44441 /* We use char because int might match the return type of a gcc2
44442 builtin and then its argument prototype would still apply. */
44444 /* The GNU C library defines this for functions which it implements
44445 to always fail with ENOSYS. Some functions are actually named
44446 something starting with __ and the normal name is an alias. */
44447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44450 char (*f) () = $ac_func;
44459 return f != $ac_func;
44464 rm -f conftest.$ac_objext conftest$ac_exeext
44465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44466 (eval $ac_link) 2>&5
44468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44469 (exit $ac_status); } &&
44470 { ac_try='test -s conftest$ac_exeext'
44471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44472 (eval $ac_try) 2>&5
44474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44475 (exit $ac_status); }; }; then
44476 eval "$as_ac_var=yes"
44478 echo "$as_me: failed program was:" >&5
44479 sed 's/^/| /' conftest.$ac_ext >&5
44481 eval "$as_ac_var=no"
44483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44487 if test `eval echo '${'$as_ac_var'}'` = yes; then
44488 cat >>confdefs.h <<_ACEOF
44489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44493 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44498 if test x$ac_cv_func_copysignl = x"yes"; then
44500 for ac_func in __signbitl
44502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44503 echo "$as_me:$LINENO: checking for $ac_func" >&5
44504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44505 if eval "test \"\${$as_ac_var+set}\" = set"; then
44506 echo $ECHO_N "(cached) $ECHO_C" >&6
44508 if test x$gcc_no_link = xyes; then
44509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44511 { (exit 1); exit 1; }; }
44513 cat >conftest.$ac_ext <<_ACEOF
44514 #line $LINENO "configure"
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44520 /* System header to define __stub macros and hopefully few prototypes,
44521 which can conflict with char $ac_func (); below.
44522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44523 <limits.h> exists even on freestanding compilers. */
44525 # include <limits.h>
44527 # include <assert.h>
44529 /* Override any gcc2 internal prototype to avoid an error. */
44534 /* We use char because int might match the return type of a gcc2
44535 builtin and then its argument prototype would still apply. */
44537 /* The GNU C library defines this for functions which it implements
44538 to always fail with ENOSYS. Some functions are actually named
44539 something starting with __ and the normal name is an alias. */
44540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44543 char (*f) () = $ac_func;
44552 return f != $ac_func;
44557 rm -f conftest.$ac_objext conftest$ac_exeext
44558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44559 (eval $ac_link) 2>&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); } &&
44563 { ac_try='test -s conftest$ac_exeext'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; }; then
44569 eval "$as_ac_var=yes"
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.$ac_ext >&5
44574 eval "$as_ac_var=no"
44576 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44580 if test `eval echo '${'$as_ac_var'}'` = yes; then
44581 cat >>confdefs.h <<_ACEOF
44582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44586 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44592 # XXX Review this. Nothing uses it.
44593 if test -n "$LIBMATHOBJS"; then
44599 # Test wchar.h for mbstate_t, which is needed for char_traits and
44600 # others even if wchar_t support is not on.
44601 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44602 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44603 cat >conftest.$ac_ext <<_ACEOF
44604 #line $LINENO "configure"
44607 cat confdefs.h >>conftest.$ac_ext
44608 cat >>conftest.$ac_ext <<_ACEOF
44609 /* end confdefs.h. */
44614 mbstate_t teststate;
44619 rm -f conftest.$ac_objext
44620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44621 (eval $ac_compile) 2>&5
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); } &&
44625 { ac_try='test -s conftest.$ac_objext'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; }; then
44633 echo "$as_me: failed program was:" >&5
44634 sed 's/^/| /' conftest.$ac_ext >&5
44638 rm -f conftest.$ac_objext conftest.$ac_ext
44639 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44640 echo "${ECHO_T}$have_mbstate_t" >&6
44641 if test x"$have_mbstate_t" = xyes; then
44642 cat >>confdefs.h <<\_ACEOF
44643 #define HAVE_MBSTATE_T 1
44648 # Sanity check for existence of ISO C99 headers for extended encoding.
44650 for ac_header in wchar.h
44652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44654 echo "$as_me:$LINENO: checking for $ac_header" >&5
44655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44662 # Is the header compilable?
44663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44665 cat >conftest.$ac_ext <<_ACEOF
44666 #line $LINENO "configure"
44669 cat confdefs.h >>conftest.$ac_ext
44670 cat >>conftest.$ac_ext <<_ACEOF
44671 /* end confdefs.h. */
44672 $ac_includes_default
44673 #include <$ac_header>
44675 rm -f conftest.$ac_objext
44676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44677 (eval $ac_compile) 2>&5
44679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44680 (exit $ac_status); } &&
44681 { ac_try='test -s conftest.$ac_objext'
44682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44683 (eval $ac_try) 2>&5
44685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44686 (exit $ac_status); }; }; then
44687 ac_header_compiler=yes
44689 echo "$as_me: failed program was:" >&5
44690 sed 's/^/| /' conftest.$ac_ext >&5
44692 ac_header_compiler=no
44694 rm -f conftest.$ac_objext conftest.$ac_ext
44695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44696 echo "${ECHO_T}$ac_header_compiler" >&6
44698 # Is the header present?
44699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44701 cat >conftest.$ac_ext <<_ACEOF
44702 #line $LINENO "configure"
44705 cat confdefs.h >>conftest.$ac_ext
44706 cat >>conftest.$ac_ext <<_ACEOF
44707 /* end confdefs.h. */
44708 #include <$ac_header>
44710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44713 grep -v '^ *+' conftest.er1 >conftest.err
44715 cat conftest.err >&5
44716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44717 (exit $ac_status); } >/dev/null; then
44718 if test -s conftest.err; then
44719 ac_cpp_err=$ac_c_preproc_warn_flag
44726 if test -z "$ac_cpp_err"; then
44727 ac_header_preproc=yes
44729 echo "$as_me: failed program was:" >&5
44730 sed 's/^/| /' conftest.$ac_ext >&5
44732 ac_header_preproc=no
44734 rm -f conftest.err conftest.$ac_ext
44735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44736 echo "${ECHO_T}$ac_header_preproc" >&6
44738 # So? What about this header?
44739 case $ac_header_compiler:$ac_header_preproc in
44741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44744 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44747 ## ------------------------------------ ##
44748 ## Report this to bug-autoconf@gnu.org. ##
44749 ## ------------------------------------ ##
44752 sed "s/^/$as_me: WARNING: /" >&2
44755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44759 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44760 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44763 ## ------------------------------------ ##
44764 ## Report this to bug-autoconf@gnu.org. ##
44765 ## ------------------------------------ ##
44768 sed "s/^/$as_me: WARNING: /" >&2
44771 echo "$as_me:$LINENO: checking for $ac_header" >&5
44772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44774 echo $ECHO_N "(cached) $ECHO_C" >&6
44776 eval "$as_ac_Header=$ac_header_preproc"
44778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44783 cat >>confdefs.h <<_ACEOF
44784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44794 for ac_header in wctype.h
44796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44798 echo "$as_me:$LINENO: checking for $ac_header" >&5
44799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44801 echo $ECHO_N "(cached) $ECHO_C" >&6
44803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44806 # Is the header compilable?
44807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44809 cat >conftest.$ac_ext <<_ACEOF
44810 #line $LINENO "configure"
44813 cat confdefs.h >>conftest.$ac_ext
44814 cat >>conftest.$ac_ext <<_ACEOF
44815 /* end confdefs.h. */
44816 $ac_includes_default
44817 #include <$ac_header>
44819 rm -f conftest.$ac_objext
44820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44821 (eval $ac_compile) 2>&5
44823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44824 (exit $ac_status); } &&
44825 { ac_try='test -s conftest.$ac_objext'
44826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44827 (eval $ac_try) 2>&5
44829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44830 (exit $ac_status); }; }; then
44831 ac_header_compiler=yes
44833 echo "$as_me: failed program was:" >&5
44834 sed 's/^/| /' conftest.$ac_ext >&5
44836 ac_header_compiler=no
44838 rm -f conftest.$ac_objext conftest.$ac_ext
44839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44840 echo "${ECHO_T}$ac_header_compiler" >&6
44842 # Is the header present?
44843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44845 cat >conftest.$ac_ext <<_ACEOF
44846 #line $LINENO "configure"
44849 cat confdefs.h >>conftest.$ac_ext
44850 cat >>conftest.$ac_ext <<_ACEOF
44851 /* end confdefs.h. */
44852 #include <$ac_header>
44854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44857 grep -v '^ *+' conftest.er1 >conftest.err
44859 cat conftest.err >&5
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); } >/dev/null; then
44862 if test -s conftest.err; then
44863 ac_cpp_err=$ac_c_preproc_warn_flag
44870 if test -z "$ac_cpp_err"; then
44871 ac_header_preproc=yes
44873 echo "$as_me: failed program was:" >&5
44874 sed 's/^/| /' conftest.$ac_ext >&5
44876 ac_header_preproc=no
44878 rm -f conftest.err conftest.$ac_ext
44879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44880 echo "${ECHO_T}$ac_header_preproc" >&6
44882 # So? What about this header?
44883 case $ac_header_compiler:$ac_header_preproc in
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44891 ## ------------------------------------ ##
44892 ## Report this to bug-autoconf@gnu.org. ##
44893 ## ------------------------------------ ##
44896 sed "s/^/$as_me: WARNING: /" >&2
44899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44907 ## ------------------------------------ ##
44908 ## Report this to bug-autoconf@gnu.org. ##
44909 ## ------------------------------------ ##
44912 sed "s/^/$as_me: WARNING: /" >&2
44915 echo "$as_me:$LINENO: checking for $ac_header" >&5
44916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44918 echo $ECHO_N "(cached) $ECHO_C" >&6
44920 eval "$as_ac_Header=$ac_header_preproc"
44922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44927 cat >>confdefs.h <<_ACEOF
44928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44930 ac_has_wctype_h=yes
44938 # Only continue checking if the ISO C99 headers exist and support is on.
44939 if test x"$ac_has_wchar_h" = xyes &&
44940 test x"$ac_has_wctype_h" = xyes &&
44941 test x"$enable_c_mbchar" != xno; then
44943 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44944 # numeric_limits can instantiate type_traits<wchar_t>
44945 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44946 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44947 cat >conftest.$ac_ext <<_ACEOF
44948 #line $LINENO "configure"
44951 cat confdefs.h >>conftest.$ac_ext
44952 cat >>conftest.$ac_ext <<_ACEOF
44953 /* end confdefs.h. */
44958 int i = WCHAR_MIN; int j = WCHAR_MAX;
44963 rm -f conftest.$ac_objext
44964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44965 (eval $ac_compile) 2>&5
44967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44968 (exit $ac_status); } &&
44969 { ac_try='test -s conftest.$ac_objext'
44970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44971 (eval $ac_try) 2>&5
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); }; }; then
44975 has_wchar_minmax=yes
44977 echo "$as_me: failed program was:" >&5
44978 sed 's/^/| /' conftest.$ac_ext >&5
44980 has_wchar_minmax=no
44982 rm -f conftest.$ac_objext conftest.$ac_ext
44983 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44984 echo "${ECHO_T}$has_wchar_minmax" >&6
44986 # Test wchar.h for WEOF, which is what we use to determine whether
44987 # to specialize for char_traits<wchar_t> or not.
44988 echo "$as_me:$LINENO: checking for WEOF" >&5
44989 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44990 cat >conftest.$ac_ext <<_ACEOF
44991 #line $LINENO "configure"
44994 cat confdefs.h >>conftest.$ac_ext
44995 cat >>conftest.$ac_ext <<_ACEOF
44996 /* end confdefs.h. */
44999 #include <stddef.h>
45008 rm -f conftest.$ac_objext
45009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45010 (eval $ac_compile) 2>&5
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); } &&
45014 { ac_try='test -s conftest.$ac_objext'
45015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016 (eval $ac_try) 2>&5
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); }; }; then
45022 echo "$as_me: failed program was:" >&5
45023 sed 's/^/| /' conftest.$ac_ext >&5
45027 rm -f conftest.$ac_objext conftest.$ac_ext
45028 echo "$as_me:$LINENO: result: $has_weof" >&5
45029 echo "${ECHO_T}$has_weof" >&6
45031 # Tests for wide character functions used in char_traits<wchar_t>.
45039 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45042 echo "$as_me:$LINENO: checking for $ac_func" >&5
45043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45044 if eval "test \"\${$as_ac_var+set}\" = set"; then
45045 echo $ECHO_N "(cached) $ECHO_C" >&6
45047 if test x$gcc_no_link = xyes; then
45048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45050 { (exit 1); exit 1; }; }
45052 cat >conftest.$ac_ext <<_ACEOF
45053 #line $LINENO "configure"
45056 cat confdefs.h >>conftest.$ac_ext
45057 cat >>conftest.$ac_ext <<_ACEOF
45058 /* end confdefs.h. */
45059 /* System header to define __stub macros and hopefully few prototypes,
45060 which can conflict with char $ac_func (); below.
45061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45062 <limits.h> exists even on freestanding compilers. */
45064 # include <limits.h>
45066 # include <assert.h>
45068 /* Override any gcc2 internal prototype to avoid an error. */
45073 /* We use char because int might match the return type of a gcc2
45074 builtin and then its argument prototype would still apply. */
45076 /* The GNU C library defines this for functions which it implements
45077 to always fail with ENOSYS. Some functions are actually named
45078 something starting with __ and the normal name is an alias. */
45079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45082 char (*f) () = $ac_func;
45091 return f != $ac_func;
45096 rm -f conftest.$ac_objext conftest$ac_exeext
45097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45098 (eval $ac_link) 2>&5
45100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45101 (exit $ac_status); } &&
45102 { ac_try='test -s conftest$ac_exeext'
45103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45104 (eval $ac_try) 2>&5
45106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45107 (exit $ac_status); }; }; then
45108 eval "$as_ac_var=yes"
45110 echo "$as_me: failed program was:" >&5
45111 sed 's/^/| /' conftest.$ac_ext >&5
45113 eval "$as_ac_var=no"
45115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45119 if test `eval echo '${'$as_ac_var'}'` = yes; then
45120 cat >>confdefs.h <<_ACEOF
45121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45130 # Checks for names injected into std:: by the c_std headers.
45177 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45178 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45179 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45180 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45181 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45182 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45185 echo "$as_me:$LINENO: checking for $ac_func" >&5
45186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45187 if eval "test \"\${$as_ac_var+set}\" = set"; then
45188 echo $ECHO_N "(cached) $ECHO_C" >&6
45190 if test x$gcc_no_link = xyes; then
45191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45193 { (exit 1); exit 1; }; }
45195 cat >conftest.$ac_ext <<_ACEOF
45196 #line $LINENO "configure"
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* System header to define __stub macros and hopefully few prototypes,
45203 which can conflict with char $ac_func (); below.
45204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45205 <limits.h> exists even on freestanding compilers. */
45207 # include <limits.h>
45209 # include <assert.h>
45211 /* Override any gcc2 internal prototype to avoid an error. */
45216 /* We use char because int might match the return type of a gcc2
45217 builtin and then its argument prototype would still apply. */
45219 /* The GNU C library defines this for functions which it implements
45220 to always fail with ENOSYS. Some functions are actually named
45221 something starting with __ and the normal name is an alias. */
45222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45225 char (*f) () = $ac_func;
45234 return f != $ac_func;
45239 rm -f conftest.$ac_objext conftest$ac_exeext
45240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45241 (eval $ac_link) 2>&5
45243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244 (exit $ac_status); } &&
45245 { ac_try='test -s conftest$ac_exeext'
45246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45247 (eval $ac_try) 2>&5
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45251 eval "$as_ac_var=yes"
45253 echo "$as_me: failed program was:" >&5
45254 sed 's/^/| /' conftest.$ac_ext >&5
45256 eval "$as_ac_var=no"
45258 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45262 if test `eval echo '${'$as_ac_var'}'` = yes; then
45263 cat >>confdefs.h <<_ACEOF
45264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45273 # Checks for wide character functions that are not required
45274 # for basic wchar_t support. Don't disable support if they are missing.
45275 # Injection of these is wrapped with guard macros.
45281 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45284 echo "$as_me:$LINENO: checking for $ac_func" >&5
45285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45286 if eval "test \"\${$as_ac_var+set}\" = set"; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45289 if test x$gcc_no_link = xyes; then
45290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45292 { (exit 1); exit 1; }; }
45294 cat >conftest.$ac_ext <<_ACEOF
45295 #line $LINENO "configure"
45298 cat confdefs.h >>conftest.$ac_ext
45299 cat >>conftest.$ac_ext <<_ACEOF
45300 /* end confdefs.h. */
45301 /* System header to define __stub macros and hopefully few prototypes,
45302 which can conflict with char $ac_func (); below.
45303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45304 <limits.h> exists even on freestanding compilers. */
45306 # include <limits.h>
45308 # include <assert.h>
45310 /* Override any gcc2 internal prototype to avoid an error. */
45315 /* We use char because int might match the return type of a gcc2
45316 builtin and then its argument prototype would still apply. */
45318 /* The GNU C library defines this for functions which it implements
45319 to always fail with ENOSYS. Some functions are actually named
45320 something starting with __ and the normal name is an alias. */
45321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45324 char (*f) () = $ac_func;
45333 return f != $ac_func;
45338 rm -f conftest.$ac_objext conftest$ac_exeext
45339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45340 (eval $ac_link) 2>&5
45342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45343 (exit $ac_status); } &&
45344 { ac_try='test -s conftest$ac_exeext'
45345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45346 (eval $ac_try) 2>&5
45348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45349 (exit $ac_status); }; }; then
45350 eval "$as_ac_var=yes"
45352 echo "$as_me: failed program was:" >&5
45353 sed 's/^/| /' conftest.$ac_ext >&5
45355 eval "$as_ac_var=no"
45357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45361 if test `eval echo '${'$as_ac_var'}'` = yes; then
45362 cat >>confdefs.h <<_ACEOF
45363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45370 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45371 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45372 if test x"$has_weof" = xyes &&
45373 test x"$has_wchar_minmax" = xyes &&
45374 test x"$ac_wfuncs" = xyes;
45376 ac_isoC99_wchar_t=yes
45378 ac_isoC99_wchar_t=no
45380 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45381 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45383 # Use iconv for wchar_t to char conversions. As such, check for
45384 # X/Open Portability Guide, version 2 features (XPG2).
45385 if test "${ac_cv_header_iconv_h+set}" = set; then
45386 echo "$as_me:$LINENO: checking for iconv.h" >&5
45387 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45388 if test "${ac_cv_header_iconv_h+set}" = set; then
45389 echo $ECHO_N "(cached) $ECHO_C" >&6
45391 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45392 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45394 # Is the header compilable?
45395 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45396 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45397 cat >conftest.$ac_ext <<_ACEOF
45398 #line $LINENO "configure"
45401 cat confdefs.h >>conftest.$ac_ext
45402 cat >>conftest.$ac_ext <<_ACEOF
45403 /* end confdefs.h. */
45404 $ac_includes_default
45407 rm -f conftest.$ac_objext
45408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45409 (eval $ac_compile) 2>&5
45411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45412 (exit $ac_status); } &&
45413 { ac_try='test -s conftest.$ac_objext'
45414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45415 (eval $ac_try) 2>&5
45417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45418 (exit $ac_status); }; }; then
45419 ac_header_compiler=yes
45421 echo "$as_me: failed program was:" >&5
45422 sed 's/^/| /' conftest.$ac_ext >&5
45424 ac_header_compiler=no
45426 rm -f conftest.$ac_objext conftest.$ac_ext
45427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45428 echo "${ECHO_T}$ac_header_compiler" >&6
45430 # Is the header present?
45431 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45432 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45433 cat >conftest.$ac_ext <<_ACEOF
45434 #line $LINENO "configure"
45437 cat confdefs.h >>conftest.$ac_ext
45438 cat >>conftest.$ac_ext <<_ACEOF
45439 /* end confdefs.h. */
45442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45445 grep -v '^ *+' conftest.er1 >conftest.err
45447 cat conftest.err >&5
45448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45449 (exit $ac_status); } >/dev/null; then
45450 if test -s conftest.err; then
45451 ac_cpp_err=$ac_c_preproc_warn_flag
45458 if test -z "$ac_cpp_err"; then
45459 ac_header_preproc=yes
45461 echo "$as_me: failed program was:" >&5
45462 sed 's/^/| /' conftest.$ac_ext >&5
45464 ac_header_preproc=no
45466 rm -f conftest.err conftest.$ac_ext
45467 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45468 echo "${ECHO_T}$ac_header_preproc" >&6
45470 # So? What about this header?
45471 case $ac_header_compiler:$ac_header_preproc in
45473 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45474 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45475 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45476 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45479 ## ------------------------------------ ##
45480 ## Report this to bug-autoconf@gnu.org. ##
45481 ## ------------------------------------ ##
45484 sed "s/^/$as_me: WARNING: /" >&2
45487 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45488 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45489 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45490 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45491 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45492 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45495 ## ------------------------------------ ##
45496 ## Report this to bug-autoconf@gnu.org. ##
45497 ## ------------------------------------ ##
45500 sed "s/^/$as_me: WARNING: /" >&2
45503 echo "$as_me:$LINENO: checking for iconv.h" >&5
45504 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45505 if test "${ac_cv_header_iconv_h+set}" = set; then
45506 echo $ECHO_N "(cached) $ECHO_C" >&6
45508 ac_cv_header_iconv_h=$ac_header_preproc
45510 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45511 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45514 if test $ac_cv_header_iconv_h = yes; then
45521 if test "${ac_cv_header_langinfo_h+set}" = set; then
45522 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45523 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45524 if test "${ac_cv_header_langinfo_h+set}" = set; then
45525 echo $ECHO_N "(cached) $ECHO_C" >&6
45527 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45528 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45530 # Is the header compilable?
45531 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45532 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45533 cat >conftest.$ac_ext <<_ACEOF
45534 #line $LINENO "configure"
45537 cat confdefs.h >>conftest.$ac_ext
45538 cat >>conftest.$ac_ext <<_ACEOF
45539 /* end confdefs.h. */
45540 $ac_includes_default
45541 #include <langinfo.h>
45543 rm -f conftest.$ac_objext
45544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45545 (eval $ac_compile) 2>&5
45547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45548 (exit $ac_status); } &&
45549 { ac_try='test -s conftest.$ac_objext'
45550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45551 (eval $ac_try) 2>&5
45553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45554 (exit $ac_status); }; }; then
45555 ac_header_compiler=yes
45557 echo "$as_me: failed program was:" >&5
45558 sed 's/^/| /' conftest.$ac_ext >&5
45560 ac_header_compiler=no
45562 rm -f conftest.$ac_objext conftest.$ac_ext
45563 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45564 echo "${ECHO_T}$ac_header_compiler" >&6
45566 # Is the header present?
45567 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45568 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45569 cat >conftest.$ac_ext <<_ACEOF
45570 #line $LINENO "configure"
45573 cat confdefs.h >>conftest.$ac_ext
45574 cat >>conftest.$ac_ext <<_ACEOF
45575 /* end confdefs.h. */
45576 #include <langinfo.h>
45578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45581 grep -v '^ *+' conftest.er1 >conftest.err
45583 cat conftest.err >&5
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); } >/dev/null; then
45586 if test -s conftest.err; then
45587 ac_cpp_err=$ac_c_preproc_warn_flag
45594 if test -z "$ac_cpp_err"; then
45595 ac_header_preproc=yes
45597 echo "$as_me: failed program was:" >&5
45598 sed 's/^/| /' conftest.$ac_ext >&5
45600 ac_header_preproc=no
45602 rm -f conftest.err conftest.$ac_ext
45603 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45604 echo "${ECHO_T}$ac_header_preproc" >&6
45606 # So? What about this header?
45607 case $ac_header_compiler:$ac_header_preproc in
45609 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45610 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45611 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45612 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45615 ## ------------------------------------ ##
45616 ## Report this to bug-autoconf@gnu.org. ##
45617 ## ------------------------------------ ##
45620 sed "s/^/$as_me: WARNING: /" >&2
45623 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45624 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45625 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45626 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45627 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45628 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45631 ## ------------------------------------ ##
45632 ## Report this to bug-autoconf@gnu.org. ##
45633 ## ------------------------------------ ##
45636 sed "s/^/$as_me: WARNING: /" >&2
45639 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45640 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45641 if test "${ac_cv_header_langinfo_h+set}" = set; then
45642 echo $ECHO_N "(cached) $ECHO_C" >&6
45644 ac_cv_header_langinfo_h=$ac_header_preproc
45646 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45647 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45650 if test $ac_cv_header_langinfo_h = yes; then
45651 ac_has_langinfo_h=yes
45653 ac_has_langinfo_h=no
45658 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45659 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45660 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45661 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45662 echo $ECHO_N "(cached) $ECHO_C" >&6
45664 ac_check_lib_save_LIBS=$LIBS
45665 LIBS="-liconv $LIBS"
45666 if test x$gcc_no_link = xyes; then
45667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45669 { (exit 1); exit 1; }; }
45671 cat >conftest.$ac_ext <<_ACEOF
45672 #line $LINENO "configure"
45675 cat confdefs.h >>conftest.$ac_ext
45676 cat >>conftest.$ac_ext <<_ACEOF
45677 /* end confdefs.h. */
45679 /* Override any gcc2 internal prototype to avoid an error. */
45683 /* We use char because int might match the return type of a gcc2
45684 builtin and then its argument prototype would still apply. */
45694 rm -f conftest.$ac_objext conftest$ac_exeext
45695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45696 (eval $ac_link) 2>&5
45698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45699 (exit $ac_status); } &&
45700 { ac_try='test -s conftest$ac_exeext'
45701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45702 (eval $ac_try) 2>&5
45704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705 (exit $ac_status); }; }; then
45706 ac_cv_lib_iconv_iconv=yes
45708 echo "$as_me: failed program was:" >&5
45709 sed 's/^/| /' conftest.$ac_ext >&5
45711 ac_cv_lib_iconv_iconv=no
45713 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45714 LIBS=$ac_check_lib_save_LIBS
45716 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45717 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45718 if test $ac_cv_lib_iconv_iconv = yes; then
45722 ac_save_LIBS="$LIBS"
45723 LIBS="$LIBS $libiconv"
45729 for ac_func in iconv_open iconv_close iconv nl_langinfo
45731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45732 echo "$as_me:$LINENO: checking for $ac_func" >&5
45733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45734 if eval "test \"\${$as_ac_var+set}\" = set"; then
45735 echo $ECHO_N "(cached) $ECHO_C" >&6
45737 if test x$gcc_no_link = xyes; then
45738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45740 { (exit 1); exit 1; }; }
45742 cat >conftest.$ac_ext <<_ACEOF
45743 #line $LINENO "configure"
45746 cat confdefs.h >>conftest.$ac_ext
45747 cat >>conftest.$ac_ext <<_ACEOF
45748 /* end confdefs.h. */
45749 /* System header to define __stub macros and hopefully few prototypes,
45750 which can conflict with char $ac_func (); below.
45751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45752 <limits.h> exists even on freestanding compilers. */
45754 # include <limits.h>
45756 # include <assert.h>
45758 /* Override any gcc2 internal prototype to avoid an error. */
45763 /* We use char because int might match the return type of a gcc2
45764 builtin and then its argument prototype would still apply. */
45766 /* The GNU C library defines this for functions which it implements
45767 to always fail with ENOSYS. Some functions are actually named
45768 something starting with __ and the normal name is an alias. */
45769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45772 char (*f) () = $ac_func;
45781 return f != $ac_func;
45786 rm -f conftest.$ac_objext conftest$ac_exeext
45787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45788 (eval $ac_link) 2>&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } &&
45792 { ac_try='test -s conftest$ac_exeext'
45793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45794 (eval $ac_try) 2>&5
45796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45797 (exit $ac_status); }; }; then
45798 eval "$as_ac_var=yes"
45800 echo "$as_me: failed program was:" >&5
45801 sed 's/^/| /' conftest.$ac_ext >&5
45803 eval "$as_ac_var=no"
45805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45809 if test `eval echo '${'$as_ac_var'}'` = yes; then
45810 cat >>confdefs.h <<_ACEOF
45811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45820 LIBS="$ac_save_LIBS"
45822 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45823 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45824 if test x"$ac_has_iconv_h" = xyes &&
45825 test x"$ac_has_langinfo_h" = xyes &&
45826 test x"$ac_XPG2funcs" = xyes;
45828 ac_XPG2_wchar_t=yes
45832 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45833 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45835 # At the moment, only enable wchar_t specializations if all the
45836 # above support is present.
45837 if test x"$ac_isoC99_wchar_t" = xyes &&
45838 test x"$ac_XPG2_wchar_t" = xyes;
45840 cat >>confdefs.h <<\_ACEOF
45841 #define _GLIBCXX_USE_WCHAR_T 1
45847 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45848 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45849 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45850 echo "${ECHO_T}$enable_wchar_t" >&6
45853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45854 ac_save_CXXFLAGS="$CXXFLAGS"
45855 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45858 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45859 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45860 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45861 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45862 echo $ECHO_N "(cached) $ECHO_C" >&6
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45873 cat >conftest.$ac_ext <<_ACEOF
45874 #line $LINENO "configure"
45877 cat confdefs.h >>conftest.$ac_ext
45878 cat >>conftest.$ac_ext <<_ACEOF
45879 /* end confdefs.h. */
45880 #include <stdlib.h>
45889 rm -f conftest.$ac_objext
45890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45891 (eval $ac_compile) 2>&5
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); } &&
45895 { ac_try='test -s conftest.$ac_objext'
45896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45897 (eval $ac_try) 2>&5
45899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900 (exit $ac_status); }; }; then
45901 glibcxx_cv_func_strtold_use=yes
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.$ac_ext >&5
45906 glibcxx_cv_func_strtold_use=no
45908 rm -f conftest.$ac_objext conftest.$ac_ext
45910 ac_cpp='$CPP $CPPFLAGS'
45911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45919 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45920 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45921 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45923 for ac_func in strtold
45925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45926 echo "$as_me:$LINENO: checking for $ac_func" >&5
45927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45928 if eval "test \"\${$as_ac_var+set}\" = set"; then
45929 echo $ECHO_N "(cached) $ECHO_C" >&6
45931 if test x$gcc_no_link = xyes; then
45932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45934 { (exit 1); exit 1; }; }
45936 cat >conftest.$ac_ext <<_ACEOF
45937 #line $LINENO "configure"
45940 cat confdefs.h >>conftest.$ac_ext
45941 cat >>conftest.$ac_ext <<_ACEOF
45942 /* end confdefs.h. */
45943 /* System header to define __stub macros and hopefully few prototypes,
45944 which can conflict with char $ac_func (); below.
45945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45946 <limits.h> exists even on freestanding compilers. */
45948 # include <limits.h>
45950 # include <assert.h>
45952 /* Override any gcc2 internal prototype to avoid an error. */
45957 /* We use char because int might match the return type of a gcc2
45958 builtin and then its argument prototype would still apply. */
45960 /* The GNU C library defines this for functions which it implements
45961 to always fail with ENOSYS. Some functions are actually named
45962 something starting with __ and the normal name is an alias. */
45963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45966 char (*f) () = $ac_func;
45975 return f != $ac_func;
45980 rm -f conftest.$ac_objext conftest$ac_exeext
45981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45982 (eval $ac_link) 2>&5
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); } &&
45986 { ac_try='test -s conftest$ac_exeext'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; }; then
45992 eval "$as_ac_var=yes"
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45997 eval "$as_ac_var=no"
45999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46003 if test `eval echo '${'$as_ac_var'}'` = yes; then
46004 cat >>confdefs.h <<_ACEOF
46005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46014 echo "$as_me:$LINENO: checking for strtof declaration" >&5
46015 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
46016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
46018 echo $ECHO_N "(cached) $ECHO_C" >&6
46024 ac_cpp='$CXXCPP $CPPFLAGS'
46025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46029 cat >conftest.$ac_ext <<_ACEOF
46030 #line $LINENO "configure"
46033 cat confdefs.h >>conftest.$ac_ext
46034 cat >>conftest.$ac_ext <<_ACEOF
46035 /* end confdefs.h. */
46036 #include <stdlib.h>
46045 rm -f conftest.$ac_objext
46046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46047 (eval $ac_compile) 2>&5
46049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46050 (exit $ac_status); } &&
46051 { ac_try='test -s conftest.$ac_objext'
46052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46053 (eval $ac_try) 2>&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); }; }; then
46057 glibcxx_cv_func_strtof_use=yes
46059 echo "$as_me: failed program was:" >&5
46060 sed 's/^/| /' conftest.$ac_ext >&5
46062 glibcxx_cv_func_strtof_use=no
46064 rm -f conftest.$ac_objext conftest.$ac_ext
46066 ac_cpp='$CPP $CPPFLAGS'
46067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46076 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46077 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46079 for ac_func in strtof
46081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46082 echo "$as_me:$LINENO: checking for $ac_func" >&5
46083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46084 if eval "test \"\${$as_ac_var+set}\" = set"; then
46085 echo $ECHO_N "(cached) $ECHO_C" >&6
46087 if test x$gcc_no_link = xyes; then
46088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46090 { (exit 1); exit 1; }; }
46092 cat >conftest.$ac_ext <<_ACEOF
46093 #line $LINENO "configure"
46096 cat confdefs.h >>conftest.$ac_ext
46097 cat >>conftest.$ac_ext <<_ACEOF
46098 /* end confdefs.h. */
46099 /* System header to define __stub macros and hopefully few prototypes,
46100 which can conflict with char $ac_func (); below.
46101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46102 <limits.h> exists even on freestanding compilers. */
46104 # include <limits.h>
46106 # include <assert.h>
46108 /* Override any gcc2 internal prototype to avoid an error. */
46113 /* We use char because int might match the return type of a gcc2
46114 builtin and then its argument prototype would still apply. */
46116 /* The GNU C library defines this for functions which it implements
46117 to always fail with ENOSYS. Some functions are actually named
46118 something starting with __ and the normal name is an alias. */
46119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46122 char (*f) () = $ac_func;
46131 return f != $ac_func;
46136 rm -f conftest.$ac_objext conftest$ac_exeext
46137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46138 (eval $ac_link) 2>&5
46140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46141 (exit $ac_status); } &&
46142 { ac_try='test -s conftest$ac_exeext'
46143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46144 (eval $ac_try) 2>&5
46146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46147 (exit $ac_status); }; }; then
46148 eval "$as_ac_var=yes"
46150 echo "$as_me: failed program was:" >&5
46151 sed 's/^/| /' conftest.$ac_ext >&5
46153 eval "$as_ac_var=no"
46155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46159 if test `eval echo '${'$as_ac_var'}'` = yes; then
46160 cat >>confdefs.h <<_ACEOF
46161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46170 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
46171 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
46172 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
46173 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
46174 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 ac_cpp='$CXXCPP $CPPFLAGS'
46181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46185 cat >conftest.$ac_ext <<_ACEOF
46186 #line $LINENO "configure"
46189 cat confdefs.h >>conftest.$ac_ext
46190 cat >>conftest.$ac_ext <<_ACEOF
46191 /* end confdefs.h. */
46192 #include <stdlib.h>
46201 rm -f conftest.$ac_objext
46202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46203 (eval $ac_compile) 2>&5
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); } &&
46207 { ac_try='test -s conftest.$ac_objext'
46208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46209 (eval $ac_try) 2>&5
46211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46212 (exit $ac_status); }; }; then
46213 glibcxx_cv_func_lrand48_use=yes
46215 echo "$as_me: failed program was:" >&5
46216 sed 's/^/| /' conftest.$ac_ext >&5
46218 glibcxx_cv_func_lrand48_use=no
46220 rm -f conftest.$ac_objext conftest.$ac_ext
46222 ac_cpp='$CPP $CPPFLAGS'
46223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
46232 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
46233 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
46235 for ac_func in lrand48
46237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46238 echo "$as_me:$LINENO: checking for $ac_func" >&5
46239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46240 if eval "test \"\${$as_ac_var+set}\" = set"; then
46241 echo $ECHO_N "(cached) $ECHO_C" >&6
46243 if test x$gcc_no_link = xyes; then
46244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46246 { (exit 1); exit 1; }; }
46248 cat >conftest.$ac_ext <<_ACEOF
46249 #line $LINENO "configure"
46252 cat confdefs.h >>conftest.$ac_ext
46253 cat >>conftest.$ac_ext <<_ACEOF
46254 /* end confdefs.h. */
46255 /* System header to define __stub macros and hopefully few prototypes,
46256 which can conflict with char $ac_func (); below.
46257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46258 <limits.h> exists even on freestanding compilers. */
46260 # include <limits.h>
46262 # include <assert.h>
46264 /* Override any gcc2 internal prototype to avoid an error. */
46269 /* We use char because int might match the return type of a gcc2
46270 builtin and then its argument prototype would still apply. */
46272 /* The GNU C library defines this for functions which it implements
46273 to always fail with ENOSYS. Some functions are actually named
46274 something starting with __ and the normal name is an alias. */
46275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46278 char (*f) () = $ac_func;
46287 return f != $ac_func;
46292 rm -f conftest.$ac_objext conftest$ac_exeext
46293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46294 (eval $ac_link) 2>&5
46296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46297 (exit $ac_status); } &&
46298 { ac_try='test -s conftest$ac_exeext'
46299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46300 (eval $ac_try) 2>&5
46302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46303 (exit $ac_status); }; }; then
46304 eval "$as_ac_var=yes"
46306 echo "$as_me: failed program was:" >&5
46307 sed 's/^/| /' conftest.$ac_ext >&5
46309 eval "$as_ac_var=no"
46311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46315 if test `eval echo '${'$as_ac_var'}'` = yes; then
46316 cat >>confdefs.h <<_ACEOF
46317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46326 CXXFLAGS="$ac_save_CXXFLAGS"
46329 # For showmanyc_helper().
46332 for ac_header in sys/ioctl.h sys/filio.h
46334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46336 echo "$as_me:$LINENO: checking for $ac_header" >&5
46337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46344 # Is the header compilable?
46345 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46346 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46347 cat >conftest.$ac_ext <<_ACEOF
46348 #line $LINENO "configure"
46351 cat confdefs.h >>conftest.$ac_ext
46352 cat >>conftest.$ac_ext <<_ACEOF
46353 /* end confdefs.h. */
46354 $ac_includes_default
46355 #include <$ac_header>
46357 rm -f conftest.$ac_objext
46358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46359 (eval $ac_compile) 2>&5
46361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362 (exit $ac_status); } &&
46363 { ac_try='test -s conftest.$ac_objext'
46364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46365 (eval $ac_try) 2>&5
46367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46368 (exit $ac_status); }; }; then
46369 ac_header_compiler=yes
46371 echo "$as_me: failed program was:" >&5
46372 sed 's/^/| /' conftest.$ac_ext >&5
46374 ac_header_compiler=no
46376 rm -f conftest.$ac_objext conftest.$ac_ext
46377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46378 echo "${ECHO_T}$ac_header_compiler" >&6
46380 # Is the header present?
46381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46383 cat >conftest.$ac_ext <<_ACEOF
46384 #line $LINENO "configure"
46387 cat confdefs.h >>conftest.$ac_ext
46388 cat >>conftest.$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <$ac_header>
46392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46395 grep -v '^ *+' conftest.er1 >conftest.err
46397 cat conftest.err >&5
46398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46399 (exit $ac_status); } >/dev/null; then
46400 if test -s conftest.err; then
46401 ac_cpp_err=$ac_c_preproc_warn_flag
46408 if test -z "$ac_cpp_err"; then
46409 ac_header_preproc=yes
46411 echo "$as_me: failed program was:" >&5
46412 sed 's/^/| /' conftest.$ac_ext >&5
46414 ac_header_preproc=no
46416 rm -f conftest.err conftest.$ac_ext
46417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46418 echo "${ECHO_T}$ac_header_preproc" >&6
46420 # So? What about this header?
46421 case $ac_header_compiler:$ac_header_preproc in
46423 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46429 ## ------------------------------------ ##
46430 ## Report this to bug-autoconf@gnu.org. ##
46431 ## ------------------------------------ ##
46434 sed "s/^/$as_me: WARNING: /" >&2
46437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46445 ## ------------------------------------ ##
46446 ## Report this to bug-autoconf@gnu.org. ##
46447 ## ------------------------------------ ##
46450 sed "s/^/$as_me: WARNING: /" >&2
46453 echo "$as_me:$LINENO: checking for $ac_header" >&5
46454 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46455 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46456 echo $ECHO_N "(cached) $ECHO_C" >&6
46458 eval "$as_ac_Header=$ac_header_preproc"
46460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46461 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46465 cat >>confdefs.h <<_ACEOF
46466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46474 if test "${glibcxx_cv_POLL+set}" = set; then
46475 echo $ECHO_N "(cached) $ECHO_C" >&6
46478 cat >conftest.$ac_ext <<_ACEOF
46479 #line $LINENO "configure"
46482 cat confdefs.h >>conftest.$ac_ext
46483 cat >>conftest.$ac_ext <<_ACEOF
46484 /* end confdefs.h. */
46489 struct pollfd pfd[1];
46490 pfd[0].events = POLLIN;
46496 rm -f conftest.$ac_objext
46497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46498 (eval $ac_compile) 2>&5
46500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46501 (exit $ac_status); } &&
46502 { ac_try='test -s conftest.$ac_objext'
46503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46504 (eval $ac_try) 2>&5
46506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46507 (exit $ac_status); }; }; then
46508 glibcxx_cv_POLL=yes
46510 echo "$as_me: failed program was:" >&5
46511 sed 's/^/| /' conftest.$ac_ext >&5
46515 rm -f conftest.$ac_objext conftest.$ac_ext
46519 if test $glibcxx_cv_POLL = yes; then
46520 cat >>confdefs.h <<\_ACEOF
46521 #define HAVE_POLL 1
46527 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46528 echo $ECHO_N "(cached) $ECHO_C" >&6
46531 if test x$gcc_no_link = xyes; then
46532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46534 { (exit 1); exit 1; }; }
46536 cat >conftest.$ac_ext <<_ACEOF
46537 #line $LINENO "configure"
46540 cat confdefs.h >>conftest.$ac_ext
46541 cat >>conftest.$ac_ext <<_ACEOF
46542 /* end confdefs.h. */
46543 #include <sys/stat.h>
46547 struct stat buffer;
46549 S_ISREG(buffer.st_mode);
46554 rm -f conftest.$ac_objext conftest$ac_exeext
46555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46556 (eval $ac_link) 2>&5
46558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46559 (exit $ac_status); } &&
46560 { ac_try='test -s conftest$ac_exeext'
46561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46562 (eval $ac_try) 2>&5
46564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46565 (exit $ac_status); }; }; then
46566 glibcxx_cv_S_ISREG=yes
46568 echo "$as_me: failed program was:" >&5
46569 sed 's/^/| /' conftest.$ac_ext >&5
46571 glibcxx_cv_S_ISREG=no
46573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46577 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46578 echo $ECHO_N "(cached) $ECHO_C" >&6
46581 if test x$gcc_no_link = xyes; then
46582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46584 { (exit 1); exit 1; }; }
46586 cat >conftest.$ac_ext <<_ACEOF
46587 #line $LINENO "configure"
46590 cat confdefs.h >>conftest.$ac_ext
46591 cat >>conftest.$ac_ext <<_ACEOF
46592 /* end confdefs.h. */
46593 #include <sys/stat.h>
46597 struct stat buffer;
46599 S_IFREG & buffer.st_mode;
46604 rm -f conftest.$ac_objext conftest$ac_exeext
46605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46606 (eval $ac_link) 2>&5
46608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46609 (exit $ac_status); } &&
46610 { ac_try='test -s conftest$ac_exeext'
46611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46612 (eval $ac_try) 2>&5
46614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46615 (exit $ac_status); }; }; then
46616 glibcxx_cv_S_IFREG=yes
46618 echo "$as_me: failed program was:" >&5
46619 sed 's/^/| /' conftest.$ac_ext >&5
46621 glibcxx_cv_S_IFREG=no
46623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46627 if test $glibcxx_cv_S_ISREG = yes; then
46628 cat >>confdefs.h <<\_ACEOF
46629 #define HAVE_S_ISREG 1
46632 elif test $glibcxx_cv_S_IFREG = yes; then
46633 cat >>confdefs.h <<\_ACEOF
46634 #define HAVE_S_IFREG 1
46642 for ac_header in sys/uio.h
46644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46646 echo "$as_me:$LINENO: checking for $ac_header" >&5
46647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46649 echo $ECHO_N "(cached) $ECHO_C" >&6
46651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46654 # Is the header compilable?
46655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46657 cat >conftest.$ac_ext <<_ACEOF
46658 #line $LINENO "configure"
46661 cat confdefs.h >>conftest.$ac_ext
46662 cat >>conftest.$ac_ext <<_ACEOF
46663 /* end confdefs.h. */
46664 $ac_includes_default
46665 #include <$ac_header>
46667 rm -f conftest.$ac_objext
46668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46669 (eval $ac_compile) 2>&5
46671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46672 (exit $ac_status); } &&
46673 { ac_try='test -s conftest.$ac_objext'
46674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46675 (eval $ac_try) 2>&5
46677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46678 (exit $ac_status); }; }; then
46679 ac_header_compiler=yes
46681 echo "$as_me: failed program was:" >&5
46682 sed 's/^/| /' conftest.$ac_ext >&5
46684 ac_header_compiler=no
46686 rm -f conftest.$ac_objext conftest.$ac_ext
46687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46688 echo "${ECHO_T}$ac_header_compiler" >&6
46690 # Is the header present?
46691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46693 cat >conftest.$ac_ext <<_ACEOF
46694 #line $LINENO "configure"
46697 cat confdefs.h >>conftest.$ac_ext
46698 cat >>conftest.$ac_ext <<_ACEOF
46699 /* end confdefs.h. */
46700 #include <$ac_header>
46702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46705 grep -v '^ *+' conftest.er1 >conftest.err
46707 cat conftest.err >&5
46708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46709 (exit $ac_status); } >/dev/null; then
46710 if test -s conftest.err; then
46711 ac_cpp_err=$ac_c_preproc_warn_flag
46718 if test -z "$ac_cpp_err"; then
46719 ac_header_preproc=yes
46721 echo "$as_me: failed program was:" >&5
46722 sed 's/^/| /' conftest.$ac_ext >&5
46724 ac_header_preproc=no
46726 rm -f conftest.err conftest.$ac_ext
46727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46728 echo "${ECHO_T}$ac_header_preproc" >&6
46730 # So? What about this header?
46731 case $ac_header_compiler:$ac_header_preproc in
46733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46739 ## ------------------------------------ ##
46740 ## Report this to bug-autoconf@gnu.org. ##
46741 ## ------------------------------------ ##
46744 sed "s/^/$as_me: WARNING: /" >&2
46747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46755 ## ------------------------------------ ##
46756 ## Report this to bug-autoconf@gnu.org. ##
46757 ## ------------------------------------ ##
46760 sed "s/^/$as_me: WARNING: /" >&2
46763 echo "$as_me:$LINENO: checking for $ac_header" >&5
46764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46766 echo $ECHO_N "(cached) $ECHO_C" >&6
46768 eval "$as_ac_Header=$ac_header_preproc"
46770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46775 cat >>confdefs.h <<_ACEOF
46776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46784 if test "${glibcxx_cv_WRITEV+set}" = set; then
46785 echo $ECHO_N "(cached) $ECHO_C" >&6
46788 cat >conftest.$ac_ext <<_ACEOF
46789 #line $LINENO "configure"
46792 cat confdefs.h >>conftest.$ac_ext
46793 cat >>conftest.$ac_ext <<_ACEOF
46794 /* end confdefs.h. */
46795 #include <sys/uio.h>
46799 struct iovec iov[2];
46805 rm -f conftest.$ac_objext
46806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46807 (eval $ac_compile) 2>&5
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); } &&
46811 { ac_try='test -s conftest.$ac_objext'
46812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46813 (eval $ac_try) 2>&5
46815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46816 (exit $ac_status); }; }; then
46817 glibcxx_cv_WRITEV=yes
46819 echo "$as_me: failed program was:" >&5
46820 sed 's/^/| /' conftest.$ac_ext >&5
46822 glibcxx_cv_WRITEV=no
46824 rm -f conftest.$ac_objext conftest.$ac_ext
46828 if test $glibcxx_cv_WRITEV = yes; then
46829 cat >>confdefs.h <<\_ACEOF
46830 #define HAVE_WRITEV 1
46836 cat >>confdefs.h <<\_ACEOF
46837 #define HAVE_LC_MESSAGES 1
46841 cat >conftest.$ac_ext <<_ACEOF
46842 #line $LINENO "configure"
46845 cat confdefs.h >>conftest.$ac_ext
46846 cat >>conftest.$ac_ext <<_ACEOF
46847 /* end confdefs.h. */
46848 #include <setjmp.h>
46853 while (! sigsetjmp (env, 1))
46854 siglongjmp (env, 1);
46860 rm -f conftest.$ac_objext
46861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46862 (eval $ac_compile) 2>&5
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); } &&
46866 { ac_try='test -s conftest.$ac_objext'
46867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46868 (eval $ac_try) 2>&5
46870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46871 (exit $ac_status); }; }; then
46873 cat >>confdefs.h <<\_ACEOF
46874 #define HAVE_SIGSETJMP 1
46878 echo "$as_me: failed program was:" >&5
46879 sed 's/^/| /' conftest.$ac_ext >&5
46882 rm -f conftest.$ac_objext conftest.$ac_ext
46884 cat >>confdefs.h <<\_ACEOF
46885 #define HAVE_MMAP 1
46891 #os_include_dir="os/bsd/freebsd"
46908 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
46909 machine/endian.h machine/param.h sys/machine.h sys/types.h \
46910 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
46911 sys/time.h unistd.h
46913 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46915 echo "$as_me:$LINENO: checking for $ac_header" >&5
46916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46918 echo $ECHO_N "(cached) $ECHO_C" >&6
46920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46921 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46923 # Is the header compilable?
46924 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46925 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46926 cat >conftest.$ac_ext <<_ACEOF
46927 #line $LINENO "configure"
46930 cat confdefs.h >>conftest.$ac_ext
46931 cat >>conftest.$ac_ext <<_ACEOF
46932 /* end confdefs.h. */
46933 $ac_includes_default
46934 #include <$ac_header>
46936 rm -f conftest.$ac_objext
46937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46938 (eval $ac_compile) 2>&5
46940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46941 (exit $ac_status); } &&
46942 { ac_try='test -s conftest.$ac_objext'
46943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46944 (eval $ac_try) 2>&5
46946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46947 (exit $ac_status); }; }; then
46948 ac_header_compiler=yes
46950 echo "$as_me: failed program was:" >&5
46951 sed 's/^/| /' conftest.$ac_ext >&5
46953 ac_header_compiler=no
46955 rm -f conftest.$ac_objext conftest.$ac_ext
46956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46957 echo "${ECHO_T}$ac_header_compiler" >&6
46959 # Is the header present?
46960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46962 cat >conftest.$ac_ext <<_ACEOF
46963 #line $LINENO "configure"
46966 cat confdefs.h >>conftest.$ac_ext
46967 cat >>conftest.$ac_ext <<_ACEOF
46968 /* end confdefs.h. */
46969 #include <$ac_header>
46971 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46972 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46974 grep -v '^ *+' conftest.er1 >conftest.err
46976 cat conftest.err >&5
46977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978 (exit $ac_status); } >/dev/null; then
46979 if test -s conftest.err; then
46980 ac_cpp_err=$ac_c_preproc_warn_flag
46987 if test -z "$ac_cpp_err"; then
46988 ac_header_preproc=yes
46990 echo "$as_me: failed program was:" >&5
46991 sed 's/^/| /' conftest.$ac_ext >&5
46993 ac_header_preproc=no
46995 rm -f conftest.err conftest.$ac_ext
46996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46997 echo "${ECHO_T}$ac_header_preproc" >&6
46999 # So? What about this header?
47000 case $ac_header_compiler:$ac_header_preproc in
47002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47008 ## ------------------------------------ ##
47009 ## Report this to bug-autoconf@gnu.org. ##
47010 ## ------------------------------------ ##
47013 sed "s/^/$as_me: WARNING: /" >&2
47016 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47017 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47018 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47019 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47024 ## ------------------------------------ ##
47025 ## Report this to bug-autoconf@gnu.org. ##
47026 ## ------------------------------------ ##
47029 sed "s/^/$as_me: WARNING: /" >&2
47032 echo "$as_me:$LINENO: checking for $ac_header" >&5
47033 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47034 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47035 echo $ECHO_N "(cached) $ECHO_C" >&6
47037 eval "$as_ac_Header=$ac_header_preproc"
47039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47043 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47044 cat >>confdefs.h <<_ACEOF
47045 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47052 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47055 # If we're not using GNU ld, then there's no point in even trying these
47056 # tests. Check for that first. We should have already tested for gld
47057 # by now (in libtool), but require it now just to be safe...
47058 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47059 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47063 # The name set by libtool depends on the version of libtool. Shame on us
47064 # for depending on an impl detail, but c'est la vie. Older versions used
47065 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47066 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47067 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47068 # set (hence we're using an older libtool), then set it.
47069 if test x${with_gnu_ld+set} != xset; then
47070 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47071 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47074 with_gnu_ld=$ac_cv_prog_gnu_ld
47078 # Start by getting the version number. I think the libtool test already
47079 # does some of this, but throws away the result.
47081 ldver=`$LD --version 2>/dev/null | head -1 | \
47082 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47084 glibcxx_gnu_ld_version=`echo $ldver | \
47085 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47087 # Set --gc-sections.
47088 if test "$with_gnu_ld" = "notbroken"; then
47089 # GNU ld it is! Joy and bunny rabbits!
47091 # All these tests are for C++; save the language and the compiler flags.
47092 # Need to do this so that g++ won't try to link in libstdc++
47093 ac_test_CFLAGS="${CFLAGS+set}"
47094 ac_save_CFLAGS="$CFLAGS"
47095 CFLAGS='-x c++ -Wl,--gc-sections'
47097 # Check for -Wl,--gc-sections
47098 # XXX This test is broken at the moment, as symbols required for linking
47099 # are now in libsupc++ (not built yet). In addition, this test has
47100 # cored on solaris in the past. In addition, --gc-sections doesn't
47101 # really work at the moment (keeps on discarding used sections, first
47102 # .eh_frame and now some of the glibc sections for iconv).
47103 # Bzzzzt. Thanks for playing, maybe next time.
47104 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47105 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47106 if test "$cross_compiling" = yes; then
47107 ac_sectionLDflags=yes
47109 cat >conftest.$ac_ext <<_ACEOF
47110 #line $LINENO "configure"
47113 cat confdefs.h >>conftest.$ac_ext
47114 cat >>conftest.$ac_ext <<_ACEOF
47115 /* end confdefs.h. */
47125 rm -f conftest$ac_exeext
47126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47127 (eval $ac_link) 2>&5
47129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47132 (eval $ac_try) 2>&5
47134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47135 (exit $ac_status); }; }; then
47136 ac_sectionLDflags=yes
47138 echo "$as_me: program exited with status $ac_status" >&5
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47142 ( exit $ac_status )
47143 ac_sectionLDflags=no
47145 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47147 if test "$ac_test_CFLAGS" = set; then
47148 CFLAGS="$ac_save_CFLAGS"
47150 # this is the suspicious part
47153 if test "$ac_sectionLDflags" = "yes"; then
47154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47156 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47157 echo "${ECHO_T}$ac_sectionLDflags" >&6
47160 # Set linker optimization flags.
47161 if test x"$with_gnu_ld" = x"yes"; then
47162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47170 echo "$as_me:$LINENO: checking for main in -lm" >&5
47171 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47172 if test "${ac_cv_lib_m_main+set}" = set; then
47173 echo $ECHO_N "(cached) $ECHO_C" >&6
47175 ac_check_lib_save_LIBS=$LIBS
47177 if test x$gcc_no_link = xyes; then
47178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47180 { (exit 1); exit 1; }; }
47182 cat >conftest.$ac_ext <<_ACEOF
47183 #line $LINENO "configure"
47186 cat confdefs.h >>conftest.$ac_ext
47187 cat >>conftest.$ac_ext <<_ACEOF
47188 /* end confdefs.h. */
47199 rm -f conftest.$ac_objext conftest$ac_exeext
47200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47201 (eval $ac_link) 2>&5
47203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47204 (exit $ac_status); } &&
47205 { ac_try='test -s conftest$ac_exeext'
47206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47207 (eval $ac_try) 2>&5
47209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47210 (exit $ac_status); }; }; then
47211 ac_cv_lib_m_main=yes
47213 echo "$as_me: failed program was:" >&5
47214 sed 's/^/| /' conftest.$ac_ext >&5
47216 ac_cv_lib_m_main=no
47218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47219 LIBS=$ac_check_lib_save_LIBS
47221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47222 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47223 if test $ac_cv_lib_m_main = yes; then
47224 cat >>confdefs.h <<_ACEOF
47225 #define HAVE_LIBM 1
47234 for ac_func in nan copysignf
47236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47237 echo "$as_me:$LINENO: checking for $ac_func" >&5
47238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47239 if eval "test \"\${$as_ac_var+set}\" = set"; then
47240 echo $ECHO_N "(cached) $ECHO_C" >&6
47242 if test x$gcc_no_link = xyes; then
47243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47245 { (exit 1); exit 1; }; }
47247 cat >conftest.$ac_ext <<_ACEOF
47248 #line $LINENO "configure"
47251 cat confdefs.h >>conftest.$ac_ext
47252 cat >>conftest.$ac_ext <<_ACEOF
47253 /* end confdefs.h. */
47254 /* System header to define __stub macros and hopefully few prototypes,
47255 which can conflict with char $ac_func (); below.
47256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47257 <limits.h> exists even on freestanding compilers. */
47259 # include <limits.h>
47261 # include <assert.h>
47263 /* Override any gcc2 internal prototype to avoid an error. */
47268 /* We use char because int might match the return type of a gcc2
47269 builtin and then its argument prototype would still apply. */
47271 /* The GNU C library defines this for functions which it implements
47272 to always fail with ENOSYS. Some functions are actually named
47273 something starting with __ and the normal name is an alias. */
47274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47277 char (*f) () = $ac_func;
47286 return f != $ac_func;
47291 rm -f conftest.$ac_objext conftest$ac_exeext
47292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47293 (eval $ac_link) 2>&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } &&
47297 { ac_try='test -s conftest$ac_exeext'
47298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47299 (eval $ac_try) 2>&5
47301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47302 (exit $ac_status); }; }; then
47303 eval "$as_ac_var=yes"
47305 echo "$as_me: failed program was:" >&5
47306 sed 's/^/| /' conftest.$ac_ext >&5
47308 eval "$as_ac_var=no"
47310 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47314 if test `eval echo '${'$as_ac_var'}'` = yes; then
47315 cat >>confdefs.h <<_ACEOF
47316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47320 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47326 for ac_func in __signbit
47328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47329 echo "$as_me:$LINENO: checking for $ac_func" >&5
47330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47331 if eval "test \"\${$as_ac_var+set}\" = set"; then
47332 echo $ECHO_N "(cached) $ECHO_C" >&6
47334 if test x$gcc_no_link = xyes; then
47335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47337 { (exit 1); exit 1; }; }
47339 cat >conftest.$ac_ext <<_ACEOF
47340 #line $LINENO "configure"
47343 cat confdefs.h >>conftest.$ac_ext
47344 cat >>conftest.$ac_ext <<_ACEOF
47345 /* end confdefs.h. */
47346 /* System header to define __stub macros and hopefully few prototypes,
47347 which can conflict with char $ac_func (); below.
47348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47349 <limits.h> exists even on freestanding compilers. */
47351 # include <limits.h>
47353 # include <assert.h>
47355 /* Override any gcc2 internal prototype to avoid an error. */
47360 /* We use char because int might match the return type of a gcc2
47361 builtin and then its argument prototype would still apply. */
47363 /* The GNU C library defines this for functions which it implements
47364 to always fail with ENOSYS. Some functions are actually named
47365 something starting with __ and the normal name is an alias. */
47366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47369 char (*f) () = $ac_func;
47378 return f != $ac_func;
47383 rm -f conftest.$ac_objext conftest$ac_exeext
47384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47385 (eval $ac_link) 2>&5
47387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47388 (exit $ac_status); } &&
47389 { ac_try='test -s conftest$ac_exeext'
47390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47391 (eval $ac_try) 2>&5
47393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47394 (exit $ac_status); }; }; then
47395 eval "$as_ac_var=yes"
47397 echo "$as_me: failed program was:" >&5
47398 sed 's/^/| /' conftest.$ac_ext >&5
47400 eval "$as_ac_var=no"
47402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47406 if test `eval echo '${'$as_ac_var'}'` = yes; then
47407 cat >>confdefs.h <<_ACEOF
47408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47412 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47417 for ac_func in __signbitf
47419 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47420 echo "$as_me:$LINENO: checking for $ac_func" >&5
47421 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47422 if eval "test \"\${$as_ac_var+set}\" = set"; then
47423 echo $ECHO_N "(cached) $ECHO_C" >&6
47425 if test x$gcc_no_link = xyes; then
47426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47428 { (exit 1); exit 1; }; }
47430 cat >conftest.$ac_ext <<_ACEOF
47431 #line $LINENO "configure"
47434 cat confdefs.h >>conftest.$ac_ext
47435 cat >>conftest.$ac_ext <<_ACEOF
47436 /* end confdefs.h. */
47437 /* System header to define __stub macros and hopefully few prototypes,
47438 which can conflict with char $ac_func (); below.
47439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47440 <limits.h> exists even on freestanding compilers. */
47442 # include <limits.h>
47444 # include <assert.h>
47446 /* Override any gcc2 internal prototype to avoid an error. */
47451 /* We use char because int might match the return type of a gcc2
47452 builtin and then its argument prototype would still apply. */
47454 /* The GNU C library defines this for functions which it implements
47455 to always fail with ENOSYS. Some functions are actually named
47456 something starting with __ and the normal name is an alias. */
47457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47460 char (*f) () = $ac_func;
47469 return f != $ac_func;
47474 rm -f conftest.$ac_objext conftest$ac_exeext
47475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47476 (eval $ac_link) 2>&5
47478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47479 (exit $ac_status); } &&
47480 { ac_try='test -s conftest$ac_exeext'
47481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47482 (eval $ac_try) 2>&5
47484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485 (exit $ac_status); }; }; then
47486 eval "$as_ac_var=yes"
47488 echo "$as_me: failed program was:" >&5
47489 sed 's/^/| /' conftest.$ac_ext >&5
47491 eval "$as_ac_var=no"
47493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47497 if test `eval echo '${'$as_ac_var'}'` = yes; then
47498 cat >>confdefs.h <<_ACEOF
47499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47503 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47508 if test x$ac_cv_func_copysignl = x"yes"; then
47510 for ac_func in __signbitl
47512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47513 echo "$as_me:$LINENO: checking for $ac_func" >&5
47514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47515 if eval "test \"\${$as_ac_var+set}\" = set"; then
47516 echo $ECHO_N "(cached) $ECHO_C" >&6
47518 if test x$gcc_no_link = xyes; then
47519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47521 { (exit 1); exit 1; }; }
47523 cat >conftest.$ac_ext <<_ACEOF
47524 #line $LINENO "configure"
47527 cat confdefs.h >>conftest.$ac_ext
47528 cat >>conftest.$ac_ext <<_ACEOF
47529 /* end confdefs.h. */
47530 /* System header to define __stub macros and hopefully few prototypes,
47531 which can conflict with char $ac_func (); below.
47532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47533 <limits.h> exists even on freestanding compilers. */
47535 # include <limits.h>
47537 # include <assert.h>
47539 /* Override any gcc2 internal prototype to avoid an error. */
47544 /* We use char because int might match the return type of a gcc2
47545 builtin and then its argument prototype would still apply. */
47547 /* The GNU C library defines this for functions which it implements
47548 to always fail with ENOSYS. Some functions are actually named
47549 something starting with __ and the normal name is an alias. */
47550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47553 char (*f) () = $ac_func;
47562 return f != $ac_func;
47567 rm -f conftest.$ac_objext conftest$ac_exeext
47568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47569 (eval $ac_link) 2>&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } &&
47573 { ac_try='test -s conftest$ac_exeext'
47574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47575 (eval $ac_try) 2>&5
47577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47578 (exit $ac_status); }; }; then
47579 eval "$as_ac_var=yes"
47581 echo "$as_me: failed program was:" >&5
47582 sed 's/^/| /' conftest.$ac_ext >&5
47584 eval "$as_ac_var=no"
47586 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47590 if test `eval echo '${'$as_ac_var'}'` = yes; then
47591 cat >>confdefs.h <<_ACEOF
47592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47596 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47602 # XXX Review this. Nothing uses it.
47603 if test -n "$LIBMATHOBJS"; then
47609 # Test wchar.h for mbstate_t, which is needed for char_traits and
47610 # others even if wchar_t support is not on.
47611 echo "$as_me:$LINENO: checking for mbstate_t" >&5
47612 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47613 cat >conftest.$ac_ext <<_ACEOF
47614 #line $LINENO "configure"
47617 cat confdefs.h >>conftest.$ac_ext
47618 cat >>conftest.$ac_ext <<_ACEOF
47619 /* end confdefs.h. */
47624 mbstate_t teststate;
47629 rm -f conftest.$ac_objext
47630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47631 (eval $ac_compile) 2>&5
47633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634 (exit $ac_status); } &&
47635 { ac_try='test -s conftest.$ac_objext'
47636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47637 (eval $ac_try) 2>&5
47639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640 (exit $ac_status); }; }; then
47643 echo "$as_me: failed program was:" >&5
47644 sed 's/^/| /' conftest.$ac_ext >&5
47648 rm -f conftest.$ac_objext conftest.$ac_ext
47649 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47650 echo "${ECHO_T}$have_mbstate_t" >&6
47651 if test x"$have_mbstate_t" = xyes; then
47652 cat >>confdefs.h <<\_ACEOF
47653 #define HAVE_MBSTATE_T 1
47658 # Sanity check for existence of ISO C99 headers for extended encoding.
47660 for ac_header in wchar.h
47662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47664 echo "$as_me:$LINENO: checking for $ac_header" >&5
47665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47667 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47672 # Is the header compilable?
47673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47675 cat >conftest.$ac_ext <<_ACEOF
47676 #line $LINENO "configure"
47679 cat confdefs.h >>conftest.$ac_ext
47680 cat >>conftest.$ac_ext <<_ACEOF
47681 /* end confdefs.h. */
47682 $ac_includes_default
47683 #include <$ac_header>
47685 rm -f conftest.$ac_objext
47686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47687 (eval $ac_compile) 2>&5
47689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47690 (exit $ac_status); } &&
47691 { ac_try='test -s conftest.$ac_objext'
47692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47693 (eval $ac_try) 2>&5
47695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47696 (exit $ac_status); }; }; then
47697 ac_header_compiler=yes
47699 echo "$as_me: failed program was:" >&5
47700 sed 's/^/| /' conftest.$ac_ext >&5
47702 ac_header_compiler=no
47704 rm -f conftest.$ac_objext conftest.$ac_ext
47705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47706 echo "${ECHO_T}$ac_header_compiler" >&6
47708 # Is the header present?
47709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47711 cat >conftest.$ac_ext <<_ACEOF
47712 #line $LINENO "configure"
47715 cat confdefs.h >>conftest.$ac_ext
47716 cat >>conftest.$ac_ext <<_ACEOF
47717 /* end confdefs.h. */
47718 #include <$ac_header>
47720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47723 grep -v '^ *+' conftest.er1 >conftest.err
47725 cat conftest.err >&5
47726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47727 (exit $ac_status); } >/dev/null; then
47728 if test -s conftest.err; then
47729 ac_cpp_err=$ac_c_preproc_warn_flag
47736 if test -z "$ac_cpp_err"; then
47737 ac_header_preproc=yes
47739 echo "$as_me: failed program was:" >&5
47740 sed 's/^/| /' conftest.$ac_ext >&5
47742 ac_header_preproc=no
47744 rm -f conftest.err conftest.$ac_ext
47745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47746 echo "${ECHO_T}$ac_header_preproc" >&6
47748 # So? What about this header?
47749 case $ac_header_compiler:$ac_header_preproc in
47751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47757 ## ------------------------------------ ##
47758 ## Report this to bug-autoconf@gnu.org. ##
47759 ## ------------------------------------ ##
47762 sed "s/^/$as_me: WARNING: /" >&2
47765 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47766 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47767 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47768 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47773 ## ------------------------------------ ##
47774 ## Report this to bug-autoconf@gnu.org. ##
47775 ## ------------------------------------ ##
47778 sed "s/^/$as_me: WARNING: /" >&2
47781 echo "$as_me:$LINENO: checking for $ac_header" >&5
47782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47784 echo $ECHO_N "(cached) $ECHO_C" >&6
47786 eval "$as_ac_Header=$ac_header_preproc"
47788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47793 cat >>confdefs.h <<_ACEOF
47794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47804 for ac_header in wctype.h
47806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47808 echo "$as_me:$LINENO: checking for $ac_header" >&5
47809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47811 echo $ECHO_N "(cached) $ECHO_C" >&6
47813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47816 # Is the header compilable?
47817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47819 cat >conftest.$ac_ext <<_ACEOF
47820 #line $LINENO "configure"
47823 cat confdefs.h >>conftest.$ac_ext
47824 cat >>conftest.$ac_ext <<_ACEOF
47825 /* end confdefs.h. */
47826 $ac_includes_default
47827 #include <$ac_header>
47829 rm -f conftest.$ac_objext
47830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47831 (eval $ac_compile) 2>&5
47833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47834 (exit $ac_status); } &&
47835 { ac_try='test -s conftest.$ac_objext'
47836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47837 (eval $ac_try) 2>&5
47839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47840 (exit $ac_status); }; }; then
47841 ac_header_compiler=yes
47843 echo "$as_me: failed program was:" >&5
47844 sed 's/^/| /' conftest.$ac_ext >&5
47846 ac_header_compiler=no
47848 rm -f conftest.$ac_objext conftest.$ac_ext
47849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47850 echo "${ECHO_T}$ac_header_compiler" >&6
47852 # Is the header present?
47853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47855 cat >conftest.$ac_ext <<_ACEOF
47856 #line $LINENO "configure"
47859 cat confdefs.h >>conftest.$ac_ext
47860 cat >>conftest.$ac_ext <<_ACEOF
47861 /* end confdefs.h. */
47862 #include <$ac_header>
47864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47867 grep -v '^ *+' conftest.er1 >conftest.err
47869 cat conftest.err >&5
47870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47871 (exit $ac_status); } >/dev/null; then
47872 if test -s conftest.err; then
47873 ac_cpp_err=$ac_c_preproc_warn_flag
47880 if test -z "$ac_cpp_err"; then
47881 ac_header_preproc=yes
47883 echo "$as_me: failed program was:" >&5
47884 sed 's/^/| /' conftest.$ac_ext >&5
47886 ac_header_preproc=no
47888 rm -f conftest.err conftest.$ac_ext
47889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47890 echo "${ECHO_T}$ac_header_preproc" >&6
47892 # So? What about this header?
47893 case $ac_header_compiler:$ac_header_preproc in
47895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47901 ## ------------------------------------ ##
47902 ## Report this to bug-autoconf@gnu.org. ##
47903 ## ------------------------------------ ##
47906 sed "s/^/$as_me: WARNING: /" >&2
47909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47917 ## ------------------------------------ ##
47918 ## Report this to bug-autoconf@gnu.org. ##
47919 ## ------------------------------------ ##
47922 sed "s/^/$as_me: WARNING: /" >&2
47925 echo "$as_me:$LINENO: checking for $ac_header" >&5
47926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47928 echo $ECHO_N "(cached) $ECHO_C" >&6
47930 eval "$as_ac_Header=$ac_header_preproc"
47932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47937 cat >>confdefs.h <<_ACEOF
47938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47940 ac_has_wctype_h=yes
47948 # Only continue checking if the ISO C99 headers exist and support is on.
47949 if test x"$ac_has_wchar_h" = xyes &&
47950 test x"$ac_has_wctype_h" = xyes &&
47951 test x"$enable_c_mbchar" != xno; then
47953 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
47954 # numeric_limits can instantiate type_traits<wchar_t>
47955 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
47956 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
47957 cat >conftest.$ac_ext <<_ACEOF
47958 #line $LINENO "configure"
47961 cat confdefs.h >>conftest.$ac_ext
47962 cat >>conftest.$ac_ext <<_ACEOF
47963 /* end confdefs.h. */
47968 int i = WCHAR_MIN; int j = WCHAR_MAX;
47973 rm -f conftest.$ac_objext
47974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47975 (eval $ac_compile) 2>&5
47977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47978 (exit $ac_status); } &&
47979 { ac_try='test -s conftest.$ac_objext'
47980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47981 (eval $ac_try) 2>&5
47983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47984 (exit $ac_status); }; }; then
47985 has_wchar_minmax=yes
47987 echo "$as_me: failed program was:" >&5
47988 sed 's/^/| /' conftest.$ac_ext >&5
47990 has_wchar_minmax=no
47992 rm -f conftest.$ac_objext conftest.$ac_ext
47993 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
47994 echo "${ECHO_T}$has_wchar_minmax" >&6
47996 # Test wchar.h for WEOF, which is what we use to determine whether
47997 # to specialize for char_traits<wchar_t> or not.
47998 echo "$as_me:$LINENO: checking for WEOF" >&5
47999 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48000 cat >conftest.$ac_ext <<_ACEOF
48001 #line $LINENO "configure"
48004 cat confdefs.h >>conftest.$ac_ext
48005 cat >>conftest.$ac_ext <<_ACEOF
48006 /* end confdefs.h. */
48009 #include <stddef.h>
48018 rm -f conftest.$ac_objext
48019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48020 (eval $ac_compile) 2>&5
48022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48023 (exit $ac_status); } &&
48024 { ac_try='test -s conftest.$ac_objext'
48025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48026 (eval $ac_try) 2>&5
48028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48029 (exit $ac_status); }; }; then
48032 echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48037 rm -f conftest.$ac_objext conftest.$ac_ext
48038 echo "$as_me:$LINENO: result: $has_weof" >&5
48039 echo "${ECHO_T}$has_weof" >&6
48041 # Tests for wide character functions used in char_traits<wchar_t>.
48049 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48052 echo "$as_me:$LINENO: checking for $ac_func" >&5
48053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48054 if eval "test \"\${$as_ac_var+set}\" = set"; then
48055 echo $ECHO_N "(cached) $ECHO_C" >&6
48057 if test x$gcc_no_link = xyes; then
48058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48060 { (exit 1); exit 1; }; }
48062 cat >conftest.$ac_ext <<_ACEOF
48063 #line $LINENO "configure"
48066 cat confdefs.h >>conftest.$ac_ext
48067 cat >>conftest.$ac_ext <<_ACEOF
48068 /* end confdefs.h. */
48069 /* System header to define __stub macros and hopefully few prototypes,
48070 which can conflict with char $ac_func (); below.
48071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48072 <limits.h> exists even on freestanding compilers. */
48074 # include <limits.h>
48076 # include <assert.h>
48078 /* Override any gcc2 internal prototype to avoid an error. */
48083 /* We use char because int might match the return type of a gcc2
48084 builtin and then its argument prototype would still apply. */
48086 /* The GNU C library defines this for functions which it implements
48087 to always fail with ENOSYS. Some functions are actually named
48088 something starting with __ and the normal name is an alias. */
48089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48092 char (*f) () = $ac_func;
48101 return f != $ac_func;
48106 rm -f conftest.$ac_objext conftest$ac_exeext
48107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48108 (eval $ac_link) 2>&5
48110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48111 (exit $ac_status); } &&
48112 { ac_try='test -s conftest$ac_exeext'
48113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48114 (eval $ac_try) 2>&5
48116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48117 (exit $ac_status); }; }; then
48118 eval "$as_ac_var=yes"
48120 echo "$as_me: failed program was:" >&5
48121 sed 's/^/| /' conftest.$ac_ext >&5
48123 eval "$as_ac_var=no"
48125 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48129 if test `eval echo '${'$as_ac_var'}'` = yes; then
48130 cat >>confdefs.h <<_ACEOF
48131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48140 # Checks for names injected into std:: by the c_std headers.
48187 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48188 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48189 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48190 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48191 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48192 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48195 echo "$as_me:$LINENO: checking for $ac_func" >&5
48196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48197 if eval "test \"\${$as_ac_var+set}\" = set"; then
48198 echo $ECHO_N "(cached) $ECHO_C" >&6
48200 if test x$gcc_no_link = xyes; then
48201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48203 { (exit 1); exit 1; }; }
48205 cat >conftest.$ac_ext <<_ACEOF
48206 #line $LINENO "configure"
48209 cat confdefs.h >>conftest.$ac_ext
48210 cat >>conftest.$ac_ext <<_ACEOF
48211 /* end confdefs.h. */
48212 /* System header to define __stub macros and hopefully few prototypes,
48213 which can conflict with char $ac_func (); below.
48214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48215 <limits.h> exists even on freestanding compilers. */
48217 # include <limits.h>
48219 # include <assert.h>
48221 /* Override any gcc2 internal prototype to avoid an error. */
48226 /* We use char because int might match the return type of a gcc2
48227 builtin and then its argument prototype would still apply. */
48229 /* The GNU C library defines this for functions which it implements
48230 to always fail with ENOSYS. Some functions are actually named
48231 something starting with __ and the normal name is an alias. */
48232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48235 char (*f) () = $ac_func;
48244 return f != $ac_func;
48249 rm -f conftest.$ac_objext conftest$ac_exeext
48250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48251 (eval $ac_link) 2>&5
48253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48254 (exit $ac_status); } &&
48255 { ac_try='test -s conftest$ac_exeext'
48256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48257 (eval $ac_try) 2>&5
48259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260 (exit $ac_status); }; }; then
48261 eval "$as_ac_var=yes"
48263 echo "$as_me: failed program was:" >&5
48264 sed 's/^/| /' conftest.$ac_ext >&5
48266 eval "$as_ac_var=no"
48268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48272 if test `eval echo '${'$as_ac_var'}'` = yes; then
48273 cat >>confdefs.h <<_ACEOF
48274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48283 # Checks for wide character functions that are not required
48284 # for basic wchar_t support. Don't disable support if they are missing.
48285 # Injection of these is wrapped with guard macros.
48291 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48294 echo "$as_me:$LINENO: checking for $ac_func" >&5
48295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48296 if eval "test \"\${$as_ac_var+set}\" = set"; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48299 if test x$gcc_no_link = xyes; then
48300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48302 { (exit 1); exit 1; }; }
48304 cat >conftest.$ac_ext <<_ACEOF
48305 #line $LINENO "configure"
48308 cat confdefs.h >>conftest.$ac_ext
48309 cat >>conftest.$ac_ext <<_ACEOF
48310 /* end confdefs.h. */
48311 /* System header to define __stub macros and hopefully few prototypes,
48312 which can conflict with char $ac_func (); below.
48313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48314 <limits.h> exists even on freestanding compilers. */
48316 # include <limits.h>
48318 # include <assert.h>
48320 /* Override any gcc2 internal prototype to avoid an error. */
48325 /* We use char because int might match the return type of a gcc2
48326 builtin and then its argument prototype would still apply. */
48328 /* The GNU C library defines this for functions which it implements
48329 to always fail with ENOSYS. Some functions are actually named
48330 something starting with __ and the normal name is an alias. */
48331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48334 char (*f) () = $ac_func;
48343 return f != $ac_func;
48348 rm -f conftest.$ac_objext conftest$ac_exeext
48349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48350 (eval $ac_link) 2>&5
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); } &&
48354 { ac_try='test -s conftest$ac_exeext'
48355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48356 (eval $ac_try) 2>&5
48358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48359 (exit $ac_status); }; }; then
48360 eval "$as_ac_var=yes"
48362 echo "$as_me: failed program was:" >&5
48363 sed 's/^/| /' conftest.$ac_ext >&5
48365 eval "$as_ac_var=no"
48367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48370 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48371 if test `eval echo '${'$as_ac_var'}'` = yes; then
48372 cat >>confdefs.h <<_ACEOF
48373 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48380 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48381 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48382 if test x"$has_weof" = xyes &&
48383 test x"$has_wchar_minmax" = xyes &&
48384 test x"$ac_wfuncs" = xyes;
48386 ac_isoC99_wchar_t=yes
48388 ac_isoC99_wchar_t=no
48390 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48391 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48393 # Use iconv for wchar_t to char conversions. As such, check for
48394 # X/Open Portability Guide, version 2 features (XPG2).
48395 if test "${ac_cv_header_iconv_h+set}" = set; then
48396 echo "$as_me:$LINENO: checking for iconv.h" >&5
48397 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48398 if test "${ac_cv_header_iconv_h+set}" = set; then
48399 echo $ECHO_N "(cached) $ECHO_C" >&6
48401 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48402 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48404 # Is the header compilable?
48405 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48406 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48407 cat >conftest.$ac_ext <<_ACEOF
48408 #line $LINENO "configure"
48411 cat confdefs.h >>conftest.$ac_ext
48412 cat >>conftest.$ac_ext <<_ACEOF
48413 /* end confdefs.h. */
48414 $ac_includes_default
48417 rm -f conftest.$ac_objext
48418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48419 (eval $ac_compile) 2>&5
48421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48422 (exit $ac_status); } &&
48423 { ac_try='test -s conftest.$ac_objext'
48424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48425 (eval $ac_try) 2>&5
48427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48428 (exit $ac_status); }; }; then
48429 ac_header_compiler=yes
48431 echo "$as_me: failed program was:" >&5
48432 sed 's/^/| /' conftest.$ac_ext >&5
48434 ac_header_compiler=no
48436 rm -f conftest.$ac_objext conftest.$ac_ext
48437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48438 echo "${ECHO_T}$ac_header_compiler" >&6
48440 # Is the header present?
48441 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48442 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48443 cat >conftest.$ac_ext <<_ACEOF
48444 #line $LINENO "configure"
48447 cat confdefs.h >>conftest.$ac_ext
48448 cat >>conftest.$ac_ext <<_ACEOF
48449 /* end confdefs.h. */
48452 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48453 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48455 grep -v '^ *+' conftest.er1 >conftest.err
48457 cat conftest.err >&5
48458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48459 (exit $ac_status); } >/dev/null; then
48460 if test -s conftest.err; then
48461 ac_cpp_err=$ac_c_preproc_warn_flag
48468 if test -z "$ac_cpp_err"; then
48469 ac_header_preproc=yes
48471 echo "$as_me: failed program was:" >&5
48472 sed 's/^/| /' conftest.$ac_ext >&5
48474 ac_header_preproc=no
48476 rm -f conftest.err conftest.$ac_ext
48477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48478 echo "${ECHO_T}$ac_header_preproc" >&6
48480 # So? What about this header?
48481 case $ac_header_compiler:$ac_header_preproc in
48483 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48484 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48485 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48486 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48489 ## ------------------------------------ ##
48490 ## Report this to bug-autoconf@gnu.org. ##
48491 ## ------------------------------------ ##
48494 sed "s/^/$as_me: WARNING: /" >&2
48497 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48498 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48499 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48500 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48501 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48502 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48505 ## ------------------------------------ ##
48506 ## Report this to bug-autoconf@gnu.org. ##
48507 ## ------------------------------------ ##
48510 sed "s/^/$as_me: WARNING: /" >&2
48513 echo "$as_me:$LINENO: checking for iconv.h" >&5
48514 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48515 if test "${ac_cv_header_iconv_h+set}" = set; then
48516 echo $ECHO_N "(cached) $ECHO_C" >&6
48518 ac_cv_header_iconv_h=$ac_header_preproc
48520 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48521 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48524 if test $ac_cv_header_iconv_h = yes; then
48531 if test "${ac_cv_header_langinfo_h+set}" = set; then
48532 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48533 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48534 if test "${ac_cv_header_langinfo_h+set}" = set; then
48535 echo $ECHO_N "(cached) $ECHO_C" >&6
48537 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48538 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48540 # Is the header compilable?
48541 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48542 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48543 cat >conftest.$ac_ext <<_ACEOF
48544 #line $LINENO "configure"
48547 cat confdefs.h >>conftest.$ac_ext
48548 cat >>conftest.$ac_ext <<_ACEOF
48549 /* end confdefs.h. */
48550 $ac_includes_default
48551 #include <langinfo.h>
48553 rm -f conftest.$ac_objext
48554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48555 (eval $ac_compile) 2>&5
48557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48558 (exit $ac_status); } &&
48559 { ac_try='test -s conftest.$ac_objext'
48560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48561 (eval $ac_try) 2>&5
48563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48564 (exit $ac_status); }; }; then
48565 ac_header_compiler=yes
48567 echo "$as_me: failed program was:" >&5
48568 sed 's/^/| /' conftest.$ac_ext >&5
48570 ac_header_compiler=no
48572 rm -f conftest.$ac_objext conftest.$ac_ext
48573 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48574 echo "${ECHO_T}$ac_header_compiler" >&6
48576 # Is the header present?
48577 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48578 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48579 cat >conftest.$ac_ext <<_ACEOF
48580 #line $LINENO "configure"
48583 cat confdefs.h >>conftest.$ac_ext
48584 cat >>conftest.$ac_ext <<_ACEOF
48585 /* end confdefs.h. */
48586 #include <langinfo.h>
48588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48591 grep -v '^ *+' conftest.er1 >conftest.err
48593 cat conftest.err >&5
48594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595 (exit $ac_status); } >/dev/null; then
48596 if test -s conftest.err; then
48597 ac_cpp_err=$ac_c_preproc_warn_flag
48604 if test -z "$ac_cpp_err"; then
48605 ac_header_preproc=yes
48607 echo "$as_me: failed program was:" >&5
48608 sed 's/^/| /' conftest.$ac_ext >&5
48610 ac_header_preproc=no
48612 rm -f conftest.err conftest.$ac_ext
48613 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48614 echo "${ECHO_T}$ac_header_preproc" >&6
48616 # So? What about this header?
48617 case $ac_header_compiler:$ac_header_preproc in
48619 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48620 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48621 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48622 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48625 ## ------------------------------------ ##
48626 ## Report this to bug-autoconf@gnu.org. ##
48627 ## ------------------------------------ ##
48630 sed "s/^/$as_me: WARNING: /" >&2
48633 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48634 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48635 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48636 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48637 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48638 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48641 ## ------------------------------------ ##
48642 ## Report this to bug-autoconf@gnu.org. ##
48643 ## ------------------------------------ ##
48646 sed "s/^/$as_me: WARNING: /" >&2
48649 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48650 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48651 if test "${ac_cv_header_langinfo_h+set}" = set; then
48652 echo $ECHO_N "(cached) $ECHO_C" >&6
48654 ac_cv_header_langinfo_h=$ac_header_preproc
48656 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48657 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48660 if test $ac_cv_header_langinfo_h = yes; then
48661 ac_has_langinfo_h=yes
48663 ac_has_langinfo_h=no
48668 # Check for existence of libiconv.a providing XPG2 wchar_t support.
48669 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48670 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48671 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48672 echo $ECHO_N "(cached) $ECHO_C" >&6
48674 ac_check_lib_save_LIBS=$LIBS
48675 LIBS="-liconv $LIBS"
48676 if test x$gcc_no_link = xyes; then
48677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48679 { (exit 1); exit 1; }; }
48681 cat >conftest.$ac_ext <<_ACEOF
48682 #line $LINENO "configure"
48685 cat confdefs.h >>conftest.$ac_ext
48686 cat >>conftest.$ac_ext <<_ACEOF
48687 /* end confdefs.h. */
48689 /* Override any gcc2 internal prototype to avoid an error. */
48693 /* We use char because int might match the return type of a gcc2
48694 builtin and then its argument prototype would still apply. */
48704 rm -f conftest.$ac_objext conftest$ac_exeext
48705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48706 (eval $ac_link) 2>&5
48708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48709 (exit $ac_status); } &&
48710 { ac_try='test -s conftest$ac_exeext'
48711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48712 (eval $ac_try) 2>&5
48714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48715 (exit $ac_status); }; }; then
48716 ac_cv_lib_iconv_iconv=yes
48718 echo "$as_me: failed program was:" >&5
48719 sed 's/^/| /' conftest.$ac_ext >&5
48721 ac_cv_lib_iconv_iconv=no
48723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48724 LIBS=$ac_check_lib_save_LIBS
48726 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48727 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48728 if test $ac_cv_lib_iconv_iconv = yes; then
48732 ac_save_LIBS="$LIBS"
48733 LIBS="$LIBS $libiconv"
48739 for ac_func in iconv_open iconv_close iconv nl_langinfo
48741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48742 echo "$as_me:$LINENO: checking for $ac_func" >&5
48743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48744 if eval "test \"\${$as_ac_var+set}\" = set"; then
48745 echo $ECHO_N "(cached) $ECHO_C" >&6
48747 if test x$gcc_no_link = xyes; then
48748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48750 { (exit 1); exit 1; }; }
48752 cat >conftest.$ac_ext <<_ACEOF
48753 #line $LINENO "configure"
48756 cat confdefs.h >>conftest.$ac_ext
48757 cat >>conftest.$ac_ext <<_ACEOF
48758 /* end confdefs.h. */
48759 /* System header to define __stub macros and hopefully few prototypes,
48760 which can conflict with char $ac_func (); below.
48761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48762 <limits.h> exists even on freestanding compilers. */
48764 # include <limits.h>
48766 # include <assert.h>
48768 /* Override any gcc2 internal prototype to avoid an error. */
48773 /* We use char because int might match the return type of a gcc2
48774 builtin and then its argument prototype would still apply. */
48776 /* The GNU C library defines this for functions which it implements
48777 to always fail with ENOSYS. Some functions are actually named
48778 something starting with __ and the normal name is an alias. */
48779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48782 char (*f) () = $ac_func;
48791 return f != $ac_func;
48796 rm -f conftest.$ac_objext conftest$ac_exeext
48797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48798 (eval $ac_link) 2>&5
48800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48801 (exit $ac_status); } &&
48802 { ac_try='test -s conftest$ac_exeext'
48803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48804 (eval $ac_try) 2>&5
48806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48807 (exit $ac_status); }; }; then
48808 eval "$as_ac_var=yes"
48810 echo "$as_me: failed program was:" >&5
48811 sed 's/^/| /' conftest.$ac_ext >&5
48813 eval "$as_ac_var=no"
48815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48819 if test `eval echo '${'$as_ac_var'}'` = yes; then
48820 cat >>confdefs.h <<_ACEOF
48821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48830 LIBS="$ac_save_LIBS"
48832 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48833 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48834 if test x"$ac_has_iconv_h" = xyes &&
48835 test x"$ac_has_langinfo_h" = xyes &&
48836 test x"$ac_XPG2funcs" = xyes;
48838 ac_XPG2_wchar_t=yes
48842 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48843 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48845 # At the moment, only enable wchar_t specializations if all the
48846 # above support is present.
48847 if test x"$ac_isoC99_wchar_t" = xyes &&
48848 test x"$ac_XPG2_wchar_t" = xyes;
48850 cat >>confdefs.h <<\_ACEOF
48851 #define _GLIBCXX_USE_WCHAR_T 1
48857 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
48858 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
48859 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
48860 echo "${ECHO_T}$enable_wchar_t" >&6
48862 cat >>confdefs.h <<\_ACEOF
48863 #define HAVE_LC_MESSAGES 1
48866 cat >>confdefs.h <<\_ACEOF
48867 #define HAVE_LRAND48 1
48870 cat >>confdefs.h <<\_ACEOF
48871 #define HAVE_GETPAGESIZE 1
48874 cat >>confdefs.h <<\_ACEOF
48875 #define HAVE_SETENV 1
48878 cat >>confdefs.h <<\_ACEOF
48879 #define HAVE_SIGSETJMP 1
48882 cat >>confdefs.h <<\_ACEOF
48883 #define HAVE_COPYSIGN 1
48886 cat >>confdefs.h <<\_ACEOF
48887 #define HAVE_COPYSIGNF 1
48890 cat >>confdefs.h <<\_ACEOF
48891 #define HAVE_FINITEF 1
48894 cat >>confdefs.h <<\_ACEOF
48895 #define HAVE_FINITE 1
48898 cat >>confdefs.h <<\_ACEOF
48899 #define HAVE_FREXPF 1
48902 cat >>confdefs.h <<\_ACEOF
48903 #define HAVE_HYPOT 1
48906 cat >>confdefs.h <<\_ACEOF
48907 #define HAVE_HYPOTF 1
48910 cat >>confdefs.h <<\_ACEOF
48911 #define HAVE_ISINF 1
48914 cat >>confdefs.h <<\_ACEOF
48915 #define HAVE_ISNAN 1
48918 cat >>confdefs.h <<\_ACEOF
48919 #define HAVE_ISNANF 1
48923 cat >>confdefs.h <<\_ACEOF
48924 #define HAVE_MMAP 1
48927 cat >>confdefs.h <<\_ACEOF
48928 #define HAVE_ACOSF 1
48931 cat >>confdefs.h <<\_ACEOF
48932 #define HAVE_ASINF 1
48935 cat >>confdefs.h <<\_ACEOF
48936 #define HAVE_ATAN2F 1
48939 cat >>confdefs.h <<\_ACEOF
48940 #define HAVE_ATANF 1
48943 cat >>confdefs.h <<\_ACEOF
48944 #define HAVE_CEILF 1
48947 cat >>confdefs.h <<\_ACEOF
48948 #define HAVE_COPYSIGN 1
48951 cat >>confdefs.h <<\_ACEOF
48952 #define HAVE_COPYSIGNF 1
48955 cat >>confdefs.h <<\_ACEOF
48956 #define HAVE_COSF 1
48959 cat >>confdefs.h <<\_ACEOF
48960 #define HAVE_COSHF 1
48963 cat >>confdefs.h <<\_ACEOF
48964 #define HAVE_EXPF 1
48967 cat >>confdefs.h <<\_ACEOF
48968 #define HAVE_FABSF 1
48971 cat >>confdefs.h <<\_ACEOF
48972 #define HAVE_FLOORF 1
48975 cat >>confdefs.h <<\_ACEOF
48976 #define HAVE_FMODF 1
48979 cat >>confdefs.h <<\_ACEOF
48980 #define HAVE_FREXPF 1
48983 cat >>confdefs.h <<\_ACEOF
48984 #define HAVE_LDEXPF 1
48987 cat >>confdefs.h <<\_ACEOF
48988 #define HAVE_LOG10F 1
48991 cat >>confdefs.h <<\_ACEOF
48992 #define HAVE_LOGF 1
48995 cat >>confdefs.h <<\_ACEOF
48996 #define HAVE_MODFF 1
48999 cat >>confdefs.h <<\_ACEOF
49000 #define HAVE_POWF 1
49003 cat >>confdefs.h <<\_ACEOF
49004 #define HAVE_SINF 1
49007 cat >>confdefs.h <<\_ACEOF
49008 #define HAVE_SINHF 1
49011 cat >>confdefs.h <<\_ACEOF
49012 #define HAVE_SQRTF 1
49015 cat >>confdefs.h <<\_ACEOF
49016 #define HAVE_TANF 1
49019 cat >>confdefs.h <<\_ACEOF
49020 #define HAVE_TANHF 1
49023 if test x"long_double_math_on_this_cpu" = x"yes"; then
49024 cat >>confdefs.h <<\_ACEOF
49025 #define HAVE_FINITEL 1
49028 cat >>confdefs.h <<\_ACEOF
49029 #define HAVE_ISINFL 1
49032 cat >>confdefs.h <<\_ACEOF
49033 #define HAVE_ISNANL 1
49039 #os_include_dir="os/hpux"
49052 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49053 machine/endian.h machine/param.h sys/machine.h sys/types.h \
49054 fp.h locale.h float.h inttypes.h
49056 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49058 echo "$as_me:$LINENO: checking for $ac_header" >&5
49059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49061 echo $ECHO_N "(cached) $ECHO_C" >&6
49063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49066 # Is the header compilable?
49067 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49068 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49069 cat >conftest.$ac_ext <<_ACEOF
49070 #line $LINENO "configure"
49073 cat confdefs.h >>conftest.$ac_ext
49074 cat >>conftest.$ac_ext <<_ACEOF
49075 /* end confdefs.h. */
49076 $ac_includes_default
49077 #include <$ac_header>
49079 rm -f conftest.$ac_objext
49080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49081 (eval $ac_compile) 2>&5
49083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49084 (exit $ac_status); } &&
49085 { ac_try='test -s conftest.$ac_objext'
49086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49087 (eval $ac_try) 2>&5
49089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49090 (exit $ac_status); }; }; then
49091 ac_header_compiler=yes
49093 echo "$as_me: failed program was:" >&5
49094 sed 's/^/| /' conftest.$ac_ext >&5
49096 ac_header_compiler=no
49098 rm -f conftest.$ac_objext conftest.$ac_ext
49099 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49100 echo "${ECHO_T}$ac_header_compiler" >&6
49102 # Is the header present?
49103 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49104 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49105 cat >conftest.$ac_ext <<_ACEOF
49106 #line $LINENO "configure"
49109 cat confdefs.h >>conftest.$ac_ext
49110 cat >>conftest.$ac_ext <<_ACEOF
49111 /* end confdefs.h. */
49112 #include <$ac_header>
49114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49117 grep -v '^ *+' conftest.er1 >conftest.err
49119 cat conftest.err >&5
49120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49121 (exit $ac_status); } >/dev/null; then
49122 if test -s conftest.err; then
49123 ac_cpp_err=$ac_c_preproc_warn_flag
49130 if test -z "$ac_cpp_err"; then
49131 ac_header_preproc=yes
49133 echo "$as_me: failed program was:" >&5
49134 sed 's/^/| /' conftest.$ac_ext >&5
49136 ac_header_preproc=no
49138 rm -f conftest.err conftest.$ac_ext
49139 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49140 echo "${ECHO_T}$ac_header_preproc" >&6
49142 # So? What about this header?
49143 case $ac_header_compiler:$ac_header_preproc in
49145 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49146 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49147 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49148 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49151 ## ------------------------------------ ##
49152 ## Report this to bug-autoconf@gnu.org. ##
49153 ## ------------------------------------ ##
49156 sed "s/^/$as_me: WARNING: /" >&2
49159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49167 ## ------------------------------------ ##
49168 ## Report this to bug-autoconf@gnu.org. ##
49169 ## ------------------------------------ ##
49172 sed "s/^/$as_me: WARNING: /" >&2
49175 echo "$as_me:$LINENO: checking for $ac_header" >&5
49176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49178 echo $ECHO_N "(cached) $ECHO_C" >&6
49180 eval "$as_ac_Header=$ac_header_preproc"
49182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49187 cat >>confdefs.h <<_ACEOF
49188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49195 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49198 # If we're not using GNU ld, then there's no point in even trying these
49199 # tests. Check for that first. We should have already tested for gld
49200 # by now (in libtool), but require it now just to be safe...
49201 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49202 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49206 # The name set by libtool depends on the version of libtool. Shame on us
49207 # for depending on an impl detail, but c'est la vie. Older versions used
49208 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49209 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49210 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49211 # set (hence we're using an older libtool), then set it.
49212 if test x${with_gnu_ld+set} != xset; then
49213 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49214 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49217 with_gnu_ld=$ac_cv_prog_gnu_ld
49221 # Start by getting the version number. I think the libtool test already
49222 # does some of this, but throws away the result.
49224 ldver=`$LD --version 2>/dev/null | head -1 | \
49225 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49227 glibcxx_gnu_ld_version=`echo $ldver | \
49228 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49230 # Set --gc-sections.
49231 if test "$with_gnu_ld" = "notbroken"; then
49232 # GNU ld it is! Joy and bunny rabbits!
49234 # All these tests are for C++; save the language and the compiler flags.
49235 # Need to do this so that g++ won't try to link in libstdc++
49236 ac_test_CFLAGS="${CFLAGS+set}"
49237 ac_save_CFLAGS="$CFLAGS"
49238 CFLAGS='-x c++ -Wl,--gc-sections'
49240 # Check for -Wl,--gc-sections
49241 # XXX This test is broken at the moment, as symbols required for linking
49242 # are now in libsupc++ (not built yet). In addition, this test has
49243 # cored on solaris in the past. In addition, --gc-sections doesn't
49244 # really work at the moment (keeps on discarding used sections, first
49245 # .eh_frame and now some of the glibc sections for iconv).
49246 # Bzzzzt. Thanks for playing, maybe next time.
49247 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49248 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49249 if test "$cross_compiling" = yes; then
49250 ac_sectionLDflags=yes
49252 cat >conftest.$ac_ext <<_ACEOF
49253 #line $LINENO "configure"
49256 cat confdefs.h >>conftest.$ac_ext
49257 cat >>conftest.$ac_ext <<_ACEOF
49258 /* end confdefs.h. */
49268 rm -f conftest$ac_exeext
49269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49270 (eval $ac_link) 2>&5
49272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275 (eval $ac_try) 2>&5
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; }; then
49279 ac_sectionLDflags=yes
49281 echo "$as_me: program exited with status $ac_status" >&5
49282 echo "$as_me: failed program was:" >&5
49283 sed 's/^/| /' conftest.$ac_ext >&5
49285 ( exit $ac_status )
49286 ac_sectionLDflags=no
49288 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49290 if test "$ac_test_CFLAGS" = set; then
49291 CFLAGS="$ac_save_CFLAGS"
49293 # this is the suspicious part
49296 if test "$ac_sectionLDflags" = "yes"; then
49297 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49299 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49300 echo "${ECHO_T}$ac_sectionLDflags" >&6
49303 # Set linker optimization flags.
49304 if test x"$with_gnu_ld" = x"yes"; then
49305 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49313 echo "$as_me:$LINENO: checking for main in -lm" >&5
49314 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49315 if test "${ac_cv_lib_m_main+set}" = set; then
49316 echo $ECHO_N "(cached) $ECHO_C" >&6
49318 ac_check_lib_save_LIBS=$LIBS
49320 if test x$gcc_no_link = xyes; then
49321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49323 { (exit 1); exit 1; }; }
49325 cat >conftest.$ac_ext <<_ACEOF
49326 #line $LINENO "configure"
49329 cat confdefs.h >>conftest.$ac_ext
49330 cat >>conftest.$ac_ext <<_ACEOF
49331 /* end confdefs.h. */
49342 rm -f conftest.$ac_objext conftest$ac_exeext
49343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49344 (eval $ac_link) 2>&5
49346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347 (exit $ac_status); } &&
49348 { ac_try='test -s conftest$ac_exeext'
49349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49350 (eval $ac_try) 2>&5
49352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49353 (exit $ac_status); }; }; then
49354 ac_cv_lib_m_main=yes
49356 echo "$as_me: failed program was:" >&5
49357 sed 's/^/| /' conftest.$ac_ext >&5
49359 ac_cv_lib_m_main=no
49361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49362 LIBS=$ac_check_lib_save_LIBS
49364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49365 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49366 if test $ac_cv_lib_m_main = yes; then
49367 cat >>confdefs.h <<_ACEOF
49368 #define HAVE_LIBM 1
49377 for ac_func in nan copysignf
49379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49380 echo "$as_me:$LINENO: checking for $ac_func" >&5
49381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49382 if eval "test \"\${$as_ac_var+set}\" = set"; then
49383 echo $ECHO_N "(cached) $ECHO_C" >&6
49385 if test x$gcc_no_link = xyes; then
49386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49388 { (exit 1); exit 1; }; }
49390 cat >conftest.$ac_ext <<_ACEOF
49391 #line $LINENO "configure"
49394 cat confdefs.h >>conftest.$ac_ext
49395 cat >>conftest.$ac_ext <<_ACEOF
49396 /* end confdefs.h. */
49397 /* System header to define __stub macros and hopefully few prototypes,
49398 which can conflict with char $ac_func (); below.
49399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49400 <limits.h> exists even on freestanding compilers. */
49402 # include <limits.h>
49404 # include <assert.h>
49406 /* Override any gcc2 internal prototype to avoid an error. */
49411 /* We use char because int might match the return type of a gcc2
49412 builtin and then its argument prototype would still apply. */
49414 /* The GNU C library defines this for functions which it implements
49415 to always fail with ENOSYS. Some functions are actually named
49416 something starting with __ and the normal name is an alias. */
49417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49420 char (*f) () = $ac_func;
49429 return f != $ac_func;
49434 rm -f conftest.$ac_objext conftest$ac_exeext
49435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49436 (eval $ac_link) 2>&5
49438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49439 (exit $ac_status); } &&
49440 { ac_try='test -s conftest$ac_exeext'
49441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49442 (eval $ac_try) 2>&5
49444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49445 (exit $ac_status); }; }; then
49446 eval "$as_ac_var=yes"
49448 echo "$as_me: failed program was:" >&5
49449 sed 's/^/| /' conftest.$ac_ext >&5
49451 eval "$as_ac_var=no"
49453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49457 if test `eval echo '${'$as_ac_var'}'` = yes; then
49458 cat >>confdefs.h <<_ACEOF
49459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49463 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49469 for ac_func in __signbit
49471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49472 echo "$as_me:$LINENO: checking for $ac_func" >&5
49473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49474 if eval "test \"\${$as_ac_var+set}\" = set"; then
49475 echo $ECHO_N "(cached) $ECHO_C" >&6
49477 if test x$gcc_no_link = xyes; then
49478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49480 { (exit 1); exit 1; }; }
49482 cat >conftest.$ac_ext <<_ACEOF
49483 #line $LINENO "configure"
49486 cat confdefs.h >>conftest.$ac_ext
49487 cat >>conftest.$ac_ext <<_ACEOF
49488 /* end confdefs.h. */
49489 /* System header to define __stub macros and hopefully few prototypes,
49490 which can conflict with char $ac_func (); below.
49491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49492 <limits.h> exists even on freestanding compilers. */
49494 # include <limits.h>
49496 # include <assert.h>
49498 /* Override any gcc2 internal prototype to avoid an error. */
49503 /* We use char because int might match the return type of a gcc2
49504 builtin and then its argument prototype would still apply. */
49506 /* The GNU C library defines this for functions which it implements
49507 to always fail with ENOSYS. Some functions are actually named
49508 something starting with __ and the normal name is an alias. */
49509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49512 char (*f) () = $ac_func;
49521 return f != $ac_func;
49526 rm -f conftest.$ac_objext conftest$ac_exeext
49527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49528 (eval $ac_link) 2>&5
49530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49531 (exit $ac_status); } &&
49532 { ac_try='test -s conftest$ac_exeext'
49533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49534 (eval $ac_try) 2>&5
49536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49537 (exit $ac_status); }; }; then
49538 eval "$as_ac_var=yes"
49540 echo "$as_me: failed program was:" >&5
49541 sed 's/^/| /' conftest.$ac_ext >&5
49543 eval "$as_ac_var=no"
49545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49549 if test `eval echo '${'$as_ac_var'}'` = yes; then
49550 cat >>confdefs.h <<_ACEOF
49551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49555 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49560 for ac_func in __signbitf
49562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49563 echo "$as_me:$LINENO: checking for $ac_func" >&5
49564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49565 if eval "test \"\${$as_ac_var+set}\" = set"; then
49566 echo $ECHO_N "(cached) $ECHO_C" >&6
49568 if test x$gcc_no_link = xyes; then
49569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49571 { (exit 1); exit 1; }; }
49573 cat >conftest.$ac_ext <<_ACEOF
49574 #line $LINENO "configure"
49577 cat confdefs.h >>conftest.$ac_ext
49578 cat >>conftest.$ac_ext <<_ACEOF
49579 /* end confdefs.h. */
49580 /* System header to define __stub macros and hopefully few prototypes,
49581 which can conflict with char $ac_func (); below.
49582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49583 <limits.h> exists even on freestanding compilers. */
49585 # include <limits.h>
49587 # include <assert.h>
49589 /* Override any gcc2 internal prototype to avoid an error. */
49594 /* We use char because int might match the return type of a gcc2
49595 builtin and then its argument prototype would still apply. */
49597 /* The GNU C library defines this for functions which it implements
49598 to always fail with ENOSYS. Some functions are actually named
49599 something starting with __ and the normal name is an alias. */
49600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49603 char (*f) () = $ac_func;
49612 return f != $ac_func;
49617 rm -f conftest.$ac_objext conftest$ac_exeext
49618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49619 (eval $ac_link) 2>&5
49621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49622 (exit $ac_status); } &&
49623 { ac_try='test -s conftest$ac_exeext'
49624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49625 (eval $ac_try) 2>&5
49627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49628 (exit $ac_status); }; }; then
49629 eval "$as_ac_var=yes"
49631 echo "$as_me: failed program was:" >&5
49632 sed 's/^/| /' conftest.$ac_ext >&5
49634 eval "$as_ac_var=no"
49636 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49640 if test `eval echo '${'$as_ac_var'}'` = yes; then
49641 cat >>confdefs.h <<_ACEOF
49642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49646 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49651 if test x$ac_cv_func_copysignl = x"yes"; then
49653 for ac_func in __signbitl
49655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49656 echo "$as_me:$LINENO: checking for $ac_func" >&5
49657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49658 if eval "test \"\${$as_ac_var+set}\" = set"; then
49659 echo $ECHO_N "(cached) $ECHO_C" >&6
49661 if test x$gcc_no_link = xyes; then
49662 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49664 { (exit 1); exit 1; }; }
49666 cat >conftest.$ac_ext <<_ACEOF
49667 #line $LINENO "configure"
49670 cat confdefs.h >>conftest.$ac_ext
49671 cat >>conftest.$ac_ext <<_ACEOF
49672 /* end confdefs.h. */
49673 /* System header to define __stub macros and hopefully few prototypes,
49674 which can conflict with char $ac_func (); below.
49675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49676 <limits.h> exists even on freestanding compilers. */
49678 # include <limits.h>
49680 # include <assert.h>
49682 /* Override any gcc2 internal prototype to avoid an error. */
49687 /* We use char because int might match the return type of a gcc2
49688 builtin and then its argument prototype would still apply. */
49690 /* The GNU C library defines this for functions which it implements
49691 to always fail with ENOSYS. Some functions are actually named
49692 something starting with __ and the normal name is an alias. */
49693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49696 char (*f) () = $ac_func;
49705 return f != $ac_func;
49710 rm -f conftest.$ac_objext conftest$ac_exeext
49711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49712 (eval $ac_link) 2>&5
49714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715 (exit $ac_status); } &&
49716 { ac_try='test -s conftest$ac_exeext'
49717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49718 (eval $ac_try) 2>&5
49720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721 (exit $ac_status); }; }; then
49722 eval "$as_ac_var=yes"
49724 echo "$as_me: failed program was:" >&5
49725 sed 's/^/| /' conftest.$ac_ext >&5
49727 eval "$as_ac_var=no"
49729 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49733 if test `eval echo '${'$as_ac_var'}'` = yes; then
49734 cat >>confdefs.h <<_ACEOF
49735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49739 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49745 # XXX Review this. Nothing uses it.
49746 if test -n "$LIBMATHOBJS"; then
49752 # Test wchar.h for mbstate_t, which is needed for char_traits and
49753 # others even if wchar_t support is not on.
49754 echo "$as_me:$LINENO: checking for mbstate_t" >&5
49755 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49756 cat >conftest.$ac_ext <<_ACEOF
49757 #line $LINENO "configure"
49760 cat confdefs.h >>conftest.$ac_ext
49761 cat >>conftest.$ac_ext <<_ACEOF
49762 /* end confdefs.h. */
49767 mbstate_t teststate;
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774 (eval $ac_compile) 2>&5
49776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49777 (exit $ac_status); } &&
49778 { ac_try='test -s conftest.$ac_objext'
49779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49780 (eval $ac_try) 2>&5
49782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49783 (exit $ac_status); }; }; then
49786 echo "$as_me: failed program was:" >&5
49787 sed 's/^/| /' conftest.$ac_ext >&5
49791 rm -f conftest.$ac_objext conftest.$ac_ext
49792 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49793 echo "${ECHO_T}$have_mbstate_t" >&6
49794 if test x"$have_mbstate_t" = xyes; then
49795 cat >>confdefs.h <<\_ACEOF
49796 #define HAVE_MBSTATE_T 1
49801 # Sanity check for existence of ISO C99 headers for extended encoding.
49803 for ac_header in wchar.h
49805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49806 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49807 echo "$as_me:$LINENO: checking for $ac_header" >&5
49808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49810 echo $ECHO_N "(cached) $ECHO_C" >&6
49812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49815 # Is the header compilable?
49816 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49817 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49818 cat >conftest.$ac_ext <<_ACEOF
49819 #line $LINENO "configure"
49822 cat confdefs.h >>conftest.$ac_ext
49823 cat >>conftest.$ac_ext <<_ACEOF
49824 /* end confdefs.h. */
49825 $ac_includes_default
49826 #include <$ac_header>
49828 rm -f conftest.$ac_objext
49829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49830 (eval $ac_compile) 2>&5
49832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49833 (exit $ac_status); } &&
49834 { ac_try='test -s conftest.$ac_objext'
49835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49836 (eval $ac_try) 2>&5
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); }; }; then
49840 ac_header_compiler=yes
49842 echo "$as_me: failed program was:" >&5
49843 sed 's/^/| /' conftest.$ac_ext >&5
49845 ac_header_compiler=no
49847 rm -f conftest.$ac_objext conftest.$ac_ext
49848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49849 echo "${ECHO_T}$ac_header_compiler" >&6
49851 # Is the header present?
49852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49854 cat >conftest.$ac_ext <<_ACEOF
49855 #line $LINENO "configure"
49858 cat confdefs.h >>conftest.$ac_ext
49859 cat >>conftest.$ac_ext <<_ACEOF
49860 /* end confdefs.h. */
49861 #include <$ac_header>
49863 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49864 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49866 grep -v '^ *+' conftest.er1 >conftest.err
49868 cat conftest.err >&5
49869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49870 (exit $ac_status); } >/dev/null; then
49871 if test -s conftest.err; then
49872 ac_cpp_err=$ac_c_preproc_warn_flag
49879 if test -z "$ac_cpp_err"; then
49880 ac_header_preproc=yes
49882 echo "$as_me: failed program was:" >&5
49883 sed 's/^/| /' conftest.$ac_ext >&5
49885 ac_header_preproc=no
49887 rm -f conftest.err conftest.$ac_ext
49888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49889 echo "${ECHO_T}$ac_header_preproc" >&6
49891 # So? What about this header?
49892 case $ac_header_compiler:$ac_header_preproc in
49894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49900 ## ------------------------------------ ##
49901 ## Report this to bug-autoconf@gnu.org. ##
49902 ## ------------------------------------ ##
49905 sed "s/^/$as_me: WARNING: /" >&2
49908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49912 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49913 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49916 ## ------------------------------------ ##
49917 ## Report this to bug-autoconf@gnu.org. ##
49918 ## ------------------------------------ ##
49921 sed "s/^/$as_me: WARNING: /" >&2
49924 echo "$as_me:$LINENO: checking for $ac_header" >&5
49925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49927 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 eval "$as_ac_Header=$ac_header_preproc"
49931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49936 cat >>confdefs.h <<_ACEOF
49937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49947 for ac_header in wctype.h
49949 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49951 echo "$as_me:$LINENO: checking for $ac_header" >&5
49952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49954 echo $ECHO_N "(cached) $ECHO_C" >&6
49956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49957 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49959 # Is the header compilable?
49960 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49961 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49962 cat >conftest.$ac_ext <<_ACEOF
49963 #line $LINENO "configure"
49966 cat confdefs.h >>conftest.$ac_ext
49967 cat >>conftest.$ac_ext <<_ACEOF
49968 /* end confdefs.h. */
49969 $ac_includes_default
49970 #include <$ac_header>
49972 rm -f conftest.$ac_objext
49973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49974 (eval $ac_compile) 2>&5
49976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49977 (exit $ac_status); } &&
49978 { ac_try='test -s conftest.$ac_objext'
49979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49980 (eval $ac_try) 2>&5
49982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49983 (exit $ac_status); }; }; then
49984 ac_header_compiler=yes
49986 echo "$as_me: failed program was:" >&5
49987 sed 's/^/| /' conftest.$ac_ext >&5
49989 ac_header_compiler=no
49991 rm -f conftest.$ac_objext conftest.$ac_ext
49992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49993 echo "${ECHO_T}$ac_header_compiler" >&6
49995 # Is the header present?
49996 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49997 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49998 cat >conftest.$ac_ext <<_ACEOF
49999 #line $LINENO "configure"
50002 cat confdefs.h >>conftest.$ac_ext
50003 cat >>conftest.$ac_ext <<_ACEOF
50004 /* end confdefs.h. */
50005 #include <$ac_header>
50007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50010 grep -v '^ *+' conftest.er1 >conftest.err
50012 cat conftest.err >&5
50013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014 (exit $ac_status); } >/dev/null; then
50015 if test -s conftest.err; then
50016 ac_cpp_err=$ac_c_preproc_warn_flag
50023 if test -z "$ac_cpp_err"; then
50024 ac_header_preproc=yes
50026 echo "$as_me: failed program was:" >&5
50027 sed 's/^/| /' conftest.$ac_ext >&5
50029 ac_header_preproc=no
50031 rm -f conftest.err conftest.$ac_ext
50032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50033 echo "${ECHO_T}$ac_header_preproc" >&6
50035 # So? What about this header?
50036 case $ac_header_compiler:$ac_header_preproc in
50038 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50039 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50040 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50041 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50044 ## ------------------------------------ ##
50045 ## Report this to bug-autoconf@gnu.org. ##
50046 ## ------------------------------------ ##
50049 sed "s/^/$as_me: WARNING: /" >&2
50052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50060 ## ------------------------------------ ##
50061 ## Report this to bug-autoconf@gnu.org. ##
50062 ## ------------------------------------ ##
50065 sed "s/^/$as_me: WARNING: /" >&2
50068 echo "$as_me:$LINENO: checking for $ac_header" >&5
50069 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50070 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50071 echo $ECHO_N "(cached) $ECHO_C" >&6
50073 eval "$as_ac_Header=$ac_header_preproc"
50075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50079 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50080 cat >>confdefs.h <<_ACEOF
50081 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50083 ac_has_wctype_h=yes
50091 # Only continue checking if the ISO C99 headers exist and support is on.
50092 if test x"$ac_has_wchar_h" = xyes &&
50093 test x"$ac_has_wctype_h" = xyes &&
50094 test x"$enable_c_mbchar" != xno; then
50096 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50097 # numeric_limits can instantiate type_traits<wchar_t>
50098 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50099 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50100 cat >conftest.$ac_ext <<_ACEOF
50101 #line $LINENO "configure"
50104 cat confdefs.h >>conftest.$ac_ext
50105 cat >>conftest.$ac_ext <<_ACEOF
50106 /* end confdefs.h. */
50111 int i = WCHAR_MIN; int j = WCHAR_MAX;
50116 rm -f conftest.$ac_objext
50117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50118 (eval $ac_compile) 2>&5
50120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50121 (exit $ac_status); } &&
50122 { ac_try='test -s conftest.$ac_objext'
50123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50124 (eval $ac_try) 2>&5
50126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50127 (exit $ac_status); }; }; then
50128 has_wchar_minmax=yes
50130 echo "$as_me: failed program was:" >&5
50131 sed 's/^/| /' conftest.$ac_ext >&5
50133 has_wchar_minmax=no
50135 rm -f conftest.$ac_objext conftest.$ac_ext
50136 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50137 echo "${ECHO_T}$has_wchar_minmax" >&6
50139 # Test wchar.h for WEOF, which is what we use to determine whether
50140 # to specialize for char_traits<wchar_t> or not.
50141 echo "$as_me:$LINENO: checking for WEOF" >&5
50142 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50143 cat >conftest.$ac_ext <<_ACEOF
50144 #line $LINENO "configure"
50147 cat confdefs.h >>conftest.$ac_ext
50148 cat >>conftest.$ac_ext <<_ACEOF
50149 /* end confdefs.h. */
50152 #include <stddef.h>
50161 rm -f conftest.$ac_objext
50162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50163 (eval $ac_compile) 2>&5
50165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50166 (exit $ac_status); } &&
50167 { ac_try='test -s conftest.$ac_objext'
50168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50169 (eval $ac_try) 2>&5
50171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50172 (exit $ac_status); }; }; then
50175 echo "$as_me: failed program was:" >&5
50176 sed 's/^/| /' conftest.$ac_ext >&5
50180 rm -f conftest.$ac_objext conftest.$ac_ext
50181 echo "$as_me:$LINENO: result: $has_weof" >&5
50182 echo "${ECHO_T}$has_weof" >&6
50184 # Tests for wide character functions used in char_traits<wchar_t>.
50192 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50195 echo "$as_me:$LINENO: checking for $ac_func" >&5
50196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50197 if eval "test \"\${$as_ac_var+set}\" = set"; then
50198 echo $ECHO_N "(cached) $ECHO_C" >&6
50200 if test x$gcc_no_link = xyes; then
50201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50203 { (exit 1); exit 1; }; }
50205 cat >conftest.$ac_ext <<_ACEOF
50206 #line $LINENO "configure"
50209 cat confdefs.h >>conftest.$ac_ext
50210 cat >>conftest.$ac_ext <<_ACEOF
50211 /* end confdefs.h. */
50212 /* System header to define __stub macros and hopefully few prototypes,
50213 which can conflict with char $ac_func (); below.
50214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50215 <limits.h> exists even on freestanding compilers. */
50217 # include <limits.h>
50219 # include <assert.h>
50221 /* Override any gcc2 internal prototype to avoid an error. */
50226 /* We use char because int might match the return type of a gcc2
50227 builtin and then its argument prototype would still apply. */
50229 /* The GNU C library defines this for functions which it implements
50230 to always fail with ENOSYS. Some functions are actually named
50231 something starting with __ and the normal name is an alias. */
50232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50235 char (*f) () = $ac_func;
50244 return f != $ac_func;
50249 rm -f conftest.$ac_objext conftest$ac_exeext
50250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50251 (eval $ac_link) 2>&5
50253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50254 (exit $ac_status); } &&
50255 { ac_try='test -s conftest$ac_exeext'
50256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50257 (eval $ac_try) 2>&5
50259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50260 (exit $ac_status); }; }; then
50261 eval "$as_ac_var=yes"
50263 echo "$as_me: failed program was:" >&5
50264 sed 's/^/| /' conftest.$ac_ext >&5
50266 eval "$as_ac_var=no"
50268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50272 if test `eval echo '${'$as_ac_var'}'` = yes; then
50273 cat >>confdefs.h <<_ACEOF
50274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50283 # Checks for names injected into std:: by the c_std headers.
50330 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50331 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50332 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50333 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50334 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50335 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50338 echo "$as_me:$LINENO: checking for $ac_func" >&5
50339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50340 if eval "test \"\${$as_ac_var+set}\" = set"; then
50341 echo $ECHO_N "(cached) $ECHO_C" >&6
50343 if test x$gcc_no_link = xyes; then
50344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50346 { (exit 1); exit 1; }; }
50348 cat >conftest.$ac_ext <<_ACEOF
50349 #line $LINENO "configure"
50352 cat confdefs.h >>conftest.$ac_ext
50353 cat >>conftest.$ac_ext <<_ACEOF
50354 /* end confdefs.h. */
50355 /* System header to define __stub macros and hopefully few prototypes,
50356 which can conflict with char $ac_func (); below.
50357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50358 <limits.h> exists even on freestanding compilers. */
50360 # include <limits.h>
50362 # include <assert.h>
50364 /* Override any gcc2 internal prototype to avoid an error. */
50369 /* We use char because int might match the return type of a gcc2
50370 builtin and then its argument prototype would still apply. */
50372 /* The GNU C library defines this for functions which it implements
50373 to always fail with ENOSYS. Some functions are actually named
50374 something starting with __ and the normal name is an alias. */
50375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50378 char (*f) () = $ac_func;
50387 return f != $ac_func;
50392 rm -f conftest.$ac_objext conftest$ac_exeext
50393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50394 (eval $ac_link) 2>&5
50396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50397 (exit $ac_status); } &&
50398 { ac_try='test -s conftest$ac_exeext'
50399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50400 (eval $ac_try) 2>&5
50402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50403 (exit $ac_status); }; }; then
50404 eval "$as_ac_var=yes"
50406 echo "$as_me: failed program was:" >&5
50407 sed 's/^/| /' conftest.$ac_ext >&5
50409 eval "$as_ac_var=no"
50411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50415 if test `eval echo '${'$as_ac_var'}'` = yes; then
50416 cat >>confdefs.h <<_ACEOF
50417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50426 # Checks for wide character functions that are not required
50427 # for basic wchar_t support. Don't disable support if they are missing.
50428 # Injection of these is wrapped with guard macros.
50434 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50437 echo "$as_me:$LINENO: checking for $ac_func" >&5
50438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50439 if eval "test \"\${$as_ac_var+set}\" = set"; then
50440 echo $ECHO_N "(cached) $ECHO_C" >&6
50442 if test x$gcc_no_link = xyes; then
50443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50445 { (exit 1); exit 1; }; }
50447 cat >conftest.$ac_ext <<_ACEOF
50448 #line $LINENO "configure"
50451 cat confdefs.h >>conftest.$ac_ext
50452 cat >>conftest.$ac_ext <<_ACEOF
50453 /* end confdefs.h. */
50454 /* System header to define __stub macros and hopefully few prototypes,
50455 which can conflict with char $ac_func (); below.
50456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50457 <limits.h> exists even on freestanding compilers. */
50459 # include <limits.h>
50461 # include <assert.h>
50463 /* Override any gcc2 internal prototype to avoid an error. */
50468 /* We use char because int might match the return type of a gcc2
50469 builtin and then its argument prototype would still apply. */
50471 /* The GNU C library defines this for functions which it implements
50472 to always fail with ENOSYS. Some functions are actually named
50473 something starting with __ and the normal name is an alias. */
50474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50477 char (*f) () = $ac_func;
50486 return f != $ac_func;
50491 rm -f conftest.$ac_objext conftest$ac_exeext
50492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50493 (eval $ac_link) 2>&5
50495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50496 (exit $ac_status); } &&
50497 { ac_try='test -s conftest$ac_exeext'
50498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50499 (eval $ac_try) 2>&5
50501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50502 (exit $ac_status); }; }; then
50503 eval "$as_ac_var=yes"
50505 echo "$as_me: failed program was:" >&5
50506 sed 's/^/| /' conftest.$ac_ext >&5
50508 eval "$as_ac_var=no"
50510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50514 if test `eval echo '${'$as_ac_var'}'` = yes; then
50515 cat >>confdefs.h <<_ACEOF
50516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50523 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50524 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50525 if test x"$has_weof" = xyes &&
50526 test x"$has_wchar_minmax" = xyes &&
50527 test x"$ac_wfuncs" = xyes;
50529 ac_isoC99_wchar_t=yes
50531 ac_isoC99_wchar_t=no
50533 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50534 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50536 # Use iconv for wchar_t to char conversions. As such, check for
50537 # X/Open Portability Guide, version 2 features (XPG2).
50538 if test "${ac_cv_header_iconv_h+set}" = set; then
50539 echo "$as_me:$LINENO: checking for iconv.h" >&5
50540 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50541 if test "${ac_cv_header_iconv_h+set}" = set; then
50542 echo $ECHO_N "(cached) $ECHO_C" >&6
50544 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50545 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50547 # Is the header compilable?
50548 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50549 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50550 cat >conftest.$ac_ext <<_ACEOF
50551 #line $LINENO "configure"
50554 cat confdefs.h >>conftest.$ac_ext
50555 cat >>conftest.$ac_ext <<_ACEOF
50556 /* end confdefs.h. */
50557 $ac_includes_default
50560 rm -f conftest.$ac_objext
50561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50562 (eval $ac_compile) 2>&5
50564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50565 (exit $ac_status); } &&
50566 { ac_try='test -s conftest.$ac_objext'
50567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50568 (eval $ac_try) 2>&5
50570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50571 (exit $ac_status); }; }; then
50572 ac_header_compiler=yes
50574 echo "$as_me: failed program was:" >&5
50575 sed 's/^/| /' conftest.$ac_ext >&5
50577 ac_header_compiler=no
50579 rm -f conftest.$ac_objext conftest.$ac_ext
50580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50581 echo "${ECHO_T}$ac_header_compiler" >&6
50583 # Is the header present?
50584 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50585 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50586 cat >conftest.$ac_ext <<_ACEOF
50587 #line $LINENO "configure"
50590 cat confdefs.h >>conftest.$ac_ext
50591 cat >>conftest.$ac_ext <<_ACEOF
50592 /* end confdefs.h. */
50595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50598 grep -v '^ *+' conftest.er1 >conftest.err
50600 cat conftest.err >&5
50601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50602 (exit $ac_status); } >/dev/null; then
50603 if test -s conftest.err; then
50604 ac_cpp_err=$ac_c_preproc_warn_flag
50611 if test -z "$ac_cpp_err"; then
50612 ac_header_preproc=yes
50614 echo "$as_me: failed program was:" >&5
50615 sed 's/^/| /' conftest.$ac_ext >&5
50617 ac_header_preproc=no
50619 rm -f conftest.err conftest.$ac_ext
50620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50621 echo "${ECHO_T}$ac_header_preproc" >&6
50623 # So? What about this header?
50624 case $ac_header_compiler:$ac_header_preproc in
50626 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50627 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50628 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50629 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50632 ## ------------------------------------ ##
50633 ## Report this to bug-autoconf@gnu.org. ##
50634 ## ------------------------------------ ##
50637 sed "s/^/$as_me: WARNING: /" >&2
50640 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50641 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50642 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50643 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50644 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50645 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50648 ## ------------------------------------ ##
50649 ## Report this to bug-autoconf@gnu.org. ##
50650 ## ------------------------------------ ##
50653 sed "s/^/$as_me: WARNING: /" >&2
50656 echo "$as_me:$LINENO: checking for iconv.h" >&5
50657 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50658 if test "${ac_cv_header_iconv_h+set}" = set; then
50659 echo $ECHO_N "(cached) $ECHO_C" >&6
50661 ac_cv_header_iconv_h=$ac_header_preproc
50663 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50664 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50667 if test $ac_cv_header_iconv_h = yes; then
50674 if test "${ac_cv_header_langinfo_h+set}" = set; then
50675 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50676 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50677 if test "${ac_cv_header_langinfo_h+set}" = set; then
50678 echo $ECHO_N "(cached) $ECHO_C" >&6
50680 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50681 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50683 # Is the header compilable?
50684 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50685 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50686 cat >conftest.$ac_ext <<_ACEOF
50687 #line $LINENO "configure"
50690 cat confdefs.h >>conftest.$ac_ext
50691 cat >>conftest.$ac_ext <<_ACEOF
50692 /* end confdefs.h. */
50693 $ac_includes_default
50694 #include <langinfo.h>
50696 rm -f conftest.$ac_objext
50697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50698 (eval $ac_compile) 2>&5
50700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50701 (exit $ac_status); } &&
50702 { ac_try='test -s conftest.$ac_objext'
50703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50704 (eval $ac_try) 2>&5
50706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50707 (exit $ac_status); }; }; then
50708 ac_header_compiler=yes
50710 echo "$as_me: failed program was:" >&5
50711 sed 's/^/| /' conftest.$ac_ext >&5
50713 ac_header_compiler=no
50715 rm -f conftest.$ac_objext conftest.$ac_ext
50716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50717 echo "${ECHO_T}$ac_header_compiler" >&6
50719 # Is the header present?
50720 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50721 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50722 cat >conftest.$ac_ext <<_ACEOF
50723 #line $LINENO "configure"
50726 cat confdefs.h >>conftest.$ac_ext
50727 cat >>conftest.$ac_ext <<_ACEOF
50728 /* end confdefs.h. */
50729 #include <langinfo.h>
50731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50734 grep -v '^ *+' conftest.er1 >conftest.err
50736 cat conftest.err >&5
50737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738 (exit $ac_status); } >/dev/null; then
50739 if test -s conftest.err; then
50740 ac_cpp_err=$ac_c_preproc_warn_flag
50747 if test -z "$ac_cpp_err"; then
50748 ac_header_preproc=yes
50750 echo "$as_me: failed program was:" >&5
50751 sed 's/^/| /' conftest.$ac_ext >&5
50753 ac_header_preproc=no
50755 rm -f conftest.err conftest.$ac_ext
50756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50757 echo "${ECHO_T}$ac_header_preproc" >&6
50759 # So? What about this header?
50760 case $ac_header_compiler:$ac_header_preproc in
50762 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50763 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50764 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50765 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50768 ## ------------------------------------ ##
50769 ## Report this to bug-autoconf@gnu.org. ##
50770 ## ------------------------------------ ##
50773 sed "s/^/$as_me: WARNING: /" >&2
50776 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50777 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50778 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50779 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50780 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50781 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50784 ## ------------------------------------ ##
50785 ## Report this to bug-autoconf@gnu.org. ##
50786 ## ------------------------------------ ##
50789 sed "s/^/$as_me: WARNING: /" >&2
50792 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50793 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50794 if test "${ac_cv_header_langinfo_h+set}" = set; then
50795 echo $ECHO_N "(cached) $ECHO_C" >&6
50797 ac_cv_header_langinfo_h=$ac_header_preproc
50799 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50800 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50803 if test $ac_cv_header_langinfo_h = yes; then
50804 ac_has_langinfo_h=yes
50806 ac_has_langinfo_h=no
50811 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50812 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50813 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50814 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50815 echo $ECHO_N "(cached) $ECHO_C" >&6
50817 ac_check_lib_save_LIBS=$LIBS
50818 LIBS="-liconv $LIBS"
50819 if test x$gcc_no_link = xyes; then
50820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50822 { (exit 1); exit 1; }; }
50824 cat >conftest.$ac_ext <<_ACEOF
50825 #line $LINENO "configure"
50828 cat confdefs.h >>conftest.$ac_ext
50829 cat >>conftest.$ac_ext <<_ACEOF
50830 /* end confdefs.h. */
50832 /* Override any gcc2 internal prototype to avoid an error. */
50836 /* We use char because int might match the return type of a gcc2
50837 builtin and then its argument prototype would still apply. */
50847 rm -f conftest.$ac_objext conftest$ac_exeext
50848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50849 (eval $ac_link) 2>&5
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); } &&
50853 { ac_try='test -s conftest$ac_exeext'
50854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50855 (eval $ac_try) 2>&5
50857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50858 (exit $ac_status); }; }; then
50859 ac_cv_lib_iconv_iconv=yes
50861 echo "$as_me: failed program was:" >&5
50862 sed 's/^/| /' conftest.$ac_ext >&5
50864 ac_cv_lib_iconv_iconv=no
50866 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50867 LIBS=$ac_check_lib_save_LIBS
50869 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50870 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50871 if test $ac_cv_lib_iconv_iconv = yes; then
50875 ac_save_LIBS="$LIBS"
50876 LIBS="$LIBS $libiconv"
50882 for ac_func in iconv_open iconv_close iconv nl_langinfo
50884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50885 echo "$as_me:$LINENO: checking for $ac_func" >&5
50886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50887 if eval "test \"\${$as_ac_var+set}\" = set"; then
50888 echo $ECHO_N "(cached) $ECHO_C" >&6
50890 if test x$gcc_no_link = xyes; then
50891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50893 { (exit 1); exit 1; }; }
50895 cat >conftest.$ac_ext <<_ACEOF
50896 #line $LINENO "configure"
50899 cat confdefs.h >>conftest.$ac_ext
50900 cat >>conftest.$ac_ext <<_ACEOF
50901 /* end confdefs.h. */
50902 /* System header to define __stub macros and hopefully few prototypes,
50903 which can conflict with char $ac_func (); below.
50904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50905 <limits.h> exists even on freestanding compilers. */
50907 # include <limits.h>
50909 # include <assert.h>
50911 /* Override any gcc2 internal prototype to avoid an error. */
50916 /* We use char because int might match the return type of a gcc2
50917 builtin and then its argument prototype would still apply. */
50919 /* The GNU C library defines this for functions which it implements
50920 to always fail with ENOSYS. Some functions are actually named
50921 something starting with __ and the normal name is an alias. */
50922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50925 char (*f) () = $ac_func;
50934 return f != $ac_func;
50939 rm -f conftest.$ac_objext conftest$ac_exeext
50940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50941 (eval $ac_link) 2>&5
50943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944 (exit $ac_status); } &&
50945 { ac_try='test -s conftest$ac_exeext'
50946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50947 (eval $ac_try) 2>&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); }; }; then
50951 eval "$as_ac_var=yes"
50953 echo "$as_me: failed program was:" >&5
50954 sed 's/^/| /' conftest.$ac_ext >&5
50956 eval "$as_ac_var=no"
50958 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50962 if test `eval echo '${'$as_ac_var'}'` = yes; then
50963 cat >>confdefs.h <<_ACEOF
50964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50973 LIBS="$ac_save_LIBS"
50975 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
50976 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
50977 if test x"$ac_has_iconv_h" = xyes &&
50978 test x"$ac_has_langinfo_h" = xyes &&
50979 test x"$ac_XPG2funcs" = xyes;
50981 ac_XPG2_wchar_t=yes
50985 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
50986 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
50988 # At the moment, only enable wchar_t specializations if all the
50989 # above support is present.
50990 if test x"$ac_isoC99_wchar_t" = xyes &&
50991 test x"$ac_XPG2_wchar_t" = xyes;
50993 cat >>confdefs.h <<\_ACEOF
50994 #define _GLIBCXX_USE_WCHAR_T 1
51000 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51001 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51002 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51003 echo "${ECHO_T}$enable_wchar_t" >&6
51005 cat >>confdefs.h <<\_ACEOF
51006 #define HAVE_COPYSIGN 1
51009 cat >>confdefs.h <<\_ACEOF
51010 #define HAVE_COPYSIGNF 1
51013 cat >>confdefs.h <<\_ACEOF
51014 #define HAVE_FREXPF 1
51017 cat >>confdefs.h <<\_ACEOF
51018 #define HAVE_HYPOT 1
51023 cat >>confdefs.h <<\_ACEOF
51024 #define HAVE_FINITE 1
51027 cat >>confdefs.h <<\_ACEOF
51028 #define HAVE_FINITEF 1
51031 cat >>confdefs.h <<\_ACEOF
51032 #define HAVE_ISINF 1
51035 cat >>confdefs.h <<\_ACEOF
51036 #define HAVE_ISINFF 1
51039 cat >>confdefs.h <<\_ACEOF
51040 #define HAVE_ISNAN 1
51043 cat >>confdefs.h <<\_ACEOF
51044 #define HAVE_ISNANF 1
51050 *-linux* | *-uclinux*)
51051 #os_include_dir="os/gnu-linux"
51064 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
51065 machine/endian.h machine/param.h sys/machine.h sys/types.h \
51066 fp.h locale.h float.h inttypes.h
51068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51070 echo "$as_me:$LINENO: checking for $ac_header" >&5
51071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51073 echo $ECHO_N "(cached) $ECHO_C" >&6
51075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51078 # Is the header compilable?
51079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51081 cat >conftest.$ac_ext <<_ACEOF
51082 #line $LINENO "configure"
51085 cat confdefs.h >>conftest.$ac_ext
51086 cat >>conftest.$ac_ext <<_ACEOF
51087 /* end confdefs.h. */
51088 $ac_includes_default
51089 #include <$ac_header>
51091 rm -f conftest.$ac_objext
51092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51093 (eval $ac_compile) 2>&5
51095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51096 (exit $ac_status); } &&
51097 { ac_try='test -s conftest.$ac_objext'
51098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51099 (eval $ac_try) 2>&5
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); }; }; then
51103 ac_header_compiler=yes
51105 echo "$as_me: failed program was:" >&5
51106 sed 's/^/| /' conftest.$ac_ext >&5
51108 ac_header_compiler=no
51110 rm -f conftest.$ac_objext conftest.$ac_ext
51111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51112 echo "${ECHO_T}$ac_header_compiler" >&6
51114 # Is the header present?
51115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51117 cat >conftest.$ac_ext <<_ACEOF
51118 #line $LINENO "configure"
51121 cat confdefs.h >>conftest.$ac_ext
51122 cat >>conftest.$ac_ext <<_ACEOF
51123 /* end confdefs.h. */
51124 #include <$ac_header>
51126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51129 grep -v '^ *+' conftest.er1 >conftest.err
51131 cat conftest.err >&5
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); } >/dev/null; then
51134 if test -s conftest.err; then
51135 ac_cpp_err=$ac_c_preproc_warn_flag
51142 if test -z "$ac_cpp_err"; then
51143 ac_header_preproc=yes
51145 echo "$as_me: failed program was:" >&5
51146 sed 's/^/| /' conftest.$ac_ext >&5
51148 ac_header_preproc=no
51150 rm -f conftest.err conftest.$ac_ext
51151 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51152 echo "${ECHO_T}$ac_header_preproc" >&6
51154 # So? What about this header?
51155 case $ac_header_compiler:$ac_header_preproc in
51157 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51158 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51159 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51160 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51163 ## ------------------------------------ ##
51164 ## Report this to bug-autoconf@gnu.org. ##
51165 ## ------------------------------------ ##
51168 sed "s/^/$as_me: WARNING: /" >&2
51171 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51172 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51173 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51174 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51179 ## ------------------------------------ ##
51180 ## Report this to bug-autoconf@gnu.org. ##
51181 ## ------------------------------------ ##
51184 sed "s/^/$as_me: WARNING: /" >&2
51187 echo "$as_me:$LINENO: checking for $ac_header" >&5
51188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51190 echo $ECHO_N "(cached) $ECHO_C" >&6
51192 eval "$as_ac_Header=$ac_header_preproc"
51194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51198 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51199 cat >>confdefs.h <<_ACEOF
51200 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51207 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51210 # If we're not using GNU ld, then there's no point in even trying these
51211 # tests. Check for that first. We should have already tested for gld
51212 # by now (in libtool), but require it now just to be safe...
51213 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51214 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51218 # The name set by libtool depends on the version of libtool. Shame on us
51219 # for depending on an impl detail, but c'est la vie. Older versions used
51220 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51221 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51222 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51223 # set (hence we're using an older libtool), then set it.
51224 if test x${with_gnu_ld+set} != xset; then
51225 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51226 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51229 with_gnu_ld=$ac_cv_prog_gnu_ld
51233 # Start by getting the version number. I think the libtool test already
51234 # does some of this, but throws away the result.
51236 ldver=`$LD --version 2>/dev/null | head -1 | \
51237 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51239 glibcxx_gnu_ld_version=`echo $ldver | \
51240 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51242 # Set --gc-sections.
51243 if test "$with_gnu_ld" = "notbroken"; then
51244 # GNU ld it is! Joy and bunny rabbits!
51246 # All these tests are for C++; save the language and the compiler flags.
51247 # Need to do this so that g++ won't try to link in libstdc++
51248 ac_test_CFLAGS="${CFLAGS+set}"
51249 ac_save_CFLAGS="$CFLAGS"
51250 CFLAGS='-x c++ -Wl,--gc-sections'
51252 # Check for -Wl,--gc-sections
51253 # XXX This test is broken at the moment, as symbols required for linking
51254 # are now in libsupc++ (not built yet). In addition, this test has
51255 # cored on solaris in the past. In addition, --gc-sections doesn't
51256 # really work at the moment (keeps on discarding used sections, first
51257 # .eh_frame and now some of the glibc sections for iconv).
51258 # Bzzzzt. Thanks for playing, maybe next time.
51259 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51260 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51261 if test "$cross_compiling" = yes; then
51262 ac_sectionLDflags=yes
51264 cat >conftest.$ac_ext <<_ACEOF
51265 #line $LINENO "configure"
51268 cat confdefs.h >>conftest.$ac_ext
51269 cat >>conftest.$ac_ext <<_ACEOF
51270 /* end confdefs.h. */
51280 rm -f conftest$ac_exeext
51281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51282 (eval $ac_link) 2>&5
51284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51287 (eval $ac_try) 2>&5
51289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51290 (exit $ac_status); }; }; then
51291 ac_sectionLDflags=yes
51293 echo "$as_me: program exited with status $ac_status" >&5
51294 echo "$as_me: failed program was:" >&5
51295 sed 's/^/| /' conftest.$ac_ext >&5
51297 ( exit $ac_status )
51298 ac_sectionLDflags=no
51300 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51302 if test "$ac_test_CFLAGS" = set; then
51303 CFLAGS="$ac_save_CFLAGS"
51305 # this is the suspicious part
51308 if test "$ac_sectionLDflags" = "yes"; then
51309 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51311 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51312 echo "${ECHO_T}$ac_sectionLDflags" >&6
51315 # Set linker optimization flags.
51316 if test x"$with_gnu_ld" = x"yes"; then
51317 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51325 echo "$as_me:$LINENO: checking for main in -lm" >&5
51326 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51327 if test "${ac_cv_lib_m_main+set}" = set; then
51328 echo $ECHO_N "(cached) $ECHO_C" >&6
51330 ac_check_lib_save_LIBS=$LIBS
51332 if test x$gcc_no_link = xyes; then
51333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51335 { (exit 1); exit 1; }; }
51337 cat >conftest.$ac_ext <<_ACEOF
51338 #line $LINENO "configure"
51341 cat confdefs.h >>conftest.$ac_ext
51342 cat >>conftest.$ac_ext <<_ACEOF
51343 /* end confdefs.h. */
51354 rm -f conftest.$ac_objext conftest$ac_exeext
51355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51356 (eval $ac_link) 2>&5
51358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51359 (exit $ac_status); } &&
51360 { ac_try='test -s conftest$ac_exeext'
51361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51362 (eval $ac_try) 2>&5
51364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51365 (exit $ac_status); }; }; then
51366 ac_cv_lib_m_main=yes
51368 echo "$as_me: failed program was:" >&5
51369 sed 's/^/| /' conftest.$ac_ext >&5
51371 ac_cv_lib_m_main=no
51373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51374 LIBS=$ac_check_lib_save_LIBS
51376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51377 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51378 if test $ac_cv_lib_m_main = yes; then
51379 cat >>confdefs.h <<_ACEOF
51380 #define HAVE_LIBM 1
51389 for ac_func in nan copysignf
51391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51392 echo "$as_me:$LINENO: checking for $ac_func" >&5
51393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51394 if eval "test \"\${$as_ac_var+set}\" = set"; then
51395 echo $ECHO_N "(cached) $ECHO_C" >&6
51397 if test x$gcc_no_link = xyes; then
51398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51400 { (exit 1); exit 1; }; }
51402 cat >conftest.$ac_ext <<_ACEOF
51403 #line $LINENO "configure"
51406 cat confdefs.h >>conftest.$ac_ext
51407 cat >>conftest.$ac_ext <<_ACEOF
51408 /* end confdefs.h. */
51409 /* System header to define __stub macros and hopefully few prototypes,
51410 which can conflict with char $ac_func (); below.
51411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51412 <limits.h> exists even on freestanding compilers. */
51414 # include <limits.h>
51416 # include <assert.h>
51418 /* Override any gcc2 internal prototype to avoid an error. */
51423 /* We use char because int might match the return type of a gcc2
51424 builtin and then its argument prototype would still apply. */
51426 /* The GNU C library defines this for functions which it implements
51427 to always fail with ENOSYS. Some functions are actually named
51428 something starting with __ and the normal name is an alias. */
51429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51432 char (*f) () = $ac_func;
51441 return f != $ac_func;
51446 rm -f conftest.$ac_objext conftest$ac_exeext
51447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51448 (eval $ac_link) 2>&5
51450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51451 (exit $ac_status); } &&
51452 { ac_try='test -s conftest$ac_exeext'
51453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51454 (eval $ac_try) 2>&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); }; }; then
51458 eval "$as_ac_var=yes"
51460 echo "$as_me: failed program was:" >&5
51461 sed 's/^/| /' conftest.$ac_ext >&5
51463 eval "$as_ac_var=no"
51465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51469 if test `eval echo '${'$as_ac_var'}'` = yes; then
51470 cat >>confdefs.h <<_ACEOF
51471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51475 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51481 for ac_func in __signbit
51483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51484 echo "$as_me:$LINENO: checking for $ac_func" >&5
51485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51486 if eval "test \"\${$as_ac_var+set}\" = set"; then
51487 echo $ECHO_N "(cached) $ECHO_C" >&6
51489 if test x$gcc_no_link = xyes; then
51490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51492 { (exit 1); exit 1; }; }
51494 cat >conftest.$ac_ext <<_ACEOF
51495 #line $LINENO "configure"
51498 cat confdefs.h >>conftest.$ac_ext
51499 cat >>conftest.$ac_ext <<_ACEOF
51500 /* end confdefs.h. */
51501 /* System header to define __stub macros and hopefully few prototypes,
51502 which can conflict with char $ac_func (); below.
51503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51504 <limits.h> exists even on freestanding compilers. */
51506 # include <limits.h>
51508 # include <assert.h>
51510 /* Override any gcc2 internal prototype to avoid an error. */
51515 /* We use char because int might match the return type of a gcc2
51516 builtin and then its argument prototype would still apply. */
51518 /* The GNU C library defines this for functions which it implements
51519 to always fail with ENOSYS. Some functions are actually named
51520 something starting with __ and the normal name is an alias. */
51521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51524 char (*f) () = $ac_func;
51533 return f != $ac_func;
51538 rm -f conftest.$ac_objext conftest$ac_exeext
51539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51540 (eval $ac_link) 2>&5
51542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51543 (exit $ac_status); } &&
51544 { ac_try='test -s conftest$ac_exeext'
51545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51546 (eval $ac_try) 2>&5
51548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549 (exit $ac_status); }; }; then
51550 eval "$as_ac_var=yes"
51552 echo "$as_me: failed program was:" >&5
51553 sed 's/^/| /' conftest.$ac_ext >&5
51555 eval "$as_ac_var=no"
51557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51561 if test `eval echo '${'$as_ac_var'}'` = yes; then
51562 cat >>confdefs.h <<_ACEOF
51563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51567 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51572 for ac_func in __signbitf
51574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51575 echo "$as_me:$LINENO: checking for $ac_func" >&5
51576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51577 if eval "test \"\${$as_ac_var+set}\" = set"; then
51578 echo $ECHO_N "(cached) $ECHO_C" >&6
51580 if test x$gcc_no_link = xyes; then
51581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51583 { (exit 1); exit 1; }; }
51585 cat >conftest.$ac_ext <<_ACEOF
51586 #line $LINENO "configure"
51589 cat confdefs.h >>conftest.$ac_ext
51590 cat >>conftest.$ac_ext <<_ACEOF
51591 /* end confdefs.h. */
51592 /* System header to define __stub macros and hopefully few prototypes,
51593 which can conflict with char $ac_func (); below.
51594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51595 <limits.h> exists even on freestanding compilers. */
51597 # include <limits.h>
51599 # include <assert.h>
51601 /* Override any gcc2 internal prototype to avoid an error. */
51606 /* We use char because int might match the return type of a gcc2
51607 builtin and then its argument prototype would still apply. */
51609 /* The GNU C library defines this for functions which it implements
51610 to always fail with ENOSYS. Some functions are actually named
51611 something starting with __ and the normal name is an alias. */
51612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51615 char (*f) () = $ac_func;
51624 return f != $ac_func;
51629 rm -f conftest.$ac_objext conftest$ac_exeext
51630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51631 (eval $ac_link) 2>&5
51633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634 (exit $ac_status); } &&
51635 { ac_try='test -s conftest$ac_exeext'
51636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51637 (eval $ac_try) 2>&5
51639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51640 (exit $ac_status); }; }; then
51641 eval "$as_ac_var=yes"
51643 echo "$as_me: failed program was:" >&5
51644 sed 's/^/| /' conftest.$ac_ext >&5
51646 eval "$as_ac_var=no"
51648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51652 if test `eval echo '${'$as_ac_var'}'` = yes; then
51653 cat >>confdefs.h <<_ACEOF
51654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51658 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51663 if test x$ac_cv_func_copysignl = x"yes"; then
51665 for ac_func in __signbitl
51667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51668 echo "$as_me:$LINENO: checking for $ac_func" >&5
51669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51670 if eval "test \"\${$as_ac_var+set}\" = set"; then
51671 echo $ECHO_N "(cached) $ECHO_C" >&6
51673 if test x$gcc_no_link = xyes; then
51674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51676 { (exit 1); exit 1; }; }
51678 cat >conftest.$ac_ext <<_ACEOF
51679 #line $LINENO "configure"
51682 cat confdefs.h >>conftest.$ac_ext
51683 cat >>conftest.$ac_ext <<_ACEOF
51684 /* end confdefs.h. */
51685 /* System header to define __stub macros and hopefully few prototypes,
51686 which can conflict with char $ac_func (); below.
51687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51688 <limits.h> exists even on freestanding compilers. */
51690 # include <limits.h>
51692 # include <assert.h>
51694 /* Override any gcc2 internal prototype to avoid an error. */
51699 /* We use char because int might match the return type of a gcc2
51700 builtin and then its argument prototype would still apply. */
51702 /* The GNU C library defines this for functions which it implements
51703 to always fail with ENOSYS. Some functions are actually named
51704 something starting with __ and the normal name is an alias. */
51705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51708 char (*f) () = $ac_func;
51717 return f != $ac_func;
51722 rm -f conftest.$ac_objext conftest$ac_exeext
51723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51724 (eval $ac_link) 2>&5
51726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51727 (exit $ac_status); } &&
51728 { ac_try='test -s conftest$ac_exeext'
51729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51730 (eval $ac_try) 2>&5
51732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51733 (exit $ac_status); }; }; then
51734 eval "$as_ac_var=yes"
51736 echo "$as_me: failed program was:" >&5
51737 sed 's/^/| /' conftest.$ac_ext >&5
51739 eval "$as_ac_var=no"
51741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51745 if test `eval echo '${'$as_ac_var'}'` = yes; then
51746 cat >>confdefs.h <<_ACEOF
51747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51751 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51757 # XXX Review this. Nothing uses it.
51758 if test -n "$LIBMATHOBJS"; then
51764 # Test wchar.h for mbstate_t, which is needed for char_traits and
51765 # others even if wchar_t support is not on.
51766 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51767 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51768 cat >conftest.$ac_ext <<_ACEOF
51769 #line $LINENO "configure"
51772 cat confdefs.h >>conftest.$ac_ext
51773 cat >>conftest.$ac_ext <<_ACEOF
51774 /* end confdefs.h. */
51779 mbstate_t teststate;
51784 rm -f conftest.$ac_objext
51785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51786 (eval $ac_compile) 2>&5
51788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789 (exit $ac_status); } &&
51790 { ac_try='test -s conftest.$ac_objext'
51791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51792 (eval $ac_try) 2>&5
51794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51795 (exit $ac_status); }; }; then
51798 echo "$as_me: failed program was:" >&5
51799 sed 's/^/| /' conftest.$ac_ext >&5
51803 rm -f conftest.$ac_objext conftest.$ac_ext
51804 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51805 echo "${ECHO_T}$have_mbstate_t" >&6
51806 if test x"$have_mbstate_t" = xyes; then
51807 cat >>confdefs.h <<\_ACEOF
51808 #define HAVE_MBSTATE_T 1
51813 # Sanity check for existence of ISO C99 headers for extended encoding.
51815 for ac_header in wchar.h
51817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51819 echo "$as_me:$LINENO: checking for $ac_header" >&5
51820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51822 echo $ECHO_N "(cached) $ECHO_C" >&6
51824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51827 # Is the header compilable?
51828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51830 cat >conftest.$ac_ext <<_ACEOF
51831 #line $LINENO "configure"
51834 cat confdefs.h >>conftest.$ac_ext
51835 cat >>conftest.$ac_ext <<_ACEOF
51836 /* end confdefs.h. */
51837 $ac_includes_default
51838 #include <$ac_header>
51840 rm -f conftest.$ac_objext
51841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51842 (eval $ac_compile) 2>&5
51844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51845 (exit $ac_status); } &&
51846 { ac_try='test -s conftest.$ac_objext'
51847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51848 (eval $ac_try) 2>&5
51850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51851 (exit $ac_status); }; }; then
51852 ac_header_compiler=yes
51854 echo "$as_me: failed program was:" >&5
51855 sed 's/^/| /' conftest.$ac_ext >&5
51857 ac_header_compiler=no
51859 rm -f conftest.$ac_objext conftest.$ac_ext
51860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51861 echo "${ECHO_T}$ac_header_compiler" >&6
51863 # Is the header present?
51864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51866 cat >conftest.$ac_ext <<_ACEOF
51867 #line $LINENO "configure"
51870 cat confdefs.h >>conftest.$ac_ext
51871 cat >>conftest.$ac_ext <<_ACEOF
51872 /* end confdefs.h. */
51873 #include <$ac_header>
51875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51878 grep -v '^ *+' conftest.er1 >conftest.err
51880 cat conftest.err >&5
51881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51882 (exit $ac_status); } >/dev/null; then
51883 if test -s conftest.err; then
51884 ac_cpp_err=$ac_c_preproc_warn_flag
51891 if test -z "$ac_cpp_err"; then
51892 ac_header_preproc=yes
51894 echo "$as_me: failed program was:" >&5
51895 sed 's/^/| /' conftest.$ac_ext >&5
51897 ac_header_preproc=no
51899 rm -f conftest.err conftest.$ac_ext
51900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51901 echo "${ECHO_T}$ac_header_preproc" >&6
51903 # So? What about this header?
51904 case $ac_header_compiler:$ac_header_preproc in
51906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51912 ## ------------------------------------ ##
51913 ## Report this to bug-autoconf@gnu.org. ##
51914 ## ------------------------------------ ##
51917 sed "s/^/$as_me: WARNING: /" >&2
51920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51928 ## ------------------------------------ ##
51929 ## Report this to bug-autoconf@gnu.org. ##
51930 ## ------------------------------------ ##
51933 sed "s/^/$as_me: WARNING: /" >&2
51936 echo "$as_me:$LINENO: checking for $ac_header" >&5
51937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51939 echo $ECHO_N "(cached) $ECHO_C" >&6
51941 eval "$as_ac_Header=$ac_header_preproc"
51943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51948 cat >>confdefs.h <<_ACEOF
51949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51959 for ac_header in wctype.h
51961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51963 echo "$as_me:$LINENO: checking for $ac_header" >&5
51964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51966 echo $ECHO_N "(cached) $ECHO_C" >&6
51968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51971 # Is the header compilable?
51972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51974 cat >conftest.$ac_ext <<_ACEOF
51975 #line $LINENO "configure"
51978 cat confdefs.h >>conftest.$ac_ext
51979 cat >>conftest.$ac_ext <<_ACEOF
51980 /* end confdefs.h. */
51981 $ac_includes_default
51982 #include <$ac_header>
51984 rm -f conftest.$ac_objext
51985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51986 (eval $ac_compile) 2>&5
51988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51989 (exit $ac_status); } &&
51990 { ac_try='test -s conftest.$ac_objext'
51991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51992 (eval $ac_try) 2>&5
51994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51995 (exit $ac_status); }; }; then
51996 ac_header_compiler=yes
51998 echo "$as_me: failed program was:" >&5
51999 sed 's/^/| /' conftest.$ac_ext >&5
52001 ac_header_compiler=no
52003 rm -f conftest.$ac_objext conftest.$ac_ext
52004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52005 echo "${ECHO_T}$ac_header_compiler" >&6
52007 # Is the header present?
52008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52010 cat >conftest.$ac_ext <<_ACEOF
52011 #line $LINENO "configure"
52014 cat confdefs.h >>conftest.$ac_ext
52015 cat >>conftest.$ac_ext <<_ACEOF
52016 /* end confdefs.h. */
52017 #include <$ac_header>
52019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52022 grep -v '^ *+' conftest.er1 >conftest.err
52024 cat conftest.err >&5
52025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52026 (exit $ac_status); } >/dev/null; then
52027 if test -s conftest.err; then
52028 ac_cpp_err=$ac_c_preproc_warn_flag
52035 if test -z "$ac_cpp_err"; then
52036 ac_header_preproc=yes
52038 echo "$as_me: failed program was:" >&5
52039 sed 's/^/| /' conftest.$ac_ext >&5
52041 ac_header_preproc=no
52043 rm -f conftest.err conftest.$ac_ext
52044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52045 echo "${ECHO_T}$ac_header_preproc" >&6
52047 # So? What about this header?
52048 case $ac_header_compiler:$ac_header_preproc in
52050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52056 ## ------------------------------------ ##
52057 ## Report this to bug-autoconf@gnu.org. ##
52058 ## ------------------------------------ ##
52061 sed "s/^/$as_me: WARNING: /" >&2
52064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52072 ## ------------------------------------ ##
52073 ## Report this to bug-autoconf@gnu.org. ##
52074 ## ------------------------------------ ##
52077 sed "s/^/$as_me: WARNING: /" >&2
52080 echo "$as_me:$LINENO: checking for $ac_header" >&5
52081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52083 echo $ECHO_N "(cached) $ECHO_C" >&6
52085 eval "$as_ac_Header=$ac_header_preproc"
52087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52092 cat >>confdefs.h <<_ACEOF
52093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52095 ac_has_wctype_h=yes
52103 # Only continue checking if the ISO C99 headers exist and support is on.
52104 if test x"$ac_has_wchar_h" = xyes &&
52105 test x"$ac_has_wctype_h" = xyes &&
52106 test x"$enable_c_mbchar" != xno; then
52108 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52109 # numeric_limits can instantiate type_traits<wchar_t>
52110 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52111 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52112 cat >conftest.$ac_ext <<_ACEOF
52113 #line $LINENO "configure"
52116 cat confdefs.h >>conftest.$ac_ext
52117 cat >>conftest.$ac_ext <<_ACEOF
52118 /* end confdefs.h. */
52123 int i = WCHAR_MIN; int j = WCHAR_MAX;
52128 rm -f conftest.$ac_objext
52129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52130 (eval $ac_compile) 2>&5
52132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52133 (exit $ac_status); } &&
52134 { ac_try='test -s conftest.$ac_objext'
52135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52136 (eval $ac_try) 2>&5
52138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52139 (exit $ac_status); }; }; then
52140 has_wchar_minmax=yes
52142 echo "$as_me: failed program was:" >&5
52143 sed 's/^/| /' conftest.$ac_ext >&5
52145 has_wchar_minmax=no
52147 rm -f conftest.$ac_objext conftest.$ac_ext
52148 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52149 echo "${ECHO_T}$has_wchar_minmax" >&6
52151 # Test wchar.h for WEOF, which is what we use to determine whether
52152 # to specialize for char_traits<wchar_t> or not.
52153 echo "$as_me:$LINENO: checking for WEOF" >&5
52154 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52155 cat >conftest.$ac_ext <<_ACEOF
52156 #line $LINENO "configure"
52159 cat confdefs.h >>conftest.$ac_ext
52160 cat >>conftest.$ac_ext <<_ACEOF
52161 /* end confdefs.h. */
52164 #include <stddef.h>
52173 rm -f conftest.$ac_objext
52174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52175 (eval $ac_compile) 2>&5
52177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52178 (exit $ac_status); } &&
52179 { ac_try='test -s conftest.$ac_objext'
52180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52181 (eval $ac_try) 2>&5
52183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52184 (exit $ac_status); }; }; then
52187 echo "$as_me: failed program was:" >&5
52188 sed 's/^/| /' conftest.$ac_ext >&5
52192 rm -f conftest.$ac_objext conftest.$ac_ext
52193 echo "$as_me:$LINENO: result: $has_weof" >&5
52194 echo "${ECHO_T}$has_weof" >&6
52196 # Tests for wide character functions used in char_traits<wchar_t>.
52204 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52207 echo "$as_me:$LINENO: checking for $ac_func" >&5
52208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52209 if eval "test \"\${$as_ac_var+set}\" = set"; then
52210 echo $ECHO_N "(cached) $ECHO_C" >&6
52212 if test x$gcc_no_link = xyes; then
52213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52215 { (exit 1); exit 1; }; }
52217 cat >conftest.$ac_ext <<_ACEOF
52218 #line $LINENO "configure"
52221 cat confdefs.h >>conftest.$ac_ext
52222 cat >>conftest.$ac_ext <<_ACEOF
52223 /* end confdefs.h. */
52224 /* System header to define __stub macros and hopefully few prototypes,
52225 which can conflict with char $ac_func (); below.
52226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52227 <limits.h> exists even on freestanding compilers. */
52229 # include <limits.h>
52231 # include <assert.h>
52233 /* Override any gcc2 internal prototype to avoid an error. */
52238 /* We use char because int might match the return type of a gcc2
52239 builtin and then its argument prototype would still apply. */
52241 /* The GNU C library defines this for functions which it implements
52242 to always fail with ENOSYS. Some functions are actually named
52243 something starting with __ and the normal name is an alias. */
52244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52247 char (*f) () = $ac_func;
52256 return f != $ac_func;
52261 rm -f conftest.$ac_objext conftest$ac_exeext
52262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52263 (eval $ac_link) 2>&5
52265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52266 (exit $ac_status); } &&
52267 { ac_try='test -s conftest$ac_exeext'
52268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52269 (eval $ac_try) 2>&5
52271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272 (exit $ac_status); }; }; then
52273 eval "$as_ac_var=yes"
52275 echo "$as_me: failed program was:" >&5
52276 sed 's/^/| /' conftest.$ac_ext >&5
52278 eval "$as_ac_var=no"
52280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52284 if test `eval echo '${'$as_ac_var'}'` = yes; then
52285 cat >>confdefs.h <<_ACEOF
52286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52295 # Checks for names injected into std:: by the c_std headers.
52342 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52343 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52344 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52345 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52346 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52347 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52350 echo "$as_me:$LINENO: checking for $ac_func" >&5
52351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52352 if eval "test \"\${$as_ac_var+set}\" = set"; then
52353 echo $ECHO_N "(cached) $ECHO_C" >&6
52355 if test x$gcc_no_link = xyes; then
52356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52358 { (exit 1); exit 1; }; }
52360 cat >conftest.$ac_ext <<_ACEOF
52361 #line $LINENO "configure"
52364 cat confdefs.h >>conftest.$ac_ext
52365 cat >>conftest.$ac_ext <<_ACEOF
52366 /* end confdefs.h. */
52367 /* System header to define __stub macros and hopefully few prototypes,
52368 which can conflict with char $ac_func (); below.
52369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52370 <limits.h> exists even on freestanding compilers. */
52372 # include <limits.h>
52374 # include <assert.h>
52376 /* Override any gcc2 internal prototype to avoid an error. */
52381 /* We use char because int might match the return type of a gcc2
52382 builtin and then its argument prototype would still apply. */
52384 /* The GNU C library defines this for functions which it implements
52385 to always fail with ENOSYS. Some functions are actually named
52386 something starting with __ and the normal name is an alias. */
52387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52390 char (*f) () = $ac_func;
52399 return f != $ac_func;
52404 rm -f conftest.$ac_objext conftest$ac_exeext
52405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52406 (eval $ac_link) 2>&5
52408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52409 (exit $ac_status); } &&
52410 { ac_try='test -s conftest$ac_exeext'
52411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52412 (eval $ac_try) 2>&5
52414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52415 (exit $ac_status); }; }; then
52416 eval "$as_ac_var=yes"
52418 echo "$as_me: failed program was:" >&5
52419 sed 's/^/| /' conftest.$ac_ext >&5
52421 eval "$as_ac_var=no"
52423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52427 if test `eval echo '${'$as_ac_var'}'` = yes; then
52428 cat >>confdefs.h <<_ACEOF
52429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52438 # Checks for wide character functions that are not required
52439 # for basic wchar_t support. Don't disable support if they are missing.
52440 # Injection of these is wrapped with guard macros.
52446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52449 echo "$as_me:$LINENO: checking for $ac_func" >&5
52450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52451 if eval "test \"\${$as_ac_var+set}\" = set"; then
52452 echo $ECHO_N "(cached) $ECHO_C" >&6
52454 if test x$gcc_no_link = xyes; then
52455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52457 { (exit 1); exit 1; }; }
52459 cat >conftest.$ac_ext <<_ACEOF
52460 #line $LINENO "configure"
52463 cat confdefs.h >>conftest.$ac_ext
52464 cat >>conftest.$ac_ext <<_ACEOF
52465 /* end confdefs.h. */
52466 /* System header to define __stub macros and hopefully few prototypes,
52467 which can conflict with char $ac_func (); below.
52468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52469 <limits.h> exists even on freestanding compilers. */
52471 # include <limits.h>
52473 # include <assert.h>
52475 /* Override any gcc2 internal prototype to avoid an error. */
52480 /* We use char because int might match the return type of a gcc2
52481 builtin and then its argument prototype would still apply. */
52483 /* The GNU C library defines this for functions which it implements
52484 to always fail with ENOSYS. Some functions are actually named
52485 something starting with __ and the normal name is an alias. */
52486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52489 char (*f) () = $ac_func;
52498 return f != $ac_func;
52503 rm -f conftest.$ac_objext conftest$ac_exeext
52504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52505 (eval $ac_link) 2>&5
52507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52508 (exit $ac_status); } &&
52509 { ac_try='test -s conftest$ac_exeext'
52510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52511 (eval $ac_try) 2>&5
52513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52514 (exit $ac_status); }; }; then
52515 eval "$as_ac_var=yes"
52517 echo "$as_me: failed program was:" >&5
52518 sed 's/^/| /' conftest.$ac_ext >&5
52520 eval "$as_ac_var=no"
52522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52526 if test `eval echo '${'$as_ac_var'}'` = yes; then
52527 cat >>confdefs.h <<_ACEOF
52528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52535 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52536 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52537 if test x"$has_weof" = xyes &&
52538 test x"$has_wchar_minmax" = xyes &&
52539 test x"$ac_wfuncs" = xyes;
52541 ac_isoC99_wchar_t=yes
52543 ac_isoC99_wchar_t=no
52545 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52546 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52548 # Use iconv for wchar_t to char conversions. As such, check for
52549 # X/Open Portability Guide, version 2 features (XPG2).
52550 if test "${ac_cv_header_iconv_h+set}" = set; then
52551 echo "$as_me:$LINENO: checking for iconv.h" >&5
52552 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52553 if test "${ac_cv_header_iconv_h+set}" = set; then
52554 echo $ECHO_N "(cached) $ECHO_C" >&6
52556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52559 # Is the header compilable?
52560 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52561 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52562 cat >conftest.$ac_ext <<_ACEOF
52563 #line $LINENO "configure"
52566 cat confdefs.h >>conftest.$ac_ext
52567 cat >>conftest.$ac_ext <<_ACEOF
52568 /* end confdefs.h. */
52569 $ac_includes_default
52572 rm -f conftest.$ac_objext
52573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52574 (eval $ac_compile) 2>&5
52576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577 (exit $ac_status); } &&
52578 { ac_try='test -s conftest.$ac_objext'
52579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52580 (eval $ac_try) 2>&5
52582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52583 (exit $ac_status); }; }; then
52584 ac_header_compiler=yes
52586 echo "$as_me: failed program was:" >&5
52587 sed 's/^/| /' conftest.$ac_ext >&5
52589 ac_header_compiler=no
52591 rm -f conftest.$ac_objext conftest.$ac_ext
52592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52593 echo "${ECHO_T}$ac_header_compiler" >&6
52595 # Is the header present?
52596 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52597 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52598 cat >conftest.$ac_ext <<_ACEOF
52599 #line $LINENO "configure"
52602 cat confdefs.h >>conftest.$ac_ext
52603 cat >>conftest.$ac_ext <<_ACEOF
52604 /* end confdefs.h. */
52607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52610 grep -v '^ *+' conftest.er1 >conftest.err
52612 cat conftest.err >&5
52613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52614 (exit $ac_status); } >/dev/null; then
52615 if test -s conftest.err; then
52616 ac_cpp_err=$ac_c_preproc_warn_flag
52623 if test -z "$ac_cpp_err"; then
52624 ac_header_preproc=yes
52626 echo "$as_me: failed program was:" >&5
52627 sed 's/^/| /' conftest.$ac_ext >&5
52629 ac_header_preproc=no
52631 rm -f conftest.err conftest.$ac_ext
52632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52633 echo "${ECHO_T}$ac_header_preproc" >&6
52635 # So? What about this header?
52636 case $ac_header_compiler:$ac_header_preproc in
52638 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52639 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52640 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52641 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52644 ## ------------------------------------ ##
52645 ## Report this to bug-autoconf@gnu.org. ##
52646 ## ------------------------------------ ##
52649 sed "s/^/$as_me: WARNING: /" >&2
52652 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52653 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52654 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52655 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52656 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52657 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52660 ## ------------------------------------ ##
52661 ## Report this to bug-autoconf@gnu.org. ##
52662 ## ------------------------------------ ##
52665 sed "s/^/$as_me: WARNING: /" >&2
52668 echo "$as_me:$LINENO: checking for iconv.h" >&5
52669 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52670 if test "${ac_cv_header_iconv_h+set}" = set; then
52671 echo $ECHO_N "(cached) $ECHO_C" >&6
52673 ac_cv_header_iconv_h=$ac_header_preproc
52675 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52676 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52679 if test $ac_cv_header_iconv_h = yes; then
52686 if test "${ac_cv_header_langinfo_h+set}" = set; then
52687 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52689 if test "${ac_cv_header_langinfo_h+set}" = set; then
52690 echo $ECHO_N "(cached) $ECHO_C" >&6
52692 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52693 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52695 # Is the header compilable?
52696 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52697 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52698 cat >conftest.$ac_ext <<_ACEOF
52699 #line $LINENO "configure"
52702 cat confdefs.h >>conftest.$ac_ext
52703 cat >>conftest.$ac_ext <<_ACEOF
52704 /* end confdefs.h. */
52705 $ac_includes_default
52706 #include <langinfo.h>
52708 rm -f conftest.$ac_objext
52709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52710 (eval $ac_compile) 2>&5
52712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52713 (exit $ac_status); } &&
52714 { ac_try='test -s conftest.$ac_objext'
52715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52716 (eval $ac_try) 2>&5
52718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52719 (exit $ac_status); }; }; then
52720 ac_header_compiler=yes
52722 echo "$as_me: failed program was:" >&5
52723 sed 's/^/| /' conftest.$ac_ext >&5
52725 ac_header_compiler=no
52727 rm -f conftest.$ac_objext conftest.$ac_ext
52728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52729 echo "${ECHO_T}$ac_header_compiler" >&6
52731 # Is the header present?
52732 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52733 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52734 cat >conftest.$ac_ext <<_ACEOF
52735 #line $LINENO "configure"
52738 cat confdefs.h >>conftest.$ac_ext
52739 cat >>conftest.$ac_ext <<_ACEOF
52740 /* end confdefs.h. */
52741 #include <langinfo.h>
52743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52746 grep -v '^ *+' conftest.er1 >conftest.err
52748 cat conftest.err >&5
52749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52750 (exit $ac_status); } >/dev/null; then
52751 if test -s conftest.err; then
52752 ac_cpp_err=$ac_c_preproc_warn_flag
52759 if test -z "$ac_cpp_err"; then
52760 ac_header_preproc=yes
52762 echo "$as_me: failed program was:" >&5
52763 sed 's/^/| /' conftest.$ac_ext >&5
52765 ac_header_preproc=no
52767 rm -f conftest.err conftest.$ac_ext
52768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52769 echo "${ECHO_T}$ac_header_preproc" >&6
52771 # So? What about this header?
52772 case $ac_header_compiler:$ac_header_preproc in
52774 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52775 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52776 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52777 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52780 ## ------------------------------------ ##
52781 ## Report this to bug-autoconf@gnu.org. ##
52782 ## ------------------------------------ ##
52785 sed "s/^/$as_me: WARNING: /" >&2
52788 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52789 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52790 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52791 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52792 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52793 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52796 ## ------------------------------------ ##
52797 ## Report this to bug-autoconf@gnu.org. ##
52798 ## ------------------------------------ ##
52801 sed "s/^/$as_me: WARNING: /" >&2
52804 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52805 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52806 if test "${ac_cv_header_langinfo_h+set}" = set; then
52807 echo $ECHO_N "(cached) $ECHO_C" >&6
52809 ac_cv_header_langinfo_h=$ac_header_preproc
52811 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52812 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52815 if test $ac_cv_header_langinfo_h = yes; then
52816 ac_has_langinfo_h=yes
52818 ac_has_langinfo_h=no
52823 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52824 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52825 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52826 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52827 echo $ECHO_N "(cached) $ECHO_C" >&6
52829 ac_check_lib_save_LIBS=$LIBS
52830 LIBS="-liconv $LIBS"
52831 if test x$gcc_no_link = xyes; then
52832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52834 { (exit 1); exit 1; }; }
52836 cat >conftest.$ac_ext <<_ACEOF
52837 #line $LINENO "configure"
52840 cat confdefs.h >>conftest.$ac_ext
52841 cat >>conftest.$ac_ext <<_ACEOF
52842 /* end confdefs.h. */
52844 /* Override any gcc2 internal prototype to avoid an error. */
52848 /* We use char because int might match the return type of a gcc2
52849 builtin and then its argument prototype would still apply. */
52859 rm -f conftest.$ac_objext conftest$ac_exeext
52860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52861 (eval $ac_link) 2>&5
52863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52864 (exit $ac_status); } &&
52865 { ac_try='test -s conftest$ac_exeext'
52866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52867 (eval $ac_try) 2>&5
52869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52870 (exit $ac_status); }; }; then
52871 ac_cv_lib_iconv_iconv=yes
52873 echo "$as_me: failed program was:" >&5
52874 sed 's/^/| /' conftest.$ac_ext >&5
52876 ac_cv_lib_iconv_iconv=no
52878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52879 LIBS=$ac_check_lib_save_LIBS
52881 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52882 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52883 if test $ac_cv_lib_iconv_iconv = yes; then
52887 ac_save_LIBS="$LIBS"
52888 LIBS="$LIBS $libiconv"
52894 for ac_func in iconv_open iconv_close iconv nl_langinfo
52896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52897 echo "$as_me:$LINENO: checking for $ac_func" >&5
52898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52899 if eval "test \"\${$as_ac_var+set}\" = set"; then
52900 echo $ECHO_N "(cached) $ECHO_C" >&6
52902 if test x$gcc_no_link = xyes; then
52903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52905 { (exit 1); exit 1; }; }
52907 cat >conftest.$ac_ext <<_ACEOF
52908 #line $LINENO "configure"
52911 cat confdefs.h >>conftest.$ac_ext
52912 cat >>conftest.$ac_ext <<_ACEOF
52913 /* end confdefs.h. */
52914 /* System header to define __stub macros and hopefully few prototypes,
52915 which can conflict with char $ac_func (); below.
52916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52917 <limits.h> exists even on freestanding compilers. */
52919 # include <limits.h>
52921 # include <assert.h>
52923 /* Override any gcc2 internal prototype to avoid an error. */
52928 /* We use char because int might match the return type of a gcc2
52929 builtin and then its argument prototype would still apply. */
52931 /* The GNU C library defines this for functions which it implements
52932 to always fail with ENOSYS. Some functions are actually named
52933 something starting with __ and the normal name is an alias. */
52934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52937 char (*f) () = $ac_func;
52946 return f != $ac_func;
52951 rm -f conftest.$ac_objext conftest$ac_exeext
52952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52953 (eval $ac_link) 2>&5
52955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52956 (exit $ac_status); } &&
52957 { ac_try='test -s conftest$ac_exeext'
52958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52959 (eval $ac_try) 2>&5
52961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52962 (exit $ac_status); }; }; then
52963 eval "$as_ac_var=yes"
52965 echo "$as_me: failed program was:" >&5
52966 sed 's/^/| /' conftest.$ac_ext >&5
52968 eval "$as_ac_var=no"
52970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52974 if test `eval echo '${'$as_ac_var'}'` = yes; then
52975 cat >>confdefs.h <<_ACEOF
52976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52985 LIBS="$ac_save_LIBS"
52987 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52988 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52989 if test x"$ac_has_iconv_h" = xyes &&
52990 test x"$ac_has_langinfo_h" = xyes &&
52991 test x"$ac_XPG2funcs" = xyes;
52993 ac_XPG2_wchar_t=yes
52997 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52998 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53000 # At the moment, only enable wchar_t specializations if all the
53001 # above support is present.
53002 if test x"$ac_isoC99_wchar_t" = xyes &&
53003 test x"$ac_XPG2_wchar_t" = xyes;
53005 cat >>confdefs.h <<\_ACEOF
53006 #define _GLIBCXX_USE_WCHAR_T 1
53012 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53013 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53014 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53015 echo "${ECHO_T}$enable_wchar_t" >&6
53017 cat >>confdefs.h <<\_ACEOF
53018 #define HAVE_COPYSIGN 1
53021 cat >>confdefs.h <<\_ACEOF
53022 #define HAVE_COPYSIGNF 1
53025 cat >>confdefs.h <<\_ACEOF
53026 #define HAVE_FINITE 1
53029 cat >>confdefs.h <<\_ACEOF
53030 #define HAVE_FINITEF 1
53033 cat >>confdefs.h <<\_ACEOF
53034 #define HAVE_FREXPF 1
53037 cat >>confdefs.h <<\_ACEOF
53038 #define HAVE_HYPOTF 1
53041 cat >>confdefs.h <<\_ACEOF
53042 #define HAVE_ISINF 1
53045 cat >>confdefs.h <<\_ACEOF
53046 #define HAVE_ISINFF 1
53049 cat >>confdefs.h <<\_ACEOF
53050 #define HAVE_ISNAN 1
53053 cat >>confdefs.h <<\_ACEOF
53054 #define HAVE_ISNANF 1
53057 cat >>confdefs.h <<\_ACEOF
53058 #define HAVE_SINCOS 1
53061 cat >>confdefs.h <<\_ACEOF
53062 #define HAVE_SINCOSF 1
53065 if test x"long_double_math_on_this_cpu" = x"yes"; then
53066 cat >>confdefs.h <<\_ACEOF
53067 #define HAVE_FINITEL 1
53070 cat >>confdefs.h <<\_ACEOF
53071 #define HAVE_HYPOTL 1
53074 cat >>confdefs.h <<\_ACEOF
53075 #define HAVE_ISINFL 1
53078 cat >>confdefs.h <<\_ACEOF
53079 #define HAVE_ISNANL 1
53085 #os_include_dir="os/mingw32"
53089 for ac_header in sys/types.h locale.h float.h
53091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53093 echo "$as_me:$LINENO: checking for $ac_header" >&5
53094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53096 echo $ECHO_N "(cached) $ECHO_C" >&6
53098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53101 # Is the header compilable?
53102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53104 cat >conftest.$ac_ext <<_ACEOF
53105 #line $LINENO "configure"
53108 cat confdefs.h >>conftest.$ac_ext
53109 cat >>conftest.$ac_ext <<_ACEOF
53110 /* end confdefs.h. */
53111 $ac_includes_default
53112 #include <$ac_header>
53114 rm -f conftest.$ac_objext
53115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53116 (eval $ac_compile) 2>&5
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); } &&
53120 { ac_try='test -s conftest.$ac_objext'
53121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53122 (eval $ac_try) 2>&5
53124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53125 (exit $ac_status); }; }; then
53126 ac_header_compiler=yes
53128 echo "$as_me: failed program was:" >&5
53129 sed 's/^/| /' conftest.$ac_ext >&5
53131 ac_header_compiler=no
53133 rm -f conftest.$ac_objext conftest.$ac_ext
53134 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53135 echo "${ECHO_T}$ac_header_compiler" >&6
53137 # Is the header present?
53138 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53139 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53140 cat >conftest.$ac_ext <<_ACEOF
53141 #line $LINENO "configure"
53144 cat confdefs.h >>conftest.$ac_ext
53145 cat >>conftest.$ac_ext <<_ACEOF
53146 /* end confdefs.h. */
53147 #include <$ac_header>
53149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53152 grep -v '^ *+' conftest.er1 >conftest.err
53154 cat conftest.err >&5
53155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53156 (exit $ac_status); } >/dev/null; then
53157 if test -s conftest.err; then
53158 ac_cpp_err=$ac_c_preproc_warn_flag
53165 if test -z "$ac_cpp_err"; then
53166 ac_header_preproc=yes
53168 echo "$as_me: failed program was:" >&5
53169 sed 's/^/| /' conftest.$ac_ext >&5
53171 ac_header_preproc=no
53173 rm -f conftest.err conftest.$ac_ext
53174 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53175 echo "${ECHO_T}$ac_header_preproc" >&6
53177 # So? What about this header?
53178 case $ac_header_compiler:$ac_header_preproc in
53180 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53181 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53186 ## ------------------------------------ ##
53187 ## Report this to bug-autoconf@gnu.org. ##
53188 ## ------------------------------------ ##
53191 sed "s/^/$as_me: WARNING: /" >&2
53194 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53195 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53196 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53197 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53202 ## ------------------------------------ ##
53203 ## Report this to bug-autoconf@gnu.org. ##
53204 ## ------------------------------------ ##
53207 sed "s/^/$as_me: WARNING: /" >&2
53210 echo "$as_me:$LINENO: checking for $ac_header" >&5
53211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53213 echo $ECHO_N "(cached) $ECHO_C" >&6
53215 eval "$as_ac_Header=$ac_header_preproc"
53217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53222 cat >>confdefs.h <<_ACEOF
53223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53231 # If we're not using GNU ld, then there's no point in even trying these
53232 # tests. Check for that first. We should have already tested for gld
53233 # by now (in libtool), but require it now just to be safe...
53234 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53235 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53239 # The name set by libtool depends on the version of libtool. Shame on us
53240 # for depending on an impl detail, but c'est la vie. Older versions used
53241 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53242 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53243 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53244 # set (hence we're using an older libtool), then set it.
53245 if test x${with_gnu_ld+set} != xset; then
53246 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53247 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53250 with_gnu_ld=$ac_cv_prog_gnu_ld
53254 # Start by getting the version number. I think the libtool test already
53255 # does some of this, but throws away the result.
53257 ldver=`$LD --version 2>/dev/null | head -1 | \
53258 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53260 glibcxx_gnu_ld_version=`echo $ldver | \
53261 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53263 # Set --gc-sections.
53264 if test "$with_gnu_ld" = "notbroken"; then
53265 # GNU ld it is! Joy and bunny rabbits!
53267 # All these tests are for C++; save the language and the compiler flags.
53268 # Need to do this so that g++ won't try to link in libstdc++
53269 ac_test_CFLAGS="${CFLAGS+set}"
53270 ac_save_CFLAGS="$CFLAGS"
53271 CFLAGS='-x c++ -Wl,--gc-sections'
53273 # Check for -Wl,--gc-sections
53274 # XXX This test is broken at the moment, as symbols required for linking
53275 # are now in libsupc++ (not built yet). In addition, this test has
53276 # cored on solaris in the past. In addition, --gc-sections doesn't
53277 # really work at the moment (keeps on discarding used sections, first
53278 # .eh_frame and now some of the glibc sections for iconv).
53279 # Bzzzzt. Thanks for playing, maybe next time.
53280 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53281 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53282 if test "$cross_compiling" = yes; then
53283 ac_sectionLDflags=yes
53285 cat >conftest.$ac_ext <<_ACEOF
53286 #line $LINENO "configure"
53289 cat confdefs.h >>conftest.$ac_ext
53290 cat >>conftest.$ac_ext <<_ACEOF
53291 /* end confdefs.h. */
53301 rm -f conftest$ac_exeext
53302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53303 (eval $ac_link) 2>&5
53305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53306 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53308 (eval $ac_try) 2>&5
53310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53311 (exit $ac_status); }; }; then
53312 ac_sectionLDflags=yes
53314 echo "$as_me: program exited with status $ac_status" >&5
53315 echo "$as_me: failed program was:" >&5
53316 sed 's/^/| /' conftest.$ac_ext >&5
53318 ( exit $ac_status )
53319 ac_sectionLDflags=no
53321 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53323 if test "$ac_test_CFLAGS" = set; then
53324 CFLAGS="$ac_save_CFLAGS"
53326 # this is the suspicious part
53329 if test "$ac_sectionLDflags" = "yes"; then
53330 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53332 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53333 echo "${ECHO_T}$ac_sectionLDflags" >&6
53336 # Set linker optimization flags.
53337 if test x"$with_gnu_ld" = x"yes"; then
53338 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53346 echo "$as_me:$LINENO: checking for main in -lm" >&5
53347 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53348 if test "${ac_cv_lib_m_main+set}" = set; then
53349 echo $ECHO_N "(cached) $ECHO_C" >&6
53351 ac_check_lib_save_LIBS=$LIBS
53353 if test x$gcc_no_link = xyes; then
53354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53356 { (exit 1); exit 1; }; }
53358 cat >conftest.$ac_ext <<_ACEOF
53359 #line $LINENO "configure"
53362 cat confdefs.h >>conftest.$ac_ext
53363 cat >>conftest.$ac_ext <<_ACEOF
53364 /* end confdefs.h. */
53375 rm -f conftest.$ac_objext conftest$ac_exeext
53376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53377 (eval $ac_link) 2>&5
53379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53380 (exit $ac_status); } &&
53381 { ac_try='test -s conftest$ac_exeext'
53382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53383 (eval $ac_try) 2>&5
53385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53386 (exit $ac_status); }; }; then
53387 ac_cv_lib_m_main=yes
53389 echo "$as_me: failed program was:" >&5
53390 sed 's/^/| /' conftest.$ac_ext >&5
53392 ac_cv_lib_m_main=no
53394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53395 LIBS=$ac_check_lib_save_LIBS
53397 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53398 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53399 if test $ac_cv_lib_m_main = yes; then
53400 cat >>confdefs.h <<_ACEOF
53401 #define HAVE_LIBM 1
53410 for ac_func in nan copysignf
53412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53413 echo "$as_me:$LINENO: checking for $ac_func" >&5
53414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53415 if eval "test \"\${$as_ac_var+set}\" = set"; then
53416 echo $ECHO_N "(cached) $ECHO_C" >&6
53418 if test x$gcc_no_link = xyes; then
53419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53421 { (exit 1); exit 1; }; }
53423 cat >conftest.$ac_ext <<_ACEOF
53424 #line $LINENO "configure"
53427 cat confdefs.h >>conftest.$ac_ext
53428 cat >>conftest.$ac_ext <<_ACEOF
53429 /* end confdefs.h. */
53430 /* System header to define __stub macros and hopefully few prototypes,
53431 which can conflict with char $ac_func (); below.
53432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53433 <limits.h> exists even on freestanding compilers. */
53435 # include <limits.h>
53437 # include <assert.h>
53439 /* Override any gcc2 internal prototype to avoid an error. */
53444 /* We use char because int might match the return type of a gcc2
53445 builtin and then its argument prototype would still apply. */
53447 /* The GNU C library defines this for functions which it implements
53448 to always fail with ENOSYS. Some functions are actually named
53449 something starting with __ and the normal name is an alias. */
53450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53453 char (*f) () = $ac_func;
53462 return f != $ac_func;
53467 rm -f conftest.$ac_objext conftest$ac_exeext
53468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53469 (eval $ac_link) 2>&5
53471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472 (exit $ac_status); } &&
53473 { ac_try='test -s conftest$ac_exeext'
53474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475 (eval $ac_try) 2>&5
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); }; }; then
53479 eval "$as_ac_var=yes"
53481 echo "$as_me: failed program was:" >&5
53482 sed 's/^/| /' conftest.$ac_ext >&5
53484 eval "$as_ac_var=no"
53486 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53490 if test `eval echo '${'$as_ac_var'}'` = yes; then
53491 cat >>confdefs.h <<_ACEOF
53492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53496 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53502 for ac_func in __signbit
53504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53505 echo "$as_me:$LINENO: checking for $ac_func" >&5
53506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53507 if eval "test \"\${$as_ac_var+set}\" = set"; then
53508 echo $ECHO_N "(cached) $ECHO_C" >&6
53510 if test x$gcc_no_link = xyes; then
53511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53513 { (exit 1); exit 1; }; }
53515 cat >conftest.$ac_ext <<_ACEOF
53516 #line $LINENO "configure"
53519 cat confdefs.h >>conftest.$ac_ext
53520 cat >>conftest.$ac_ext <<_ACEOF
53521 /* end confdefs.h. */
53522 /* System header to define __stub macros and hopefully few prototypes,
53523 which can conflict with char $ac_func (); below.
53524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53525 <limits.h> exists even on freestanding compilers. */
53527 # include <limits.h>
53529 # include <assert.h>
53531 /* Override any gcc2 internal prototype to avoid an error. */
53536 /* We use char because int might match the return type of a gcc2
53537 builtin and then its argument prototype would still apply. */
53539 /* The GNU C library defines this for functions which it implements
53540 to always fail with ENOSYS. Some functions are actually named
53541 something starting with __ and the normal name is an alias. */
53542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53545 char (*f) () = $ac_func;
53554 return f != $ac_func;
53559 rm -f conftest.$ac_objext conftest$ac_exeext
53560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53561 (eval $ac_link) 2>&5
53563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53564 (exit $ac_status); } &&
53565 { ac_try='test -s conftest$ac_exeext'
53566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53567 (eval $ac_try) 2>&5
53569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53570 (exit $ac_status); }; }; then
53571 eval "$as_ac_var=yes"
53573 echo "$as_me: failed program was:" >&5
53574 sed 's/^/| /' conftest.$ac_ext >&5
53576 eval "$as_ac_var=no"
53578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53582 if test `eval echo '${'$as_ac_var'}'` = yes; then
53583 cat >>confdefs.h <<_ACEOF
53584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53588 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53593 for ac_func in __signbitf
53595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53596 echo "$as_me:$LINENO: checking for $ac_func" >&5
53597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53598 if eval "test \"\${$as_ac_var+set}\" = set"; then
53599 echo $ECHO_N "(cached) $ECHO_C" >&6
53601 if test x$gcc_no_link = xyes; then
53602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53604 { (exit 1); exit 1; }; }
53606 cat >conftest.$ac_ext <<_ACEOF
53607 #line $LINENO "configure"
53610 cat confdefs.h >>conftest.$ac_ext
53611 cat >>conftest.$ac_ext <<_ACEOF
53612 /* end confdefs.h. */
53613 /* System header to define __stub macros and hopefully few prototypes,
53614 which can conflict with char $ac_func (); below.
53615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53616 <limits.h> exists even on freestanding compilers. */
53618 # include <limits.h>
53620 # include <assert.h>
53622 /* Override any gcc2 internal prototype to avoid an error. */
53627 /* We use char because int might match the return type of a gcc2
53628 builtin and then its argument prototype would still apply. */
53630 /* The GNU C library defines this for functions which it implements
53631 to always fail with ENOSYS. Some functions are actually named
53632 something starting with __ and the normal name is an alias. */
53633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53636 char (*f) () = $ac_func;
53645 return f != $ac_func;
53650 rm -f conftest.$ac_objext conftest$ac_exeext
53651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53652 (eval $ac_link) 2>&5
53654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53655 (exit $ac_status); } &&
53656 { ac_try='test -s conftest$ac_exeext'
53657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53658 (eval $ac_try) 2>&5
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); }; }; then
53662 eval "$as_ac_var=yes"
53664 echo "$as_me: failed program was:" >&5
53665 sed 's/^/| /' conftest.$ac_ext >&5
53667 eval "$as_ac_var=no"
53669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53673 if test `eval echo '${'$as_ac_var'}'` = yes; then
53674 cat >>confdefs.h <<_ACEOF
53675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53679 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53684 if test x$ac_cv_func_copysignl = x"yes"; then
53686 for ac_func in __signbitl
53688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53689 echo "$as_me:$LINENO: checking for $ac_func" >&5
53690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53691 if eval "test \"\${$as_ac_var+set}\" = set"; then
53692 echo $ECHO_N "(cached) $ECHO_C" >&6
53694 if test x$gcc_no_link = xyes; then
53695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53697 { (exit 1); exit 1; }; }
53699 cat >conftest.$ac_ext <<_ACEOF
53700 #line $LINENO "configure"
53703 cat confdefs.h >>conftest.$ac_ext
53704 cat >>conftest.$ac_ext <<_ACEOF
53705 /* end confdefs.h. */
53706 /* System header to define __stub macros and hopefully few prototypes,
53707 which can conflict with char $ac_func (); below.
53708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53709 <limits.h> exists even on freestanding compilers. */
53711 # include <limits.h>
53713 # include <assert.h>
53715 /* Override any gcc2 internal prototype to avoid an error. */
53720 /* We use char because int might match the return type of a gcc2
53721 builtin and then its argument prototype would still apply. */
53723 /* The GNU C library defines this for functions which it implements
53724 to always fail with ENOSYS. Some functions are actually named
53725 something starting with __ and the normal name is an alias. */
53726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53729 char (*f) () = $ac_func;
53738 return f != $ac_func;
53743 rm -f conftest.$ac_objext conftest$ac_exeext
53744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53745 (eval $ac_link) 2>&5
53747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53748 (exit $ac_status); } &&
53749 { ac_try='test -s conftest$ac_exeext'
53750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53751 (eval $ac_try) 2>&5
53753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53754 (exit $ac_status); }; }; then
53755 eval "$as_ac_var=yes"
53757 echo "$as_me: failed program was:" >&5
53758 sed 's/^/| /' conftest.$ac_ext >&5
53760 eval "$as_ac_var=no"
53762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53766 if test `eval echo '${'$as_ac_var'}'` = yes; then
53767 cat >>confdefs.h <<_ACEOF
53768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53772 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53778 # XXX Review this. Nothing uses it.
53779 if test -n "$LIBMATHOBJS"; then
53785 # Test wchar.h for mbstate_t, which is needed for char_traits and
53786 # others even if wchar_t support is not on.
53787 echo "$as_me:$LINENO: checking for mbstate_t" >&5
53788 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53789 cat >conftest.$ac_ext <<_ACEOF
53790 #line $LINENO "configure"
53793 cat confdefs.h >>conftest.$ac_ext
53794 cat >>conftest.$ac_ext <<_ACEOF
53795 /* end confdefs.h. */
53800 mbstate_t teststate;
53805 rm -f conftest.$ac_objext
53806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53807 (eval $ac_compile) 2>&5
53809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53810 (exit $ac_status); } &&
53811 { ac_try='test -s conftest.$ac_objext'
53812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53813 (eval $ac_try) 2>&5
53815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53816 (exit $ac_status); }; }; then
53819 echo "$as_me: failed program was:" >&5
53820 sed 's/^/| /' conftest.$ac_ext >&5
53824 rm -f conftest.$ac_objext conftest.$ac_ext
53825 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53826 echo "${ECHO_T}$have_mbstate_t" >&6
53827 if test x"$have_mbstate_t" = xyes; then
53828 cat >>confdefs.h <<\_ACEOF
53829 #define HAVE_MBSTATE_T 1
53834 # Sanity check for existence of ISO C99 headers for extended encoding.
53836 for ac_header in wchar.h
53838 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53839 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53840 echo "$as_me:$LINENO: checking for $ac_header" >&5
53841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53843 echo $ECHO_N "(cached) $ECHO_C" >&6
53845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53846 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53848 # Is the header compilable?
53849 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53850 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53851 cat >conftest.$ac_ext <<_ACEOF
53852 #line $LINENO "configure"
53855 cat confdefs.h >>conftest.$ac_ext
53856 cat >>conftest.$ac_ext <<_ACEOF
53857 /* end confdefs.h. */
53858 $ac_includes_default
53859 #include <$ac_header>
53861 rm -f conftest.$ac_objext
53862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53863 (eval $ac_compile) 2>&5
53865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53866 (exit $ac_status); } &&
53867 { ac_try='test -s conftest.$ac_objext'
53868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53869 (eval $ac_try) 2>&5
53871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53872 (exit $ac_status); }; }; then
53873 ac_header_compiler=yes
53875 echo "$as_me: failed program was:" >&5
53876 sed 's/^/| /' conftest.$ac_ext >&5
53878 ac_header_compiler=no
53880 rm -f conftest.$ac_objext conftest.$ac_ext
53881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53882 echo "${ECHO_T}$ac_header_compiler" >&6
53884 # Is the header present?
53885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53887 cat >conftest.$ac_ext <<_ACEOF
53888 #line $LINENO "configure"
53891 cat confdefs.h >>conftest.$ac_ext
53892 cat >>conftest.$ac_ext <<_ACEOF
53893 /* end confdefs.h. */
53894 #include <$ac_header>
53896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53899 grep -v '^ *+' conftest.er1 >conftest.err
53901 cat conftest.err >&5
53902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53903 (exit $ac_status); } >/dev/null; then
53904 if test -s conftest.err; then
53905 ac_cpp_err=$ac_c_preproc_warn_flag
53912 if test -z "$ac_cpp_err"; then
53913 ac_header_preproc=yes
53915 echo "$as_me: failed program was:" >&5
53916 sed 's/^/| /' conftest.$ac_ext >&5
53918 ac_header_preproc=no
53920 rm -f conftest.err conftest.$ac_ext
53921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53922 echo "${ECHO_T}$ac_header_preproc" >&6
53924 # So? What about this header?
53925 case $ac_header_compiler:$ac_header_preproc in
53927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53933 ## ------------------------------------ ##
53934 ## Report this to bug-autoconf@gnu.org. ##
53935 ## ------------------------------------ ##
53938 sed "s/^/$as_me: WARNING: /" >&2
53941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53949 ## ------------------------------------ ##
53950 ## Report this to bug-autoconf@gnu.org. ##
53951 ## ------------------------------------ ##
53954 sed "s/^/$as_me: WARNING: /" >&2
53957 echo "$as_me:$LINENO: checking for $ac_header" >&5
53958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53960 echo $ECHO_N "(cached) $ECHO_C" >&6
53962 eval "$as_ac_Header=$ac_header_preproc"
53964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53969 cat >>confdefs.h <<_ACEOF
53970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53980 for ac_header in wctype.h
53982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53984 echo "$as_me:$LINENO: checking for $ac_header" >&5
53985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53987 echo $ECHO_N "(cached) $ECHO_C" >&6
53989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53992 # Is the header compilable?
53993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53995 cat >conftest.$ac_ext <<_ACEOF
53996 #line $LINENO "configure"
53999 cat confdefs.h >>conftest.$ac_ext
54000 cat >>conftest.$ac_ext <<_ACEOF
54001 /* end confdefs.h. */
54002 $ac_includes_default
54003 #include <$ac_header>
54005 rm -f conftest.$ac_objext
54006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54007 (eval $ac_compile) 2>&5
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); } &&
54011 { ac_try='test -s conftest.$ac_objext'
54012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54013 (eval $ac_try) 2>&5
54015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54016 (exit $ac_status); }; }; then
54017 ac_header_compiler=yes
54019 echo "$as_me: failed program was:" >&5
54020 sed 's/^/| /' conftest.$ac_ext >&5
54022 ac_header_compiler=no
54024 rm -f conftest.$ac_objext conftest.$ac_ext
54025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54026 echo "${ECHO_T}$ac_header_compiler" >&6
54028 # Is the header present?
54029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54031 cat >conftest.$ac_ext <<_ACEOF
54032 #line $LINENO "configure"
54035 cat confdefs.h >>conftest.$ac_ext
54036 cat >>conftest.$ac_ext <<_ACEOF
54037 /* end confdefs.h. */
54038 #include <$ac_header>
54040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54043 grep -v '^ *+' conftest.er1 >conftest.err
54045 cat conftest.err >&5
54046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54047 (exit $ac_status); } >/dev/null; then
54048 if test -s conftest.err; then
54049 ac_cpp_err=$ac_c_preproc_warn_flag
54056 if test -z "$ac_cpp_err"; then
54057 ac_header_preproc=yes
54059 echo "$as_me: failed program was:" >&5
54060 sed 's/^/| /' conftest.$ac_ext >&5
54062 ac_header_preproc=no
54064 rm -f conftest.err conftest.$ac_ext
54065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54066 echo "${ECHO_T}$ac_header_preproc" >&6
54068 # So? What about this header?
54069 case $ac_header_compiler:$ac_header_preproc in
54071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54077 ## ------------------------------------ ##
54078 ## Report this to bug-autoconf@gnu.org. ##
54079 ## ------------------------------------ ##
54082 sed "s/^/$as_me: WARNING: /" >&2
54085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54090 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54093 ## ------------------------------------ ##
54094 ## Report this to bug-autoconf@gnu.org. ##
54095 ## ------------------------------------ ##
54098 sed "s/^/$as_me: WARNING: /" >&2
54101 echo "$as_me:$LINENO: checking for $ac_header" >&5
54102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54104 echo $ECHO_N "(cached) $ECHO_C" >&6
54106 eval "$as_ac_Header=$ac_header_preproc"
54108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54113 cat >>confdefs.h <<_ACEOF
54114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54116 ac_has_wctype_h=yes
54124 # Only continue checking if the ISO C99 headers exist and support is on.
54125 if test x"$ac_has_wchar_h" = xyes &&
54126 test x"$ac_has_wctype_h" = xyes &&
54127 test x"$enable_c_mbchar" != xno; then
54129 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54130 # numeric_limits can instantiate type_traits<wchar_t>
54131 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54132 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54133 cat >conftest.$ac_ext <<_ACEOF
54134 #line $LINENO "configure"
54137 cat confdefs.h >>conftest.$ac_ext
54138 cat >>conftest.$ac_ext <<_ACEOF
54139 /* end confdefs.h. */
54144 int i = WCHAR_MIN; int j = WCHAR_MAX;
54149 rm -f conftest.$ac_objext
54150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54151 (eval $ac_compile) 2>&5
54153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54154 (exit $ac_status); } &&
54155 { ac_try='test -s conftest.$ac_objext'
54156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54157 (eval $ac_try) 2>&5
54159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54160 (exit $ac_status); }; }; then
54161 has_wchar_minmax=yes
54163 echo "$as_me: failed program was:" >&5
54164 sed 's/^/| /' conftest.$ac_ext >&5
54166 has_wchar_minmax=no
54168 rm -f conftest.$ac_objext conftest.$ac_ext
54169 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54170 echo "${ECHO_T}$has_wchar_minmax" >&6
54172 # Test wchar.h for WEOF, which is what we use to determine whether
54173 # to specialize for char_traits<wchar_t> or not.
54174 echo "$as_me:$LINENO: checking for WEOF" >&5
54175 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54176 cat >conftest.$ac_ext <<_ACEOF
54177 #line $LINENO "configure"
54180 cat confdefs.h >>conftest.$ac_ext
54181 cat >>conftest.$ac_ext <<_ACEOF
54182 /* end confdefs.h. */
54185 #include <stddef.h>
54194 rm -f conftest.$ac_objext
54195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54196 (eval $ac_compile) 2>&5
54198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54199 (exit $ac_status); } &&
54200 { ac_try='test -s conftest.$ac_objext'
54201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54202 (eval $ac_try) 2>&5
54204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54205 (exit $ac_status); }; }; then
54208 echo "$as_me: failed program was:" >&5
54209 sed 's/^/| /' conftest.$ac_ext >&5
54213 rm -f conftest.$ac_objext conftest.$ac_ext
54214 echo "$as_me:$LINENO: result: $has_weof" >&5
54215 echo "${ECHO_T}$has_weof" >&6
54217 # Tests for wide character functions used in char_traits<wchar_t>.
54225 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54228 echo "$as_me:$LINENO: checking for $ac_func" >&5
54229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54230 if eval "test \"\${$as_ac_var+set}\" = set"; then
54231 echo $ECHO_N "(cached) $ECHO_C" >&6
54233 if test x$gcc_no_link = xyes; then
54234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54236 { (exit 1); exit 1; }; }
54238 cat >conftest.$ac_ext <<_ACEOF
54239 #line $LINENO "configure"
54242 cat confdefs.h >>conftest.$ac_ext
54243 cat >>conftest.$ac_ext <<_ACEOF
54244 /* end confdefs.h. */
54245 /* System header to define __stub macros and hopefully few prototypes,
54246 which can conflict with char $ac_func (); below.
54247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54248 <limits.h> exists even on freestanding compilers. */
54250 # include <limits.h>
54252 # include <assert.h>
54254 /* Override any gcc2 internal prototype to avoid an error. */
54259 /* We use char because int might match the return type of a gcc2
54260 builtin and then its argument prototype would still apply. */
54262 /* The GNU C library defines this for functions which it implements
54263 to always fail with ENOSYS. Some functions are actually named
54264 something starting with __ and the normal name is an alias. */
54265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54268 char (*f) () = $ac_func;
54277 return f != $ac_func;
54282 rm -f conftest.$ac_objext conftest$ac_exeext
54283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54284 (eval $ac_link) 2>&5
54286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54287 (exit $ac_status); } &&
54288 { ac_try='test -s conftest$ac_exeext'
54289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290 (eval $ac_try) 2>&5
54292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293 (exit $ac_status); }; }; then
54294 eval "$as_ac_var=yes"
54296 echo "$as_me: failed program was:" >&5
54297 sed 's/^/| /' conftest.$ac_ext >&5
54299 eval "$as_ac_var=no"
54301 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54305 if test `eval echo '${'$as_ac_var'}'` = yes; then
54306 cat >>confdefs.h <<_ACEOF
54307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54316 # Checks for names injected into std:: by the c_std headers.
54363 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54364 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54365 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54366 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54367 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54368 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54371 echo "$as_me:$LINENO: checking for $ac_func" >&5
54372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54373 if eval "test \"\${$as_ac_var+set}\" = set"; then
54374 echo $ECHO_N "(cached) $ECHO_C" >&6
54376 if test x$gcc_no_link = xyes; then
54377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54379 { (exit 1); exit 1; }; }
54381 cat >conftest.$ac_ext <<_ACEOF
54382 #line $LINENO "configure"
54385 cat confdefs.h >>conftest.$ac_ext
54386 cat >>conftest.$ac_ext <<_ACEOF
54387 /* end confdefs.h. */
54388 /* System header to define __stub macros and hopefully few prototypes,
54389 which can conflict with char $ac_func (); below.
54390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54391 <limits.h> exists even on freestanding compilers. */
54393 # include <limits.h>
54395 # include <assert.h>
54397 /* Override any gcc2 internal prototype to avoid an error. */
54402 /* We use char because int might match the return type of a gcc2
54403 builtin and then its argument prototype would still apply. */
54405 /* The GNU C library defines this for functions which it implements
54406 to always fail with ENOSYS. Some functions are actually named
54407 something starting with __ and the normal name is an alias. */
54408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54411 char (*f) () = $ac_func;
54420 return f != $ac_func;
54425 rm -f conftest.$ac_objext conftest$ac_exeext
54426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54427 (eval $ac_link) 2>&5
54429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54430 (exit $ac_status); } &&
54431 { ac_try='test -s conftest$ac_exeext'
54432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54433 (eval $ac_try) 2>&5
54435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54436 (exit $ac_status); }; }; then
54437 eval "$as_ac_var=yes"
54439 echo "$as_me: failed program was:" >&5
54440 sed 's/^/| /' conftest.$ac_ext >&5
54442 eval "$as_ac_var=no"
54444 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54448 if test `eval echo '${'$as_ac_var'}'` = yes; then
54449 cat >>confdefs.h <<_ACEOF
54450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54459 # Checks for wide character functions that are not required
54460 # for basic wchar_t support. Don't disable support if they are missing.
54461 # Injection of these is wrapped with guard macros.
54467 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54470 echo "$as_me:$LINENO: checking for $ac_func" >&5
54471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54472 if eval "test \"\${$as_ac_var+set}\" = set"; then
54473 echo $ECHO_N "(cached) $ECHO_C" >&6
54475 if test x$gcc_no_link = xyes; then
54476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54478 { (exit 1); exit 1; }; }
54480 cat >conftest.$ac_ext <<_ACEOF
54481 #line $LINENO "configure"
54484 cat confdefs.h >>conftest.$ac_ext
54485 cat >>conftest.$ac_ext <<_ACEOF
54486 /* end confdefs.h. */
54487 /* System header to define __stub macros and hopefully few prototypes,
54488 which can conflict with char $ac_func (); below.
54489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54490 <limits.h> exists even on freestanding compilers. */
54492 # include <limits.h>
54494 # include <assert.h>
54496 /* Override any gcc2 internal prototype to avoid an error. */
54501 /* We use char because int might match the return type of a gcc2
54502 builtin and then its argument prototype would still apply. */
54504 /* The GNU C library defines this for functions which it implements
54505 to always fail with ENOSYS. Some functions are actually named
54506 something starting with __ and the normal name is an alias. */
54507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54510 char (*f) () = $ac_func;
54519 return f != $ac_func;
54524 rm -f conftest.$ac_objext conftest$ac_exeext
54525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54526 (eval $ac_link) 2>&5
54528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54529 (exit $ac_status); } &&
54530 { ac_try='test -s conftest$ac_exeext'
54531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54532 (eval $ac_try) 2>&5
54534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54535 (exit $ac_status); }; }; then
54536 eval "$as_ac_var=yes"
54538 echo "$as_me: failed program was:" >&5
54539 sed 's/^/| /' conftest.$ac_ext >&5
54541 eval "$as_ac_var=no"
54543 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54547 if test `eval echo '${'$as_ac_var'}'` = yes; then
54548 cat >>confdefs.h <<_ACEOF
54549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54556 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54557 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54558 if test x"$has_weof" = xyes &&
54559 test x"$has_wchar_minmax" = xyes &&
54560 test x"$ac_wfuncs" = xyes;
54562 ac_isoC99_wchar_t=yes
54564 ac_isoC99_wchar_t=no
54566 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54567 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54569 # Use iconv for wchar_t to char conversions. As such, check for
54570 # X/Open Portability Guide, version 2 features (XPG2).
54571 if test "${ac_cv_header_iconv_h+set}" = set; then
54572 echo "$as_me:$LINENO: checking for iconv.h" >&5
54573 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54574 if test "${ac_cv_header_iconv_h+set}" = set; then
54575 echo $ECHO_N "(cached) $ECHO_C" >&6
54577 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54578 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54580 # Is the header compilable?
54581 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54582 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54583 cat >conftest.$ac_ext <<_ACEOF
54584 #line $LINENO "configure"
54587 cat confdefs.h >>conftest.$ac_ext
54588 cat >>conftest.$ac_ext <<_ACEOF
54589 /* end confdefs.h. */
54590 $ac_includes_default
54593 rm -f conftest.$ac_objext
54594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54595 (eval $ac_compile) 2>&5
54597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54598 (exit $ac_status); } &&
54599 { ac_try='test -s conftest.$ac_objext'
54600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54601 (eval $ac_try) 2>&5
54603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54604 (exit $ac_status); }; }; then
54605 ac_header_compiler=yes
54607 echo "$as_me: failed program was:" >&5
54608 sed 's/^/| /' conftest.$ac_ext >&5
54610 ac_header_compiler=no
54612 rm -f conftest.$ac_objext conftest.$ac_ext
54613 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54614 echo "${ECHO_T}$ac_header_compiler" >&6
54616 # Is the header present?
54617 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54618 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54619 cat >conftest.$ac_ext <<_ACEOF
54620 #line $LINENO "configure"
54623 cat confdefs.h >>conftest.$ac_ext
54624 cat >>conftest.$ac_ext <<_ACEOF
54625 /* end confdefs.h. */
54628 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54629 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54631 grep -v '^ *+' conftest.er1 >conftest.err
54633 cat conftest.err >&5
54634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54635 (exit $ac_status); } >/dev/null; then
54636 if test -s conftest.err; then
54637 ac_cpp_err=$ac_c_preproc_warn_flag
54644 if test -z "$ac_cpp_err"; then
54645 ac_header_preproc=yes
54647 echo "$as_me: failed program was:" >&5
54648 sed 's/^/| /' conftest.$ac_ext >&5
54650 ac_header_preproc=no
54652 rm -f conftest.err conftest.$ac_ext
54653 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54654 echo "${ECHO_T}$ac_header_preproc" >&6
54656 # So? What about this header?
54657 case $ac_header_compiler:$ac_header_preproc in
54659 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54660 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54661 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54662 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54665 ## ------------------------------------ ##
54666 ## Report this to bug-autoconf@gnu.org. ##
54667 ## ------------------------------------ ##
54670 sed "s/^/$as_me: WARNING: /" >&2
54673 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54674 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54675 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54676 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54677 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54678 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54681 ## ------------------------------------ ##
54682 ## Report this to bug-autoconf@gnu.org. ##
54683 ## ------------------------------------ ##
54686 sed "s/^/$as_me: WARNING: /" >&2
54689 echo "$as_me:$LINENO: checking for iconv.h" >&5
54690 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54691 if test "${ac_cv_header_iconv_h+set}" = set; then
54692 echo $ECHO_N "(cached) $ECHO_C" >&6
54694 ac_cv_header_iconv_h=$ac_header_preproc
54696 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54697 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54700 if test $ac_cv_header_iconv_h = yes; then
54707 if test "${ac_cv_header_langinfo_h+set}" = set; then
54708 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54709 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54710 if test "${ac_cv_header_langinfo_h+set}" = set; then
54711 echo $ECHO_N "(cached) $ECHO_C" >&6
54713 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54714 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54716 # Is the header compilable?
54717 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54718 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54719 cat >conftest.$ac_ext <<_ACEOF
54720 #line $LINENO "configure"
54723 cat confdefs.h >>conftest.$ac_ext
54724 cat >>conftest.$ac_ext <<_ACEOF
54725 /* end confdefs.h. */
54726 $ac_includes_default
54727 #include <langinfo.h>
54729 rm -f conftest.$ac_objext
54730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54731 (eval $ac_compile) 2>&5
54733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54734 (exit $ac_status); } &&
54735 { ac_try='test -s conftest.$ac_objext'
54736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54737 (eval $ac_try) 2>&5
54739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54740 (exit $ac_status); }; }; then
54741 ac_header_compiler=yes
54743 echo "$as_me: failed program was:" >&5
54744 sed 's/^/| /' conftest.$ac_ext >&5
54746 ac_header_compiler=no
54748 rm -f conftest.$ac_objext conftest.$ac_ext
54749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54750 echo "${ECHO_T}$ac_header_compiler" >&6
54752 # Is the header present?
54753 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54754 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54755 cat >conftest.$ac_ext <<_ACEOF
54756 #line $LINENO "configure"
54759 cat confdefs.h >>conftest.$ac_ext
54760 cat >>conftest.$ac_ext <<_ACEOF
54761 /* end confdefs.h. */
54762 #include <langinfo.h>
54764 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54765 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54767 grep -v '^ *+' conftest.er1 >conftest.err
54769 cat conftest.err >&5
54770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54771 (exit $ac_status); } >/dev/null; then
54772 if test -s conftest.err; then
54773 ac_cpp_err=$ac_c_preproc_warn_flag
54780 if test -z "$ac_cpp_err"; then
54781 ac_header_preproc=yes
54783 echo "$as_me: failed program was:" >&5
54784 sed 's/^/| /' conftest.$ac_ext >&5
54786 ac_header_preproc=no
54788 rm -f conftest.err conftest.$ac_ext
54789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54790 echo "${ECHO_T}$ac_header_preproc" >&6
54792 # So? What about this header?
54793 case $ac_header_compiler:$ac_header_preproc in
54795 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54796 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54797 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54798 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54801 ## ------------------------------------ ##
54802 ## Report this to bug-autoconf@gnu.org. ##
54803 ## ------------------------------------ ##
54806 sed "s/^/$as_me: WARNING: /" >&2
54809 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54810 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54811 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54812 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54813 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54814 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54817 ## ------------------------------------ ##
54818 ## Report this to bug-autoconf@gnu.org. ##
54819 ## ------------------------------------ ##
54822 sed "s/^/$as_me: WARNING: /" >&2
54825 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54826 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54827 if test "${ac_cv_header_langinfo_h+set}" = set; then
54828 echo $ECHO_N "(cached) $ECHO_C" >&6
54830 ac_cv_header_langinfo_h=$ac_header_preproc
54832 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54833 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54836 if test $ac_cv_header_langinfo_h = yes; then
54837 ac_has_langinfo_h=yes
54839 ac_has_langinfo_h=no
54844 # Check for existence of libiconv.a providing XPG2 wchar_t support.
54845 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54846 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54847 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54848 echo $ECHO_N "(cached) $ECHO_C" >&6
54850 ac_check_lib_save_LIBS=$LIBS
54851 LIBS="-liconv $LIBS"
54852 if test x$gcc_no_link = xyes; then
54853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54855 { (exit 1); exit 1; }; }
54857 cat >conftest.$ac_ext <<_ACEOF
54858 #line $LINENO "configure"
54861 cat confdefs.h >>conftest.$ac_ext
54862 cat >>conftest.$ac_ext <<_ACEOF
54863 /* end confdefs.h. */
54865 /* Override any gcc2 internal prototype to avoid an error. */
54869 /* We use char because int might match the return type of a gcc2
54870 builtin and then its argument prototype would still apply. */
54880 rm -f conftest.$ac_objext conftest$ac_exeext
54881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54882 (eval $ac_link) 2>&5
54884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54885 (exit $ac_status); } &&
54886 { ac_try='test -s conftest$ac_exeext'
54887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54888 (eval $ac_try) 2>&5
54890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54891 (exit $ac_status); }; }; then
54892 ac_cv_lib_iconv_iconv=yes
54894 echo "$as_me: failed program was:" >&5
54895 sed 's/^/| /' conftest.$ac_ext >&5
54897 ac_cv_lib_iconv_iconv=no
54899 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54900 LIBS=$ac_check_lib_save_LIBS
54902 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
54903 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
54904 if test $ac_cv_lib_iconv_iconv = yes; then
54908 ac_save_LIBS="$LIBS"
54909 LIBS="$LIBS $libiconv"
54915 for ac_func in iconv_open iconv_close iconv nl_langinfo
54917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54918 echo "$as_me:$LINENO: checking for $ac_func" >&5
54919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54920 if eval "test \"\${$as_ac_var+set}\" = set"; then
54921 echo $ECHO_N "(cached) $ECHO_C" >&6
54923 if test x$gcc_no_link = xyes; then
54924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54926 { (exit 1); exit 1; }; }
54928 cat >conftest.$ac_ext <<_ACEOF
54929 #line $LINENO "configure"
54932 cat confdefs.h >>conftest.$ac_ext
54933 cat >>conftest.$ac_ext <<_ACEOF
54934 /* end confdefs.h. */
54935 /* System header to define __stub macros and hopefully few prototypes,
54936 which can conflict with char $ac_func (); below.
54937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54938 <limits.h> exists even on freestanding compilers. */
54940 # include <limits.h>
54942 # include <assert.h>
54944 /* Override any gcc2 internal prototype to avoid an error. */
54949 /* We use char because int might match the return type of a gcc2
54950 builtin and then its argument prototype would still apply. */
54952 /* The GNU C library defines this for functions which it implements
54953 to always fail with ENOSYS. Some functions are actually named
54954 something starting with __ and the normal name is an alias. */
54955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54958 char (*f) () = $ac_func;
54967 return f != $ac_func;
54972 rm -f conftest.$ac_objext conftest$ac_exeext
54973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54974 (eval $ac_link) 2>&5
54976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54977 (exit $ac_status); } &&
54978 { ac_try='test -s conftest$ac_exeext'
54979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54980 (eval $ac_try) 2>&5
54982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54983 (exit $ac_status); }; }; then
54984 eval "$as_ac_var=yes"
54986 echo "$as_me: failed program was:" >&5
54987 sed 's/^/| /' conftest.$ac_ext >&5
54989 eval "$as_ac_var=no"
54991 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54995 if test `eval echo '${'$as_ac_var'}'` = yes; then
54996 cat >>confdefs.h <<_ACEOF
54997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55006 LIBS="$ac_save_LIBS"
55008 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55009 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55010 if test x"$ac_has_iconv_h" = xyes &&
55011 test x"$ac_has_langinfo_h" = xyes &&
55012 test x"$ac_XPG2funcs" = xyes;
55014 ac_XPG2_wchar_t=yes
55018 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55019 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55021 # At the moment, only enable wchar_t specializations if all the
55022 # above support is present.
55023 if test x"$ac_isoC99_wchar_t" = xyes &&
55024 test x"$ac_XPG2_wchar_t" = xyes;
55026 cat >>confdefs.h <<\_ACEOF
55027 #define _GLIBCXX_USE_WCHAR_T 1
55033 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55034 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55035 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55036 echo "${ECHO_T}$enable_wchar_t" >&6
55040 #os_include_dir="os/bsd/netbsd"
55053 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55054 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55055 fp.h locale.h float.h inttypes.h
55057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55059 echo "$as_me:$LINENO: checking for $ac_header" >&5
55060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55062 echo $ECHO_N "(cached) $ECHO_C" >&6
55064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55067 # Is the header compilable?
55068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55070 cat >conftest.$ac_ext <<_ACEOF
55071 #line $LINENO "configure"
55074 cat confdefs.h >>conftest.$ac_ext
55075 cat >>conftest.$ac_ext <<_ACEOF
55076 /* end confdefs.h. */
55077 $ac_includes_default
55078 #include <$ac_header>
55080 rm -f conftest.$ac_objext
55081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55082 (eval $ac_compile) 2>&5
55084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55085 (exit $ac_status); } &&
55086 { ac_try='test -s conftest.$ac_objext'
55087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55088 (eval $ac_try) 2>&5
55090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55091 (exit $ac_status); }; }; then
55092 ac_header_compiler=yes
55094 echo "$as_me: failed program was:" >&5
55095 sed 's/^/| /' conftest.$ac_ext >&5
55097 ac_header_compiler=no
55099 rm -f conftest.$ac_objext conftest.$ac_ext
55100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55101 echo "${ECHO_T}$ac_header_compiler" >&6
55103 # Is the header present?
55104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55106 cat >conftest.$ac_ext <<_ACEOF
55107 #line $LINENO "configure"
55110 cat confdefs.h >>conftest.$ac_ext
55111 cat >>conftest.$ac_ext <<_ACEOF
55112 /* end confdefs.h. */
55113 #include <$ac_header>
55115 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55116 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55118 grep -v '^ *+' conftest.er1 >conftest.err
55120 cat conftest.err >&5
55121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55122 (exit $ac_status); } >/dev/null; then
55123 if test -s conftest.err; then
55124 ac_cpp_err=$ac_c_preproc_warn_flag
55131 if test -z "$ac_cpp_err"; then
55132 ac_header_preproc=yes
55134 echo "$as_me: failed program was:" >&5
55135 sed 's/^/| /' conftest.$ac_ext >&5
55137 ac_header_preproc=no
55139 rm -f conftest.err conftest.$ac_ext
55140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55141 echo "${ECHO_T}$ac_header_preproc" >&6
55143 # So? What about this header?
55144 case $ac_header_compiler:$ac_header_preproc in
55146 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55152 ## ------------------------------------ ##
55153 ## Report this to bug-autoconf@gnu.org. ##
55154 ## ------------------------------------ ##
55157 sed "s/^/$as_me: WARNING: /" >&2
55160 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55161 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55162 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55163 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55165 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55168 ## ------------------------------------ ##
55169 ## Report this to bug-autoconf@gnu.org. ##
55170 ## ------------------------------------ ##
55173 sed "s/^/$as_me: WARNING: /" >&2
55176 echo "$as_me:$LINENO: checking for $ac_header" >&5
55177 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55179 echo $ECHO_N "(cached) $ECHO_C" >&6
55181 eval "$as_ac_Header=$ac_header_preproc"
55183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55187 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55188 cat >>confdefs.h <<_ACEOF
55189 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55196 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55199 # If we're not using GNU ld, then there's no point in even trying these
55200 # tests. Check for that first. We should have already tested for gld
55201 # by now (in libtool), but require it now just to be safe...
55202 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55203 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55207 # The name set by libtool depends on the version of libtool. Shame on us
55208 # for depending on an impl detail, but c'est la vie. Older versions used
55209 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55210 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55211 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55212 # set (hence we're using an older libtool), then set it.
55213 if test x${with_gnu_ld+set} != xset; then
55214 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55215 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55218 with_gnu_ld=$ac_cv_prog_gnu_ld
55222 # Start by getting the version number. I think the libtool test already
55223 # does some of this, but throws away the result.
55225 ldver=`$LD --version 2>/dev/null | head -1 | \
55226 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55228 glibcxx_gnu_ld_version=`echo $ldver | \
55229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55231 # Set --gc-sections.
55232 if test "$with_gnu_ld" = "notbroken"; then
55233 # GNU ld it is! Joy and bunny rabbits!
55235 # All these tests are for C++; save the language and the compiler flags.
55236 # Need to do this so that g++ won't try to link in libstdc++
55237 ac_test_CFLAGS="${CFLAGS+set}"
55238 ac_save_CFLAGS="$CFLAGS"
55239 CFLAGS='-x c++ -Wl,--gc-sections'
55241 # Check for -Wl,--gc-sections
55242 # XXX This test is broken at the moment, as symbols required for linking
55243 # are now in libsupc++ (not built yet). In addition, this test has
55244 # cored on solaris in the past. In addition, --gc-sections doesn't
55245 # really work at the moment (keeps on discarding used sections, first
55246 # .eh_frame and now some of the glibc sections for iconv).
55247 # Bzzzzt. Thanks for playing, maybe next time.
55248 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55249 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55250 if test "$cross_compiling" = yes; then
55251 ac_sectionLDflags=yes
55253 cat >conftest.$ac_ext <<_ACEOF
55254 #line $LINENO "configure"
55257 cat confdefs.h >>conftest.$ac_ext
55258 cat >>conftest.$ac_ext <<_ACEOF
55259 /* end confdefs.h. */
55269 rm -f conftest$ac_exeext
55270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55271 (eval $ac_link) 2>&5
55273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55276 (eval $ac_try) 2>&5
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); }; }; then
55280 ac_sectionLDflags=yes
55282 echo "$as_me: program exited with status $ac_status" >&5
55283 echo "$as_me: failed program was:" >&5
55284 sed 's/^/| /' conftest.$ac_ext >&5
55286 ( exit $ac_status )
55287 ac_sectionLDflags=no
55289 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55291 if test "$ac_test_CFLAGS" = set; then
55292 CFLAGS="$ac_save_CFLAGS"
55294 # this is the suspicious part
55297 if test "$ac_sectionLDflags" = "yes"; then
55298 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55300 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55301 echo "${ECHO_T}$ac_sectionLDflags" >&6
55304 # Set linker optimization flags.
55305 if test x"$with_gnu_ld" = x"yes"; then
55306 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55314 echo "$as_me:$LINENO: checking for main in -lm" >&5
55315 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55316 if test "${ac_cv_lib_m_main+set}" = set; then
55317 echo $ECHO_N "(cached) $ECHO_C" >&6
55319 ac_check_lib_save_LIBS=$LIBS
55321 if test x$gcc_no_link = xyes; then
55322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55324 { (exit 1); exit 1; }; }
55326 cat >conftest.$ac_ext <<_ACEOF
55327 #line $LINENO "configure"
55330 cat confdefs.h >>conftest.$ac_ext
55331 cat >>conftest.$ac_ext <<_ACEOF
55332 /* end confdefs.h. */
55343 rm -f conftest.$ac_objext conftest$ac_exeext
55344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55345 (eval $ac_link) 2>&5
55347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55348 (exit $ac_status); } &&
55349 { ac_try='test -s conftest$ac_exeext'
55350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55351 (eval $ac_try) 2>&5
55353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55354 (exit $ac_status); }; }; then
55355 ac_cv_lib_m_main=yes
55357 echo "$as_me: failed program was:" >&5
55358 sed 's/^/| /' conftest.$ac_ext >&5
55360 ac_cv_lib_m_main=no
55362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55363 LIBS=$ac_check_lib_save_LIBS
55365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55366 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55367 if test $ac_cv_lib_m_main = yes; then
55368 cat >>confdefs.h <<_ACEOF
55369 #define HAVE_LIBM 1
55378 for ac_func in nan copysignf
55380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55381 echo "$as_me:$LINENO: checking for $ac_func" >&5
55382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55383 if eval "test \"\${$as_ac_var+set}\" = set"; then
55384 echo $ECHO_N "(cached) $ECHO_C" >&6
55386 if test x$gcc_no_link = xyes; then
55387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55389 { (exit 1); exit 1; }; }
55391 cat >conftest.$ac_ext <<_ACEOF
55392 #line $LINENO "configure"
55395 cat confdefs.h >>conftest.$ac_ext
55396 cat >>conftest.$ac_ext <<_ACEOF
55397 /* end confdefs.h. */
55398 /* System header to define __stub macros and hopefully few prototypes,
55399 which can conflict with char $ac_func (); below.
55400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55401 <limits.h> exists even on freestanding compilers. */
55403 # include <limits.h>
55405 # include <assert.h>
55407 /* Override any gcc2 internal prototype to avoid an error. */
55412 /* We use char because int might match the return type of a gcc2
55413 builtin and then its argument prototype would still apply. */
55415 /* The GNU C library defines this for functions which it implements
55416 to always fail with ENOSYS. Some functions are actually named
55417 something starting with __ and the normal name is an alias. */
55418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55421 char (*f) () = $ac_func;
55430 return f != $ac_func;
55435 rm -f conftest.$ac_objext conftest$ac_exeext
55436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55437 (eval $ac_link) 2>&5
55439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55440 (exit $ac_status); } &&
55441 { ac_try='test -s conftest$ac_exeext'
55442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55443 (eval $ac_try) 2>&5
55445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55446 (exit $ac_status); }; }; then
55447 eval "$as_ac_var=yes"
55449 echo "$as_me: failed program was:" >&5
55450 sed 's/^/| /' conftest.$ac_ext >&5
55452 eval "$as_ac_var=no"
55454 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55458 if test `eval echo '${'$as_ac_var'}'` = yes; then
55459 cat >>confdefs.h <<_ACEOF
55460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55464 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55470 for ac_func in __signbit
55472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55473 echo "$as_me:$LINENO: checking for $ac_func" >&5
55474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55475 if eval "test \"\${$as_ac_var+set}\" = set"; then
55476 echo $ECHO_N "(cached) $ECHO_C" >&6
55478 if test x$gcc_no_link = xyes; then
55479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55481 { (exit 1); exit 1; }; }
55483 cat >conftest.$ac_ext <<_ACEOF
55484 #line $LINENO "configure"
55487 cat confdefs.h >>conftest.$ac_ext
55488 cat >>conftest.$ac_ext <<_ACEOF
55489 /* end confdefs.h. */
55490 /* System header to define __stub macros and hopefully few prototypes,
55491 which can conflict with char $ac_func (); below.
55492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55493 <limits.h> exists even on freestanding compilers. */
55495 # include <limits.h>
55497 # include <assert.h>
55499 /* Override any gcc2 internal prototype to avoid an error. */
55504 /* We use char because int might match the return type of a gcc2
55505 builtin and then its argument prototype would still apply. */
55507 /* The GNU C library defines this for functions which it implements
55508 to always fail with ENOSYS. Some functions are actually named
55509 something starting with __ and the normal name is an alias. */
55510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55513 char (*f) () = $ac_func;
55522 return f != $ac_func;
55527 rm -f conftest.$ac_objext conftest$ac_exeext
55528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55529 (eval $ac_link) 2>&5
55531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55532 (exit $ac_status); } &&
55533 { ac_try='test -s conftest$ac_exeext'
55534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55535 (eval $ac_try) 2>&5
55537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55538 (exit $ac_status); }; }; then
55539 eval "$as_ac_var=yes"
55541 echo "$as_me: failed program was:" >&5
55542 sed 's/^/| /' conftest.$ac_ext >&5
55544 eval "$as_ac_var=no"
55546 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55550 if test `eval echo '${'$as_ac_var'}'` = yes; then
55551 cat >>confdefs.h <<_ACEOF
55552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55561 for ac_func in __signbitf
55563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55564 echo "$as_me:$LINENO: checking for $ac_func" >&5
55565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55566 if eval "test \"\${$as_ac_var+set}\" = set"; then
55567 echo $ECHO_N "(cached) $ECHO_C" >&6
55569 if test x$gcc_no_link = xyes; then
55570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55572 { (exit 1); exit 1; }; }
55574 cat >conftest.$ac_ext <<_ACEOF
55575 #line $LINENO "configure"
55578 cat confdefs.h >>conftest.$ac_ext
55579 cat >>conftest.$ac_ext <<_ACEOF
55580 /* end confdefs.h. */
55581 /* System header to define __stub macros and hopefully few prototypes,
55582 which can conflict with char $ac_func (); below.
55583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55584 <limits.h> exists even on freestanding compilers. */
55586 # include <limits.h>
55588 # include <assert.h>
55590 /* Override any gcc2 internal prototype to avoid an error. */
55595 /* We use char because int might match the return type of a gcc2
55596 builtin and then its argument prototype would still apply. */
55598 /* The GNU C library defines this for functions which it implements
55599 to always fail with ENOSYS. Some functions are actually named
55600 something starting with __ and the normal name is an alias. */
55601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55604 char (*f) () = $ac_func;
55613 return f != $ac_func;
55618 rm -f conftest.$ac_objext conftest$ac_exeext
55619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55620 (eval $ac_link) 2>&5
55622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55623 (exit $ac_status); } &&
55624 { ac_try='test -s conftest$ac_exeext'
55625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55626 (eval $ac_try) 2>&5
55628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55629 (exit $ac_status); }; }; then
55630 eval "$as_ac_var=yes"
55632 echo "$as_me: failed program was:" >&5
55633 sed 's/^/| /' conftest.$ac_ext >&5
55635 eval "$as_ac_var=no"
55637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55641 if test `eval echo '${'$as_ac_var'}'` = yes; then
55642 cat >>confdefs.h <<_ACEOF
55643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55647 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55652 if test x$ac_cv_func_copysignl = x"yes"; then
55654 for ac_func in __signbitl
55656 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55657 echo "$as_me:$LINENO: checking for $ac_func" >&5
55658 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55659 if eval "test \"\${$as_ac_var+set}\" = set"; then
55660 echo $ECHO_N "(cached) $ECHO_C" >&6
55662 if test x$gcc_no_link = xyes; then
55663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55665 { (exit 1); exit 1; }; }
55667 cat >conftest.$ac_ext <<_ACEOF
55668 #line $LINENO "configure"
55671 cat confdefs.h >>conftest.$ac_ext
55672 cat >>conftest.$ac_ext <<_ACEOF
55673 /* end confdefs.h. */
55674 /* System header to define __stub macros and hopefully few prototypes,
55675 which can conflict with char $ac_func (); below.
55676 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55677 <limits.h> exists even on freestanding compilers. */
55679 # include <limits.h>
55681 # include <assert.h>
55683 /* Override any gcc2 internal prototype to avoid an error. */
55688 /* We use char because int might match the return type of a gcc2
55689 builtin and then its argument prototype would still apply. */
55691 /* The GNU C library defines this for functions which it implements
55692 to always fail with ENOSYS. Some functions are actually named
55693 something starting with __ and the normal name is an alias. */
55694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55697 char (*f) () = $ac_func;
55706 return f != $ac_func;
55711 rm -f conftest.$ac_objext conftest$ac_exeext
55712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55713 (eval $ac_link) 2>&5
55715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716 (exit $ac_status); } &&
55717 { ac_try='test -s conftest$ac_exeext'
55718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55719 (eval $ac_try) 2>&5
55721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55722 (exit $ac_status); }; }; then
55723 eval "$as_ac_var=yes"
55725 echo "$as_me: failed program was:" >&5
55726 sed 's/^/| /' conftest.$ac_ext >&5
55728 eval "$as_ac_var=no"
55730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55734 if test `eval echo '${'$as_ac_var'}'` = yes; then
55735 cat >>confdefs.h <<_ACEOF
55736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55740 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55746 # XXX Review this. Nothing uses it.
55747 if test -n "$LIBMATHOBJS"; then
55753 # Test wchar.h for mbstate_t, which is needed for char_traits and
55754 # others even if wchar_t support is not on.
55755 echo "$as_me:$LINENO: checking for mbstate_t" >&5
55756 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55757 cat >conftest.$ac_ext <<_ACEOF
55758 #line $LINENO "configure"
55761 cat confdefs.h >>conftest.$ac_ext
55762 cat >>conftest.$ac_ext <<_ACEOF
55763 /* end confdefs.h. */
55768 mbstate_t teststate;
55773 rm -f conftest.$ac_objext
55774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55775 (eval $ac_compile) 2>&5
55777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55778 (exit $ac_status); } &&
55779 { ac_try='test -s conftest.$ac_objext'
55780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55781 (eval $ac_try) 2>&5
55783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55784 (exit $ac_status); }; }; then
55787 echo "$as_me: failed program was:" >&5
55788 sed 's/^/| /' conftest.$ac_ext >&5
55792 rm -f conftest.$ac_objext conftest.$ac_ext
55793 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55794 echo "${ECHO_T}$have_mbstate_t" >&6
55795 if test x"$have_mbstate_t" = xyes; then
55796 cat >>confdefs.h <<\_ACEOF
55797 #define HAVE_MBSTATE_T 1
55802 # Sanity check for existence of ISO C99 headers for extended encoding.
55804 for ac_header in wchar.h
55806 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55808 echo "$as_me:$LINENO: checking for $ac_header" >&5
55809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55811 echo $ECHO_N "(cached) $ECHO_C" >&6
55813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55816 # Is the header compilable?
55817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55819 cat >conftest.$ac_ext <<_ACEOF
55820 #line $LINENO "configure"
55823 cat confdefs.h >>conftest.$ac_ext
55824 cat >>conftest.$ac_ext <<_ACEOF
55825 /* end confdefs.h. */
55826 $ac_includes_default
55827 #include <$ac_header>
55829 rm -f conftest.$ac_objext
55830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55831 (eval $ac_compile) 2>&5
55833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55834 (exit $ac_status); } &&
55835 { ac_try='test -s conftest.$ac_objext'
55836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55837 (eval $ac_try) 2>&5
55839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840 (exit $ac_status); }; }; then
55841 ac_header_compiler=yes
55843 echo "$as_me: failed program was:" >&5
55844 sed 's/^/| /' conftest.$ac_ext >&5
55846 ac_header_compiler=no
55848 rm -f conftest.$ac_objext conftest.$ac_ext
55849 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55850 echo "${ECHO_T}$ac_header_compiler" >&6
55852 # Is the header present?
55853 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55854 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55855 cat >conftest.$ac_ext <<_ACEOF
55856 #line $LINENO "configure"
55859 cat confdefs.h >>conftest.$ac_ext
55860 cat >>conftest.$ac_ext <<_ACEOF
55861 /* end confdefs.h. */
55862 #include <$ac_header>
55864 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55865 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55867 grep -v '^ *+' conftest.er1 >conftest.err
55869 cat conftest.err >&5
55870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55871 (exit $ac_status); } >/dev/null; then
55872 if test -s conftest.err; then
55873 ac_cpp_err=$ac_c_preproc_warn_flag
55880 if test -z "$ac_cpp_err"; then
55881 ac_header_preproc=yes
55883 echo "$as_me: failed program was:" >&5
55884 sed 's/^/| /' conftest.$ac_ext >&5
55886 ac_header_preproc=no
55888 rm -f conftest.err conftest.$ac_ext
55889 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55890 echo "${ECHO_T}$ac_header_preproc" >&6
55892 # So? What about this header?
55893 case $ac_header_compiler:$ac_header_preproc in
55895 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55896 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55901 ## ------------------------------------ ##
55902 ## Report this to bug-autoconf@gnu.org. ##
55903 ## ------------------------------------ ##
55906 sed "s/^/$as_me: WARNING: /" >&2
55909 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55910 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55911 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55912 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55917 ## ------------------------------------ ##
55918 ## Report this to bug-autoconf@gnu.org. ##
55919 ## ------------------------------------ ##
55922 sed "s/^/$as_me: WARNING: /" >&2
55925 echo "$as_me:$LINENO: checking for $ac_header" >&5
55926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55928 echo $ECHO_N "(cached) $ECHO_C" >&6
55930 eval "$as_ac_Header=$ac_header_preproc"
55932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55933 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55936 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55937 cat >>confdefs.h <<_ACEOF
55938 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55948 for ac_header in wctype.h
55950 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55951 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55952 echo "$as_me:$LINENO: checking for $ac_header" >&5
55953 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55955 echo $ECHO_N "(cached) $ECHO_C" >&6
55957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55960 # Is the header compilable?
55961 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55963 cat >conftest.$ac_ext <<_ACEOF
55964 #line $LINENO "configure"
55967 cat confdefs.h >>conftest.$ac_ext
55968 cat >>conftest.$ac_ext <<_ACEOF
55969 /* end confdefs.h. */
55970 $ac_includes_default
55971 #include <$ac_header>
55973 rm -f conftest.$ac_objext
55974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55975 (eval $ac_compile) 2>&5
55977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55978 (exit $ac_status); } &&
55979 { ac_try='test -s conftest.$ac_objext'
55980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55981 (eval $ac_try) 2>&5
55983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55984 (exit $ac_status); }; }; then
55985 ac_header_compiler=yes
55987 echo "$as_me: failed program was:" >&5
55988 sed 's/^/| /' conftest.$ac_ext >&5
55990 ac_header_compiler=no
55992 rm -f conftest.$ac_objext conftest.$ac_ext
55993 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55994 echo "${ECHO_T}$ac_header_compiler" >&6
55996 # Is the header present?
55997 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55998 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55999 cat >conftest.$ac_ext <<_ACEOF
56000 #line $LINENO "configure"
56003 cat confdefs.h >>conftest.$ac_ext
56004 cat >>conftest.$ac_ext <<_ACEOF
56005 /* end confdefs.h. */
56006 #include <$ac_header>
56008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56011 grep -v '^ *+' conftest.er1 >conftest.err
56013 cat conftest.err >&5
56014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56015 (exit $ac_status); } >/dev/null; then
56016 if test -s conftest.err; then
56017 ac_cpp_err=$ac_c_preproc_warn_flag
56024 if test -z "$ac_cpp_err"; then
56025 ac_header_preproc=yes
56027 echo "$as_me: failed program was:" >&5
56028 sed 's/^/| /' conftest.$ac_ext >&5
56030 ac_header_preproc=no
56032 rm -f conftest.err conftest.$ac_ext
56033 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56034 echo "${ECHO_T}$ac_header_preproc" >&6
56036 # So? What about this header?
56037 case $ac_header_compiler:$ac_header_preproc in
56039 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56040 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56041 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56042 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56045 ## ------------------------------------ ##
56046 ## Report this to bug-autoconf@gnu.org. ##
56047 ## ------------------------------------ ##
56050 sed "s/^/$as_me: WARNING: /" >&2
56053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56061 ## ------------------------------------ ##
56062 ## Report this to bug-autoconf@gnu.org. ##
56063 ## ------------------------------------ ##
56066 sed "s/^/$as_me: WARNING: /" >&2
56069 echo "$as_me:$LINENO: checking for $ac_header" >&5
56070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56072 echo $ECHO_N "(cached) $ECHO_C" >&6
56074 eval "$as_ac_Header=$ac_header_preproc"
56076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56081 cat >>confdefs.h <<_ACEOF
56082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56084 ac_has_wctype_h=yes
56092 # Only continue checking if the ISO C99 headers exist and support is on.
56093 if test x"$ac_has_wchar_h" = xyes &&
56094 test x"$ac_has_wctype_h" = xyes &&
56095 test x"$enable_c_mbchar" != xno; then
56097 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56098 # numeric_limits can instantiate type_traits<wchar_t>
56099 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56100 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56101 cat >conftest.$ac_ext <<_ACEOF
56102 #line $LINENO "configure"
56105 cat confdefs.h >>conftest.$ac_ext
56106 cat >>conftest.$ac_ext <<_ACEOF
56107 /* end confdefs.h. */
56112 int i = WCHAR_MIN; int j = WCHAR_MAX;
56117 rm -f conftest.$ac_objext
56118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56119 (eval $ac_compile) 2>&5
56121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56122 (exit $ac_status); } &&
56123 { ac_try='test -s conftest.$ac_objext'
56124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56125 (eval $ac_try) 2>&5
56127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56128 (exit $ac_status); }; }; then
56129 has_wchar_minmax=yes
56131 echo "$as_me: failed program was:" >&5
56132 sed 's/^/| /' conftest.$ac_ext >&5
56134 has_wchar_minmax=no
56136 rm -f conftest.$ac_objext conftest.$ac_ext
56137 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56138 echo "${ECHO_T}$has_wchar_minmax" >&6
56140 # Test wchar.h for WEOF, which is what we use to determine whether
56141 # to specialize for char_traits<wchar_t> or not.
56142 echo "$as_me:$LINENO: checking for WEOF" >&5
56143 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56144 cat >conftest.$ac_ext <<_ACEOF
56145 #line $LINENO "configure"
56148 cat confdefs.h >>conftest.$ac_ext
56149 cat >>conftest.$ac_ext <<_ACEOF
56150 /* end confdefs.h. */
56153 #include <stddef.h>
56162 rm -f conftest.$ac_objext
56163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56164 (eval $ac_compile) 2>&5
56166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56167 (exit $ac_status); } &&
56168 { ac_try='test -s conftest.$ac_objext'
56169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56170 (eval $ac_try) 2>&5
56172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56173 (exit $ac_status); }; }; then
56176 echo "$as_me: failed program was:" >&5
56177 sed 's/^/| /' conftest.$ac_ext >&5
56181 rm -f conftest.$ac_objext conftest.$ac_ext
56182 echo "$as_me:$LINENO: result: $has_weof" >&5
56183 echo "${ECHO_T}$has_weof" >&6
56185 # Tests for wide character functions used in char_traits<wchar_t>.
56193 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56196 echo "$as_me:$LINENO: checking for $ac_func" >&5
56197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56198 if eval "test \"\${$as_ac_var+set}\" = set"; then
56199 echo $ECHO_N "(cached) $ECHO_C" >&6
56201 if test x$gcc_no_link = xyes; then
56202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56204 { (exit 1); exit 1; }; }
56206 cat >conftest.$ac_ext <<_ACEOF
56207 #line $LINENO "configure"
56210 cat confdefs.h >>conftest.$ac_ext
56211 cat >>conftest.$ac_ext <<_ACEOF
56212 /* end confdefs.h. */
56213 /* System header to define __stub macros and hopefully few prototypes,
56214 which can conflict with char $ac_func (); below.
56215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56216 <limits.h> exists even on freestanding compilers. */
56218 # include <limits.h>
56220 # include <assert.h>
56222 /* Override any gcc2 internal prototype to avoid an error. */
56227 /* We use char because int might match the return type of a gcc2
56228 builtin and then its argument prototype would still apply. */
56230 /* The GNU C library defines this for functions which it implements
56231 to always fail with ENOSYS. Some functions are actually named
56232 something starting with __ and the normal name is an alias. */
56233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56236 char (*f) () = $ac_func;
56245 return f != $ac_func;
56250 rm -f conftest.$ac_objext conftest$ac_exeext
56251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56252 (eval $ac_link) 2>&5
56254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56255 (exit $ac_status); } &&
56256 { ac_try='test -s conftest$ac_exeext'
56257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56258 (eval $ac_try) 2>&5
56260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56261 (exit $ac_status); }; }; then
56262 eval "$as_ac_var=yes"
56264 echo "$as_me: failed program was:" >&5
56265 sed 's/^/| /' conftest.$ac_ext >&5
56267 eval "$as_ac_var=no"
56269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56273 if test `eval echo '${'$as_ac_var'}'` = yes; then
56274 cat >>confdefs.h <<_ACEOF
56275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56284 # Checks for names injected into std:: by the c_std headers.
56331 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56332 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56333 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56334 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56335 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56336 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56339 echo "$as_me:$LINENO: checking for $ac_func" >&5
56340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56341 if eval "test \"\${$as_ac_var+set}\" = set"; then
56342 echo $ECHO_N "(cached) $ECHO_C" >&6
56344 if test x$gcc_no_link = xyes; then
56345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56347 { (exit 1); exit 1; }; }
56349 cat >conftest.$ac_ext <<_ACEOF
56350 #line $LINENO "configure"
56353 cat confdefs.h >>conftest.$ac_ext
56354 cat >>conftest.$ac_ext <<_ACEOF
56355 /* end confdefs.h. */
56356 /* System header to define __stub macros and hopefully few prototypes,
56357 which can conflict with char $ac_func (); below.
56358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56359 <limits.h> exists even on freestanding compilers. */
56361 # include <limits.h>
56363 # include <assert.h>
56365 /* Override any gcc2 internal prototype to avoid an error. */
56370 /* We use char because int might match the return type of a gcc2
56371 builtin and then its argument prototype would still apply. */
56373 /* The GNU C library defines this for functions which it implements
56374 to always fail with ENOSYS. Some functions are actually named
56375 something starting with __ and the normal name is an alias. */
56376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56379 char (*f) () = $ac_func;
56388 return f != $ac_func;
56393 rm -f conftest.$ac_objext conftest$ac_exeext
56394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56395 (eval $ac_link) 2>&5
56397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56398 (exit $ac_status); } &&
56399 { ac_try='test -s conftest$ac_exeext'
56400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56401 (eval $ac_try) 2>&5
56403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56404 (exit $ac_status); }; }; then
56405 eval "$as_ac_var=yes"
56407 echo "$as_me: failed program was:" >&5
56408 sed 's/^/| /' conftest.$ac_ext >&5
56410 eval "$as_ac_var=no"
56412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56416 if test `eval echo '${'$as_ac_var'}'` = yes; then
56417 cat >>confdefs.h <<_ACEOF
56418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56427 # Checks for wide character functions that are not required
56428 # for basic wchar_t support. Don't disable support if they are missing.
56429 # Injection of these is wrapped with guard macros.
56435 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56438 echo "$as_me:$LINENO: checking for $ac_func" >&5
56439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56440 if eval "test \"\${$as_ac_var+set}\" = set"; then
56441 echo $ECHO_N "(cached) $ECHO_C" >&6
56443 if test x$gcc_no_link = xyes; then
56444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56446 { (exit 1); exit 1; }; }
56448 cat >conftest.$ac_ext <<_ACEOF
56449 #line $LINENO "configure"
56452 cat confdefs.h >>conftest.$ac_ext
56453 cat >>conftest.$ac_ext <<_ACEOF
56454 /* end confdefs.h. */
56455 /* System header to define __stub macros and hopefully few prototypes,
56456 which can conflict with char $ac_func (); below.
56457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56458 <limits.h> exists even on freestanding compilers. */
56460 # include <limits.h>
56462 # include <assert.h>
56464 /* Override any gcc2 internal prototype to avoid an error. */
56469 /* We use char because int might match the return type of a gcc2
56470 builtin and then its argument prototype would still apply. */
56472 /* The GNU C library defines this for functions which it implements
56473 to always fail with ENOSYS. Some functions are actually named
56474 something starting with __ and the normal name is an alias. */
56475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56478 char (*f) () = $ac_func;
56487 return f != $ac_func;
56492 rm -f conftest.$ac_objext conftest$ac_exeext
56493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56494 (eval $ac_link) 2>&5
56496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56497 (exit $ac_status); } &&
56498 { ac_try='test -s conftest$ac_exeext'
56499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56500 (eval $ac_try) 2>&5
56502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56503 (exit $ac_status); }; }; then
56504 eval "$as_ac_var=yes"
56506 echo "$as_me: failed program was:" >&5
56507 sed 's/^/| /' conftest.$ac_ext >&5
56509 eval "$as_ac_var=no"
56511 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56515 if test `eval echo '${'$as_ac_var'}'` = yes; then
56516 cat >>confdefs.h <<_ACEOF
56517 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56524 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56525 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56526 if test x"$has_weof" = xyes &&
56527 test x"$has_wchar_minmax" = xyes &&
56528 test x"$ac_wfuncs" = xyes;
56530 ac_isoC99_wchar_t=yes
56532 ac_isoC99_wchar_t=no
56534 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56535 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56537 # Use iconv for wchar_t to char conversions. As such, check for
56538 # X/Open Portability Guide, version 2 features (XPG2).
56539 if test "${ac_cv_header_iconv_h+set}" = set; then
56540 echo "$as_me:$LINENO: checking for iconv.h" >&5
56541 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56542 if test "${ac_cv_header_iconv_h+set}" = set; then
56543 echo $ECHO_N "(cached) $ECHO_C" >&6
56545 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56546 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56548 # Is the header compilable?
56549 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56550 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56551 cat >conftest.$ac_ext <<_ACEOF
56552 #line $LINENO "configure"
56555 cat confdefs.h >>conftest.$ac_ext
56556 cat >>conftest.$ac_ext <<_ACEOF
56557 /* end confdefs.h. */
56558 $ac_includes_default
56561 rm -f conftest.$ac_objext
56562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56563 (eval $ac_compile) 2>&5
56565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56566 (exit $ac_status); } &&
56567 { ac_try='test -s conftest.$ac_objext'
56568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56569 (eval $ac_try) 2>&5
56571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56572 (exit $ac_status); }; }; then
56573 ac_header_compiler=yes
56575 echo "$as_me: failed program was:" >&5
56576 sed 's/^/| /' conftest.$ac_ext >&5
56578 ac_header_compiler=no
56580 rm -f conftest.$ac_objext conftest.$ac_ext
56581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56582 echo "${ECHO_T}$ac_header_compiler" >&6
56584 # Is the header present?
56585 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56586 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56587 cat >conftest.$ac_ext <<_ACEOF
56588 #line $LINENO "configure"
56591 cat confdefs.h >>conftest.$ac_ext
56592 cat >>conftest.$ac_ext <<_ACEOF
56593 /* end confdefs.h. */
56596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56597 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56599 grep -v '^ *+' conftest.er1 >conftest.err
56601 cat conftest.err >&5
56602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56603 (exit $ac_status); } >/dev/null; then
56604 if test -s conftest.err; then
56605 ac_cpp_err=$ac_c_preproc_warn_flag
56612 if test -z "$ac_cpp_err"; then
56613 ac_header_preproc=yes
56615 echo "$as_me: failed program was:" >&5
56616 sed 's/^/| /' conftest.$ac_ext >&5
56618 ac_header_preproc=no
56620 rm -f conftest.err conftest.$ac_ext
56621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56622 echo "${ECHO_T}$ac_header_preproc" >&6
56624 # So? What about this header?
56625 case $ac_header_compiler:$ac_header_preproc in
56627 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56628 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56629 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56630 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56633 ## ------------------------------------ ##
56634 ## Report this to bug-autoconf@gnu.org. ##
56635 ## ------------------------------------ ##
56638 sed "s/^/$as_me: WARNING: /" >&2
56641 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56642 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56643 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56644 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56645 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56646 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56649 ## ------------------------------------ ##
56650 ## Report this to bug-autoconf@gnu.org. ##
56651 ## ------------------------------------ ##
56654 sed "s/^/$as_me: WARNING: /" >&2
56657 echo "$as_me:$LINENO: checking for iconv.h" >&5
56658 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56659 if test "${ac_cv_header_iconv_h+set}" = set; then
56660 echo $ECHO_N "(cached) $ECHO_C" >&6
56662 ac_cv_header_iconv_h=$ac_header_preproc
56664 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56665 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56668 if test $ac_cv_header_iconv_h = yes; then
56675 if test "${ac_cv_header_langinfo_h+set}" = set; then
56676 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56677 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56678 if test "${ac_cv_header_langinfo_h+set}" = set; then
56679 echo $ECHO_N "(cached) $ECHO_C" >&6
56681 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56682 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56684 # Is the header compilable?
56685 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56686 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56687 cat >conftest.$ac_ext <<_ACEOF
56688 #line $LINENO "configure"
56691 cat confdefs.h >>conftest.$ac_ext
56692 cat >>conftest.$ac_ext <<_ACEOF
56693 /* end confdefs.h. */
56694 $ac_includes_default
56695 #include <langinfo.h>
56697 rm -f conftest.$ac_objext
56698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56699 (eval $ac_compile) 2>&5
56701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702 (exit $ac_status); } &&
56703 { ac_try='test -s conftest.$ac_objext'
56704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705 (eval $ac_try) 2>&5
56707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708 (exit $ac_status); }; }; then
56709 ac_header_compiler=yes
56711 echo "$as_me: failed program was:" >&5
56712 sed 's/^/| /' conftest.$ac_ext >&5
56714 ac_header_compiler=no
56716 rm -f conftest.$ac_objext conftest.$ac_ext
56717 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56718 echo "${ECHO_T}$ac_header_compiler" >&6
56720 # Is the header present?
56721 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56722 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56723 cat >conftest.$ac_ext <<_ACEOF
56724 #line $LINENO "configure"
56727 cat confdefs.h >>conftest.$ac_ext
56728 cat >>conftest.$ac_ext <<_ACEOF
56729 /* end confdefs.h. */
56730 #include <langinfo.h>
56732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56735 grep -v '^ *+' conftest.er1 >conftest.err
56737 cat conftest.err >&5
56738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56739 (exit $ac_status); } >/dev/null; then
56740 if test -s conftest.err; then
56741 ac_cpp_err=$ac_c_preproc_warn_flag
56748 if test -z "$ac_cpp_err"; then
56749 ac_header_preproc=yes
56751 echo "$as_me: failed program was:" >&5
56752 sed 's/^/| /' conftest.$ac_ext >&5
56754 ac_header_preproc=no
56756 rm -f conftest.err conftest.$ac_ext
56757 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56758 echo "${ECHO_T}$ac_header_preproc" >&6
56760 # So? What about this header?
56761 case $ac_header_compiler:$ac_header_preproc in
56763 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56764 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56765 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56766 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56769 ## ------------------------------------ ##
56770 ## Report this to bug-autoconf@gnu.org. ##
56771 ## ------------------------------------ ##
56774 sed "s/^/$as_me: WARNING: /" >&2
56777 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56778 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56779 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56780 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56781 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56782 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56785 ## ------------------------------------ ##
56786 ## Report this to bug-autoconf@gnu.org. ##
56787 ## ------------------------------------ ##
56790 sed "s/^/$as_me: WARNING: /" >&2
56793 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56794 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56795 if test "${ac_cv_header_langinfo_h+set}" = set; then
56796 echo $ECHO_N "(cached) $ECHO_C" >&6
56798 ac_cv_header_langinfo_h=$ac_header_preproc
56800 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56801 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56804 if test $ac_cv_header_langinfo_h = yes; then
56805 ac_has_langinfo_h=yes
56807 ac_has_langinfo_h=no
56812 # Check for existence of libiconv.a providing XPG2 wchar_t support.
56813 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56814 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56815 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56816 echo $ECHO_N "(cached) $ECHO_C" >&6
56818 ac_check_lib_save_LIBS=$LIBS
56819 LIBS="-liconv $LIBS"
56820 if test x$gcc_no_link = xyes; then
56821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56823 { (exit 1); exit 1; }; }
56825 cat >conftest.$ac_ext <<_ACEOF
56826 #line $LINENO "configure"
56829 cat confdefs.h >>conftest.$ac_ext
56830 cat >>conftest.$ac_ext <<_ACEOF
56831 /* end confdefs.h. */
56833 /* Override any gcc2 internal prototype to avoid an error. */
56837 /* We use char because int might match the return type of a gcc2
56838 builtin and then its argument prototype would still apply. */
56848 rm -f conftest.$ac_objext conftest$ac_exeext
56849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56850 (eval $ac_link) 2>&5
56852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56853 (exit $ac_status); } &&
56854 { ac_try='test -s conftest$ac_exeext'
56855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56856 (eval $ac_try) 2>&5
56858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56859 (exit $ac_status); }; }; then
56860 ac_cv_lib_iconv_iconv=yes
56862 echo "$as_me: failed program was:" >&5
56863 sed 's/^/| /' conftest.$ac_ext >&5
56865 ac_cv_lib_iconv_iconv=no
56867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56868 LIBS=$ac_check_lib_save_LIBS
56870 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
56871 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
56872 if test $ac_cv_lib_iconv_iconv = yes; then
56876 ac_save_LIBS="$LIBS"
56877 LIBS="$LIBS $libiconv"
56883 for ac_func in iconv_open iconv_close iconv nl_langinfo
56885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56886 echo "$as_me:$LINENO: checking for $ac_func" >&5
56887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56888 if eval "test \"\${$as_ac_var+set}\" = set"; then
56889 echo $ECHO_N "(cached) $ECHO_C" >&6
56891 if test x$gcc_no_link = xyes; then
56892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56894 { (exit 1); exit 1; }; }
56896 cat >conftest.$ac_ext <<_ACEOF
56897 #line $LINENO "configure"
56900 cat confdefs.h >>conftest.$ac_ext
56901 cat >>conftest.$ac_ext <<_ACEOF
56902 /* end confdefs.h. */
56903 /* System header to define __stub macros and hopefully few prototypes,
56904 which can conflict with char $ac_func (); below.
56905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56906 <limits.h> exists even on freestanding compilers. */
56908 # include <limits.h>
56910 # include <assert.h>
56912 /* Override any gcc2 internal prototype to avoid an error. */
56917 /* We use char because int might match the return type of a gcc2
56918 builtin and then its argument prototype would still apply. */
56920 /* The GNU C library defines this for functions which it implements
56921 to always fail with ENOSYS. Some functions are actually named
56922 something starting with __ and the normal name is an alias. */
56923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56926 char (*f) () = $ac_func;
56935 return f != $ac_func;
56940 rm -f conftest.$ac_objext conftest$ac_exeext
56941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56942 (eval $ac_link) 2>&5
56944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56945 (exit $ac_status); } &&
56946 { ac_try='test -s conftest$ac_exeext'
56947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56948 (eval $ac_try) 2>&5
56950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56951 (exit $ac_status); }; }; then
56952 eval "$as_ac_var=yes"
56954 echo "$as_me: failed program was:" >&5
56955 sed 's/^/| /' conftest.$ac_ext >&5
56957 eval "$as_ac_var=no"
56959 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56963 if test `eval echo '${'$as_ac_var'}'` = yes; then
56964 cat >>confdefs.h <<_ACEOF
56965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56974 LIBS="$ac_save_LIBS"
56976 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
56977 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
56978 if test x"$ac_has_iconv_h" = xyes &&
56979 test x"$ac_has_langinfo_h" = xyes &&
56980 test x"$ac_XPG2funcs" = xyes;
56982 ac_XPG2_wchar_t=yes
56986 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
56987 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
56989 # At the moment, only enable wchar_t specializations if all the
56990 # above support is present.
56991 if test x"$ac_isoC99_wchar_t" = xyes &&
56992 test x"$ac_XPG2_wchar_t" = xyes;
56994 cat >>confdefs.h <<\_ACEOF
56995 #define _GLIBCXX_USE_WCHAR_T 1
57001 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57002 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57003 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57004 echo "${ECHO_T}$enable_wchar_t" >&6
57006 cat >>confdefs.h <<\_ACEOF
57007 #define HAVE_COPYSIGN 1
57010 cat >>confdefs.h <<\_ACEOF
57011 #define HAVE_COPYSIGNF 1
57014 cat >>confdefs.h <<\_ACEOF
57015 #define HAVE_FINITEF 1
57018 cat >>confdefs.h <<\_ACEOF
57019 #define HAVE_FINITE 1
57022 cat >>confdefs.h <<\_ACEOF
57023 #define HAVE_FREXPF 1
57026 cat >>confdefs.h <<\_ACEOF
57027 #define HAVE_HYPOTF 1
57030 cat >>confdefs.h <<\_ACEOF
57031 #define HAVE_ISINF 1
57034 cat >>confdefs.h <<\_ACEOF
57035 #define HAVE_ISINFF 1
57038 cat >>confdefs.h <<\_ACEOF
57039 #define HAVE_ISNAN 1
57042 cat >>confdefs.h <<\_ACEOF
57043 #define HAVE_ISNANF 1
57046 if test x"long_double_math_on_this_cpu" = x"yes"; then
57047 cat >>confdefs.h <<\_ACEOF
57048 #define HAVE_FINITEL 1
57051 cat >>confdefs.h <<\_ACEOF
57052 #define HAVE_ISINFL 1
57055 cat >>confdefs.h <<\_ACEOF
57056 #define HAVE_ISNANL 1
57061 *-qnx6.1* | *-qnx6.2*)
57062 #os_include_dir="os/qnx/qnx6.1"
57063 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57066 # If we're not using GNU ld, then there's no point in even trying these
57067 # tests. Check for that first. We should have already tested for gld
57068 # by now (in libtool), but require it now just to be safe...
57069 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57070 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57074 # The name set by libtool depends on the version of libtool. Shame on us
57075 # for depending on an impl detail, but c'est la vie. Older versions used
57076 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57077 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57078 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57079 # set (hence we're using an older libtool), then set it.
57080 if test x${with_gnu_ld+set} != xset; then
57081 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57082 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57085 with_gnu_ld=$ac_cv_prog_gnu_ld
57089 # Start by getting the version number. I think the libtool test already
57090 # does some of this, but throws away the result.
57092 ldver=`$LD --version 2>/dev/null | head -1 | \
57093 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57095 glibcxx_gnu_ld_version=`echo $ldver | \
57096 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57098 # Set --gc-sections.
57099 if test "$with_gnu_ld" = "notbroken"; then
57100 # GNU ld it is! Joy and bunny rabbits!
57102 # All these tests are for C++; save the language and the compiler flags.
57103 # Need to do this so that g++ won't try to link in libstdc++
57104 ac_test_CFLAGS="${CFLAGS+set}"
57105 ac_save_CFLAGS="$CFLAGS"
57106 CFLAGS='-x c++ -Wl,--gc-sections'
57108 # Check for -Wl,--gc-sections
57109 # XXX This test is broken at the moment, as symbols required for linking
57110 # are now in libsupc++ (not built yet). In addition, this test has
57111 # cored on solaris in the past. In addition, --gc-sections doesn't
57112 # really work at the moment (keeps on discarding used sections, first
57113 # .eh_frame and now some of the glibc sections for iconv).
57114 # Bzzzzt. Thanks for playing, maybe next time.
57115 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57116 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57117 if test "$cross_compiling" = yes; then
57118 ac_sectionLDflags=yes
57120 cat >conftest.$ac_ext <<_ACEOF
57121 #line $LINENO "configure"
57124 cat confdefs.h >>conftest.$ac_ext
57125 cat >>conftest.$ac_ext <<_ACEOF
57126 /* end confdefs.h. */
57136 rm -f conftest$ac_exeext
57137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57138 (eval $ac_link) 2>&5
57140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57143 (eval $ac_try) 2>&5
57145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57146 (exit $ac_status); }; }; then
57147 ac_sectionLDflags=yes
57149 echo "$as_me: program exited with status $ac_status" >&5
57150 echo "$as_me: failed program was:" >&5
57151 sed 's/^/| /' conftest.$ac_ext >&5
57153 ( exit $ac_status )
57154 ac_sectionLDflags=no
57156 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57158 if test "$ac_test_CFLAGS" = set; then
57159 CFLAGS="$ac_save_CFLAGS"
57161 # this is the suspicious part
57164 if test "$ac_sectionLDflags" = "yes"; then
57165 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57167 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57168 echo "${ECHO_T}$ac_sectionLDflags" >&6
57171 # Set linker optimization flags.
57172 if test x"$with_gnu_ld" = x"yes"; then
57173 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57181 echo "$as_me:$LINENO: checking for main in -lm" >&5
57182 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57183 if test "${ac_cv_lib_m_main+set}" = set; then
57184 echo $ECHO_N "(cached) $ECHO_C" >&6
57186 ac_check_lib_save_LIBS=$LIBS
57188 if test x$gcc_no_link = xyes; then
57189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57191 { (exit 1); exit 1; }; }
57193 cat >conftest.$ac_ext <<_ACEOF
57194 #line $LINENO "configure"
57197 cat confdefs.h >>conftest.$ac_ext
57198 cat >>conftest.$ac_ext <<_ACEOF
57199 /* end confdefs.h. */
57210 rm -f conftest.$ac_objext conftest$ac_exeext
57211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57212 (eval $ac_link) 2>&5
57214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57215 (exit $ac_status); } &&
57216 { ac_try='test -s conftest$ac_exeext'
57217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57218 (eval $ac_try) 2>&5
57220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57221 (exit $ac_status); }; }; then
57222 ac_cv_lib_m_main=yes
57224 echo "$as_me: failed program was:" >&5
57225 sed 's/^/| /' conftest.$ac_ext >&5
57227 ac_cv_lib_m_main=no
57229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57230 LIBS=$ac_check_lib_save_LIBS
57232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57233 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57234 if test $ac_cv_lib_m_main = yes; then
57235 cat >>confdefs.h <<_ACEOF
57236 #define HAVE_LIBM 1
57245 for ac_func in nan copysignf
57247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57248 echo "$as_me:$LINENO: checking for $ac_func" >&5
57249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57250 if eval "test \"\${$as_ac_var+set}\" = set"; then
57251 echo $ECHO_N "(cached) $ECHO_C" >&6
57253 if test x$gcc_no_link = xyes; then
57254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57256 { (exit 1); exit 1; }; }
57258 cat >conftest.$ac_ext <<_ACEOF
57259 #line $LINENO "configure"
57262 cat confdefs.h >>conftest.$ac_ext
57263 cat >>conftest.$ac_ext <<_ACEOF
57264 /* end confdefs.h. */
57265 /* System header to define __stub macros and hopefully few prototypes,
57266 which can conflict with char $ac_func (); below.
57267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57268 <limits.h> exists even on freestanding compilers. */
57270 # include <limits.h>
57272 # include <assert.h>
57274 /* Override any gcc2 internal prototype to avoid an error. */
57279 /* We use char because int might match the return type of a gcc2
57280 builtin and then its argument prototype would still apply. */
57282 /* The GNU C library defines this for functions which it implements
57283 to always fail with ENOSYS. Some functions are actually named
57284 something starting with __ and the normal name is an alias. */
57285 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57288 char (*f) () = $ac_func;
57297 return f != $ac_func;
57302 rm -f conftest.$ac_objext conftest$ac_exeext
57303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57304 (eval $ac_link) 2>&5
57306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307 (exit $ac_status); } &&
57308 { ac_try='test -s conftest$ac_exeext'
57309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57310 (eval $ac_try) 2>&5
57312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57313 (exit $ac_status); }; }; then
57314 eval "$as_ac_var=yes"
57316 echo "$as_me: failed program was:" >&5
57317 sed 's/^/| /' conftest.$ac_ext >&5
57319 eval "$as_ac_var=no"
57321 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57325 if test `eval echo '${'$as_ac_var'}'` = yes; then
57326 cat >>confdefs.h <<_ACEOF
57327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57331 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57337 for ac_func in __signbit
57339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57340 echo "$as_me:$LINENO: checking for $ac_func" >&5
57341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57342 if eval "test \"\${$as_ac_var+set}\" = set"; then
57343 echo $ECHO_N "(cached) $ECHO_C" >&6
57345 if test x$gcc_no_link = xyes; then
57346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57348 { (exit 1); exit 1; }; }
57350 cat >conftest.$ac_ext <<_ACEOF
57351 #line $LINENO "configure"
57354 cat confdefs.h >>conftest.$ac_ext
57355 cat >>conftest.$ac_ext <<_ACEOF
57356 /* end confdefs.h. */
57357 /* System header to define __stub macros and hopefully few prototypes,
57358 which can conflict with char $ac_func (); below.
57359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57360 <limits.h> exists even on freestanding compilers. */
57362 # include <limits.h>
57364 # include <assert.h>
57366 /* Override any gcc2 internal prototype to avoid an error. */
57371 /* We use char because int might match the return type of a gcc2
57372 builtin and then its argument prototype would still apply. */
57374 /* The GNU C library defines this for functions which it implements
57375 to always fail with ENOSYS. Some functions are actually named
57376 something starting with __ and the normal name is an alias. */
57377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57380 char (*f) () = $ac_func;
57389 return f != $ac_func;
57394 rm -f conftest.$ac_objext conftest$ac_exeext
57395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57396 (eval $ac_link) 2>&5
57398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399 (exit $ac_status); } &&
57400 { ac_try='test -s conftest$ac_exeext'
57401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57402 (eval $ac_try) 2>&5
57404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57405 (exit $ac_status); }; }; then
57406 eval "$as_ac_var=yes"
57408 echo "$as_me: failed program was:" >&5
57409 sed 's/^/| /' conftest.$ac_ext >&5
57411 eval "$as_ac_var=no"
57413 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57417 if test `eval echo '${'$as_ac_var'}'` = yes; then
57418 cat >>confdefs.h <<_ACEOF
57419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57423 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57428 for ac_func in __signbitf
57430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57431 echo "$as_me:$LINENO: checking for $ac_func" >&5
57432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57433 if eval "test \"\${$as_ac_var+set}\" = set"; then
57434 echo $ECHO_N "(cached) $ECHO_C" >&6
57436 if test x$gcc_no_link = xyes; then
57437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57439 { (exit 1); exit 1; }; }
57441 cat >conftest.$ac_ext <<_ACEOF
57442 #line $LINENO "configure"
57445 cat confdefs.h >>conftest.$ac_ext
57446 cat >>conftest.$ac_ext <<_ACEOF
57447 /* end confdefs.h. */
57448 /* System header to define __stub macros and hopefully few prototypes,
57449 which can conflict with char $ac_func (); below.
57450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57451 <limits.h> exists even on freestanding compilers. */
57453 # include <limits.h>
57455 # include <assert.h>
57457 /* Override any gcc2 internal prototype to avoid an error. */
57462 /* We use char because int might match the return type of a gcc2
57463 builtin and then its argument prototype would still apply. */
57465 /* The GNU C library defines this for functions which it implements
57466 to always fail with ENOSYS. Some functions are actually named
57467 something starting with __ and the normal name is an alias. */
57468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57471 char (*f) () = $ac_func;
57480 return f != $ac_func;
57485 rm -f conftest.$ac_objext conftest$ac_exeext
57486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57487 (eval $ac_link) 2>&5
57489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490 (exit $ac_status); } &&
57491 { ac_try='test -s conftest$ac_exeext'
57492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57493 (eval $ac_try) 2>&5
57495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57496 (exit $ac_status); }; }; then
57497 eval "$as_ac_var=yes"
57499 echo "$as_me: failed program was:" >&5
57500 sed 's/^/| /' conftest.$ac_ext >&5
57502 eval "$as_ac_var=no"
57504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57508 if test `eval echo '${'$as_ac_var'}'` = yes; then
57509 cat >>confdefs.h <<_ACEOF
57510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57514 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57519 if test x$ac_cv_func_copysignl = x"yes"; then
57521 for ac_func in __signbitl
57523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57524 echo "$as_me:$LINENO: checking for $ac_func" >&5
57525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57526 if eval "test \"\${$as_ac_var+set}\" = set"; then
57527 echo $ECHO_N "(cached) $ECHO_C" >&6
57529 if test x$gcc_no_link = xyes; then
57530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57532 { (exit 1); exit 1; }; }
57534 cat >conftest.$ac_ext <<_ACEOF
57535 #line $LINENO "configure"
57538 cat confdefs.h >>conftest.$ac_ext
57539 cat >>conftest.$ac_ext <<_ACEOF
57540 /* end confdefs.h. */
57541 /* System header to define __stub macros and hopefully few prototypes,
57542 which can conflict with char $ac_func (); below.
57543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57544 <limits.h> exists even on freestanding compilers. */
57546 # include <limits.h>
57548 # include <assert.h>
57550 /* Override any gcc2 internal prototype to avoid an error. */
57555 /* We use char because int might match the return type of a gcc2
57556 builtin and then its argument prototype would still apply. */
57558 /* The GNU C library defines this for functions which it implements
57559 to always fail with ENOSYS. Some functions are actually named
57560 something starting with __ and the normal name is an alias. */
57561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57564 char (*f) () = $ac_func;
57573 return f != $ac_func;
57578 rm -f conftest.$ac_objext conftest$ac_exeext
57579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57580 (eval $ac_link) 2>&5
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); } &&
57584 { ac_try='test -s conftest$ac_exeext'
57585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586 (eval $ac_try) 2>&5
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); }; }; then
57590 eval "$as_ac_var=yes"
57592 echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57595 eval "$as_ac_var=no"
57597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57601 if test `eval echo '${'$as_ac_var'}'` = yes; then
57602 cat >>confdefs.h <<_ACEOF
57603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57607 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57613 # XXX Review this. Nothing uses it.
57614 if test -n "$LIBMATHOBJS"; then
57620 # Test wchar.h for mbstate_t, which is needed for char_traits and
57621 # others even if wchar_t support is not on.
57622 echo "$as_me:$LINENO: checking for mbstate_t" >&5
57623 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57624 cat >conftest.$ac_ext <<_ACEOF
57625 #line $LINENO "configure"
57628 cat confdefs.h >>conftest.$ac_ext
57629 cat >>conftest.$ac_ext <<_ACEOF
57630 /* end confdefs.h. */
57635 mbstate_t teststate;
57640 rm -f conftest.$ac_objext
57641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57642 (eval $ac_compile) 2>&5
57644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57645 (exit $ac_status); } &&
57646 { ac_try='test -s conftest.$ac_objext'
57647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57648 (eval $ac_try) 2>&5
57650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57651 (exit $ac_status); }; }; then
57654 echo "$as_me: failed program was:" >&5
57655 sed 's/^/| /' conftest.$ac_ext >&5
57659 rm -f conftest.$ac_objext conftest.$ac_ext
57660 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
57661 echo "${ECHO_T}$have_mbstate_t" >&6
57662 if test x"$have_mbstate_t" = xyes; then
57663 cat >>confdefs.h <<\_ACEOF
57664 #define HAVE_MBSTATE_T 1
57669 # Sanity check for existence of ISO C99 headers for extended encoding.
57671 for ac_header in wchar.h
57673 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57675 echo "$as_me:$LINENO: checking for $ac_header" >&5
57676 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57677 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57678 echo $ECHO_N "(cached) $ECHO_C" >&6
57680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57683 # Is the header compilable?
57684 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57686 cat >conftest.$ac_ext <<_ACEOF
57687 #line $LINENO "configure"
57690 cat confdefs.h >>conftest.$ac_ext
57691 cat >>conftest.$ac_ext <<_ACEOF
57692 /* end confdefs.h. */
57693 $ac_includes_default
57694 #include <$ac_header>
57696 rm -f conftest.$ac_objext
57697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57698 (eval $ac_compile) 2>&5
57700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57701 (exit $ac_status); } &&
57702 { ac_try='test -s conftest.$ac_objext'
57703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57704 (eval $ac_try) 2>&5
57706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57707 (exit $ac_status); }; }; then
57708 ac_header_compiler=yes
57710 echo "$as_me: failed program was:" >&5
57711 sed 's/^/| /' conftest.$ac_ext >&5
57713 ac_header_compiler=no
57715 rm -f conftest.$ac_objext conftest.$ac_ext
57716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57717 echo "${ECHO_T}$ac_header_compiler" >&6
57719 # Is the header present?
57720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57722 cat >conftest.$ac_ext <<_ACEOF
57723 #line $LINENO "configure"
57726 cat confdefs.h >>conftest.$ac_ext
57727 cat >>conftest.$ac_ext <<_ACEOF
57728 /* end confdefs.h. */
57729 #include <$ac_header>
57731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57732 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57734 grep -v '^ *+' conftest.er1 >conftest.err
57736 cat conftest.err >&5
57737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57738 (exit $ac_status); } >/dev/null; then
57739 if test -s conftest.err; then
57740 ac_cpp_err=$ac_c_preproc_warn_flag
57747 if test -z "$ac_cpp_err"; then
57748 ac_header_preproc=yes
57750 echo "$as_me: failed program was:" >&5
57751 sed 's/^/| /' conftest.$ac_ext >&5
57753 ac_header_preproc=no
57755 rm -f conftest.err conftest.$ac_ext
57756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57757 echo "${ECHO_T}$ac_header_preproc" >&6
57759 # So? What about this header?
57760 case $ac_header_compiler:$ac_header_preproc in
57762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57768 ## ------------------------------------ ##
57769 ## Report this to bug-autoconf@gnu.org. ##
57770 ## ------------------------------------ ##
57773 sed "s/^/$as_me: WARNING: /" >&2
57776 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57777 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57778 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57779 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57784 ## ------------------------------------ ##
57785 ## Report this to bug-autoconf@gnu.org. ##
57786 ## ------------------------------------ ##
57789 sed "s/^/$as_me: WARNING: /" >&2
57792 echo "$as_me:$LINENO: checking for $ac_header" >&5
57793 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57795 echo $ECHO_N "(cached) $ECHO_C" >&6
57797 eval "$as_ac_Header=$ac_header_preproc"
57799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57804 cat >>confdefs.h <<_ACEOF
57805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57815 for ac_header in wctype.h
57817 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57819 echo "$as_me:$LINENO: checking for $ac_header" >&5
57820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57822 echo $ECHO_N "(cached) $ECHO_C" >&6
57824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57827 # Is the header compilable?
57828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57830 cat >conftest.$ac_ext <<_ACEOF
57831 #line $LINENO "configure"
57834 cat confdefs.h >>conftest.$ac_ext
57835 cat >>conftest.$ac_ext <<_ACEOF
57836 /* end confdefs.h. */
57837 $ac_includes_default
57838 #include <$ac_header>
57840 rm -f conftest.$ac_objext
57841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57842 (eval $ac_compile) 2>&5
57844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57845 (exit $ac_status); } &&
57846 { ac_try='test -s conftest.$ac_objext'
57847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848 (eval $ac_try) 2>&5
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); }; }; then
57852 ac_header_compiler=yes
57854 echo "$as_me: failed program was:" >&5
57855 sed 's/^/| /' conftest.$ac_ext >&5
57857 ac_header_compiler=no
57859 rm -f conftest.$ac_objext conftest.$ac_ext
57860 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57861 echo "${ECHO_T}$ac_header_compiler" >&6
57863 # Is the header present?
57864 echo "$as_me:$LINENO: checking $ac_header presence" >&5
57865 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
57866 cat >conftest.$ac_ext <<_ACEOF
57867 #line $LINENO "configure"
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h. */
57873 #include <$ac_header>
57875 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57876 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57878 grep -v '^ *+' conftest.er1 >conftest.err
57880 cat conftest.err >&5
57881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57882 (exit $ac_status); } >/dev/null; then
57883 if test -s conftest.err; then
57884 ac_cpp_err=$ac_c_preproc_warn_flag
57891 if test -z "$ac_cpp_err"; then
57892 ac_header_preproc=yes
57894 echo "$as_me: failed program was:" >&5
57895 sed 's/^/| /' conftest.$ac_ext >&5
57897 ac_header_preproc=no
57899 rm -f conftest.err conftest.$ac_ext
57900 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57901 echo "${ECHO_T}$ac_header_preproc" >&6
57903 # So? What about this header?
57904 case $ac_header_compiler:$ac_header_preproc in
57906 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
57907 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
57908 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57909 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57912 ## ------------------------------------ ##
57913 ## Report this to bug-autoconf@gnu.org. ##
57914 ## ------------------------------------ ##
57917 sed "s/^/$as_me: WARNING: /" >&2
57920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
57921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
57922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
57923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
57924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
57925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
57928 ## ------------------------------------ ##
57929 ## Report this to bug-autoconf@gnu.org. ##
57930 ## ------------------------------------ ##
57933 sed "s/^/$as_me: WARNING: /" >&2
57936 echo "$as_me:$LINENO: checking for $ac_header" >&5
57937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57938 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57939 echo $ECHO_N "(cached) $ECHO_C" >&6
57941 eval "$as_ac_Header=$ac_header_preproc"
57943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57947 if test `eval echo '${'$as_ac_Header'}'` = yes; then
57948 cat >>confdefs.h <<_ACEOF
57949 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
57951 ac_has_wctype_h=yes
57959 # Only continue checking if the ISO C99 headers exist and support is on.
57960 if test x"$ac_has_wchar_h" = xyes &&
57961 test x"$ac_has_wctype_h" = xyes &&
57962 test x"$enable_c_mbchar" != xno; then
57964 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
57965 # numeric_limits can instantiate type_traits<wchar_t>
57966 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
57967 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
57968 cat >conftest.$ac_ext <<_ACEOF
57969 #line $LINENO "configure"
57972 cat confdefs.h >>conftest.$ac_ext
57973 cat >>conftest.$ac_ext <<_ACEOF
57974 /* end confdefs.h. */
57979 int i = WCHAR_MIN; int j = WCHAR_MAX;
57984 rm -f conftest.$ac_objext
57985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57986 (eval $ac_compile) 2>&5
57988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57989 (exit $ac_status); } &&
57990 { ac_try='test -s conftest.$ac_objext'
57991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57992 (eval $ac_try) 2>&5
57994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57995 (exit $ac_status); }; }; then
57996 has_wchar_minmax=yes
57998 echo "$as_me: failed program was:" >&5
57999 sed 's/^/| /' conftest.$ac_ext >&5
58001 has_wchar_minmax=no
58003 rm -f conftest.$ac_objext conftest.$ac_ext
58004 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58005 echo "${ECHO_T}$has_wchar_minmax" >&6
58007 # Test wchar.h for WEOF, which is what we use to determine whether
58008 # to specialize for char_traits<wchar_t> or not.
58009 echo "$as_me:$LINENO: checking for WEOF" >&5
58010 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58011 cat >conftest.$ac_ext <<_ACEOF
58012 #line $LINENO "configure"
58015 cat confdefs.h >>conftest.$ac_ext
58016 cat >>conftest.$ac_ext <<_ACEOF
58017 /* end confdefs.h. */
58020 #include <stddef.h>
58029 rm -f conftest.$ac_objext
58030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58031 (eval $ac_compile) 2>&5
58033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58034 (exit $ac_status); } &&
58035 { ac_try='test -s conftest.$ac_objext'
58036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58037 (eval $ac_try) 2>&5
58039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58040 (exit $ac_status); }; }; then
58043 echo "$as_me: failed program was:" >&5
58044 sed 's/^/| /' conftest.$ac_ext >&5
58048 rm -f conftest.$ac_objext conftest.$ac_ext
58049 echo "$as_me:$LINENO: result: $has_weof" >&5
58050 echo "${ECHO_T}$has_weof" >&6
58052 # Tests for wide character functions used in char_traits<wchar_t>.
58060 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58063 echo "$as_me:$LINENO: checking for $ac_func" >&5
58064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58065 if eval "test \"\${$as_ac_var+set}\" = set"; then
58066 echo $ECHO_N "(cached) $ECHO_C" >&6
58068 if test x$gcc_no_link = xyes; then
58069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58071 { (exit 1); exit 1; }; }
58073 cat >conftest.$ac_ext <<_ACEOF
58074 #line $LINENO "configure"
58077 cat confdefs.h >>conftest.$ac_ext
58078 cat >>conftest.$ac_ext <<_ACEOF
58079 /* end confdefs.h. */
58080 /* System header to define __stub macros and hopefully few prototypes,
58081 which can conflict with char $ac_func (); below.
58082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58083 <limits.h> exists even on freestanding compilers. */
58085 # include <limits.h>
58087 # include <assert.h>
58089 /* Override any gcc2 internal prototype to avoid an error. */
58094 /* We use char because int might match the return type of a gcc2
58095 builtin and then its argument prototype would still apply. */
58097 /* The GNU C library defines this for functions which it implements
58098 to always fail with ENOSYS. Some functions are actually named
58099 something starting with __ and the normal name is an alias. */
58100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58103 char (*f) () = $ac_func;
58112 return f != $ac_func;
58117 rm -f conftest.$ac_objext conftest$ac_exeext
58118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58119 (eval $ac_link) 2>&5
58121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58122 (exit $ac_status); } &&
58123 { ac_try='test -s conftest$ac_exeext'
58124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58125 (eval $ac_try) 2>&5
58127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58128 (exit $ac_status); }; }; then
58129 eval "$as_ac_var=yes"
58131 echo "$as_me: failed program was:" >&5
58132 sed 's/^/| /' conftest.$ac_ext >&5
58134 eval "$as_ac_var=no"
58136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58140 if test `eval echo '${'$as_ac_var'}'` = yes; then
58141 cat >>confdefs.h <<_ACEOF
58142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58151 # Checks for names injected into std:: by the c_std headers.
58198 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58199 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58200 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58201 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58202 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58203 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58206 echo "$as_me:$LINENO: checking for $ac_func" >&5
58207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58208 if eval "test \"\${$as_ac_var+set}\" = set"; then
58209 echo $ECHO_N "(cached) $ECHO_C" >&6
58211 if test x$gcc_no_link = xyes; then
58212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58214 { (exit 1); exit 1; }; }
58216 cat >conftest.$ac_ext <<_ACEOF
58217 #line $LINENO "configure"
58220 cat confdefs.h >>conftest.$ac_ext
58221 cat >>conftest.$ac_ext <<_ACEOF
58222 /* end confdefs.h. */
58223 /* System header to define __stub macros and hopefully few prototypes,
58224 which can conflict with char $ac_func (); below.
58225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58226 <limits.h> exists even on freestanding compilers. */
58228 # include <limits.h>
58230 # include <assert.h>
58232 /* Override any gcc2 internal prototype to avoid an error. */
58237 /* We use char because int might match the return type of a gcc2
58238 builtin and then its argument prototype would still apply. */
58240 /* The GNU C library defines this for functions which it implements
58241 to always fail with ENOSYS. Some functions are actually named
58242 something starting with __ and the normal name is an alias. */
58243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58246 char (*f) () = $ac_func;
58255 return f != $ac_func;
58260 rm -f conftest.$ac_objext conftest$ac_exeext
58261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58262 (eval $ac_link) 2>&5
58264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58265 (exit $ac_status); } &&
58266 { ac_try='test -s conftest$ac_exeext'
58267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58268 (eval $ac_try) 2>&5
58270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58271 (exit $ac_status); }; }; then
58272 eval "$as_ac_var=yes"
58274 echo "$as_me: failed program was:" >&5
58275 sed 's/^/| /' conftest.$ac_ext >&5
58277 eval "$as_ac_var=no"
58279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58283 if test `eval echo '${'$as_ac_var'}'` = yes; then
58284 cat >>confdefs.h <<_ACEOF
58285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58294 # Checks for wide character functions that are not required
58295 # for basic wchar_t support. Don't disable support if they are missing.
58296 # Injection of these is wrapped with guard macros.
58302 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58305 echo "$as_me:$LINENO: checking for $ac_func" >&5
58306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58307 if eval "test \"\${$as_ac_var+set}\" = set"; then
58308 echo $ECHO_N "(cached) $ECHO_C" >&6
58310 if test x$gcc_no_link = xyes; then
58311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58313 { (exit 1); exit 1; }; }
58315 cat >conftest.$ac_ext <<_ACEOF
58316 #line $LINENO "configure"
58319 cat confdefs.h >>conftest.$ac_ext
58320 cat >>conftest.$ac_ext <<_ACEOF
58321 /* end confdefs.h. */
58322 /* System header to define __stub macros and hopefully few prototypes,
58323 which can conflict with char $ac_func (); below.
58324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58325 <limits.h> exists even on freestanding compilers. */
58327 # include <limits.h>
58329 # include <assert.h>
58331 /* Override any gcc2 internal prototype to avoid an error. */
58336 /* We use char because int might match the return type of a gcc2
58337 builtin and then its argument prototype would still apply. */
58339 /* The GNU C library defines this for functions which it implements
58340 to always fail with ENOSYS. Some functions are actually named
58341 something starting with __ and the normal name is an alias. */
58342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58345 char (*f) () = $ac_func;
58354 return f != $ac_func;
58359 rm -f conftest.$ac_objext conftest$ac_exeext
58360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58361 (eval $ac_link) 2>&5
58363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58364 (exit $ac_status); } &&
58365 { ac_try='test -s conftest$ac_exeext'
58366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58367 (eval $ac_try) 2>&5
58369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58370 (exit $ac_status); }; }; then
58371 eval "$as_ac_var=yes"
58373 echo "$as_me: failed program was:" >&5
58374 sed 's/^/| /' conftest.$ac_ext >&5
58376 eval "$as_ac_var=no"
58378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58382 if test `eval echo '${'$as_ac_var'}'` = yes; then
58383 cat >>confdefs.h <<_ACEOF
58384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58391 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58392 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58393 if test x"$has_weof" = xyes &&
58394 test x"$has_wchar_minmax" = xyes &&
58395 test x"$ac_wfuncs" = xyes;
58397 ac_isoC99_wchar_t=yes
58399 ac_isoC99_wchar_t=no
58401 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58402 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58404 # Use iconv for wchar_t to char conversions. As such, check for
58405 # X/Open Portability Guide, version 2 features (XPG2).
58406 if test "${ac_cv_header_iconv_h+set}" = set; then
58407 echo "$as_me:$LINENO: checking for iconv.h" >&5
58408 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58409 if test "${ac_cv_header_iconv_h+set}" = set; then
58410 echo $ECHO_N "(cached) $ECHO_C" >&6
58412 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58413 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58415 # Is the header compilable?
58416 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58417 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58418 cat >conftest.$ac_ext <<_ACEOF
58419 #line $LINENO "configure"
58422 cat confdefs.h >>conftest.$ac_ext
58423 cat >>conftest.$ac_ext <<_ACEOF
58424 /* end confdefs.h. */
58425 $ac_includes_default
58428 rm -f conftest.$ac_objext
58429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58430 (eval $ac_compile) 2>&5
58432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58433 (exit $ac_status); } &&
58434 { ac_try='test -s conftest.$ac_objext'
58435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58436 (eval $ac_try) 2>&5
58438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58439 (exit $ac_status); }; }; then
58440 ac_header_compiler=yes
58442 echo "$as_me: failed program was:" >&5
58443 sed 's/^/| /' conftest.$ac_ext >&5
58445 ac_header_compiler=no
58447 rm -f conftest.$ac_objext conftest.$ac_ext
58448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58449 echo "${ECHO_T}$ac_header_compiler" >&6
58451 # Is the header present?
58452 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58453 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58454 cat >conftest.$ac_ext <<_ACEOF
58455 #line $LINENO "configure"
58458 cat confdefs.h >>conftest.$ac_ext
58459 cat >>conftest.$ac_ext <<_ACEOF
58460 /* end confdefs.h. */
58463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58466 grep -v '^ *+' conftest.er1 >conftest.err
58468 cat conftest.err >&5
58469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58470 (exit $ac_status); } >/dev/null; then
58471 if test -s conftest.err; then
58472 ac_cpp_err=$ac_c_preproc_warn_flag
58479 if test -z "$ac_cpp_err"; then
58480 ac_header_preproc=yes
58482 echo "$as_me: failed program was:" >&5
58483 sed 's/^/| /' conftest.$ac_ext >&5
58485 ac_header_preproc=no
58487 rm -f conftest.err conftest.$ac_ext
58488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58489 echo "${ECHO_T}$ac_header_preproc" >&6
58491 # So? What about this header?
58492 case $ac_header_compiler:$ac_header_preproc in
58494 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58495 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58496 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58497 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58500 ## ------------------------------------ ##
58501 ## Report this to bug-autoconf@gnu.org. ##
58502 ## ------------------------------------ ##
58505 sed "s/^/$as_me: WARNING: /" >&2
58508 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58509 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58510 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58511 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58512 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58513 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58516 ## ------------------------------------ ##
58517 ## Report this to bug-autoconf@gnu.org. ##
58518 ## ------------------------------------ ##
58521 sed "s/^/$as_me: WARNING: /" >&2
58524 echo "$as_me:$LINENO: checking for iconv.h" >&5
58525 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58526 if test "${ac_cv_header_iconv_h+set}" = set; then
58527 echo $ECHO_N "(cached) $ECHO_C" >&6
58529 ac_cv_header_iconv_h=$ac_header_preproc
58531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58535 if test $ac_cv_header_iconv_h = yes; then
58542 if test "${ac_cv_header_langinfo_h+set}" = set; then
58543 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58544 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58545 if test "${ac_cv_header_langinfo_h+set}" = set; then
58546 echo $ECHO_N "(cached) $ECHO_C" >&6
58548 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58549 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58551 # Is the header compilable?
58552 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58553 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58554 cat >conftest.$ac_ext <<_ACEOF
58555 #line $LINENO "configure"
58558 cat confdefs.h >>conftest.$ac_ext
58559 cat >>conftest.$ac_ext <<_ACEOF
58560 /* end confdefs.h. */
58561 $ac_includes_default
58562 #include <langinfo.h>
58564 rm -f conftest.$ac_objext
58565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58566 (eval $ac_compile) 2>&5
58568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58569 (exit $ac_status); } &&
58570 { ac_try='test -s conftest.$ac_objext'
58571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58572 (eval $ac_try) 2>&5
58574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58575 (exit $ac_status); }; }; then
58576 ac_header_compiler=yes
58578 echo "$as_me: failed program was:" >&5
58579 sed 's/^/| /' conftest.$ac_ext >&5
58581 ac_header_compiler=no
58583 rm -f conftest.$ac_objext conftest.$ac_ext
58584 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58585 echo "${ECHO_T}$ac_header_compiler" >&6
58587 # Is the header present?
58588 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58589 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58590 cat >conftest.$ac_ext <<_ACEOF
58591 #line $LINENO "configure"
58594 cat confdefs.h >>conftest.$ac_ext
58595 cat >>conftest.$ac_ext <<_ACEOF
58596 /* end confdefs.h. */
58597 #include <langinfo.h>
58599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58602 grep -v '^ *+' conftest.er1 >conftest.err
58604 cat conftest.err >&5
58605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58606 (exit $ac_status); } >/dev/null; then
58607 if test -s conftest.err; then
58608 ac_cpp_err=$ac_c_preproc_warn_flag
58615 if test -z "$ac_cpp_err"; then
58616 ac_header_preproc=yes
58618 echo "$as_me: failed program was:" >&5
58619 sed 's/^/| /' conftest.$ac_ext >&5
58621 ac_header_preproc=no
58623 rm -f conftest.err conftest.$ac_ext
58624 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58625 echo "${ECHO_T}$ac_header_preproc" >&6
58627 # So? What about this header?
58628 case $ac_header_compiler:$ac_header_preproc in
58630 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58631 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58632 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58633 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58636 ## ------------------------------------ ##
58637 ## Report this to bug-autoconf@gnu.org. ##
58638 ## ------------------------------------ ##
58641 sed "s/^/$as_me: WARNING: /" >&2
58644 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58645 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58646 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
58647 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
58648 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58649 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58652 ## ------------------------------------ ##
58653 ## Report this to bug-autoconf@gnu.org. ##
58654 ## ------------------------------------ ##
58657 sed "s/^/$as_me: WARNING: /" >&2
58660 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58661 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58662 if test "${ac_cv_header_langinfo_h+set}" = set; then
58663 echo $ECHO_N "(cached) $ECHO_C" >&6
58665 ac_cv_header_langinfo_h=$ac_header_preproc
58667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58671 if test $ac_cv_header_langinfo_h = yes; then
58672 ac_has_langinfo_h=yes
58674 ac_has_langinfo_h=no
58679 # Check for existence of libiconv.a providing XPG2 wchar_t support.
58680 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
58681 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
58682 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
58683 echo $ECHO_N "(cached) $ECHO_C" >&6
58685 ac_check_lib_save_LIBS=$LIBS
58686 LIBS="-liconv $LIBS"
58687 if test x$gcc_no_link = xyes; then
58688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58690 { (exit 1); exit 1; }; }
58692 cat >conftest.$ac_ext <<_ACEOF
58693 #line $LINENO "configure"
58696 cat confdefs.h >>conftest.$ac_ext
58697 cat >>conftest.$ac_ext <<_ACEOF
58698 /* end confdefs.h. */
58700 /* Override any gcc2 internal prototype to avoid an error. */
58704 /* We use char because int might match the return type of a gcc2
58705 builtin and then its argument prototype would still apply. */
58715 rm -f conftest.$ac_objext conftest$ac_exeext
58716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58717 (eval $ac_link) 2>&5
58719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720 (exit $ac_status); } &&
58721 { ac_try='test -s conftest$ac_exeext'
58722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58723 (eval $ac_try) 2>&5
58725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58726 (exit $ac_status); }; }; then
58727 ac_cv_lib_iconv_iconv=yes
58729 echo "$as_me: failed program was:" >&5
58730 sed 's/^/| /' conftest.$ac_ext >&5
58732 ac_cv_lib_iconv_iconv=no
58734 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58735 LIBS=$ac_check_lib_save_LIBS
58737 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
58738 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
58739 if test $ac_cv_lib_iconv_iconv = yes; then
58743 ac_save_LIBS="$LIBS"
58744 LIBS="$LIBS $libiconv"
58750 for ac_func in iconv_open iconv_close iconv nl_langinfo
58752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58753 echo "$as_me:$LINENO: checking for $ac_func" >&5
58754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58755 if eval "test \"\${$as_ac_var+set}\" = set"; then
58756 echo $ECHO_N "(cached) $ECHO_C" >&6
58758 if test x$gcc_no_link = xyes; then
58759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58761 { (exit 1); exit 1; }; }
58763 cat >conftest.$ac_ext <<_ACEOF
58764 #line $LINENO "configure"
58767 cat confdefs.h >>conftest.$ac_ext
58768 cat >>conftest.$ac_ext <<_ACEOF
58769 /* end confdefs.h. */
58770 /* System header to define __stub macros and hopefully few prototypes,
58771 which can conflict with char $ac_func (); below.
58772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58773 <limits.h> exists even on freestanding compilers. */
58775 # include <limits.h>
58777 # include <assert.h>
58779 /* Override any gcc2 internal prototype to avoid an error. */
58784 /* We use char because int might match the return type of a gcc2
58785 builtin and then its argument prototype would still apply. */
58787 /* The GNU C library defines this for functions which it implements
58788 to always fail with ENOSYS. Some functions are actually named
58789 something starting with __ and the normal name is an alias. */
58790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58793 char (*f) () = $ac_func;
58802 return f != $ac_func;
58807 rm -f conftest.$ac_objext conftest$ac_exeext
58808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58809 (eval $ac_link) 2>&5
58811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58812 (exit $ac_status); } &&
58813 { ac_try='test -s conftest$ac_exeext'
58814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58815 (eval $ac_try) 2>&5
58817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58818 (exit $ac_status); }; }; then
58819 eval "$as_ac_var=yes"
58821 echo "$as_me: failed program was:" >&5
58822 sed 's/^/| /' conftest.$ac_ext >&5
58824 eval "$as_ac_var=no"
58826 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58830 if test `eval echo '${'$as_ac_var'}'` = yes; then
58831 cat >>confdefs.h <<_ACEOF
58832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58841 LIBS="$ac_save_LIBS"
58843 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
58844 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
58845 if test x"$ac_has_iconv_h" = xyes &&
58846 test x"$ac_has_langinfo_h" = xyes &&
58847 test x"$ac_XPG2funcs" = xyes;
58849 ac_XPG2_wchar_t=yes
58853 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
58854 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
58856 # At the moment, only enable wchar_t specializations if all the
58857 # above support is present.
58858 if test x"$ac_isoC99_wchar_t" = xyes &&
58859 test x"$ac_XPG2_wchar_t" = xyes;
58861 cat >>confdefs.h <<\_ACEOF
58862 #define _GLIBCXX_USE_WCHAR_T 1
58868 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
58869 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
58870 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
58871 echo "${ECHO_T}$enable_wchar_t" >&6
58873 cat >>confdefs.h <<\_ACEOF
58874 #define HAVE_COSF 1
58877 cat >>confdefs.h <<\_ACEOF
58878 #define HAVE_COSL 1
58881 cat >>confdefs.h <<\_ACEOF
58882 #define HAVE_COSHF 1
58885 cat >>confdefs.h <<\_ACEOF
58886 #define HAVE_COSHL 1
58889 cat >>confdefs.h <<\_ACEOF
58890 #define HAVE_LOGF 1
58893 cat >>confdefs.h <<\_ACEOF
58894 #define HAVE_LOGL 1
58897 cat >>confdefs.h <<\_ACEOF
58898 #define HAVE_LOG10F 1
58901 cat >>confdefs.h <<\_ACEOF
58902 #define HAVE_LOG10L 1
58905 cat >>confdefs.h <<\_ACEOF
58906 #define HAVE_SINF 1
58909 cat >>confdefs.h <<\_ACEOF
58910 #define HAVE_SINL 1
58913 cat >>confdefs.h <<\_ACEOF
58914 #define HAVE_SINHF 1
58917 cat >>confdefs.h <<\_ACEOF
58918 #define HAVE_SINHL 1
58925 # os_include_dir="os/solaris/solaris2.5"
58928 # os_include_dir="os/solaris/solaris2.6"
58930 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
58931 cat >>confdefs.h <<\_ACEOF
58932 #define HAVE_GETPAGESIZE 1
58935 cat >>confdefs.h <<\_ACEOF
58936 #define HAVE_SIGSETJMP 1
58939 cat >>confdefs.h <<\_ACEOF
58940 #define HAVE_MBSTATE_T 1
58943 cat >>confdefs.h <<\_ACEOF
58944 #define HAVE_POLL 1
58947 cat >>confdefs.h <<\_ACEOF
58948 #define HAVE_S_ISREG 1
58951 cat >>confdefs.h <<\_ACEOF
58952 #define HAVE_LC_MESSAGES 1
58955 cat >>confdefs.h <<\_ACEOF
58956 #define HAVE_BTOWC 1
58959 cat >>confdefs.h <<\_ACEOF
58960 #define HAVE_DRAND48 1
58963 cat >>confdefs.h <<\_ACEOF
58964 #define HAVE_FGETWC 1
58967 cat >>confdefs.h <<\_ACEOF
58968 #define HAVE_FGETWS 1
58971 cat >>confdefs.h <<\_ACEOF
58972 #define HAVE_FINITE 1
58975 cat >>confdefs.h <<\_ACEOF
58976 #define HAVE_FPCLASS 1
58979 cat >>confdefs.h <<\_ACEOF
58980 #define HAVE_FPUTWC 1
58983 cat >>confdefs.h <<\_ACEOF
58984 #define HAVE_FPUTWS 1
58987 cat >>confdefs.h <<\_ACEOF
58988 #define HAVE_FWIDE 1
58991 cat >>confdefs.h <<\_ACEOF
58992 #define HAVE_FWPRINTF 1
58995 cat >>confdefs.h <<\_ACEOF
58996 #define HAVE_FWSCANF 1
58999 cat >>confdefs.h <<\_ACEOF
59000 #define HAVE_GETPAGESIZE 1
59003 cat >>confdefs.h <<\_ACEOF
59004 #define HAVE_GETWC 1
59007 cat >>confdefs.h <<\_ACEOF
59008 #define HAVE_GETWCHAR 1
59011 cat >>confdefs.h <<\_ACEOF
59012 #define HAVE_ISATTY 1
59015 cat >>confdefs.h <<\_ACEOF
59016 #define HAVE_MBRLEN 1
59019 cat >>confdefs.h <<\_ACEOF
59020 #define HAVE_MBRTOWC 1
59023 cat >>confdefs.h <<\_ACEOF
59024 #define HAVE_MBSINIT 1
59027 cat >>confdefs.h <<\_ACEOF
59028 #define HAVE_MBSRTOWCS 1
59031 cat >>confdefs.h <<\_ACEOF
59032 #define HAVE_NL_LANGINFO 1
59035 cat >>confdefs.h <<\_ACEOF
59036 #define HAVE_PUTWC 1
59039 cat >>confdefs.h <<\_ACEOF
59040 #define HAVE_PUTWCHAR 1
59043 cat >>confdefs.h <<\_ACEOF
59044 #define HAVE_SWPRINTF 1
59047 cat >>confdefs.h <<\_ACEOF
59048 #define HAVE_SWSCANF 1
59051 cat >>confdefs.h <<\_ACEOF
59052 #define HAVE_UNGETWC 1
59055 cat >>confdefs.h <<\_ACEOF
59056 #define HAVE_VFWPRINTF 1
59059 cat >>confdefs.h <<\_ACEOF
59060 #define HAVE_VSWPRINTF 1
59063 cat >>confdefs.h <<\_ACEOF
59064 #define HAVE_VWPRINTF 1
59067 cat >>confdefs.h <<\_ACEOF
59068 #define HAVE_WCRTOMB 1
59071 cat >>confdefs.h <<\_ACEOF
59072 #define HAVE_WCSCAT 1
59075 cat >>confdefs.h <<\_ACEOF
59076 #define HAVE_WCSCHR 1
59079 cat >>confdefs.h <<\_ACEOF
59080 #define HAVE_WCSCMP 1
59083 cat >>confdefs.h <<\_ACEOF
59084 #define HAVE_WCSCOLL 1
59087 cat >>confdefs.h <<\_ACEOF
59088 #define HAVE_WCSCPY 1
59091 cat >>confdefs.h <<\_ACEOF
59092 #define HAVE_WCSCSPN 1
59095 cat >>confdefs.h <<\_ACEOF
59096 #define HAVE_WCSFTIME 1
59099 cat >>confdefs.h <<\_ACEOF
59100 #define HAVE_WCSLEN 1
59103 cat >>confdefs.h <<\_ACEOF
59104 #define HAVE_WCSNCAT 1
59107 cat >>confdefs.h <<\_ACEOF
59108 #define HAVE_WCSNCMP 1
59111 cat >>confdefs.h <<\_ACEOF
59112 #define HAVE_WCSNCPY 1
59115 cat >>confdefs.h <<\_ACEOF
59116 #define HAVE_WCSPBRK 1
59119 cat >>confdefs.h <<\_ACEOF
59120 #define HAVE_WCSRCHR 1
59123 cat >>confdefs.h <<\_ACEOF
59124 #define HAVE_WCSRTOMBS 1
59127 cat >>confdefs.h <<\_ACEOF
59128 #define HAVE_WCSSPN 1
59131 cat >>confdefs.h <<\_ACEOF
59132 #define HAVE_WCSSTR 1
59135 cat >>confdefs.h <<\_ACEOF
59136 #define HAVE_WCSTOD 1
59139 cat >>confdefs.h <<\_ACEOF
59140 #define HAVE_WCSTOK 1
59143 cat >>confdefs.h <<\_ACEOF
59144 #define HAVE_WCSTOL 1
59147 cat >>confdefs.h <<\_ACEOF
59148 #define HAVE_WCSTOUL 1
59151 cat >>confdefs.h <<\_ACEOF
59152 #define HAVE_WCSXFRM 1
59155 cat >>confdefs.h <<\_ACEOF
59156 #define HAVE_WCTOB 1
59159 cat >>confdefs.h <<\_ACEOF
59160 #define HAVE_WMEMCHR 1
59163 cat >>confdefs.h <<\_ACEOF
59164 #define HAVE_WMEMCMP 1
59167 cat >>confdefs.h <<\_ACEOF
59168 #define HAVE_WMEMCPY 1
59171 cat >>confdefs.h <<\_ACEOF
59172 #define HAVE_WMEMMOVE 1
59175 cat >>confdefs.h <<\_ACEOF
59176 #define HAVE_WMEMSET 1
59179 cat >>confdefs.h <<\_ACEOF
59180 #define HAVE_WPRINTF 1
59183 cat >>confdefs.h <<\_ACEOF
59184 #define HAVE_WSCANF 1
59187 cat >>confdefs.h <<\_ACEOF
59188 #define HAVE_ICONV 1
59191 cat >>confdefs.h <<\_ACEOF
59192 #define HAVE_ICONV_CLOSE 1
59195 cat >>confdefs.h <<\_ACEOF
59196 #define HAVE_ICONV_OPEN 1
59199 # Look for the pieces required for wchar_t support in order to
59200 # get all the right HAVE_* macros defined.
59202 # Test wchar.h for mbstate_t, which is needed for char_traits and
59203 # others even if wchar_t support is not on.
59204 echo "$as_me:$LINENO: checking for mbstate_t" >&5
59205 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59206 cat >conftest.$ac_ext <<_ACEOF
59207 #line $LINENO "configure"
59210 cat confdefs.h >>conftest.$ac_ext
59211 cat >>conftest.$ac_ext <<_ACEOF
59212 /* end confdefs.h. */
59217 mbstate_t teststate;
59222 rm -f conftest.$ac_objext
59223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59224 (eval $ac_compile) 2>&5
59226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59227 (exit $ac_status); } &&
59228 { ac_try='test -s conftest.$ac_objext'
59229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59230 (eval $ac_try) 2>&5
59232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59233 (exit $ac_status); }; }; then
59236 echo "$as_me: failed program was:" >&5
59237 sed 's/^/| /' conftest.$ac_ext >&5
59241 rm -f conftest.$ac_objext conftest.$ac_ext
59242 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59243 echo "${ECHO_T}$have_mbstate_t" >&6
59244 if test x"$have_mbstate_t" = xyes; then
59245 cat >>confdefs.h <<\_ACEOF
59246 #define HAVE_MBSTATE_T 1
59251 # Sanity check for existence of ISO C99 headers for extended encoding.
59253 for ac_header in wchar.h
59255 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59256 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59257 echo "$as_me:$LINENO: checking for $ac_header" >&5
59258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59260 echo $ECHO_N "(cached) $ECHO_C" >&6
59262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59263 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59265 # Is the header compilable?
59266 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59268 cat >conftest.$ac_ext <<_ACEOF
59269 #line $LINENO "configure"
59272 cat confdefs.h >>conftest.$ac_ext
59273 cat >>conftest.$ac_ext <<_ACEOF
59274 /* end confdefs.h. */
59275 $ac_includes_default
59276 #include <$ac_header>
59278 rm -f conftest.$ac_objext
59279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59280 (eval $ac_compile) 2>&5
59282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59283 (exit $ac_status); } &&
59284 { ac_try='test -s conftest.$ac_objext'
59285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59286 (eval $ac_try) 2>&5
59288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59289 (exit $ac_status); }; }; then
59290 ac_header_compiler=yes
59292 echo "$as_me: failed program was:" >&5
59293 sed 's/^/| /' conftest.$ac_ext >&5
59295 ac_header_compiler=no
59297 rm -f conftest.$ac_objext conftest.$ac_ext
59298 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59299 echo "${ECHO_T}$ac_header_compiler" >&6
59301 # Is the header present?
59302 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59303 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59304 cat >conftest.$ac_ext <<_ACEOF
59305 #line $LINENO "configure"
59308 cat confdefs.h >>conftest.$ac_ext
59309 cat >>conftest.$ac_ext <<_ACEOF
59310 /* end confdefs.h. */
59311 #include <$ac_header>
59313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59316 grep -v '^ *+' conftest.er1 >conftest.err
59318 cat conftest.err >&5
59319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59320 (exit $ac_status); } >/dev/null; then
59321 if test -s conftest.err; then
59322 ac_cpp_err=$ac_c_preproc_warn_flag
59329 if test -z "$ac_cpp_err"; then
59330 ac_header_preproc=yes
59332 echo "$as_me: failed program was:" >&5
59333 sed 's/^/| /' conftest.$ac_ext >&5
59335 ac_header_preproc=no
59337 rm -f conftest.err conftest.$ac_ext
59338 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59339 echo "${ECHO_T}$ac_header_preproc" >&6
59341 # So? What about this header?
59342 case $ac_header_compiler:$ac_header_preproc in
59344 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59345 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59350 ## ------------------------------------ ##
59351 ## Report this to bug-autoconf@gnu.org. ##
59352 ## ------------------------------------ ##
59355 sed "s/^/$as_me: WARNING: /" >&2
59358 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59359 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59360 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59361 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59362 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59363 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59366 ## ------------------------------------ ##
59367 ## Report this to bug-autoconf@gnu.org. ##
59368 ## ------------------------------------ ##
59371 sed "s/^/$as_me: WARNING: /" >&2
59374 echo "$as_me:$LINENO: checking for $ac_header" >&5
59375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59377 echo $ECHO_N "(cached) $ECHO_C" >&6
59379 eval "$as_ac_Header=$ac_header_preproc"
59381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59386 cat >>confdefs.h <<_ACEOF
59387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59397 for ac_header in wctype.h
59399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59401 echo "$as_me:$LINENO: checking for $ac_header" >&5
59402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59404 echo $ECHO_N "(cached) $ECHO_C" >&6
59406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59409 # Is the header compilable?
59410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59412 cat >conftest.$ac_ext <<_ACEOF
59413 #line $LINENO "configure"
59416 cat confdefs.h >>conftest.$ac_ext
59417 cat >>conftest.$ac_ext <<_ACEOF
59418 /* end confdefs.h. */
59419 $ac_includes_default
59420 #include <$ac_header>
59422 rm -f conftest.$ac_objext
59423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59424 (eval $ac_compile) 2>&5
59426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59427 (exit $ac_status); } &&
59428 { ac_try='test -s conftest.$ac_objext'
59429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59430 (eval $ac_try) 2>&5
59432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59433 (exit $ac_status); }; }; then
59434 ac_header_compiler=yes
59436 echo "$as_me: failed program was:" >&5
59437 sed 's/^/| /' conftest.$ac_ext >&5
59439 ac_header_compiler=no
59441 rm -f conftest.$ac_objext conftest.$ac_ext
59442 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59443 echo "${ECHO_T}$ac_header_compiler" >&6
59445 # Is the header present?
59446 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59447 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59448 cat >conftest.$ac_ext <<_ACEOF
59449 #line $LINENO "configure"
59452 cat confdefs.h >>conftest.$ac_ext
59453 cat >>conftest.$ac_ext <<_ACEOF
59454 /* end confdefs.h. */
59455 #include <$ac_header>
59457 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59458 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59460 grep -v '^ *+' conftest.er1 >conftest.err
59462 cat conftest.err >&5
59463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59464 (exit $ac_status); } >/dev/null; then
59465 if test -s conftest.err; then
59466 ac_cpp_err=$ac_c_preproc_warn_flag
59473 if test -z "$ac_cpp_err"; then
59474 ac_header_preproc=yes
59476 echo "$as_me: failed program was:" >&5
59477 sed 's/^/| /' conftest.$ac_ext >&5
59479 ac_header_preproc=no
59481 rm -f conftest.err conftest.$ac_ext
59482 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59483 echo "${ECHO_T}$ac_header_preproc" >&6
59485 # So? What about this header?
59486 case $ac_header_compiler:$ac_header_preproc in
59488 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59489 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59494 ## ------------------------------------ ##
59495 ## Report this to bug-autoconf@gnu.org. ##
59496 ## ------------------------------------ ##
59499 sed "s/^/$as_me: WARNING: /" >&2
59502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59507 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59510 ## ------------------------------------ ##
59511 ## Report this to bug-autoconf@gnu.org. ##
59512 ## ------------------------------------ ##
59515 sed "s/^/$as_me: WARNING: /" >&2
59518 echo "$as_me:$LINENO: checking for $ac_header" >&5
59519 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59521 echo $ECHO_N "(cached) $ECHO_C" >&6
59523 eval "$as_ac_Header=$ac_header_preproc"
59525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59526 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59530 cat >>confdefs.h <<_ACEOF
59531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59533 ac_has_wctype_h=yes
59541 # Only continue checking if the ISO C99 headers exist and support is on.
59542 if test x"$ac_has_wchar_h" = xyes &&
59543 test x"$ac_has_wctype_h" = xyes &&
59544 test x"$enable_c_mbchar" != xno; then
59546 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59547 # numeric_limits can instantiate type_traits<wchar_t>
59548 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59549 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59550 cat >conftest.$ac_ext <<_ACEOF
59551 #line $LINENO "configure"
59554 cat confdefs.h >>conftest.$ac_ext
59555 cat >>conftest.$ac_ext <<_ACEOF
59556 /* end confdefs.h. */
59561 int i = WCHAR_MIN; int j = WCHAR_MAX;
59566 rm -f conftest.$ac_objext
59567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59568 (eval $ac_compile) 2>&5
59570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59571 (exit $ac_status); } &&
59572 { ac_try='test -s conftest.$ac_objext'
59573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59574 (eval $ac_try) 2>&5
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); }; }; then
59578 has_wchar_minmax=yes
59580 echo "$as_me: failed program was:" >&5
59581 sed 's/^/| /' conftest.$ac_ext >&5
59583 has_wchar_minmax=no
59585 rm -f conftest.$ac_objext conftest.$ac_ext
59586 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59587 echo "${ECHO_T}$has_wchar_minmax" >&6
59589 # Test wchar.h for WEOF, which is what we use to determine whether
59590 # to specialize for char_traits<wchar_t> or not.
59591 echo "$as_me:$LINENO: checking for WEOF" >&5
59592 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59593 cat >conftest.$ac_ext <<_ACEOF
59594 #line $LINENO "configure"
59597 cat confdefs.h >>conftest.$ac_ext
59598 cat >>conftest.$ac_ext <<_ACEOF
59599 /* end confdefs.h. */
59602 #include <stddef.h>
59611 rm -f conftest.$ac_objext
59612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59613 (eval $ac_compile) 2>&5
59615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59616 (exit $ac_status); } &&
59617 { ac_try='test -s conftest.$ac_objext'
59618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59619 (eval $ac_try) 2>&5
59621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59622 (exit $ac_status); }; }; then
59625 echo "$as_me: failed program was:" >&5
59626 sed 's/^/| /' conftest.$ac_ext >&5
59630 rm -f conftest.$ac_objext conftest.$ac_ext
59631 echo "$as_me:$LINENO: result: $has_weof" >&5
59632 echo "${ECHO_T}$has_weof" >&6
59634 # Tests for wide character functions used in char_traits<wchar_t>.
59642 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59645 echo "$as_me:$LINENO: checking for $ac_func" >&5
59646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59647 if eval "test \"\${$as_ac_var+set}\" = set"; then
59648 echo $ECHO_N "(cached) $ECHO_C" >&6
59650 if test x$gcc_no_link = xyes; then
59651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59653 { (exit 1); exit 1; }; }
59655 cat >conftest.$ac_ext <<_ACEOF
59656 #line $LINENO "configure"
59659 cat confdefs.h >>conftest.$ac_ext
59660 cat >>conftest.$ac_ext <<_ACEOF
59661 /* end confdefs.h. */
59662 /* System header to define __stub macros and hopefully few prototypes,
59663 which can conflict with char $ac_func (); below.
59664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59665 <limits.h> exists even on freestanding compilers. */
59667 # include <limits.h>
59669 # include <assert.h>
59671 /* Override any gcc2 internal prototype to avoid an error. */
59676 /* We use char because int might match the return type of a gcc2
59677 builtin and then its argument prototype would still apply. */
59679 /* The GNU C library defines this for functions which it implements
59680 to always fail with ENOSYS. Some functions are actually named
59681 something starting with __ and the normal name is an alias. */
59682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59685 char (*f) () = $ac_func;
59694 return f != $ac_func;
59699 rm -f conftest.$ac_objext conftest$ac_exeext
59700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59701 (eval $ac_link) 2>&5
59703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59704 (exit $ac_status); } &&
59705 { ac_try='test -s conftest$ac_exeext'
59706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59707 (eval $ac_try) 2>&5
59709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59710 (exit $ac_status); }; }; then
59711 eval "$as_ac_var=yes"
59713 echo "$as_me: failed program was:" >&5
59714 sed 's/^/| /' conftest.$ac_ext >&5
59716 eval "$as_ac_var=no"
59718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59722 if test `eval echo '${'$as_ac_var'}'` = yes; then
59723 cat >>confdefs.h <<_ACEOF
59724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59733 # Checks for names injected into std:: by the c_std headers.
59780 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59781 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59782 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59783 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59784 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59785 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59788 echo "$as_me:$LINENO: checking for $ac_func" >&5
59789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59790 if eval "test \"\${$as_ac_var+set}\" = set"; then
59791 echo $ECHO_N "(cached) $ECHO_C" >&6
59793 if test x$gcc_no_link = xyes; then
59794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59796 { (exit 1); exit 1; }; }
59798 cat >conftest.$ac_ext <<_ACEOF
59799 #line $LINENO "configure"
59802 cat confdefs.h >>conftest.$ac_ext
59803 cat >>conftest.$ac_ext <<_ACEOF
59804 /* end confdefs.h. */
59805 /* System header to define __stub macros and hopefully few prototypes,
59806 which can conflict with char $ac_func (); below.
59807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59808 <limits.h> exists even on freestanding compilers. */
59810 # include <limits.h>
59812 # include <assert.h>
59814 /* Override any gcc2 internal prototype to avoid an error. */
59819 /* We use char because int might match the return type of a gcc2
59820 builtin and then its argument prototype would still apply. */
59822 /* The GNU C library defines this for functions which it implements
59823 to always fail with ENOSYS. Some functions are actually named
59824 something starting with __ and the normal name is an alias. */
59825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59828 char (*f) () = $ac_func;
59837 return f != $ac_func;
59842 rm -f conftest.$ac_objext conftest$ac_exeext
59843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59844 (eval $ac_link) 2>&5
59846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59847 (exit $ac_status); } &&
59848 { ac_try='test -s conftest$ac_exeext'
59849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59850 (eval $ac_try) 2>&5
59852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59853 (exit $ac_status); }; }; then
59854 eval "$as_ac_var=yes"
59856 echo "$as_me: failed program was:" >&5
59857 sed 's/^/| /' conftest.$ac_ext >&5
59859 eval "$as_ac_var=no"
59861 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59865 if test `eval echo '${'$as_ac_var'}'` = yes; then
59866 cat >>confdefs.h <<_ACEOF
59867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59876 # Checks for wide character functions that are not required
59877 # for basic wchar_t support. Don't disable support if they are missing.
59878 # Injection of these is wrapped with guard macros.
59884 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
59886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59887 echo "$as_me:$LINENO: checking for $ac_func" >&5
59888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59889 if eval "test \"\${$as_ac_var+set}\" = set"; then
59890 echo $ECHO_N "(cached) $ECHO_C" >&6
59892 if test x$gcc_no_link = xyes; then
59893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59895 { (exit 1); exit 1; }; }
59897 cat >conftest.$ac_ext <<_ACEOF
59898 #line $LINENO "configure"
59901 cat confdefs.h >>conftest.$ac_ext
59902 cat >>conftest.$ac_ext <<_ACEOF
59903 /* end confdefs.h. */
59904 /* System header to define __stub macros and hopefully few prototypes,
59905 which can conflict with char $ac_func (); below.
59906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59907 <limits.h> exists even on freestanding compilers. */
59909 # include <limits.h>
59911 # include <assert.h>
59913 /* Override any gcc2 internal prototype to avoid an error. */
59918 /* We use char because int might match the return type of a gcc2
59919 builtin and then its argument prototype would still apply. */
59921 /* The GNU C library defines this for functions which it implements
59922 to always fail with ENOSYS. Some functions are actually named
59923 something starting with __ and the normal name is an alias. */
59924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59927 char (*f) () = $ac_func;
59936 return f != $ac_func;
59941 rm -f conftest.$ac_objext conftest$ac_exeext
59942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59943 (eval $ac_link) 2>&5
59945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59946 (exit $ac_status); } &&
59947 { ac_try='test -s conftest$ac_exeext'
59948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59949 (eval $ac_try) 2>&5
59951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952 (exit $ac_status); }; }; then
59953 eval "$as_ac_var=yes"
59955 echo "$as_me: failed program was:" >&5
59956 sed 's/^/| /' conftest.$ac_ext >&5
59958 eval "$as_ac_var=no"
59960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59964 if test `eval echo '${'$as_ac_var'}'` = yes; then
59965 cat >>confdefs.h <<_ACEOF
59966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59973 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
59974 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
59975 if test x"$has_weof" = xyes &&
59976 test x"$has_wchar_minmax" = xyes &&
59977 test x"$ac_wfuncs" = xyes;
59979 ac_isoC99_wchar_t=yes
59981 ac_isoC99_wchar_t=no
59983 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
59984 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
59986 # Use iconv for wchar_t to char conversions. As such, check for
59987 # X/Open Portability Guide, version 2 features (XPG2).
59988 if test "${ac_cv_header_iconv_h+set}" = set; then
59989 echo "$as_me:$LINENO: checking for iconv.h" >&5
59990 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
59991 if test "${ac_cv_header_iconv_h+set}" = set; then
59992 echo $ECHO_N "(cached) $ECHO_C" >&6
59994 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
59995 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
59997 # Is the header compilable?
59998 echo "$as_me:$LINENO: checking iconv.h usability" >&5
59999 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60000 cat >conftest.$ac_ext <<_ACEOF
60001 #line $LINENO "configure"
60004 cat confdefs.h >>conftest.$ac_ext
60005 cat >>conftest.$ac_ext <<_ACEOF
60006 /* end confdefs.h. */
60007 $ac_includes_default
60010 rm -f conftest.$ac_objext
60011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60012 (eval $ac_compile) 2>&5
60014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60015 (exit $ac_status); } &&
60016 { ac_try='test -s conftest.$ac_objext'
60017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60018 (eval $ac_try) 2>&5
60020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60021 (exit $ac_status); }; }; then
60022 ac_header_compiler=yes
60024 echo "$as_me: failed program was:" >&5
60025 sed 's/^/| /' conftest.$ac_ext >&5
60027 ac_header_compiler=no
60029 rm -f conftest.$ac_objext conftest.$ac_ext
60030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60031 echo "${ECHO_T}$ac_header_compiler" >&6
60033 # Is the header present?
60034 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60035 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60036 cat >conftest.$ac_ext <<_ACEOF
60037 #line $LINENO "configure"
60040 cat confdefs.h >>conftest.$ac_ext
60041 cat >>conftest.$ac_ext <<_ACEOF
60042 /* end confdefs.h. */
60045 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60046 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60048 grep -v '^ *+' conftest.er1 >conftest.err
60050 cat conftest.err >&5
60051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60052 (exit $ac_status); } >/dev/null; then
60053 if test -s conftest.err; then
60054 ac_cpp_err=$ac_c_preproc_warn_flag
60061 if test -z "$ac_cpp_err"; then
60062 ac_header_preproc=yes
60064 echo "$as_me: failed program was:" >&5
60065 sed 's/^/| /' conftest.$ac_ext >&5
60067 ac_header_preproc=no
60069 rm -f conftest.err conftest.$ac_ext
60070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60071 echo "${ECHO_T}$ac_header_preproc" >&6
60073 # So? What about this header?
60074 case $ac_header_compiler:$ac_header_preproc in
60076 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60077 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60078 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60079 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60082 ## ------------------------------------ ##
60083 ## Report this to bug-autoconf@gnu.org. ##
60084 ## ------------------------------------ ##
60087 sed "s/^/$as_me: WARNING: /" >&2
60090 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60091 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60092 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60093 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60094 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60095 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60098 ## ------------------------------------ ##
60099 ## Report this to bug-autoconf@gnu.org. ##
60100 ## ------------------------------------ ##
60103 sed "s/^/$as_me: WARNING: /" >&2
60106 echo "$as_me:$LINENO: checking for iconv.h" >&5
60107 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60108 if test "${ac_cv_header_iconv_h+set}" = set; then
60109 echo $ECHO_N "(cached) $ECHO_C" >&6
60111 ac_cv_header_iconv_h=$ac_header_preproc
60113 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60114 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60117 if test $ac_cv_header_iconv_h = yes; then
60124 if test "${ac_cv_header_langinfo_h+set}" = set; then
60125 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60126 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60127 if test "${ac_cv_header_langinfo_h+set}" = set; then
60128 echo $ECHO_N "(cached) $ECHO_C" >&6
60130 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60131 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60133 # Is the header compilable?
60134 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60135 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60136 cat >conftest.$ac_ext <<_ACEOF
60137 #line $LINENO "configure"
60140 cat confdefs.h >>conftest.$ac_ext
60141 cat >>conftest.$ac_ext <<_ACEOF
60142 /* end confdefs.h. */
60143 $ac_includes_default
60144 #include <langinfo.h>
60146 rm -f conftest.$ac_objext
60147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60148 (eval $ac_compile) 2>&5
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); } &&
60152 { ac_try='test -s conftest.$ac_objext'
60153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60154 (eval $ac_try) 2>&5
60156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60157 (exit $ac_status); }; }; then
60158 ac_header_compiler=yes
60160 echo "$as_me: failed program was:" >&5
60161 sed 's/^/| /' conftest.$ac_ext >&5
60163 ac_header_compiler=no
60165 rm -f conftest.$ac_objext conftest.$ac_ext
60166 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60167 echo "${ECHO_T}$ac_header_compiler" >&6
60169 # Is the header present?
60170 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60171 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60172 cat >conftest.$ac_ext <<_ACEOF
60173 #line $LINENO "configure"
60176 cat confdefs.h >>conftest.$ac_ext
60177 cat >>conftest.$ac_ext <<_ACEOF
60178 /* end confdefs.h. */
60179 #include <langinfo.h>
60181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60184 grep -v '^ *+' conftest.er1 >conftest.err
60186 cat conftest.err >&5
60187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60188 (exit $ac_status); } >/dev/null; then
60189 if test -s conftest.err; then
60190 ac_cpp_err=$ac_c_preproc_warn_flag
60197 if test -z "$ac_cpp_err"; then
60198 ac_header_preproc=yes
60200 echo "$as_me: failed program was:" >&5
60201 sed 's/^/| /' conftest.$ac_ext >&5
60203 ac_header_preproc=no
60205 rm -f conftest.err conftest.$ac_ext
60206 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60207 echo "${ECHO_T}$ac_header_preproc" >&6
60209 # So? What about this header?
60210 case $ac_header_compiler:$ac_header_preproc in
60212 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60213 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60214 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60215 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60218 ## ------------------------------------ ##
60219 ## Report this to bug-autoconf@gnu.org. ##
60220 ## ------------------------------------ ##
60223 sed "s/^/$as_me: WARNING: /" >&2
60226 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60227 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60228 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60229 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60230 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60231 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60234 ## ------------------------------------ ##
60235 ## Report this to bug-autoconf@gnu.org. ##
60236 ## ------------------------------------ ##
60239 sed "s/^/$as_me: WARNING: /" >&2
60242 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60243 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60244 if test "${ac_cv_header_langinfo_h+set}" = set; then
60245 echo $ECHO_N "(cached) $ECHO_C" >&6
60247 ac_cv_header_langinfo_h=$ac_header_preproc
60249 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60250 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60253 if test $ac_cv_header_langinfo_h = yes; then
60254 ac_has_langinfo_h=yes
60256 ac_has_langinfo_h=no
60261 # Check for existence of libiconv.a providing XPG2 wchar_t support.
60262 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60263 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60264 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60265 echo $ECHO_N "(cached) $ECHO_C" >&6
60267 ac_check_lib_save_LIBS=$LIBS
60268 LIBS="-liconv $LIBS"
60269 if test x$gcc_no_link = xyes; then
60270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60272 { (exit 1); exit 1; }; }
60274 cat >conftest.$ac_ext <<_ACEOF
60275 #line $LINENO "configure"
60278 cat confdefs.h >>conftest.$ac_ext
60279 cat >>conftest.$ac_ext <<_ACEOF
60280 /* end confdefs.h. */
60282 /* Override any gcc2 internal prototype to avoid an error. */
60286 /* We use char because int might match the return type of a gcc2
60287 builtin and then its argument prototype would still apply. */
60297 rm -f conftest.$ac_objext conftest$ac_exeext
60298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60299 (eval $ac_link) 2>&5
60301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60302 (exit $ac_status); } &&
60303 { ac_try='test -s conftest$ac_exeext'
60304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60305 (eval $ac_try) 2>&5
60307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60308 (exit $ac_status); }; }; then
60309 ac_cv_lib_iconv_iconv=yes
60311 echo "$as_me: failed program was:" >&5
60312 sed 's/^/| /' conftest.$ac_ext >&5
60314 ac_cv_lib_iconv_iconv=no
60316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60317 LIBS=$ac_check_lib_save_LIBS
60319 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60320 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60321 if test $ac_cv_lib_iconv_iconv = yes; then
60325 ac_save_LIBS="$LIBS"
60326 LIBS="$LIBS $libiconv"
60332 for ac_func in iconv_open iconv_close iconv nl_langinfo
60334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60335 echo "$as_me:$LINENO: checking for $ac_func" >&5
60336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60337 if eval "test \"\${$as_ac_var+set}\" = set"; then
60338 echo $ECHO_N "(cached) $ECHO_C" >&6
60340 if test x$gcc_no_link = xyes; then
60341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60343 { (exit 1); exit 1; }; }
60345 cat >conftest.$ac_ext <<_ACEOF
60346 #line $LINENO "configure"
60349 cat confdefs.h >>conftest.$ac_ext
60350 cat >>conftest.$ac_ext <<_ACEOF
60351 /* end confdefs.h. */
60352 /* System header to define __stub macros and hopefully few prototypes,
60353 which can conflict with char $ac_func (); below.
60354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60355 <limits.h> exists even on freestanding compilers. */
60357 # include <limits.h>
60359 # include <assert.h>
60361 /* Override any gcc2 internal prototype to avoid an error. */
60366 /* We use char because int might match the return type of a gcc2
60367 builtin and then its argument prototype would still apply. */
60369 /* The GNU C library defines this for functions which it implements
60370 to always fail with ENOSYS. Some functions are actually named
60371 something starting with __ and the normal name is an alias. */
60372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60375 char (*f) () = $ac_func;
60384 return f != $ac_func;
60389 rm -f conftest.$ac_objext conftest$ac_exeext
60390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60391 (eval $ac_link) 2>&5
60393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60394 (exit $ac_status); } &&
60395 { ac_try='test -s conftest$ac_exeext'
60396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60397 (eval $ac_try) 2>&5
60399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60400 (exit $ac_status); }; }; then
60401 eval "$as_ac_var=yes"
60403 echo "$as_me: failed program was:" >&5
60404 sed 's/^/| /' conftest.$ac_ext >&5
60406 eval "$as_ac_var=no"
60408 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60412 if test `eval echo '${'$as_ac_var'}'` = yes; then
60413 cat >>confdefs.h <<_ACEOF
60414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60423 LIBS="$ac_save_LIBS"
60425 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60426 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60427 if test x"$ac_has_iconv_h" = xyes &&
60428 test x"$ac_has_langinfo_h" = xyes &&
60429 test x"$ac_XPG2funcs" = xyes;
60431 ac_XPG2_wchar_t=yes
60435 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60436 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60438 # At the moment, only enable wchar_t specializations if all the
60439 # above support is present.
60440 if test x"$ac_isoC99_wchar_t" = xyes &&
60441 test x"$ac_XPG2_wchar_t" = xyes;
60443 cat >>confdefs.h <<\_ACEOF
60444 #define _GLIBCXX_USE_WCHAR_T 1
60450 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60451 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60452 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60453 echo "${ECHO_T}$enable_wchar_t" >&6
60455 # All of the dependencies for wide character support are here, so
60456 # turn it on. This requires some syncronization with the
60457 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60458 cat >>confdefs.h <<\_ACEOF
60459 #define _GLIBCXX_USE_WCHAR_T 1
60462 # Are these tested for even when cross?
60463 cat >>confdefs.h <<\_ACEOF
60464 #define HAVE_FLOAT_H 1
60467 cat >>confdefs.h <<\_ACEOF
60468 #define HAVE_IEEEFP_H 1
60471 cat >>confdefs.h <<\_ACEOF
60472 #define HAVE_INTTYPES_H 1
60475 cat >>confdefs.h <<\_ACEOF
60476 #define HAVE_LOCALE_H 1
60479 cat >>confdefs.h <<\_ACEOF
60480 #define HAVE_NAN_H 1
60483 cat >>confdefs.h <<\_ACEOF
60484 #define HAVE_SYS_FILIO_H 1
60487 cat >>confdefs.h <<\_ACEOF
60488 #define HAVE_SYS_IOCTL_H 1
60491 cat >>confdefs.h <<\_ACEOF
60492 #define HAVE_SYS_ISA_DEFS_H 1
60495 cat >>confdefs.h <<\_ACEOF
60496 #define HAVE_SYS_RESOURCE_H 1
60499 cat >>confdefs.h <<\_ACEOF
60500 #define HAVE_SYS_TIME_H 1
60503 cat >>confdefs.h <<\_ACEOF
60504 #define HAVE_SYS_TYPES_H 1
60507 cat >>confdefs.h <<\_ACEOF
60508 #define HAVE_UNISTD_H 1
60511 cat >>confdefs.h <<\_ACEOF
60512 #define HAVE_WCHAR_H 1
60515 cat >>confdefs.h <<\_ACEOF
60516 #define HAVE_WCTYPE_H 1
60519 cat >>confdefs.h <<\_ACEOF
60520 #define HAVE_LIBM 1
60526 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60527 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60528 cat >>confdefs.h <<\_ACEOF
60529 #define HAVE___BUILTIN_ABS 1
60532 cat >>confdefs.h <<\_ACEOF
60533 #define HAVE___BUILTIN_LABS 1
60536 cat >>confdefs.h <<\_ACEOF
60537 #define HAVE___BUILTIN_FABS 1
60540 cat >>confdefs.h <<\_ACEOF
60541 #define HAVE___BUILTIN_FABSF 1
60544 cat >>confdefs.h <<\_ACEOF
60545 #define HAVE___BUILTIN_FABSL 1
60548 cat >>confdefs.h <<\_ACEOF
60549 #define HAVE___BUILTIN_COS 1
60552 cat >>confdefs.h <<\_ACEOF
60553 #define HAVE___BUILTIN_COSF 1
60556 cat >>confdefs.h <<\_ACEOF
60557 #define HAVE___BUILTIN_SIN 1
60560 cat >>confdefs.h <<\_ACEOF
60561 #define HAVE___BUILTIN_SINF 1
60566 cat >>confdefs.h <<\_ACEOF
60567 #define HAVE_STRTOF 1
60570 cat >>confdefs.h <<\_ACEOF
60571 #define HAVE_STRTOLD 1
60574 cat >>confdefs.h <<\_ACEOF
60575 #define HAVE_MMAP 1
60578 cat >>confdefs.h <<\_ACEOF
60579 #define HAVE_COPYSIGN 1
60582 cat >>confdefs.h <<\_ACEOF
60583 #define HAVE_ISNAN 1
60586 cat >>confdefs.h <<\_ACEOF
60587 #define HAVE_ISNANF 1
60590 cat >>confdefs.h <<\_ACEOF
60591 #define HAVE_MODFF 1
60594 cat >>confdefs.h <<\_ACEOF
60595 #define HAVE_HYPOT 1
60600 #os_include_dir="os/windiss"
60601 cat >>confdefs.h <<\_ACEOF
60602 #define HAVE_ACOSF 1
60605 cat >>confdefs.h <<\_ACEOF
60606 #define HAVE_ASINF 1
60609 cat >>confdefs.h <<\_ACEOF
60610 #define HAVE_ATAN2F 1
60613 cat >>confdefs.h <<\_ACEOF
60614 #define HAVE_ATANF 1
60617 cat >>confdefs.h <<\_ACEOF
60618 #define HAVE_CEILF 1
60621 cat >>confdefs.h <<\_ACEOF
60622 #define HAVE_COPYSIGN 1
60625 cat >>confdefs.h <<\_ACEOF
60626 #define HAVE_COPYSIGNF 1
60629 cat >>confdefs.h <<\_ACEOF
60630 #define HAVE_COSF 1
60633 cat >>confdefs.h <<\_ACEOF
60634 #define HAVE_COSHF 1
60637 cat >>confdefs.h <<\_ACEOF
60638 #define HAVE_EXPF 1
60641 cat >>confdefs.h <<\_ACEOF
60642 #define HAVE_FABSF 1
60645 cat >>confdefs.h <<\_ACEOF
60646 #define HAVE_FLOORF 1
60649 cat >>confdefs.h <<\_ACEOF
60650 #define HAVE_FMODF 1
60653 cat >>confdefs.h <<\_ACEOF
60654 #define HAVE_FREXPF 1
60657 cat >>confdefs.h <<\_ACEOF
60658 #define HAVE_LDEXPF 1
60661 cat >>confdefs.h <<\_ACEOF
60662 #define HAVE_LOG10F 1
60665 cat >>confdefs.h <<\_ACEOF
60666 #define HAVE_LOGF 1
60669 cat >>confdefs.h <<\_ACEOF
60670 #define HAVE_MODFF 1
60673 cat >>confdefs.h <<\_ACEOF
60674 #define HAVE_POWF 1
60677 cat >>confdefs.h <<\_ACEOF
60678 #define HAVE_SINF 1
60681 cat >>confdefs.h <<\_ACEOF
60682 #define HAVE_SINHF 1
60685 cat >>confdefs.h <<\_ACEOF
60686 #define HAVE_SQRTF 1
60689 cat >>confdefs.h <<\_ACEOF
60690 #define HAVE_TANF 1
60693 cat >>confdefs.h <<\_ACEOF
60694 #define HAVE_TANHF 1
60699 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
60700 echo "$as_me: error: No support for this host/target combination." >&2;}
60701 { (exit 1); exit 1; }; }
60708 # At some point, we should differentiate between architectures
60709 # like x86, which have long double versions, and alpha/powerpc/etc.,
60710 # which don't. For the time being, punt.
60711 if test x"long_double_math_on_this_cpu" = x"yes"; then
60712 cat >>confdefs.h <<\_ACEOF
60713 #define HAVE_ACOSL 1
60716 cat >>confdefs.h <<\_ACEOF
60717 #define HAVE_ASINL 1
60720 cat >>confdefs.h <<\_ACEOF
60721 #define HAVE_ATAN2L 1
60724 cat >>confdefs.h <<\_ACEOF
60725 #define HAVE_ATANL 1
60728 cat >>confdefs.h <<\_ACEOF
60729 #define HAVE_CEILL 1
60732 cat >>confdefs.h <<\_ACEOF
60733 #define HAVE_COPYSIGNL 1
60736 cat >>confdefs.h <<\_ACEOF
60737 #define HAVE_COSL 1
60740 cat >>confdefs.h <<\_ACEOF
60741 #define HAVE_COSHL 1
60744 cat >>confdefs.h <<\_ACEOF
60745 #define HAVE_EXPL 1
60748 cat >>confdefs.h <<\_ACEOF
60749 #define HAVE_FABSL 1
60752 cat >>confdefs.h <<\_ACEOF
60753 #define HAVE_FLOORL 1
60756 cat >>confdefs.h <<\_ACEOF
60757 #define HAVE_FMODL 1
60760 cat >>confdefs.h <<\_ACEOF
60761 #define HAVE_FREXPL 1
60764 cat >>confdefs.h <<\_ACEOF
60765 #define HAVE_LDEXPL 1
60768 cat >>confdefs.h <<\_ACEOF
60769 #define HAVE_LOG10L 1
60772 cat >>confdefs.h <<\_ACEOF
60773 #define HAVE_LOGL 1
60776 cat >>confdefs.h <<\_ACEOF
60777 #define HAVE_MODFL 1
60780 cat >>confdefs.h <<\_ACEOF
60781 #define HAVE_POWL 1
60784 cat >>confdefs.h <<\_ACEOF
60785 #define HAVE_SINCOSL 1
60788 cat >>confdefs.h <<\_ACEOF
60789 #define HAVE_SINL 1
60792 cat >>confdefs.h <<\_ACEOF
60793 #define HAVE_SINHL 1
60796 cat >>confdefs.h <<\_ACEOF
60797 #define HAVE_SQRTL 1
60800 cat >>confdefs.h <<\_ACEOF
60801 #define HAVE_TANL 1
60804 cat >>confdefs.h <<\_ACEOF
60805 #define HAVE_TANHL 1
60812 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
60815 # Check whether --enable-symvers or --disable-symvers was given.
60816 if test "${enable_symvers+set}" = set; then
60817 enableval="$enable_symvers"
60819 case "$enableval" in
60821 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
60822 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
60823 { (exit 1); exit 1; }; } ;;
60831 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
60832 # don't know enough about $LD to do tricks...
60834 # FIXME The following test is too strict, in theory.
60835 if test $enable_shared = no ||
60837 test x$glibcxx_gnu_ld_version = x; then
60841 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
60842 if test $enable_symvers != no; then
60843 echo "$as_me:$LINENO: checking for shared libgcc" >&5
60844 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
60845 ac_save_CFLAGS="$CFLAGS"
60847 if test x$gcc_no_link = xyes; then
60848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60850 { (exit 1); exit 1; }; }
60852 cat >conftest.$ac_ext <<_ACEOF
60853 #line $LINENO "configure"
60856 cat confdefs.h >>conftest.$ac_ext
60857 cat >>conftest.$ac_ext <<_ACEOF
60858 /* end confdefs.h. */
60868 rm -f conftest.$ac_objext conftest$ac_exeext
60869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60870 (eval $ac_link) 2>&5
60872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60873 (exit $ac_status); } &&
60874 { ac_try='test -s conftest$ac_exeext'
60875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60876 (eval $ac_try) 2>&5
60878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60879 (exit $ac_status); }; }; then
60880 glibcxx_shared_libgcc=yes
60882 echo "$as_me: failed program was:" >&5
60883 sed 's/^/| /' conftest.$ac_ext >&5
60885 glibcxx_shared_libgcc=no
60887 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60888 CFLAGS="$ac_save_CFLAGS"
60889 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
60890 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
60893 # For GNU ld, we need at least this version. The format is described in
60894 # GLIBCXX_CHECK_LINKER_FEATURES above.
60895 glibcxx_min_gnu_ld_version=21400
60896 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
60898 # Check to see if unspecified "yes" value can win, given results above.
60899 # Change "yes" into either "no" or a style name.
60900 if test $enable_symvers = yes; then
60901 if test $with_gnu_ld = yes &&
60902 test $glibcxx_shared_libgcc = yes;
60904 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
60907 # The right tools, the right setup, but too old. Fallbacks?
60908 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
60909 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
60910 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
60911 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
60912 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
60913 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
60914 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
60915 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
60916 if test $glibcxx_gnu_ld_version -ge 21200 ; then
60917 # Globbing fix is present, proper block support is not.
60918 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60919 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60923 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60924 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60929 # just fail for now
60930 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
60931 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
60932 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
60933 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
60934 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
60935 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
60936 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
60937 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
60942 # Everything parsed; figure out what file to use.
60943 case $enable_symvers in
60945 SYMVER_MAP=config/linker-map.dummy
60948 SYMVER_MAP=config/linker-map.gnu
60949 cat >>confdefs.h <<\_ACEOF
60950 #define _GLIBCXX_SYMVER 1
60959 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
60960 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
60963 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
60965 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
60966 # Do checks for memory limit functions.
60968 setrlimit_have_headers=yes
60972 for ac_header in unistd.h sys/time.h sys/resource.h
60974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60976 echo "$as_me:$LINENO: checking for $ac_header" >&5
60977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60979 echo $ECHO_N "(cached) $ECHO_C" >&6
60981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60984 # Is the header compilable?
60985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60987 cat >conftest.$ac_ext <<_ACEOF
60988 #line $LINENO "configure"
60991 cat confdefs.h >>conftest.$ac_ext
60992 cat >>conftest.$ac_ext <<_ACEOF
60993 /* end confdefs.h. */
60994 $ac_includes_default
60995 #include <$ac_header>
60997 rm -f conftest.$ac_objext
60998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60999 (eval $ac_compile) 2>&5
61001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61002 (exit $ac_status); } &&
61003 { ac_try='test -s conftest.$ac_objext'
61004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61005 (eval $ac_try) 2>&5
61007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61008 (exit $ac_status); }; }; then
61009 ac_header_compiler=yes
61011 echo "$as_me: failed program was:" >&5
61012 sed 's/^/| /' conftest.$ac_ext >&5
61014 ac_header_compiler=no
61016 rm -f conftest.$ac_objext conftest.$ac_ext
61017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61018 echo "${ECHO_T}$ac_header_compiler" >&6
61020 # Is the header present?
61021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61023 cat >conftest.$ac_ext <<_ACEOF
61024 #line $LINENO "configure"
61027 cat confdefs.h >>conftest.$ac_ext
61028 cat >>conftest.$ac_ext <<_ACEOF
61029 /* end confdefs.h. */
61030 #include <$ac_header>
61032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61035 grep -v '^ *+' conftest.er1 >conftest.err
61037 cat conftest.err >&5
61038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61039 (exit $ac_status); } >/dev/null; then
61040 if test -s conftest.err; then
61041 ac_cpp_err=$ac_c_preproc_warn_flag
61048 if test -z "$ac_cpp_err"; then
61049 ac_header_preproc=yes
61051 echo "$as_me: failed program was:" >&5
61052 sed 's/^/| /' conftest.$ac_ext >&5
61054 ac_header_preproc=no
61056 rm -f conftest.err conftest.$ac_ext
61057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61058 echo "${ECHO_T}$ac_header_preproc" >&6
61060 # So? What about this header?
61061 case $ac_header_compiler:$ac_header_preproc in
61063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61066 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61069 ## ------------------------------------ ##
61070 ## Report this to bug-autoconf@gnu.org. ##
61071 ## ------------------------------------ ##
61074 sed "s/^/$as_me: WARNING: /" >&2
61077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61085 ## ------------------------------------ ##
61086 ## Report this to bug-autoconf@gnu.org. ##
61087 ## ------------------------------------ ##
61090 sed "s/^/$as_me: WARNING: /" >&2
61093 echo "$as_me:$LINENO: checking for $ac_header" >&5
61094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61096 echo $ECHO_N "(cached) $ECHO_C" >&6
61098 eval "$as_ac_Header=$ac_header_preproc"
61100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61101 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61105 cat >>confdefs.h <<_ACEOF
61106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61110 setrlimit_have_headers=no
61115 # If don't have the headers, then we can't run the tests now, and we
61116 # won't be seeing any of these during testsuite compilation.
61117 if test $setrlimit_have_headers = yes; then
61118 # Can't do these in a loop, else the resulting syntax is wrong.
61120 cat >conftest.$ac_ext <<_ACEOF
61121 #line $LINENO "configure"
61124 cat confdefs.h >>conftest.$ac_ext
61125 cat >>conftest.$ac_ext <<_ACEOF
61126 /* end confdefs.h. */
61127 #include <unistd.h>
61128 #include <sys/time.h>
61129 #include <sys/resource.h>
61134 int f = RLIMIT_DATA ;
61139 rm -f conftest.$ac_objext
61140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61141 (eval $ac_compile) 2>&5
61143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61144 (exit $ac_status); } &&
61145 { ac_try='test -s conftest.$ac_objext'
61146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61147 (eval $ac_try) 2>&5
61149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61150 (exit $ac_status); }; }; then
61153 echo "$as_me: failed program was:" >&5
61154 sed 's/^/| /' conftest.$ac_ext >&5
61158 rm -f conftest.$ac_objext conftest.$ac_ext
61160 cat >>confdefs.h <<_ACEOF
61161 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
61166 cat >conftest.$ac_ext <<_ACEOF
61167 #line $LINENO "configure"
61170 cat confdefs.h >>conftest.$ac_ext
61171 cat >>conftest.$ac_ext <<_ACEOF
61172 /* end confdefs.h. */
61173 #include <unistd.h>
61174 #include <sys/time.h>
61175 #include <sys/resource.h>
61180 int f = RLIMIT_RSS ;
61185 rm -f conftest.$ac_objext
61186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61187 (eval $ac_compile) 2>&5
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 (exit $ac_status); } &&
61191 { ac_try='test -s conftest.$ac_objext'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; }; then
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61204 rm -f conftest.$ac_objext conftest.$ac_ext
61206 cat >>confdefs.h <<_ACEOF
61207 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
61212 cat >conftest.$ac_ext <<_ACEOF
61213 #line $LINENO "configure"
61216 cat confdefs.h >>conftest.$ac_ext
61217 cat >>conftest.$ac_ext <<_ACEOF
61218 /* end confdefs.h. */
61219 #include <unistd.h>
61220 #include <sys/time.h>
61221 #include <sys/resource.h>
61226 int f = RLIMIT_VMEM ;
61231 rm -f conftest.$ac_objext
61232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61233 (eval $ac_compile) 2>&5
61235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61236 (exit $ac_status); } &&
61237 { ac_try='test -s conftest.$ac_objext'
61238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61239 (eval $ac_try) 2>&5
61241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61242 (exit $ac_status); }; }; then
61245 echo "$as_me: failed program was:" >&5
61246 sed 's/^/| /' conftest.$ac_ext >&5
61250 rm -f conftest.$ac_objext conftest.$ac_ext
61252 cat >>confdefs.h <<_ACEOF
61253 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
61258 cat >conftest.$ac_ext <<_ACEOF
61259 #line $LINENO "configure"
61262 cat confdefs.h >>conftest.$ac_ext
61263 cat >>conftest.$ac_ext <<_ACEOF
61264 /* end confdefs.h. */
61265 #include <unistd.h>
61266 #include <sys/time.h>
61267 #include <sys/resource.h>
61272 int f = RLIMIT_AS ;
61277 rm -f conftest.$ac_objext
61278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61279 (eval $ac_compile) 2>&5
61281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61282 (exit $ac_status); } &&
61283 { ac_try='test -s conftest.$ac_objext'
61284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61285 (eval $ac_try) 2>&5
61287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61288 (exit $ac_status); }; }; then
61291 echo "$as_me: failed program was:" >&5
61292 sed 's/^/| /' conftest.$ac_ext >&5
61296 rm -f conftest.$ac_objext conftest.$ac_ext
61298 cat >>confdefs.h <<_ACEOF
61299 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
61304 # Check for rlimit, setrlimit.
61305 if test "${ac_setrlimit+set}" = set; then
61306 echo $ECHO_N "(cached) $ECHO_C" >&6
61309 cat >conftest.$ac_ext <<_ACEOF
61310 #line $LINENO "configure"
61313 cat confdefs.h >>conftest.$ac_ext
61314 cat >>conftest.$ac_ext <<_ACEOF
61315 /* end confdefs.h. */
61316 #include <unistd.h>
61317 #include <sys/time.h>
61318 #include <sys/resource.h>
61329 rm -f conftest.$ac_objext
61330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61331 (eval $ac_compile) 2>&5
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); } &&
61335 { ac_try='test -s conftest.$ac_objext'
61336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61337 (eval $ac_try) 2>&5
61339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61340 (exit $ac_status); }; }; then
61343 echo "$as_me: failed program was:" >&5
61344 sed 's/^/| /' conftest.$ac_ext >&5
61348 rm -f conftest.$ac_objext conftest.$ac_ext
61354 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
61355 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
61356 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
61358 cat >>confdefs.h <<\_ACEOF
61359 #define _GLIBCXX_MEM_LIMITS 1
61365 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
61366 echo "${ECHO_T}$ac_mem_limits" >&6
61369 # Look for setenv, so that extended locale tests can be performed.
61371 echo "$as_me:$LINENO: checking for setenv declaration" >&5
61372 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
61373 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
61374 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
61375 echo $ECHO_N "(cached) $ECHO_C" >&6
61381 ac_cpp='$CXXCPP $CPPFLAGS'
61382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61386 cat >conftest.$ac_ext <<_ACEOF
61387 #line $LINENO "configure"
61390 cat confdefs.h >>conftest.$ac_ext
61391 cat >>conftest.$ac_ext <<_ACEOF
61392 /* end confdefs.h. */
61393 #include <stdlib.h>
61402 rm -f conftest.$ac_objext
61403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61404 (eval $ac_compile) 2>&5
61406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61407 (exit $ac_status); } &&
61408 { ac_try='test -s conftest.$ac_objext'
61409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61410 (eval $ac_try) 2>&5
61412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61413 (exit $ac_status); }; }; then
61414 glibcxx_cv_func_setenv_use=yes
61416 echo "$as_me: failed program was:" >&5
61417 sed 's/^/| /' conftest.$ac_ext >&5
61419 glibcxx_cv_func_setenv_use=no
61421 rm -f conftest.$ac_objext conftest.$ac_ext
61423 ac_cpp='$CPP $CPPFLAGS'
61424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61432 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
61433 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
61434 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
61436 for ac_func in setenv
61438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61439 echo "$as_me:$LINENO: checking for $ac_func" >&5
61440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61441 if eval "test \"\${$as_ac_var+set}\" = set"; then
61442 echo $ECHO_N "(cached) $ECHO_C" >&6
61444 if test x$gcc_no_link = xyes; then
61445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61447 { (exit 1); exit 1; }; }
61449 cat >conftest.$ac_ext <<_ACEOF
61450 #line $LINENO "configure"
61453 cat confdefs.h >>conftest.$ac_ext
61454 cat >>conftest.$ac_ext <<_ACEOF
61455 /* end confdefs.h. */
61456 /* System header to define __stub macros and hopefully few prototypes,
61457 which can conflict with char $ac_func (); below.
61458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61459 <limits.h> exists even on freestanding compilers. */
61461 # include <limits.h>
61463 # include <assert.h>
61465 /* Override any gcc2 internal prototype to avoid an error. */
61470 /* We use char because int might match the return type of a gcc2
61471 builtin and then its argument prototype would still apply. */
61473 /* The GNU C library defines this for functions which it implements
61474 to always fail with ENOSYS. Some functions are actually named
61475 something starting with __ and the normal name is an alias. */
61476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61479 char (*f) () = $ac_func;
61488 return f != $ac_func;
61493 rm -f conftest.$ac_objext conftest$ac_exeext
61494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61495 (eval $ac_link) 2>&5
61497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498 (exit $ac_status); } &&
61499 { ac_try='test -s conftest$ac_exeext'
61500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61501 (eval $ac_try) 2>&5
61503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61504 (exit $ac_status); }; }; then
61505 eval "$as_ac_var=yes"
61507 echo "$as_me: failed program was:" >&5
61508 sed 's/^/| /' conftest.$ac_ext >&5
61510 eval "$as_ac_var=no"
61512 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61516 if test `eval echo '${'$as_ac_var'}'` = yes; then
61517 cat >>confdefs.h <<_ACEOF
61518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61527 if test $enable_symvers = no; then
61528 enable_abi_check=no
61532 enable_abi_check=no ;;
61534 enable_abi_check=yes ;;
61538 # Only build this as native, since automake does not understand
61540 enable_abi_check=no
61543 # Export file names for ABI checking.
61544 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
61551 # Propagate the target-specific source directories through the build chain.
61552 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
61553 # uses it, and it only gets used in this file.)
61554 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
61555 OS_INC_SRCDIR=config/${os_include_dir}
61556 FPOS_INC_SRCDIR=config/${fpos_include_dir}
61561 # Determine cross-compile flags and AM_CONDITIONALs.
61562 #AC_SUBST(GLIBCXX_IS_NATIVE)
61563 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
61564 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
61565 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
61568 if test $is_hosted = yes; then
61569 GLIBCXX_HOSTED_TRUE=
61570 GLIBCXX_HOSTED_FALSE='#'
61572 GLIBCXX_HOSTED_TRUE='#'
61573 GLIBCXX_HOSTED_FALSE=
61579 if test $enable_libstdcxx_pch = yes; then
61580 GLIBCXX_BUILD_PCH_TRUE=
61581 GLIBCXX_BUILD_PCH_FALSE='#'
61583 GLIBCXX_BUILD_PCH_TRUE='#'
61584 GLIBCXX_BUILD_PCH_FALSE=
61590 if test $enable_cheaders = c; then
61591 GLIBCXX_C_HEADERS_C_TRUE=
61592 GLIBCXX_C_HEADERS_C_FALSE='#'
61594 GLIBCXX_C_HEADERS_C_TRUE='#'
61595 GLIBCXX_C_HEADERS_C_FALSE=
61601 if test $enable_cheaders = c_std; then
61602 GLIBCXX_C_HEADERS_C_STD_TRUE=
61603 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
61605 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
61606 GLIBCXX_C_HEADERS_C_STD_FALSE=
61612 if test $c_compatibility = yes; then
61613 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
61614 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
61616 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
61617 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
61623 if test $enable_libstdcxx_debug = yes; then
61624 GLIBCXX_BUILD_DEBUG_TRUE=
61625 GLIBCXX_BUILD_DEBUG_FALSE='#'
61627 GLIBCXX_BUILD_DEBUG_TRUE='#'
61628 GLIBCXX_BUILD_DEBUG_FALSE=
61634 if test $enable_symvers != no; then
61635 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
61636 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
61638 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
61639 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
61645 if test $enable_wchar_t = yes; then
61646 GLIBCXX_TEST_WCHAR_T_TRUE=
61647 GLIBCXX_TEST_WCHAR_T_FALSE='#'
61649 GLIBCXX_TEST_WCHAR_T_TRUE='#'
61650 GLIBCXX_TEST_WCHAR_T_FALSE=
61656 if test $enable_abi_check = yes; then
61657 GLIBCXX_TEST_ABI_TRUE=
61658 GLIBCXX_TEST_ABI_FALSE='#'
61660 GLIBCXX_TEST_ABI_TRUE='#'
61661 GLIBCXX_TEST_ABI_FALSE=
61667 cat >confcache <<\_ACEOF
61668 # This file is a shell script that caches the results of configure
61669 # tests run on this system so they can be shared between configure
61670 # scripts and configure runs, see configure's option --config-cache.
61671 # It is not useful on other systems. If it contains results you don't
61672 # want to keep, you may remove or edit it.
61674 # config.status only pays attention to the cache file if you give it
61675 # the --recheck option to rerun configure.
61677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61679 # following values.
61683 # The following way of writing the cache mishandles newlines in values,
61684 # but we know of no workaround that is simple, portable, and efficient.
61685 # So, don't put newlines in cache variables' values.
61686 # Ultrix sh set writes to stderr and can't be redirected directly,
61687 # and sets the high bit in the cache file unless we assign to the vars.
61690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
61692 # `set' does not quote correctly, so add quotes (double-quote
61693 # substitution turns \\\\ into \\, and sed turns \\ into \).
61696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
61699 # `set' quotes correctly as required by POSIX, so do not add quotes.
61701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
61708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
61710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
61712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
61713 if test -w $cache_file; then
61714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
61715 cat confcache >$cache_file
61717 echo "not updating unwritable cache $cache_file"
61722 if test ${multilib} = yes; then
61723 multilib_arg="--enable-multilib"
61728 # Export all the install information.
61730 glibcxx_toolexecdir=no
61731 glibcxx_toolexeclibdir=no
61732 glibcxx_prefixdir=$prefix
61734 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
61735 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
61737 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
61738 if test "${with_gxx_include_dir+set}" = set; then
61739 withval="$with_gxx_include_dir"
61741 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
61742 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
61743 { (exit 1); exit 1; }; } ;;
61744 no) gxx_include_dir=no ;;
61745 *) gxx_include_dir=$withval ;;
61750 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
61751 echo "${ECHO_T}$gxx_include_dir" >&6
61753 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
61754 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
61755 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
61756 if test "${enable_version_specific_runtime_libs+set}" = set; then
61757 enableval="$enable_version_specific_runtime_libs"
61758 case "$enableval" in
61759 yes) version_specific_libs=yes ;;
61760 no) version_specific_libs=no ;;
61761 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
61762 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
61763 { (exit 1); exit 1; }; };;
61766 version_specific_libs=no
61768 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
61769 echo "${ECHO_T}$version_specific_libs" >&6
61771 # Default case for install directory for include files.
61772 if test $version_specific_libs = no && test $gxx_include_dir = no; then
61773 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
61776 # Version-specific runtime libs processing.
61777 if test $version_specific_libs = yes; then
61778 # Need the gcc compiler version to know where to install libraries
61779 # and header files if --enable-version-specific-runtime-libs option
61781 if test x"$gxx_include_dir" = x"no"; then
61782 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
61784 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
61785 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
61788 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
61789 # Install a library built with a cross compiler in tooldir, not libdir.
61790 if test x"$glibcxx_toolexecdir" = x"no"; then
61791 if test -n "$with_cross_host" &&
61792 test x"$with_cross_host" != x"no"; then
61793 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
61794 glibcxx_toolexeclibdir='${toolexecdir}/lib'
61796 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
61797 glibcxx_toolexeclibdir='${libdir}'
61799 multi_os_directory=`$CXX -print-multi-os-directory`
61800 case $multi_os_directory in
61801 .) ;; # Avoid trailing /.
61802 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
61806 echo "$as_me:$LINENO: checking for install location" >&5
61807 echo $ECHO_N "checking for install location... $ECHO_C" >&6
61808 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
61809 echo "${ECHO_T}$gxx_include_dir" >&6
61817 # Export all the include and flag information to Makefiles.
61819 # Used for every C++ compile we perform.
61820 GLIBCXX_INCLUDES="\
61821 -I$glibcxx_builddir/include/$host_alias \
61822 -I$glibcxx_builddir/include \
61823 -I$glibcxx_srcdir/libsupc++"
61825 # For Canadian crosses, pick this up too.
61826 if test $CANADIAN = yes; then
61827 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
61830 # Stuff in the actual top level. Currently only used by libsupc++ to
61831 # get unwind* headers from the gcc dir.
61832 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
61833 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
61835 # Now, export this to all the little Makefiles....
61840 # Optimization flags that are probably a good idea for thrill-seekers. Just
61841 # uncomment the lines below and make, everything else is ready to go...
61842 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
61846 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
61850 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
61851 grep "enable shared" > /dev/null;
61853 LIBSUPCXX_PICFLAGS=-prefer-pic
61855 LIBSUPCXX_PICFLAGS=
61859 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
61861 ac_config_files="$ac_config_files scripts/check_survey"
61863 ac_config_files="$ac_config_files scripts/testsuite_flags"
61866 ac_config_commands="$ac_config_commands default"
61869 cat >confcache <<\_ACEOF
61870 # This file is a shell script that caches the results of configure
61871 # tests run on this system so they can be shared between configure
61872 # scripts and configure runs, see configure's option --config-cache.
61873 # It is not useful on other systems. If it contains results you don't
61874 # want to keep, you may remove or edit it.
61876 # config.status only pays attention to the cache file if you give it
61877 # the --recheck option to rerun configure.
61879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61881 # following values.
61885 # The following way of writing the cache mishandles newlines in values,
61886 # but we know of no workaround that is simple, portable, and efficient.
61887 # So, don't put newlines in cache variables' values.
61888 # Ultrix sh set writes to stderr and can't be redirected directly,
61889 # and sets the high bit in the cache file unless we assign to the vars.
61892 case `(ac_space=' '; set | grep ac_space) 2>&1` in
61894 # `set' does not quote correctly, so add quotes (double-quote
61895 # substitution turns \\\\ into \\, and sed turns \\ into \).
61898 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
61901 # `set' quotes correctly as required by POSIX, so do not add quotes.
61903 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
61910 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
61912 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
61914 if diff $cache_file confcache >/dev/null 2>&1; then :; else
61915 if test -w $cache_file; then
61916 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
61917 cat confcache >$cache_file
61919 echo "not updating unwritable cache $cache_file"
61924 test "x$prefix" = xNONE && prefix=$ac_default_prefix
61925 # Let make expand exec_prefix.
61926 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
61928 # VPATH may cause trouble with some makes, so we remove $(srcdir),
61929 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
61930 # trailing colons and then remove the whole line if VPATH becomes empty
61931 # (actually we leave an empty line to preserve line numbers).
61932 if test "x$srcdir" = x.; then
61933 ac_vpsub='/^[ ]*VPATH[ ]*=/{
61934 s/:*\$(srcdir):*/:/;
61935 s/:*\${srcdir}:*/:/;
61937 s/^\([^=]*=[ ]*\):*/\1/;
61943 DEFS=-DHAVE_CONFIG_H
61947 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
61948 # 1. Remove the extension, and $U if already installed.
61949 ac_i=`echo "$ac_i" |
61950 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
61952 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
61953 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
61955 LIBOBJS=$ac_libobjs
61957 LTLIBOBJS=$ac_ltlibobjs
61960 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
61961 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
61962 Usually this means the macro was only invoked conditionally." >&5
61963 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
61964 Usually this means the macro was only invoked conditionally." >&2;}
61965 { (exit 1); exit 1; }; }
61967 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
61968 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
61969 Usually this means the macro was only invoked conditionally." >&5
61970 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
61971 Usually this means the macro was only invoked conditionally." >&2;}
61972 { (exit 1); exit 1; }; }
61974 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
61975 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
61976 Usually this means the macro was only invoked conditionally." >&5
61977 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
61978 Usually this means the macro was only invoked conditionally." >&2;}
61979 { (exit 1); exit 1; }; }
61981 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
61982 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
61983 Usually this means the macro was only invoked conditionally." >&5
61984 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
61985 Usually this means the macro was only invoked conditionally." >&2;}
61986 { (exit 1); exit 1; }; }
61988 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
61989 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
61990 Usually this means the macro was only invoked conditionally." >&5
61991 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
61992 Usually this means the macro was only invoked conditionally." >&2;}
61993 { (exit 1); exit 1; }; }
61995 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
61996 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
61997 Usually this means the macro was only invoked conditionally." >&5
61998 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
61999 Usually this means the macro was only invoked conditionally." >&2;}
62000 { (exit 1); exit 1; }; }
62002 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
62003 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62004 Usually this means the macro was only invoked conditionally." >&5
62005 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62006 Usually this means the macro was only invoked conditionally." >&2;}
62007 { (exit 1); exit 1; }; }
62009 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
62010 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62011 Usually this means the macro was only invoked conditionally." >&5
62012 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62013 Usually this means the macro was only invoked conditionally." >&2;}
62014 { (exit 1); exit 1; }; }
62016 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
62017 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62018 Usually this means the macro was only invoked conditionally." >&5
62019 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62020 Usually this means the macro was only invoked conditionally." >&2;}
62021 { (exit 1); exit 1; }; }
62023 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
62024 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62025 Usually this means the macro was only invoked conditionally." >&5
62026 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62027 Usually this means the macro was only invoked conditionally." >&2;}
62028 { (exit 1); exit 1; }; }
62031 : ${CONFIG_STATUS=./config.status}
62032 ac_clean_files_save=$ac_clean_files
62033 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62034 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62035 echo "$as_me: creating $CONFIG_STATUS" >&6;}
62036 cat >$CONFIG_STATUS <<_ACEOF
62038 # Generated by $as_me.
62039 # Run this file to recreate the current configuration.
62040 # Compiler output produced by configure, useful for debugging
62041 # configure, is in config.log if it exists.
62044 ac_cs_recheck=false
62046 SHELL=\${CONFIG_SHELL-$SHELL}
62049 cat >>$CONFIG_STATUS <<\_ACEOF
62050 ## --------------------- ##
62051 ## M4sh Initialization. ##
62052 ## --------------------- ##
62054 # Be Bourne compatible
62055 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
62058 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62059 # is contrary to our usage. Disable this feature.
62060 alias -g '${1+"$@"}'='"$@"'
62061 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
62065 # Support unset when possible.
62066 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62073 # Work around bugs in pre-3.0 UWIN ksh.
62074 $as_unset ENV MAIL MAILPATH
62081 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
62082 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
62083 LC_TELEPHONE LC_TIME
62085 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
62086 eval $as_var=C; export $as_var
62092 # Required to use basename.
62093 if expr a : '\(a\)' >/dev/null 2>&1; then
62099 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62100 as_basename=basename
62106 # Name of the executable.
62107 as_me=`$as_basename "$0" ||
62108 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62109 X"$0" : 'X\(//\)$' \| \
62110 X"$0" : 'X\(/\)$' \| \
62111 . : '\(.\)' 2>/dev/null ||
62113 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
62114 /^X\/\(\/\/\)$/{ s//\1/; q; }
62115 /^X\/\(\/\).*/{ s//\1/; q; }
62119 # PATH needs CR, and LINENO needs CR and PATH.
62120 # Avoid depending upon Character Ranges.
62121 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62122 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62123 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62124 as_cr_digits='0123456789'
62125 as_cr_alnum=$as_cr_Letters$as_cr_digits
62127 # The user is always right.
62128 if test "${PATH_SEPARATOR+set}" != set; then
62129 echo "#! /bin/sh" >conf$$.sh
62130 echo "exit 0" >>conf$$.sh
62132 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62141 as_lineno_1=$LINENO
62142 as_lineno_2=$LINENO
62143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62144 test "x$as_lineno_1" != "x$as_lineno_2" &&
62145 test "x$as_lineno_3" = "x$as_lineno_2" || {
62146 # Find who we are. Look in the path if we contain no path at all
62149 *[\\/]* ) as_myself=$0 ;;
62150 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62151 for as_dir in $PATH
62154 test -z "$as_dir" && as_dir=.
62155 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
62160 # We did not find ourselves, most probably we were run as `sh COMMAND'
62161 # in which case we are not to be found in the path.
62162 if test "x$as_myself" = x; then
62165 if test ! -f "$as_myself"; then
62166 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
62167 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
62168 { (exit 1); exit 1; }; }
62170 case $CONFIG_SHELL in
62172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62173 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
62176 test -z "$as_dir" && as_dir=.
62177 for as_base in sh bash ksh sh5; do
62180 if ("$as_dir/$as_base" -c '
62181 as_lineno_1=$LINENO
62182 as_lineno_2=$LINENO
62183 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62184 test "x$as_lineno_1" != "x$as_lineno_2" &&
62185 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
62186 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
62187 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
62188 CONFIG_SHELL=$as_dir/$as_base
62189 export CONFIG_SHELL
62190 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
62198 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
62199 # uniformly replaced by the line number. The first 'sed' inserts a
62200 # line-number line before each line; the second 'sed' does the real
62201 # work. The second script uses 'N' to pair each line-number line
62202 # with the numbered line, and appends trailing '-' during
62203 # substitution so that $LINENO is not a special case at line end.
62204 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
62205 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
62206 sed '=' <$as_myself |
62211 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
62214 s,^['$as_cr_digits']*\n,,
62215 ' >$as_me.lineno &&
62216 chmod +x $as_me.lineno ||
62217 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
62218 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
62219 { (exit 1); exit 1; }; }
62221 # Don't try to exec as it changes $[0], causing all sort of problems
62222 # (the dirname of $[0] is not the place where we might find the
62223 # original and so on. Autoconf is especially sensible to this).
62225 # Exit status is that of the last command.
62230 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
62231 *c*,-n*) ECHO_N= ECHO_C='
62233 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
62234 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
62237 if expr a : '\(a\)' >/dev/null 2>&1; then
62243 rm -f conf$$ conf$$.exe conf$$.file
62245 if ln -s conf$$.file conf$$ 2>/dev/null; then
62246 # We could just check for DJGPP; but this test a) works b) is more generic
62247 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
62248 if test -f conf$$.exe; then
62249 # Don't use ln at all; we don't have any links
62254 elif ln conf$$.file conf$$ 2>/dev/null; then
62259 rm -f conf$$ conf$$.exe conf$$.file
62261 if mkdir -p . 2>/dev/null; then
62267 as_executable_p="test -f"
62269 # Sed expression to map a string onto a valid CPP name.
62270 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62272 # Sed expression to map a string onto a valid variable name.
62273 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
62277 # We need space, tab and new line, in precisely that order.
62287 # Open the log real soon, to keep \$[0] and so on meaningful, and to
62288 # report actual input values of CONFIG_FILES etc. instead of their
62289 # values after options handling. Logging --version etc. is OK.
62293 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
62294 ## Running $as_me. ##
62299 This file was extended by package-unused $as_me version-unused, which was
62300 generated by GNU Autoconf 2.57. Invocation command line was
62302 CONFIG_FILES = $CONFIG_FILES
62303 CONFIG_HEADERS = $CONFIG_HEADERS
62304 CONFIG_LINKS = $CONFIG_LINKS
62305 CONFIG_COMMANDS = $CONFIG_COMMANDS
62309 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
62313 # Files that config.status was made for.
62314 if test -n "$ac_config_files"; then
62315 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
62318 if test -n "$ac_config_headers"; then
62319 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
62322 if test -n "$ac_config_links"; then
62323 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
62326 if test -n "$ac_config_commands"; then
62327 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
62330 cat >>$CONFIG_STATUS <<\_ACEOF
62333 \`$as_me' instantiates files from templates according to the
62334 current configuration.
62336 Usage: $0 [OPTIONS] [FILE]...
62338 -h, --help print this help, then exit
62339 -V, --version print version number, then exit
62340 -q, --quiet do not print progress messages
62341 -d, --debug don't remove temporary files
62342 --recheck update $as_me by reconfiguring in the same conditions
62343 --file=FILE[:TEMPLATE]
62344 instantiate the configuration file FILE
62345 --header=FILE[:TEMPLATE]
62346 instantiate the configuration header FILE
62348 Configuration files:
62351 Configuration headers:
62354 Configuration commands:
62357 Report bugs to <bug-autoconf@gnu.org>."
62360 cat >>$CONFIG_STATUS <<_ACEOF
62362 package-unused config.status version-unused
62363 configured by $0, generated by GNU Autoconf 2.57,
62364 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
62366 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
62367 Free Software Foundation, Inc.
62368 This config.status script is free software; the Free Software Foundation
62369 gives unlimited permission to copy, distribute and modify it."
62374 cat >>$CONFIG_STATUS <<\_ACEOF
62375 # If no file are specified by the user, then we need to provide default
62376 # value. By we need to know if files were specified by the user.
62382 ac_option=`expr "x$1" : 'x\([^=]*\)='`
62383 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
62391 *) # This is not an option, so the user has probably given explicit
62394 ac_need_defaults=false;;
62398 # Handling of the options.
62400 cat >>$CONFIG_STATUS <<\_ACEOF
62401 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
62403 --version | --vers* | -V )
62404 echo "$ac_cs_version"; exit 0 ;;
62406 # Conflict between --help and --header
62407 { { echo "$as_me:$LINENO: error: ambiguous option: $1
62408 Try \`$0 --help' for more information." >&5
62409 echo "$as_me: error: ambiguous option: $1
62410 Try \`$0 --help' for more information." >&2;}
62411 { (exit 1); exit 1; }; };;
62412 --help | --hel | -h )
62413 echo "$ac_cs_usage"; exit 0 ;;
62414 --debug | --d* | -d )
62416 --file | --fil | --fi | --f )
62418 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
62419 ac_need_defaults=false;;
62420 --header | --heade | --head | --hea )
62422 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
62423 ac_need_defaults=false;;
62424 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
62425 | -silent | --silent | --silen | --sile | --sil | --si | --s)
62428 # This is an error.
62429 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
62430 Try \`$0 --help' for more information." >&5
62431 echo "$as_me: error: unrecognized option: $1
62432 Try \`$0 --help' for more information." >&2;}
62433 { (exit 1); exit 1; }; } ;;
62435 *) ac_config_targets="$ac_config_targets $1" ;;
62441 ac_configure_extra_args=
62443 if $ac_cs_silent; then
62445 ac_configure_extra_args="$ac_configure_extra_args --silent"
62449 cat >>$CONFIG_STATUS <<_ACEOF
62450 if \$ac_cs_recheck; then
62451 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
62452 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
62457 cat >>$CONFIG_STATUS <<_ACEOF
62459 # INIT-COMMANDS section.
62466 with_multisubdir="$with_multisubdir"
62467 with_multisrctop="$with_multisrctop"
62468 with_target_subdir="$with_target_subdir"
62469 ac_configure_args="${multilib_arg} ${ac_configure_args}"
62470 multi_basedir="$multi_basedir"
62471 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
62474 # Variables needed in config.status (file generation) which aren't already
62475 # passed by autoconf.
62483 cat >>$CONFIG_STATUS <<\_ACEOF
62484 for ac_config_target in $ac_config_targets
62486 case "$ac_config_target" in
62487 # Handling of arguments.
62488 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
62489 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
62490 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
62491 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
62492 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
62493 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
62494 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
62495 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
62496 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
62497 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
62498 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
62499 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
62500 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
62501 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
62502 { (exit 1); exit 1; }; };;
62506 # If the user did not use the arguments to specify the items to instantiate,
62507 # then the envvar interface is used. Set only those that are not.
62508 # We use the long form for the default assignment because of an extremely
62509 # bizarre bug on SunOS 4.1.3.
62510 if $ac_need_defaults; then
62511 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
62512 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
62513 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
62516 # Have a temporary directory for convenience. Make it in the build tree
62517 # simply because there is no reason to put it here, and in addition,
62518 # creating and moving files from /tmp can sometimes cause problems.
62519 # Create a temporary directory, and hook for its removal unless debugging.
62522 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
62523 trap '{ (exit 1); exit 1; }' 1 2 13 15
62526 # Create a (secure) tmp directory for tmp files.
62529 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
62530 test -n "$tmp" && test -d "$tmp"
62533 tmp=./confstat$$-$RANDOM
62534 (umask 077 && mkdir $tmp)
62537 echo "$me: cannot create a temporary directory in ." >&2
62538 { (exit 1); exit 1; }
62543 cat >>$CONFIG_STATUS <<_ACEOF
62546 # CONFIG_FILES section.
62549 # No need to generate the scripts if there are no CONFIG_FILES.
62550 # This happens for instance when ./config.status config.h
62551 if test -n "\$CONFIG_FILES"; then
62552 # Protect against being on the right side of a sed subst in config.status.
62553 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
62554 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
62555 s,@SHELL@,$SHELL,;t t
62556 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
62557 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
62558 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
62559 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
62560 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
62561 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
62562 s,@exec_prefix@,$exec_prefix,;t t
62563 s,@prefix@,$prefix,;t t
62564 s,@program_transform_name@,$program_transform_name,;t t
62565 s,@bindir@,$bindir,;t t
62566 s,@sbindir@,$sbindir,;t t
62567 s,@libexecdir@,$libexecdir,;t t
62568 s,@datadir@,$datadir,;t t
62569 s,@sysconfdir@,$sysconfdir,;t t
62570 s,@sharedstatedir@,$sharedstatedir,;t t
62571 s,@localstatedir@,$localstatedir,;t t
62572 s,@libdir@,$libdir,;t t
62573 s,@includedir@,$includedir,;t t
62574 s,@oldincludedir@,$oldincludedir,;t t
62575 s,@infodir@,$infodir,;t t
62576 s,@mandir@,$mandir,;t t
62577 s,@build_alias@,$build_alias,;t t
62578 s,@host_alias@,$host_alias,;t t
62579 s,@target_alias@,$target_alias,;t t
62580 s,@DEFS@,$DEFS,;t t
62581 s,@ECHO_C@,$ECHO_C,;t t
62582 s,@ECHO_N@,$ECHO_N,;t t
62583 s,@ECHO_T@,$ECHO_T,;t t
62584 s,@LIBS@,$LIBS,;t t
62585 s,@libtool_VERSION@,$libtool_VERSION,;t t
62586 s,@multi_basedir@,$multi_basedir,;t t
62587 s,@build@,$build,;t t
62588 s,@build_cpu@,$build_cpu,;t t
62589 s,@build_vendor@,$build_vendor,;t t
62590 s,@build_os@,$build_os,;t t
62591 s,@host@,$host,;t t
62592 s,@host_cpu@,$host_cpu,;t t
62593 s,@host_vendor@,$host_vendor,;t t
62594 s,@host_os@,$host_os,;t t
62595 s,@target@,$target,;t t
62596 s,@target_cpu@,$target_cpu,;t t
62597 s,@target_vendor@,$target_vendor,;t t
62598 s,@target_os@,$target_os,;t t
62599 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
62600 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
62601 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
62602 s,@CYGPATH_W@,$CYGPATH_W,;t t
62603 s,@PACKAGE@,$PACKAGE,;t t
62604 s,@VERSION@,$VERSION,;t t
62605 s,@ACLOCAL@,$ACLOCAL,;t t
62606 s,@AUTOCONF@,$AUTOCONF,;t t
62607 s,@AUTOMAKE@,$AUTOMAKE,;t t
62608 s,@AUTOHEADER@,$AUTOHEADER,;t t
62609 s,@MAKEINFO@,$MAKEINFO,;t t
62610 s,@AMTAR@,$AMTAR,;t t
62611 s,@install_sh@,$install_sh,;t t
62612 s,@STRIP@,$STRIP,;t t
62613 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
62614 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
62616 s,@SET_MAKE@,$SET_MAKE,;t t
62617 s,@am__leading_dot@,$am__leading_dot,;t t
62618 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
62619 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
62620 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
62622 s,@ac_ct_CC@,$ac_ct_CC,;t t
62623 s,@EXEEXT@,$EXEEXT,;t t
62624 s,@OBJEXT@,$OBJEXT,;t t
62626 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
62627 s,@CFLAGS@,$CFLAGS,;t t
62628 s,@CXXFLAGS@,$CXXFLAGS,;t t
62629 s,@LN_S@,$LN_S,;t t
62631 s,@ac_ct_AS@,$ac_ct_AS,;t t
62633 s,@ac_ct_AR@,$ac_ct_AR,;t t
62634 s,@RANLIB@,$RANLIB,;t t
62635 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
62636 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
62637 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
62638 s,@MAINT@,$MAINT,;t t
62639 s,@LIBTOOL@,$LIBTOOL,;t t
62640 s,@CXXCPP@,$CXXCPP,;t t
62641 s,@CPPFLAGS@,$CPPFLAGS,;t t
62642 s,@enable_shared@,$enable_shared,;t t
62643 s,@enable_static@,$enable_static,;t t
62644 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
62645 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
62646 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
62647 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
62648 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
62649 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
62650 s,@CSTDIO_H@,$CSTDIO_H,;t t
62651 s,@FPOS_H@,$FPOS_H,;t t
62652 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
62653 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
62655 s,@EGREP@,$EGREP,;t t
62656 s,@check_msgfmt@,$check_msgfmt,;t t
62657 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
62658 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
62659 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
62660 s,@USE_NLS@,$USE_NLS,;t t
62661 s,@CLOCALE_H@,$CLOCALE_H,;t t
62662 s,@CCODECVT_H@,$CCODECVT_H,;t t
62663 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
62664 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
62665 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
62666 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
62667 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
62668 s,@CMONEY_CC@,$CMONEY_CC,;t t
62669 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
62670 s,@CTIME_H@,$CTIME_H,;t t
62671 s,@CTIME_CC@,$CTIME_CC,;t t
62672 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
62673 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
62674 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
62675 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
62676 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
62677 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
62678 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
62679 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
62680 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
62681 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
62682 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
62683 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
62684 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
62685 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
62686 s,@WERROR@,$WERROR,;t t
62687 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
62688 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
62689 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
62690 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
62691 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
62692 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
62693 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
62694 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
62695 s,@baseline_dir@,$baseline_dir,;t t
62696 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
62697 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
62698 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
62699 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
62700 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
62701 s,@FPOS_INC_SRCDIR@,$FPOS_INC_SRCDIR,;t t
62702 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
62703 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
62704 s,@gxx_include_dir@,$gxx_include_dir,;t t
62705 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
62706 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
62707 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
62708 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
62709 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
62710 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
62711 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
62712 s,@LIBOBJS@,$LIBOBJS,;t t
62713 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
62718 cat >>$CONFIG_STATUS <<\_ACEOF
62719 # Split the substitutions into bite-sized pieces for seds with
62720 # small command number limits, like on Digital OSF/1 and HP-UX.
62721 ac_max_sed_lines=48
62722 ac_sed_frag=1 # Number of current file.
62723 ac_beg=1 # First line for current file.
62724 ac_end=$ac_max_sed_lines # Line after last line for current file.
62727 while $ac_more_lines; do
62728 if test $ac_beg -gt 1; then
62729 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
62731 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
62733 if test ! -s $tmp/subs.frag; then
62734 ac_more_lines=false
62736 # The purpose of the label and of the branching condition is to
62737 # speed up the sed processing (if there are no `@' at all, there
62738 # is no need to browse any of the substitutions).
62739 # These are the two extra sed commands mentioned above.
62741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
62742 if test -z "$ac_sed_cmds"; then
62743 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
62745 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
62747 ac_sed_frag=`expr $ac_sed_frag + 1`
62749 ac_end=`expr $ac_end + $ac_max_sed_lines`
62752 if test -z "$ac_sed_cmds"; then
62755 fi # test -n "$CONFIG_FILES"
62758 cat >>$CONFIG_STATUS <<\_ACEOF
62759 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
62760 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
62762 - | *:- | *:-:* ) # input from stdin
62764 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62765 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62766 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62767 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62768 * ) ac_file_in=$ac_file.in ;;
62771 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
62772 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
62773 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62774 X"$ac_file" : 'X\(//\)[^/]' \| \
62775 X"$ac_file" : 'X\(//\)$' \| \
62776 X"$ac_file" : 'X\(/\)' \| \
62777 . : '\(.\)' 2>/dev/null ||
62779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
62780 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
62781 /^X\(\/\/\)$/{ s//\1/; q; }
62782 /^X\(\/\).*/{ s//\1/; q; }
62784 { if $as_mkdir_p; then
62789 while test ! -d "$as_dir"; do
62790 as_dirs="$as_dir $as_dirs"
62791 as_dir=`(dirname "$as_dir") 2>/dev/null ||
62792 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62793 X"$as_dir" : 'X\(//\)[^/]' \| \
62794 X"$as_dir" : 'X\(//\)$' \| \
62795 X"$as_dir" : 'X\(/\)' \| \
62796 . : '\(.\)' 2>/dev/null ||
62798 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
62799 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
62800 /^X\(\/\/\)$/{ s//\1/; q; }
62801 /^X\(\/\).*/{ s//\1/; q; }
62804 test ! -n "$as_dirs" || mkdir $as_dirs
62805 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
62806 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
62807 { (exit 1); exit 1; }; }; }
62811 if test "$ac_dir" != .; then
62812 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
62813 # A "../" for each directory in $ac_dir_suffix.
62814 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
62816 ac_dir_suffix= ac_top_builddir=
62820 .) # No --srcdir option. We are building in place.
62822 if test -z "$ac_top_builddir"; then
62825 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
62827 [\\/]* | ?:[\\/]* ) # Absolute path.
62828 ac_srcdir=$srcdir$ac_dir_suffix;
62829 ac_top_srcdir=$srcdir ;;
62830 *) # Relative path.
62831 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
62832 ac_top_srcdir=$ac_top_builddir$srcdir ;;
62834 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
62836 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
62837 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
62838 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
62839 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
62843 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
62844 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
62847 if test x"$ac_file" != x-; then
62848 { echo "$as_me:$LINENO: creating $ac_file" >&5
62849 echo "$as_me: creating $ac_file" >&6;}
62852 # Let's still pretend it is `configure' which instantiates (i.e., don't
62853 # use $as_me), people would be surprised to read:
62854 # /* config.h. Generated by config.status. */
62855 if test x"$ac_file" = x-; then
62858 configure_input="$ac_file. "
62860 configure_input=$configure_input"Generated from `echo $ac_file_in |
62861 sed 's,.*/,,'` by configure."
62863 # First look for the input files in the build tree, otherwise in the
62865 ac_file_inputs=`IFS=:
62866 for f in $ac_file_in; do
62868 -) echo $tmp/stdin ;;
62870 # Absolute (can't be DOS-style, as IFS=:)
62871 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62872 echo "$as_me: error: cannot find input file: $f" >&2;}
62873 { (exit 1); exit 1; }; }
62876 if test -f "$f"; then
62879 elif test -f "$srcdir/$f"; then
62884 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62885 echo "$as_me: error: cannot find input file: $f" >&2;}
62886 { (exit 1); exit 1; }; }
62889 done` || { (exit 1); exit 1; }
62891 cat >>$CONFIG_STATUS <<_ACEOF
62895 cat >>$CONFIG_STATUS <<\_ACEOF
62897 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
62898 s,@configure_input@,$configure_input,;t t
62899 s,@srcdir@,$ac_srcdir,;t t
62900 s,@abs_srcdir@,$ac_abs_srcdir,;t t
62901 s,@top_srcdir@,$ac_top_srcdir,;t t
62902 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
62903 s,@builddir@,$ac_builddir,;t t
62904 s,@abs_builddir@,$ac_abs_builddir,;t t
62905 s,@top_builddir@,$ac_top_builddir,;t t
62906 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
62907 s,@INSTALL@,$ac_INSTALL,;t t
62908 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
62910 if test x"$ac_file" != x-; then
62911 mv $tmp/out $ac_file
62917 # Run the commands associated with the file.
62919 scripts/check_survey ) chmod +x scripts/check_survey ;;
62920 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
62924 cat >>$CONFIG_STATUS <<\_ACEOF
62927 # CONFIG_HEADER section.
62930 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
62931 # NAME is the cpp macro being defined and VALUE is the value it is being given.
62933 # ac_d sets the value in "#define NAME VALUE" lines.
62934 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
62935 ac_dB='[ ].*$,\1#\2'
62938 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
62939 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
62940 ac_uB='$,\1#\2define\3'
62944 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
62945 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
62947 - | *:- | *:-:* ) # input from stdin
62949 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62950 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62951 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
62952 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
62953 * ) ac_file_in=$ac_file.in ;;
62956 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
62957 echo "$as_me: creating $ac_file" >&6;}
62959 # First look for the input files in the build tree, otherwise in the
62961 ac_file_inputs=`IFS=:
62962 for f in $ac_file_in; do
62964 -) echo $tmp/stdin ;;
62966 # Absolute (can't be DOS-style, as IFS=:)
62967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62968 echo "$as_me: error: cannot find input file: $f" >&2;}
62969 { (exit 1); exit 1; }; }
62972 if test -f "$f"; then
62975 elif test -f "$srcdir/$f"; then
62980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
62981 echo "$as_me: error: cannot find input file: $f" >&2;}
62982 { (exit 1); exit 1; }; }
62985 done` || { (exit 1); exit 1; }
62986 # Remove the trailing spaces.
62987 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
62991 # Transform confdefs.h into two sed scripts, `conftest.defines' and
62992 # `conftest.undefs', that substitutes the proper values into
62993 # config.h.in to produce config.h. The first handles `#define'
62994 # templates, and the second `#undef' templates.
62995 # And first: Protect against being on the right side of a sed subst in
62996 # config.status. Protect against being in an unquoted here document
62997 # in config.status.
62998 rm -f conftest.defines conftest.undefs
62999 # Using a here document instead of a string reduces the quoting nightmare.
63000 # Putting comments in sed scripts is not portable.
63002 # `end' is used to avoid that the second main sed command (meant for
63003 # 0-ary CPP macros) applies to n-ary macro definitions.
63004 # See the Autoconf documentation for `clear'.
63005 cat >confdef2sed.sed <<\_ACEOF
63010 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
63012 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
63015 # If some macros were called several times there might be several times
63016 # the same #defines, which is useless. Nevertheless, we may not want to
63017 # sort them, since we want the *last* AC-DEFINE to be honored.
63018 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
63019 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
63020 rm -f confdef2sed.sed
63022 # This sed command replaces #undef with comments. This is necessary, for
63023 # example, in the case of _POSIX_SOURCE, which is predefined and required
63024 # on some systems where configure will not decide to define it.
63025 cat >>conftest.undefs <<\_ACEOF
63026 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
63029 # Break up conftest.defines because some shells have a limit on the size
63030 # of here documents, and old seds have small limits too (100 cmds).
63031 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
63032 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
63033 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
63034 echo ' :' >>$CONFIG_STATUS
63035 rm -f conftest.tail
63036 while grep . conftest.defines >/dev/null
63038 # Write a limited-size here document to $tmp/defines.sed.
63039 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
63040 # Speed up: don't consider the non `#define' lines.
63041 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
63042 # Work around the forget-to-reset-the-flag bug.
63043 echo 't clr' >>$CONFIG_STATUS
63044 echo ': clr' >>$CONFIG_STATUS
63045 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
63047 sed -f $tmp/defines.sed $tmp/in >$tmp/out
63049 mv $tmp/out $tmp/in
63051 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
63052 rm -f conftest.defines
63053 mv conftest.tail conftest.defines
63055 rm -f conftest.defines
63056 echo ' fi # grep' >>$CONFIG_STATUS
63057 echo >>$CONFIG_STATUS
63059 # Break up conftest.undefs because some shells have a limit on the size
63060 # of here documents, and old seds have small limits too (100 cmds).
63061 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
63062 rm -f conftest.tail
63063 while grep . conftest.undefs >/dev/null
63065 # Write a limited-size here document to $tmp/undefs.sed.
63066 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
63067 # Speed up: don't consider the non `#undef'
63068 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
63069 # Work around the forget-to-reset-the-flag bug.
63070 echo 't clr' >>$CONFIG_STATUS
63071 echo ': clr' >>$CONFIG_STATUS
63072 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
63074 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
63076 mv $tmp/out $tmp/in
63078 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
63079 rm -f conftest.undefs
63080 mv conftest.tail conftest.undefs
63082 rm -f conftest.undefs
63084 cat >>$CONFIG_STATUS <<\_ACEOF
63085 # Let's still pretend it is `configure' which instantiates (i.e., don't
63086 # use $as_me), people would be surprised to read:
63087 # /* config.h. Generated by config.status. */
63088 if test x"$ac_file" = x-; then
63089 echo "/* Generated by configure. */" >$tmp/config.h
63091 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
63093 cat $tmp/in >>$tmp/config.h
63095 if test x"$ac_file" != x-; then
63096 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
63097 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
63098 echo "$as_me: $ac_file is unchanged" >&6;}
63100 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63101 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63102 X"$ac_file" : 'X\(//\)[^/]' \| \
63103 X"$ac_file" : 'X\(//\)$' \| \
63104 X"$ac_file" : 'X\(/\)' \| \
63105 . : '\(.\)' 2>/dev/null ||
63107 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63108 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63109 /^X\(\/\/\)$/{ s//\1/; q; }
63110 /^X\(\/\).*/{ s//\1/; q; }
63112 { if $as_mkdir_p; then
63117 while test ! -d "$as_dir"; do
63118 as_dirs="$as_dir $as_dirs"
63119 as_dir=`(dirname "$as_dir") 2>/dev/null ||
63120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63121 X"$as_dir" : 'X\(//\)[^/]' \| \
63122 X"$as_dir" : 'X\(//\)$' \| \
63123 X"$as_dir" : 'X\(/\)' \| \
63124 . : '\(.\)' 2>/dev/null ||
63126 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63127 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63128 /^X\(\/\/\)$/{ s//\1/; q; }
63129 /^X\(\/\).*/{ s//\1/; q; }
63132 test ! -n "$as_dirs" || mkdir $as_dirs
63133 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63134 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63135 { (exit 1); exit 1; }; }; }
63138 mv $tmp/config.h $ac_file
63142 rm -f $tmp/config.h
63144 # Compute $ac_file's index in $config_headers.
63146 for _am_header in $config_headers :; do
63147 case $_am_header in
63148 $ac_file | $ac_file:* )
63151 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
63154 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
63155 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63156 X$ac_file : 'X\(//\)[^/]' \| \
63157 X$ac_file : 'X\(//\)$' \| \
63158 X$ac_file : 'X\(/\)' \| \
63159 . : '\(.\)' 2>/dev/null ||
63161 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63162 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63163 /^X\(\/\/\)$/{ s//\1/; q; }
63164 /^X\(\/\).*/{ s//\1/; q; }
63165 s/.*/./; q'`/stamp-h$_am_stamp_count
63168 cat >>$CONFIG_STATUS <<\_ACEOF
63171 # CONFIG_COMMANDS section.
63173 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
63174 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
63175 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
63176 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
63177 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63178 X"$ac_dest" : 'X\(//\)[^/]' \| \
63179 X"$ac_dest" : 'X\(//\)$' \| \
63180 X"$ac_dest" : 'X\(/\)' \| \
63181 . : '\(.\)' 2>/dev/null ||
63183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63184 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63185 /^X\(\/\/\)$/{ s//\1/; q; }
63186 /^X\(\/\).*/{ s//\1/; q; }
63190 if test "$ac_dir" != .; then
63191 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63192 # A "../" for each directory in $ac_dir_suffix.
63193 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63195 ac_dir_suffix= ac_top_builddir=
63199 .) # No --srcdir option. We are building in place.
63201 if test -z "$ac_top_builddir"; then
63204 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63206 [\\/]* | ?:[\\/]* ) # Absolute path.
63207 ac_srcdir=$srcdir$ac_dir_suffix;
63208 ac_top_srcdir=$srcdir ;;
63209 *) # Relative path.
63210 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63211 ac_top_srcdir=$ac_top_builddir$srcdir ;;
63213 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63215 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63216 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63217 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63218 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63221 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
63222 echo "$as_me: executing $ac_dest commands" >&6;}
63225 # Only add multilib support code if we just rebuilt the top-level
63227 case " $CONFIG_FILES " in
63229 ac_file=Makefile . ${multi_basedir}/config-ml.in
63232 default ) if test -n "$CONFIG_FILES"; then
63233 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
63234 # that multilib installs will end up installed in the correct place.
63235 # The testsuite needs it for multilib-aware ABI baseline files.
63236 # To work around this not being passed down from config-ml.in ->
63237 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
63238 # append it here. Only modify Makefiles that have just been created.
63240 # Also, get rid of this simulated-VPATH thing that automake does.
63241 cat > vpsed << \_EOF
63242 s!`test -f '$<' || echo '$(srcdir)/'`!!
63244 for i in $SUBDIRS; do
63245 case $CONFIG_FILES in
63247 #echo "Adding MULTISUBDIR to $i/Makefile"
63248 sed -f vpsed $i/Makefile > tmp
63249 grep '^MULTISUBDIR =' Makefile >> tmp
63256 (cd include && ${MAKE-make})
63262 cat >>$CONFIG_STATUS <<\_ACEOF
63264 { (exit 0); exit 0; }
63266 chmod +x $CONFIG_STATUS
63267 ac_clean_files=$ac_clean_files_save
63270 # configure is writing to config.log, and then calls config.status.
63271 # config.status does its own redirection, appending to config.log.
63272 # Unfortunately, on DOS this fails, as config.log is still kept open
63273 # by configure, so config.status won't be able to write to it; its
63274 # output is simply discarded. So we exec the FD to /dev/null,
63275 # effectively closing config.log, so it can be properly (re)opened and
63276 # appended to by config.status. When coming back to configure, we
63277 # need to make the FD available again.
63278 if test "$no_create" != yes; then
63280 ac_config_status_args=
63281 test "$silent" = yes &&
63282 ac_config_status_args="$ac_config_status_args --quiet"
63284 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
63286 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
63287 # would make configure fail if this is the last instruction.
63288 $ac_cs_success || { (exit 1); exit 1; }