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 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 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 # this will be overwritten by pass_all, but leave it in just in case
3799 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3800 lt_cv_file_magic_cmd='/usr/bin/file -L'
3802 rhapsody* | darwin1.012)
3803 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3806 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3809 lt_cv_deplibs_check_method=pass_all
3813 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3816 # Not sure whether the presence of OpenBSD here was a mistake.
3817 # Let's accept both of them until this is cleared up.
3818 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3819 lt_cv_file_magic_cmd=/usr/bin/file
3820 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3824 lt_cv_deplibs_check_method=pass_all
3829 lt_cv_deplibs_check_method=pass_all
3835 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3836 lt_cv_file_magic_cmd=/usr/bin/file
3837 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3840 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3841 lt_cv_file_magic_cmd=/usr/bin/file
3842 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3850 # this will be overridden with pass_all, but let us keep it just in case
3851 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3855 *-32|*"-32 ") libmagic=32-bit;;
3856 *-n32|*"-n32 ") libmagic=N32;;
3857 *-64|*"-64 ") libmagic=64-bit;;
3858 *) libmagic=never-match;;
3860 # this will be overridden with pass_all, but let us keep it just in case
3861 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3864 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3865 lt_cv_deplibs_check_method=pass_all
3868 # This must be Linux ELF.
3871 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3872 lt_cv_deplibs_check_method=pass_all ;;
3874 # glibc up to 2.1.1 does not perform some relocations on ARM
3875 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3877 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3881 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3882 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3884 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3889 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3890 lt_cv_file_magic_cmd=/usr/bin/file
3891 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3894 osf3* | osf4* | osf5*)
3895 # this will be overridden with pass_all, but let us keep it just in case
3896 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3897 lt_cv_file_magic_test_file=/shlib/libc.so
3898 lt_cv_deplibs_check_method=pass_all
3902 lt_cv_deplibs_check_method=pass_all
3906 lt_cv_deplibs_check_method=pass_all
3907 lt_cv_file_magic_test_file=/lib/libc.so
3910 sysv5uw[78]* | sysv4*uw2*)
3911 lt_cv_deplibs_check_method=pass_all
3914 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3915 case $host_vendor in
3917 lt_cv_deplibs_check_method=pass_all
3920 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]'
3921 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3928 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3929 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3930 file_magic_cmd=$lt_cv_file_magic_cmd
3931 deplibs_check_method=$lt_cv_deplibs_check_method
3937 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3939 # Only perform the check for file, if the check method requires it
3940 case $deplibs_check_method in
3942 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3943 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3944 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3945 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3946 echo $ECHO_N "(cached) $ECHO_C" >&6
3950 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3953 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3956 ac_save_MAGIC_CMD="$MAGIC_CMD"
3957 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3958 ac_dummy="/usr/bin:$PATH"
3959 for ac_dir in $ac_dummy; do
3960 test -z "$ac_dir" && ac_dir=.
3961 if test -f $ac_dir/${ac_tool_prefix}file; then
3962 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3963 if test -n "$file_magic_test_file"; then
3964 case $deplibs_check_method in
3966 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3967 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3968 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3969 egrep "$file_magic_regex" > /dev/null; then
3974 *** Warning: the command libtool uses to detect shared libraries,
3975 *** $file_magic_cmd, produces output that libtool cannot recognize.
3976 *** The result is that libtool may fail to recognize shared libraries
3977 *** as such. This will affect the creation of libtool libraries that
3978 *** depend on shared libraries, but programs linked with such libtool
3979 *** libraries will work regardless of this problem. Nevertheless, you
3980 *** may want to report the problem to your system manager and/or to
3981 *** bug-libtool@gnu.org
3991 MAGIC_CMD="$ac_save_MAGIC_CMD"
3996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3997 if test -n "$MAGIC_CMD"; then
3998 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3999 echo "${ECHO_T}$MAGIC_CMD" >&6
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4005 if test -z "$lt_cv_path_MAGIC_CMD"; then
4006 if test -n "$ac_tool_prefix"; then
4007 echo "$as_me:$LINENO: checking for file" >&5
4008 echo $ECHO_N "checking for file... $ECHO_C" >&6
4009 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4014 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4017 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4020 ac_save_MAGIC_CMD="$MAGIC_CMD"
4021 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4022 ac_dummy="/usr/bin:$PATH"
4023 for ac_dir in $ac_dummy; do
4024 test -z "$ac_dir" && ac_dir=.
4025 if test -f $ac_dir/file; then
4026 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4027 if test -n "$file_magic_test_file"; then
4028 case $deplibs_check_method in
4030 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4031 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4032 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4033 egrep "$file_magic_regex" > /dev/null; then
4038 *** Warning: the command libtool uses to detect shared libraries,
4039 *** $file_magic_cmd, produces output that libtool cannot recognize.
4040 *** The result is that libtool may fail to recognize shared libraries
4041 *** as such. This will affect the creation of libtool libraries that
4042 *** depend on shared libraries, but programs linked with such libtool
4043 *** libraries will work regardless of this problem. Nevertheless, you
4044 *** may want to report the problem to your system manager and/or to
4045 *** bug-libtool@gnu.org
4055 MAGIC_CMD="$ac_save_MAGIC_CMD"
4060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4061 if test -n "$MAGIC_CMD"; then
4062 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4063 echo "${ECHO_T}$MAGIC_CMD" >&6
4065 echo "$as_me:$LINENO: result: no" >&5
4066 echo "${ECHO_T}no" >&6
4078 if test -n "$ac_tool_prefix"; then
4079 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4080 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4081 echo "$as_me:$LINENO: checking for $ac_word" >&5
4082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4083 if test "${ac_cv_prog_RANLIB+set}" = set; then
4084 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 if test -n "$RANLIB"; then
4087 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 RANLIB=$ac_cv_prog_RANLIB
4106 if test -n "$RANLIB"; then
4107 echo "$as_me:$LINENO: result: $RANLIB" >&5
4108 echo "${ECHO_T}$RANLIB" >&6
4110 echo "$as_me:$LINENO: result: no" >&5
4111 echo "${ECHO_T}no" >&6
4115 if test -z "$ac_cv_prog_RANLIB"; then
4116 ac_ct_RANLIB=$RANLIB
4117 # Extract the first word of "ranlib", so it can be a program name with args.
4118 set dummy ranlib; ac_word=$2
4119 echo "$as_me:$LINENO: checking for $ac_word" >&5
4120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4121 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4122 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 if test -n "$ac_ct_RANLIB"; then
4125 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir=.
4132 for ac_exec_ext in '' $ac_executable_extensions; do
4133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_ac_ct_RANLIB="ranlib"
4135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4144 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4145 if test -n "$ac_ct_RANLIB"; then
4146 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4147 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4149 echo "$as_me:$LINENO: result: no" >&5
4150 echo "${ECHO_T}no" >&6
4153 RANLIB=$ac_ct_RANLIB
4155 RANLIB="$ac_cv_prog_RANLIB"
4158 if test -n "$ac_tool_prefix"; then
4159 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4160 set dummy ${ac_tool_prefix}strip; ac_word=$2
4161 echo "$as_me:$LINENO: checking for $ac_word" >&5
4162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4163 if test "${ac_cv_prog_STRIP+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 if test -n "$STRIP"; then
4167 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4173 test -z "$as_dir" && as_dir=.
4174 for ac_exec_ext in '' $ac_executable_extensions; do
4175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4176 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 STRIP=$ac_cv_prog_STRIP
4186 if test -n "$STRIP"; then
4187 echo "$as_me:$LINENO: result: $STRIP" >&5
4188 echo "${ECHO_T}$STRIP" >&6
4190 echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6
4195 if test -z "$ac_cv_prog_STRIP"; then
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip; ac_word=$2
4199 echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4201 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if test -n "$ac_ct_STRIP"; then
4205 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir=.
4212 for ac_exec_ext in '' $ac_executable_extensions; do
4213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4214 ac_cv_prog_ac_ct_STRIP="strip"
4215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4224 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4225 if test -n "$ac_ct_STRIP"; then
4226 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4227 echo "${ECHO_T}$ac_ct_STRIP" >&6
4229 echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6
4235 STRIP="$ac_cv_prog_STRIP"
4239 # Check for any special flags to pass to ltconfig.
4240 libtool_flags="--cache-file=$cache_file"
4241 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4242 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4243 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4244 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4245 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4248 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4249 if test "${enable_libtool_lock+set}" = set; then
4250 enableval="$enable_libtool_lock"
4253 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4254 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4257 # Check whether --with-pic or --without-pic was given.
4258 if test "${with_pic+set}" = set; then
4264 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4265 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4267 # Some flags need to be propagated to the compiler or linker for good
4271 # Find out which ABI we are using.
4272 echo '#line 4272 "configure"' > conftest.$ac_ext
4273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4274 (eval $ac_compile) 2>&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; then
4278 if test "$lt_cv_prog_gnu_ld" = yes; then
4279 case `/usr/bin/file conftest.$ac_objext` in
4281 LD="${LD-ld} -melf32bsmip"
4284 LD="${LD-ld} -melf32bmipn32"
4287 LD="${LD-ld} -melf64bmip"
4291 case `/usr/bin/file conftest.$ac_objext` in
4308 # Find out which ABI we are using.
4309 echo 'int i;' > conftest.$ac_ext
4310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4311 (eval $ac_compile) 2>&5
4313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4314 (exit $ac_status); }; then
4315 case "`/usr/bin/file conftest.o`" in
4327 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4328 # Find out which ABI we are using.
4329 echo 'int i;' > conftest.$ac_ext
4330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4331 (eval $ac_compile) 2>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); }; then
4335 case "`/usr/bin/file conftest.o`" in
4339 LD="${LD-ld} -m elf_i386"
4341 ppc64-*linux*|powerpc64-*linux*)
4342 LD="${LD-ld} -m elf32ppclinux"
4345 LD="${LD-ld} -m elf_s390"
4348 LD="${LD-ld} -m elf32_sparc"
4355 LD="${LD-ld} -m elf_x86_64"
4357 ppc*-*linux*|powerpc*-*linux*)
4358 LD="${LD-ld} -m elf64ppc"
4361 LD="${LD-ld} -m elf64_s390"
4364 LD="${LD-ld} -m elf64_sparc"
4374 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4375 SAVE_CFLAGS="$CFLAGS"
4376 CFLAGS="$CFLAGS -belf"
4377 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4378 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4379 if test "${lt_cv_cc_needs_belf+set}" = set; then
4380 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 ac_cpp='$CPP $CPPFLAGS'
4386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4390 if test x$gcc_no_link = xyes; then
4391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4393 { (exit 1); exit 1; }; }
4395 cat >conftest.$ac_ext <<_ACEOF
4396 #line $LINENO "configure"
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4411 rm -f conftest.$ac_objext conftest$ac_exeext
4412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4413 (eval $ac_link) 2>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); } &&
4417 { ac_try='test -s conftest$ac_exeext'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; }; then
4423 lt_cv_cc_needs_belf=yes
4425 echo "$as_me: failed program was:" >&5
4426 sed 's/^/| /' conftest.$ac_ext >&5
4428 lt_cv_cc_needs_belf=no
4430 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4432 ac_cpp='$CPP $CPPFLAGS'
4433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4438 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4439 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4440 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4441 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4442 CFLAGS="$SAVE_CFLAGS"
4450 # Save cache, so that ltconfig can load it
4451 cat >confcache <<\_ACEOF
4452 # This file is a shell script that caches the results of configure
4453 # tests run on this system so they can be shared between configure
4454 # scripts and configure runs, see configure's option --config-cache.
4455 # It is not useful on other systems. If it contains results you don't
4456 # want to keep, you may remove or edit it.
4458 # config.status only pays attention to the cache file if you give it
4459 # the --recheck option to rerun configure.
4461 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4462 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4467 # The following way of writing the cache mishandles newlines in values,
4468 # but we know of no workaround that is simple, portable, and efficient.
4469 # So, don't put newlines in cache variables' values.
4470 # Ultrix sh set writes to stderr and can't be redirected directly,
4471 # and sets the high bit in the cache file unless we assign to the vars.
4474 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4476 # `set' does not quote correctly, so add quotes (double-quote
4477 # substitution turns \\\\ into \\, and sed turns \\ into \).
4480 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4483 # `set' quotes correctly as required by POSIX, so do not add quotes.
4485 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4492 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4494 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4496 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4497 if test -w $cache_file; then
4498 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4499 cat confcache >$cache_file
4501 echo "not updating unwritable cache $cache_file"
4506 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4507 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4508 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4509 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4510 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4511 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4512 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4513 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4514 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4515 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4516 echo "$as_me: error: libtool configure failed" >&2;}
4517 { (exit 1); exit 1; }; }
4519 # Reload cache, that may have been modified by ltconfig
4520 if test -r "$cache_file"; then
4521 # Some versions of bash will fail to source /dev/null (special
4522 # files actually), so we avoid doing that.
4523 if test -f "$cache_file"; then
4524 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4525 echo "$as_me: loading cache $cache_file" >&6;}
4527 [\\/]* | ?:[\\/]* ) . $cache_file;;
4528 *) . ./$cache_file;;
4532 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4533 echo "$as_me: creating cache $cache_file" >&6;}
4538 # This can be used to rebuild libtool when needed
4539 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4541 # Always use our own libtool.
4542 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4544 # Redirect the config.log output again, so that the ltconfig log is not
4545 # clobbered by the next message.
4546 exec 5>>./config.log
4549 ac_cpp='$CXXCPP $CPPFLAGS'
4550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4553 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4554 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4555 if test -z "$CXXCPP"; then
4556 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 # Double quotes because CXXCPP needs to be expanded
4560 for CXXCPP in "$CXX -E" "/lib/cpp"
4563 for ac_cxx_preproc_warn_flag in '' yes
4565 # Use a header file that comes with gcc, so configuring glibc
4566 # with a fresh cross-compiler works.
4567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4568 # <limits.h> exists even on freestanding compilers.
4569 # On the NeXT, cc -E runs the code through the compiler's parser,
4570 # not just through cpp. "Syntax error" is here to catch this case.
4571 cat >conftest.$ac_ext <<_ACEOF
4572 #line $LINENO "configure"
4575 cat confdefs.h >>conftest.$ac_ext
4576 cat >>conftest.$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4579 # include <limits.h>
4581 # include <assert.h>
4585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4588 grep -v '^ *+' conftest.er1 >conftest.err
4590 cat conftest.err >&5
4591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4592 (exit $ac_status); } >/dev/null; then
4593 if test -s conftest.err; then
4594 ac_cpp_err=$ac_cxx_preproc_warn_flag
4601 if test -z "$ac_cpp_err"; then
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.$ac_ext >&5
4607 # Broken: fails on valid input.
4610 rm -f conftest.err conftest.$ac_ext
4612 # OK, works on sane cases. Now check whether non-existent headers
4613 # can be detected and how.
4614 cat >conftest.$ac_ext <<_ACEOF
4615 #line $LINENO "configure"
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 #include <ac_nonexistent.h>
4623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4624 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4626 grep -v '^ *+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } >/dev/null; then
4631 if test -s conftest.err; then
4632 ac_cpp_err=$ac_cxx_preproc_warn_flag
4639 if test -z "$ac_cpp_err"; then
4640 # Broken: success on invalid input.
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4646 # Passes both tests.
4650 rm -f conftest.err conftest.$ac_ext
4653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4654 rm -f conftest.err conftest.$ac_ext
4655 if $ac_preproc_ok; then
4660 ac_cv_prog_CXXCPP=$CXXCPP
4663 CXXCPP=$ac_cv_prog_CXXCPP
4665 ac_cv_prog_CXXCPP=$CXXCPP
4667 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4668 echo "${ECHO_T}$CXXCPP" >&6
4670 for ac_cxx_preproc_warn_flag in '' yes
4672 # Use a header file that comes with gcc, so configuring glibc
4673 # with a fresh cross-compiler works.
4674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4675 # <limits.h> exists even on freestanding compilers.
4676 # On the NeXT, cc -E runs the code through the compiler's parser,
4677 # not just through cpp. "Syntax error" is here to catch this case.
4678 cat >conftest.$ac_ext <<_ACEOF
4679 #line $LINENO "configure"
4682 cat confdefs.h >>conftest.$ac_ext
4683 cat >>conftest.$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4686 # include <limits.h>
4688 # include <assert.h>
4692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4695 grep -v '^ *+' conftest.er1 >conftest.err
4697 cat conftest.err >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); } >/dev/null; then
4700 if test -s conftest.err; then
4701 ac_cpp_err=$ac_cxx_preproc_warn_flag
4708 if test -z "$ac_cpp_err"; then
4711 echo "$as_me: failed program was:" >&5
4712 sed 's/^/| /' conftest.$ac_ext >&5
4714 # Broken: fails on valid input.
4717 rm -f conftest.err conftest.$ac_ext
4719 # OK, works on sane cases. Now check whether non-existent headers
4720 # can be detected and how.
4721 cat >conftest.$ac_ext <<_ACEOF
4722 #line $LINENO "configure"
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4728 #include <ac_nonexistent.h>
4730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4733 grep -v '^ *+' conftest.er1 >conftest.err
4735 cat conftest.err >&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } >/dev/null; then
4738 if test -s conftest.err; then
4739 ac_cpp_err=$ac_cxx_preproc_warn_flag
4746 if test -z "$ac_cpp_err"; then
4747 # Broken: success on invalid input.
4750 echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4753 # Passes both tests.
4757 rm -f conftest.err conftest.$ac_ext
4760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4761 rm -f conftest.err conftest.$ac_ext
4762 if $ac_preproc_ok; then
4765 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&5
4767 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4768 See \`config.log' for more details." >&2;}
4769 { (exit 1); exit 1; }; }
4773 ac_cpp='$CPP $CPPFLAGS'
4774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4780 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4782 lt_save_CFLAGS="$CFLAGS"
4783 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4784 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4785 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4786 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4787 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4788 deplibs_check_method="$deplibs_check_method" \
4789 file_magic_cmd="$file_magic_cmd" \
4790 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4791 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4792 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4793 echo "$as_me: error: libtool tag configuration failed" >&2;}
4794 { (exit 1); exit 1; }; }
4796 CFLAGS="$lt_save_CFLAGS"
4798 # Redirect the config.log output again, so that the ltconfig log is not
4799 # clobbered by the next message.
4800 exec 5>>./config.log
4809 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4811 # Possibly disable most of the library.
4812 ## XXX Consider skipping unncessary tests altogether in this case, rather
4813 ## than just ignoring the results. Faster /and/ more correct, win win.
4815 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4816 if test "${enable_hosted_libstdcxx+set}" = set; then
4817 enableval="$enable_hosted_libstdcxx"
4820 enable_hosted_libstdcxx=yes
4822 if test "$enable_hosted_libstdcxx" = no; then
4823 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4824 echo "$as_me: Only freestanding libraries will be built" >&6;}
4828 enable_libstdcxx_pch=no
4835 cat >>confdefs.h <<_ACEOF
4836 #define _GLIBCXX_HOSTED $hosted_define
4841 # Check for support bits and g++ features that don't require linking.
4843 echo "$as_me:$LINENO: checking for exception model to use" >&5
4844 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4848 ac_cpp='$CXXCPP $CPPFLAGS'
4849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4853 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4854 if test "${enable_sjlj_exceptions+set}" = set; then
4855 enableval="$enable_sjlj_exceptions"
4857 case "$enableval" in
4859 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4860 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4861 { (exit 1); exit 1; }; } ;;
4865 enable_sjlj_exceptions=auto
4869 if test $enable_sjlj_exceptions = auto; then
4870 # Botheration. Now we've got to detect the exception model. Link tests
4871 # against libgcc.a are problematic since we've not been given proper -L
4872 # bits for single-tree newlib and libgloss.
4874 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4875 cat > conftest.$ac_ext << EOF
4876 #line 4876 "configure"
4885 old_CXXFLAGS="$CXXFLAGS"
4887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4888 (eval $ac_compile) 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; then
4892 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4893 enable_sjlj_exceptions=yes
4894 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4895 enable_sjlj_exceptions=no
4898 CXXFLAGS="$old_CXXFLAGS"
4902 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4903 # to two different models.
4904 case $enable_sjlj_exceptions in
4907 cat >>confdefs.h <<\_ACEOF
4908 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4911 ac_exception_model_name=sjlj
4914 ac_exception_model_name="call frame"
4917 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4918 echo "$as_me: error: unable to detect exception model" >&2;}
4919 { (exit 1); exit 1; }; }
4923 ac_cpp='$CPP $CPPFLAGS'
4924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4929 echo "${ECHO_T}$ac_exception_model_name" >&6
4932 echo "$as_me:$LINENO: checking for use of libunwind" >&5
4933 echo $ECHO_N "checking for use of libunwind... $ECHO_C" >&6
4934 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4935 if test "${enable_libunwind_exceptions+set}" = set; then
4936 enableval="$enable_libunwind_exceptions"
4938 case "$enableval" in
4940 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&5
4941 echo "$as_me: error: Argument to enable/disable libunwind-exceptions must be yes or no" >&2;}
4942 { (exit 1); exit 1; }; } ;;
4946 enable_libunwind_exceptions=no
4949 echo "$as_me:$LINENO: result: $use_libunwind_exceptions" >&5
4950 echo "${ECHO_T}$use_libunwind_exceptions" >&6
4951 if test $enable_libunwind_exceptions = yes; then
4952 LIBUNWIND_FLAG="-lunwind"
4959 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4960 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4961 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4962 if test "${enable_libstdcxx_pch+set}" = set; then
4963 enableval="$enable_libstdcxx_pch"
4965 case "$enableval" in
4967 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4968 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4969 { (exit 1); exit 1; }; } ;;
4973 enable_libstdcxx_pch=$is_hosted
4976 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4977 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4979 if test $enable_libstdcxx_pch = yes; then
4980 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4981 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4982 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_save_CXXFLAGS="$CXXFLAGS"
4986 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4990 ac_cpp='$CXXCPP $CPPFLAGS'
4991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4995 echo '#include <math.h>' > conftest.h
4996 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4997 -o conftest.h.gch 1>&5 2>&1 &&
4998 echo '#error "pch failed"' > conftest.h &&
4999 echo '#include "conftest.h"' > conftest.cc &&
5000 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5002 glibcxx_cv_prog_CXX_pch=yes
5004 glibcxx_cv_prog_CXX_pch=no
5007 CXXFLAGS=$ac_save_CXXFLAGS
5009 ac_cpp='$CPP $CPPFLAGS'
5010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5016 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5017 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5018 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5022 if test $enable_libstdcxx_pch = yes; then
5023 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5030 # Enable all the variable C++ runtime options.
5031 # NB: C_MBCHAR must come early.
5033 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5034 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5035 # Check whether --enable-cstdio or --disable-cstdio was given.
5036 if test "${enable_cstdio+set}" = set; then
5037 enableval="$enable_cstdio"
5039 case "$enableval" in
5041 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5042 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5043 { (exit 1); exit 1; }; } ;;
5051 # Now that libio has been removed, you can have any color you want as long
5052 # as it's black. This is one big no-op until other packages are added, but
5053 # showing the framework never hurts.
5054 case ${enable_cstdio} in
5056 CSTDIO_H=config/io/c_io_stdio.h
5057 BASIC_FILE_H=config/io/basic_file_stdio.h
5058 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5059 echo "$as_me:$LINENO: result: stdio" >&5
5060 echo "${ECHO_T}stdio" >&6
5069 ac_cpp='$CPP $CPPFLAGS'
5070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5074 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5075 # On Suns, sometimes $CPP names a directory.
5076 if test -n "$CPP" && test -d "$CPP"; then
5079 if test -z "$CPP"; then
5080 if test "${ac_cv_prog_CPP+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 # Double quotes because CPP needs to be expanded
5084 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5087 for ac_c_preproc_warn_flag in '' yes
5089 # Use a header file that comes with gcc, so configuring glibc
5090 # with a fresh cross-compiler works.
5091 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5092 # <limits.h> exists even on freestanding compilers.
5093 # On the NeXT, cc -E runs the code through the compiler's parser,
5094 # not just through cpp. "Syntax error" is here to catch this case.
5095 cat >conftest.$ac_ext <<_ACEOF
5096 #line $LINENO "configure"
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5103 # include <limits.h>
5105 # include <assert.h>
5109 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5110 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1 >conftest.err
5114 cat conftest.err >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } >/dev/null; then
5117 if test -s conftest.err; then
5118 ac_cpp_err=$ac_c_preproc_warn_flag
5125 if test -z "$ac_cpp_err"; then
5128 echo "$as_me: failed program was:" >&5
5129 sed 's/^/| /' conftest.$ac_ext >&5
5131 # Broken: fails on valid input.
5134 rm -f conftest.err conftest.$ac_ext
5136 # OK, works on sane cases. Now check whether non-existent headers
5137 # can be detected and how.
5138 cat >conftest.$ac_ext <<_ACEOF
5139 #line $LINENO "configure"
5142 cat confdefs.h >>conftest.$ac_ext
5143 cat >>conftest.$ac_ext <<_ACEOF
5144 /* end confdefs.h. */
5145 #include <ac_nonexistent.h>
5147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5150 grep -v '^ *+' conftest.er1 >conftest.err
5152 cat conftest.err >&5
5153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5154 (exit $ac_status); } >/dev/null; then
5155 if test -s conftest.err; then
5156 ac_cpp_err=$ac_c_preproc_warn_flag
5163 if test -z "$ac_cpp_err"; then
5164 # Broken: success on invalid input.
5167 echo "$as_me: failed program was:" >&5
5168 sed 's/^/| /' conftest.$ac_ext >&5
5170 # Passes both tests.
5174 rm -f conftest.err conftest.$ac_ext
5177 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5178 rm -f conftest.err conftest.$ac_ext
5179 if $ac_preproc_ok; then
5191 echo "$as_me:$LINENO: result: $CPP" >&5
5192 echo "${ECHO_T}$CPP" >&6
5194 for ac_c_preproc_warn_flag in '' yes
5196 # Use a header file that comes with gcc, so configuring glibc
5197 # with a fresh cross-compiler works.
5198 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5199 # <limits.h> exists even on freestanding compilers.
5200 # On the NeXT, cc -E runs the code through the compiler's parser,
5201 # not just through cpp. "Syntax error" is here to catch this case.
5202 cat >conftest.$ac_ext <<_ACEOF
5203 #line $LINENO "configure"
5206 cat confdefs.h >>conftest.$ac_ext
5207 cat >>conftest.$ac_ext <<_ACEOF
5208 /* end confdefs.h. */
5210 # include <limits.h>
5212 # include <assert.h>
5216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5219 grep -v '^ *+' conftest.er1 >conftest.err
5221 cat conftest.err >&5
5222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5223 (exit $ac_status); } >/dev/null; then
5224 if test -s conftest.err; then
5225 ac_cpp_err=$ac_c_preproc_warn_flag
5232 if test -z "$ac_cpp_err"; then
5235 echo "$as_me: failed program was:" >&5
5236 sed 's/^/| /' conftest.$ac_ext >&5
5238 # Broken: fails on valid input.
5241 rm -f conftest.err conftest.$ac_ext
5243 # OK, works on sane cases. Now check whether non-existent headers
5244 # can be detected and how.
5245 cat >conftest.$ac_ext <<_ACEOF
5246 #line $LINENO "configure"
5249 cat confdefs.h >>conftest.$ac_ext
5250 cat >>conftest.$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 #include <ac_nonexistent.h>
5254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5257 grep -v '^ *+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } >/dev/null; then
5262 if test -s conftest.err; then
5263 ac_cpp_err=$ac_c_preproc_warn_flag
5270 if test -z "$ac_cpp_err"; then
5271 # Broken: success on invalid input.
5274 echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.$ac_ext >&5
5277 # Passes both tests.
5281 rm -f conftest.err conftest.$ac_ext
5284 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5285 rm -f conftest.err conftest.$ac_ext
5286 if $ac_preproc_ok; then
5289 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5290 See \`config.log' for more details." >&5
5291 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5292 See \`config.log' for more details." >&2;}
5293 { (exit 1); exit 1; }; }
5297 ac_cpp='$CPP $CPPFLAGS'
5298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5303 echo "$as_me:$LINENO: checking for egrep" >&5
5304 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5305 if test "${ac_cv_prog_egrep+set}" = set; then
5306 echo $ECHO_N "(cached) $ECHO_C" >&6
5308 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5309 then ac_cv_prog_egrep='grep -E'
5310 else ac_cv_prog_egrep='egrep'
5313 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5314 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5315 EGREP=$ac_cv_prog_egrep
5318 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5319 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5320 if test "${ac_cv_header_stdc+set}" = set; then
5321 echo $ECHO_N "(cached) $ECHO_C" >&6
5323 cat >conftest.$ac_ext <<_ACEOF
5324 #line $LINENO "configure"
5327 cat confdefs.h >>conftest.$ac_ext
5328 cat >>conftest.$ac_ext <<_ACEOF
5329 /* end confdefs.h. */
5343 rm -f conftest.$ac_objext
5344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5345 (eval $ac_compile) 2>&5
5347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5348 (exit $ac_status); } &&
5349 { ac_try='test -s conftest.$ac_objext'
5350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354 (exit $ac_status); }; }; then
5355 ac_cv_header_stdc=yes
5357 echo "$as_me: failed program was:" >&5
5358 sed 's/^/| /' conftest.$ac_ext >&5
5360 ac_cv_header_stdc=no
5362 rm -f conftest.$ac_objext conftest.$ac_ext
5364 if test $ac_cv_header_stdc = yes; then
5365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5366 cat >conftest.$ac_ext <<_ACEOF
5367 #line $LINENO "configure"
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5377 $EGREP "memchr" >/dev/null 2>&1; then
5380 ac_cv_header_stdc=no
5386 if test $ac_cv_header_stdc = yes; then
5387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5388 cat >conftest.$ac_ext <<_ACEOF
5389 #line $LINENO "configure"
5392 cat confdefs.h >>conftest.$ac_ext
5393 cat >>conftest.$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5399 $EGREP "free" >/dev/null 2>&1; then
5402 ac_cv_header_stdc=no
5408 if test $ac_cv_header_stdc = yes; then
5409 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5410 if test "$cross_compiling" = yes; then
5413 cat >conftest.$ac_ext <<_ACEOF
5414 #line $LINENO "configure"
5417 cat confdefs.h >>conftest.$ac_ext
5418 cat >>conftest.$ac_ext <<_ACEOF
5419 /* end confdefs.h. */
5421 #if ((' ' & 0x0FF) == 0x020)
5422 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5423 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5425 # define ISLOWER(c) \
5426 (('a' <= (c) && (c) <= 'i') \
5427 || ('j' <= (c) && (c) <= 'r') \
5428 || ('s' <= (c) && (c) <= 'z'))
5429 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5432 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5437 for (i = 0; i < 256; i++)
5438 if (XOR (islower (i), ISLOWER (i))
5439 || toupper (i) != TOUPPER (i))
5444 rm -f conftest$ac_exeext
5445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5446 (eval $ac_link) 2>&5
5448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; }; then
5457 echo "$as_me: program exited with status $ac_status" >&5
5458 echo "$as_me: failed program was:" >&5
5459 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cv_header_stdc=no
5464 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5468 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5469 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5470 if test $ac_cv_header_stdc = yes; then
5472 cat >>confdefs.h <<\_ACEOF
5473 #define STDC_HEADERS 1
5478 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5488 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5489 inttypes.h stdint.h unistd.h
5491 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5492 echo "$as_me:$LINENO: checking for $ac_header" >&5
5493 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 cat >conftest.$ac_ext <<_ACEOF
5498 #line $LINENO "configure"
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5504 $ac_includes_default
5506 #include <$ac_header>
5508 rm -f conftest.$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510 (eval $ac_compile) 2>&5
5512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5513 (exit $ac_status); } &&
5514 { ac_try='test -s conftest.$ac_objext'
5515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5519 (exit $ac_status); }; }; then
5520 eval "$as_ac_Header=yes"
5522 echo "$as_me: failed program was:" >&5
5523 sed 's/^/| /' conftest.$ac_ext >&5
5525 eval "$as_ac_Header=no"
5527 rm -f conftest.$ac_objext conftest.$ac_ext
5529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5531 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5532 cat >>confdefs.h <<_ACEOF
5533 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5542 echo "$as_me:$LINENO: checking for C locale to use" >&5
5543 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5544 # Check whether --enable-clocale or --disable-clocale was given.
5545 if test "${enable_clocale+set}" = set; then
5546 enableval="$enable_clocale"
5548 case "$enableval" in
5549 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5550 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5551 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5552 { (exit 1); exit 1; }; } ;;
5560 # If they didn't use this option switch, or if they specified --enable
5561 # with no specific model, we'll have to look for one. If they
5562 # specified --disable (???), do likewise.
5563 if test $enable_clocale = no || test $enable_clocale = yes; then
5567 # Either a known package, or "auto"
5568 enable_clocale_flag=$enable_clocale
5570 # Probe for locale support if no specific model is specified.
5571 # Default to "generic".
5572 if test $enable_clocale_flag = auto; then
5573 case x${target_os} in
5574 xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5575 cat >conftest.$ac_ext <<_ACEOF
5576 #line $LINENO "configure"
5579 cat confdefs.h >>conftest.$ac_ext
5580 cat >>conftest.$ac_ext <<_ACEOF
5581 /* end confdefs.h. */
5583 #include <features.h>
5584 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5590 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5591 enable_clocale_flag=gnu
5593 enable_clocale_flag=generic
5598 # Test for bugs early in glibc-2.2.x series
5599 if test x$enable_clocale_flag = xgnu; then
5600 if test "$cross_compiling" = yes; then
5601 enable_clocale_flag=generic
5603 cat >conftest.$ac_ext <<_ACEOF
5604 #line $LINENO "configure"
5607 cat confdefs.h >>conftest.$ac_ext
5608 cat >>conftest.$ac_ext <<_ACEOF
5609 /* end confdefs.h. */
5611 #define _GNU_SOURCE 1
5614 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5615 extern __typeof(newlocale) __newlocale;
5616 extern __typeof(duplocale) __duplocale;
5617 extern __typeof(strcoll_l) __strcoll_l;
5621 const char __one[] = "Äuglein Augmen";
5622 const char __two[] = "Äuglein";
5627 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5628 loc_dup = __duplocale(loc);
5629 i = __strcoll_l(__one, __two, loc);
5630 j = __strcoll_l(__one, __two, loc_dup);
5635 rm -f conftest$ac_exeext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645 (exit $ac_status); }; }; then
5646 enable_clocale_flag=gnu
5648 echo "$as_me: program exited with status $ac_status" >&5
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5653 enable_clocale_flag=generic
5655 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5659 # ... at some point put __strxfrm_l tests in as well.
5662 enable_clocale_flag=generic
5667 # Deal with gettext issues. Default to not using it (=no) until we detect
5668 # support for it later. Let the user turn it off via --e/d, but let that
5669 # default to on for easier handling.
5671 # Check whether --enable-nls or --disable-nls was given.
5672 if test "${enable_nls+set}" = set; then
5673 enableval="$enable_nls"
5679 # Set configure bits for specified locale package
5680 case ${enable_clocale_flag} in
5682 echo "$as_me:$LINENO: result: generic" >&5
5683 echo "${ECHO_T}generic" >&6
5685 CLOCALE_H=config/locale/generic/c_locale.h
5686 CLOCALE_CC=config/locale/generic/c_locale.cc
5687 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5688 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5689 CCOLLATE_CC=config/locale/generic/collate_members.cc
5690 CCTYPE_CC=config/locale/generic/ctype_members.cc
5691 CMESSAGES_H=config/locale/generic/messages_members.h
5692 CMESSAGES_CC=config/locale/generic/messages_members.cc
5693 CMONEY_CC=config/locale/generic/monetary_members.cc
5694 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5695 CTIME_H=config/locale/generic/time_members.h
5696 CTIME_CC=config/locale/generic/time_members.cc
5697 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5700 echo "$as_me:$LINENO: result: gnu" >&5
5701 echo "${ECHO_T}gnu" >&6
5703 # Declare intention to use gettext, and add support for specific
5705 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5708 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5709 # Extract the first word of "msgfmt", so it can be a program name with args.
5710 set dummy msgfmt; ac_word=$2
5711 echo "$as_me:$LINENO: checking for $ac_word" >&5
5712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5713 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 if test -n "$check_msgfmt"; then
5717 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5726 ac_cv_prog_check_msgfmt="yes"
5727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5736 check_msgfmt=$ac_cv_prog_check_msgfmt
5737 if test -n "$check_msgfmt"; then
5738 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5739 echo "${ECHO_T}$check_msgfmt" >&6
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5745 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5748 # Export the build objects.
5749 for ling in $ALL_LINGUAS; do \
5750 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5751 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5756 CLOCALE_H=config/locale/gnu/c_locale.h
5757 CLOCALE_CC=config/locale/gnu/c_locale.cc
5758 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5759 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5760 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5761 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5762 CMESSAGES_H=config/locale/gnu/messages_members.h
5763 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5764 CMONEY_CC=config/locale/gnu/monetary_members.cc
5765 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5766 CTIME_H=config/locale/gnu/time_members.h
5767 CTIME_CC=config/locale/gnu/time_members.cc
5768 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5771 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5772 echo "${ECHO_T}IEEE 1003.1" >&6
5774 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5775 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5776 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5777 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5778 CCOLLATE_CC=config/locale/generic/collate_members.cc
5779 CCTYPE_CC=config/locale/generic/ctype_members.cc
5780 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5781 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5782 CMONEY_CC=config/locale/generic/monetary_members.cc
5783 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5784 CTIME_H=config/locale/generic/time_members.h
5785 CTIME_CC=config/locale/generic/time_members.cc
5786 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5790 # This is where the testsuite looks for locale catalogs, using the
5791 # -DLOCALEDIR define during testsuite compilation.
5792 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5795 # A standalone libintl (e.g., GNU libintl) may be in use.
5796 if test $USE_NLS = yes; then
5798 for ac_header in libintl.h
5800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5802 echo "$as_me:$LINENO: checking for $ac_header" >&5
5803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5805 echo $ECHO_N "(cached) $ECHO_C" >&6
5807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5810 # Is the header compilable?
5811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5813 cat >conftest.$ac_ext <<_ACEOF
5814 #line $LINENO "configure"
5817 cat confdefs.h >>conftest.$ac_ext
5818 cat >>conftest.$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5820 $ac_includes_default
5821 #include <$ac_header>
5823 rm -f conftest.$ac_objext
5824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5825 (eval $ac_compile) 2>&5
5827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828 (exit $ac_status); } &&
5829 { ac_try='test -s conftest.$ac_objext'
5830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); }; }; then
5835 ac_header_compiler=yes
5837 echo "$as_me: failed program was:" >&5
5838 sed 's/^/| /' conftest.$ac_ext >&5
5840 ac_header_compiler=no
5842 rm -f conftest.$ac_objext conftest.$ac_ext
5843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5844 echo "${ECHO_T}$ac_header_compiler" >&6
5846 # Is the header present?
5847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5849 cat >conftest.$ac_ext <<_ACEOF
5850 #line $LINENO "configure"
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5856 #include <$ac_header>
5858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5861 grep -v '^ *+' conftest.er1 >conftest.err
5863 cat conftest.err >&5
5864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5865 (exit $ac_status); } >/dev/null; then
5866 if test -s conftest.err; then
5867 ac_cpp_err=$ac_c_preproc_warn_flag
5874 if test -z "$ac_cpp_err"; then
5875 ac_header_preproc=yes
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.$ac_ext >&5
5880 ac_header_preproc=no
5882 rm -f conftest.err conftest.$ac_ext
5883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5884 echo "${ECHO_T}$ac_header_preproc" >&6
5886 # So? What about this header?
5887 case $ac_header_compiler:$ac_header_preproc in
5889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5895 ## ------------------------------------ ##
5896 ## Report this to bug-autoconf@gnu.org. ##
5897 ## ------------------------------------ ##
5900 sed "s/^/$as_me: WARNING: /" >&2
5903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5911 ## ------------------------------------ ##
5912 ## Report this to bug-autoconf@gnu.org. ##
5913 ## ------------------------------------ ##
5916 sed "s/^/$as_me: WARNING: /" >&2
5919 echo "$as_me:$LINENO: checking for $ac_header" >&5
5920 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 eval "$as_ac_Header=$ac_header_preproc"
5926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5931 cat >>confdefs.h <<_ACEOF
5932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5941 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5942 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5943 if test "${ac_cv_search_gettext+set}" = set; then
5944 echo $ECHO_N "(cached) $ECHO_C" >&6
5946 ac_func_search_save_LIBS=$LIBS
5947 ac_cv_search_gettext=no
5948 if test x$gcc_no_link = xyes; then
5949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5951 { (exit 1); exit 1; }; }
5953 cat >conftest.$ac_ext <<_ACEOF
5954 #line $LINENO "configure"
5957 cat confdefs.h >>conftest.$ac_ext
5958 cat >>conftest.$ac_ext <<_ACEOF
5959 /* end confdefs.h. */
5961 /* Override any gcc2 internal prototype to avoid an error. */
5965 /* We use char because int might match the return type of a gcc2
5966 builtin and then its argument prototype would still apply. */
5976 rm -f conftest.$ac_objext conftest$ac_exeext
5977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5978 (eval $ac_link) 2>&5
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); } &&
5982 { ac_try='test -s conftest$ac_exeext'
5983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); }; }; then
5988 ac_cv_search_gettext="none required"
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5994 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5995 if test "$ac_cv_search_gettext" = no; then
5996 for ac_lib in intl; do
5997 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5998 if test x$gcc_no_link = xyes; then
5999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6001 { (exit 1); exit 1; }; }
6003 cat >conftest.$ac_ext <<_ACEOF
6004 #line $LINENO "configure"
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6011 /* Override any gcc2 internal prototype to avoid an error. */
6015 /* We use char because int might match the return type of a gcc2
6016 builtin and then its argument prototype would still apply. */
6026 rm -f conftest.$ac_objext conftest$ac_exeext
6027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6028 (eval $ac_link) 2>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } &&
6032 { ac_try='test -s conftest$ac_exeext'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; }; then
6038 ac_cv_search_gettext="-l$ac_lib"
6041 echo "$as_me: failed program was:" >&5
6042 sed 's/^/| /' conftest.$ac_ext >&5
6045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6048 LIBS=$ac_func_search_save_LIBS
6050 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6051 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6052 if test "$ac_cv_search_gettext" != no; then
6053 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6060 if test $USE_NLS = yes; then
6061 cat >>confdefs.h <<\_ACEOF
6062 #define _GLIBCXX_USE_NLS 1
6083 # Check whether --enable-cheaders or --disable-cheaders was given.
6084 if test "${enable_cheaders+set}" = set; then
6085 enableval="$enable_cheaders"
6087 case "$enableval" in
6089 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6090 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6091 { (exit 1); exit 1; }; } ;;
6095 enable_cheaders=$c_model
6098 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6099 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6101 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6108 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6109 if test "${enable_c_mbchar+set}" = set; then
6110 enableval="$enable_c_mbchar"
6112 case "$enableval" in
6114 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6115 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6116 { (exit 1); exit 1; }; } ;;
6123 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6127 # Check whether --enable-c99 or --disable-c99 was given.
6128 if test "${enable_c99+set}" = set; then
6129 enableval="$enable_c99"
6131 case "$enableval" in
6133 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6134 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6135 { (exit 1); exit 1; }; } ;;
6146 ac_cpp='$CXXCPP $CPPFLAGS'
6147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6152 # Check for the existence of <math.h> functions used if C99 is enabled.
6154 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6155 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6156 cat >conftest.$ac_ext <<_ACEOF
6157 #line $LINENO "configure"
6160 cat confdefs.h >>conftest.$ac_ext
6161 cat >>conftest.$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6172 rm -f conftest.$ac_objext
6173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6174 (eval $ac_compile) 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } &&
6178 { ac_try='test -s conftest.$ac_objext'
6179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6183 (exit $ac_status); }; }; then
6186 echo "$as_me: failed program was:" >&5
6187 sed 's/^/| /' conftest.$ac_ext >&5
6191 rm -f conftest.$ac_objext conftest.$ac_ext
6192 cat >conftest.$ac_ext <<_ACEOF
6193 #line $LINENO "configure"
6196 cat confdefs.h >>conftest.$ac_ext
6197 cat >>conftest.$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6208 rm -f conftest.$ac_objext
6209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6210 (eval $ac_compile) 2>&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } &&
6214 { ac_try='test -s conftest.$ac_objext'
6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); }; }; then
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6227 rm -f conftest.$ac_objext conftest.$ac_ext
6228 cat >conftest.$ac_ext <<_ACEOF
6229 #line $LINENO "configure"
6232 cat confdefs.h >>conftest.$ac_ext
6233 cat >>conftest.$ac_ext <<_ACEOF
6234 /* end confdefs.h. */
6244 rm -f conftest.$ac_objext
6245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6246 (eval $ac_compile) 2>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } &&
6250 { ac_try='test -s conftest.$ac_objext'
6251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); }; }; then
6258 echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.$ac_ext >&5
6263 rm -f conftest.$ac_objext conftest.$ac_ext
6264 cat >conftest.$ac_ext <<_ACEOF
6265 #line $LINENO "configure"
6268 cat confdefs.h >>conftest.$ac_ext
6269 cat >>conftest.$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6280 rm -f conftest.$ac_objext
6281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6282 (eval $ac_compile) 2>&5
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); } &&
6286 { ac_try='test -s conftest.$ac_objext'
6287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); }; }; then
6294 echo "$as_me: failed program was:" >&5
6295 sed 's/^/| /' conftest.$ac_ext >&5
6299 rm -f conftest.$ac_objext conftest.$ac_ext
6300 cat >conftest.$ac_ext <<_ACEOF
6301 #line $LINENO "configure"
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6316 rm -f conftest.$ac_objext
6317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6318 (eval $ac_compile) 2>&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try='test -s conftest.$ac_objext'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; }; then
6330 echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.$ac_ext >&5
6335 rm -f conftest.$ac_objext conftest.$ac_ext
6336 cat >conftest.$ac_ext <<_ACEOF
6337 #line $LINENO "configure"
6340 cat confdefs.h >>conftest.$ac_ext
6341 cat >>conftest.$ac_ext <<_ACEOF
6342 /* end confdefs.h. */
6352 rm -f conftest.$ac_objext
6353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6354 (eval $ac_compile) 2>&5
6356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6357 (exit $ac_status); } &&
6358 { ac_try='test -s conftest.$ac_objext'
6359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); }; }; then
6366 echo "$as_me: failed program was:" >&5
6367 sed 's/^/| /' conftest.$ac_ext >&5
6371 rm -f conftest.$ac_objext conftest.$ac_ext
6372 cat >conftest.$ac_ext <<_ACEOF
6373 #line $LINENO "configure"
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6388 rm -f conftest.$ac_objext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6390 (eval $ac_compile) 2>&5
6392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); } &&
6394 { ac_try='test -s conftest.$ac_objext'
6395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399 (exit $ac_status); }; }; then
6402 echo "$as_me: failed program was:" >&5
6403 sed 's/^/| /' conftest.$ac_ext >&5
6407 rm -f conftest.$ac_objext conftest.$ac_ext
6408 cat >conftest.$ac_ext <<_ACEOF
6409 #line $LINENO "configure"
6412 cat confdefs.h >>conftest.$ac_ext
6413 cat >>conftest.$ac_ext <<_ACEOF
6414 /* end confdefs.h. */
6419 isgreaterequal(0.0,0.0);
6424 rm -f conftest.$ac_objext
6425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6426 (eval $ac_compile) 2>&5
6428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429 (exit $ac_status); } &&
6430 { ac_try='test -s conftest.$ac_objext'
6431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); }; }; then
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6443 rm -f conftest.$ac_objext conftest.$ac_ext
6444 cat >conftest.$ac_ext <<_ACEOF
6445 #line $LINENO "configure"
6448 cat confdefs.h >>conftest.$ac_ext
6449 cat >>conftest.$ac_ext <<_ACEOF
6450 /* end confdefs.h. */
6460 rm -f conftest.$ac_objext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462 (eval $ac_compile) 2>&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } &&
6466 { ac_try='test -s conftest.$ac_objext'
6467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); }; }; then
6474 echo "$as_me: failed program was:" >&5
6475 sed 's/^/| /' conftest.$ac_ext >&5
6479 rm -f conftest.$ac_objext conftest.$ac_ext
6480 cat >conftest.$ac_ext <<_ACEOF
6481 #line $LINENO "configure"
6484 cat confdefs.h >>conftest.$ac_ext
6485 cat >>conftest.$ac_ext <<_ACEOF
6486 /* end confdefs.h. */
6491 islessequal(0.0,0.0);
6496 rm -f conftest.$ac_objext
6497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6498 (eval $ac_compile) 2>&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } &&
6502 { ac_try='test -s conftest.$ac_objext'
6503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); }; }; then
6510 echo "$as_me: failed program was:" >&5
6511 sed 's/^/| /' conftest.$ac_ext >&5
6515 rm -f conftest.$ac_objext conftest.$ac_ext
6516 cat >conftest.$ac_ext <<_ACEOF
6517 #line $LINENO "configure"
6520 cat confdefs.h >>conftest.$ac_ext
6521 cat >>conftest.$ac_ext <<_ACEOF
6522 /* end confdefs.h. */
6527 islessgreater(0.0,0.0);
6532 rm -f conftest.$ac_objext
6533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6534 (eval $ac_compile) 2>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try='test -s conftest.$ac_objext'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; }; then
6546 echo "$as_me: failed program was:" >&5
6547 sed 's/^/| /' conftest.$ac_ext >&5
6551 rm -f conftest.$ac_objext conftest.$ac_ext
6552 cat >conftest.$ac_ext <<_ACEOF
6553 #line $LINENO "configure"
6556 cat confdefs.h >>conftest.$ac_ext
6557 cat >>conftest.$ac_ext <<_ACEOF
6558 /* end confdefs.h. */
6563 isunordered(0.0,0.0);
6568 rm -f conftest.$ac_objext
6569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6570 (eval $ac_compile) 2>&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } &&
6574 { ac_try='test -s conftest.$ac_objext'
6575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); }; }; then
6582 echo "$as_me: failed program was:" >&5
6583 sed 's/^/| /' conftest.$ac_ext >&5
6587 rm -f conftest.$ac_objext conftest.$ac_ext
6588 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6589 echo "${ECHO_T}$ac_c99_math" >&6
6591 # Check for the existence in <stdio.h> of vscanf, et. al.
6593 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6594 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6595 cat >conftest.$ac_ext <<_ACEOF
6596 #line $LINENO "configure"
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6606 snprintf("12", 0, "%i");
6611 rm -f conftest.$ac_objext
6612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6613 (eval $ac_compile) 2>&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); } &&
6617 { ac_try='test -s conftest.$ac_objext'
6618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6630 rm -f conftest.$ac_objext conftest.$ac_ext
6631 cat >conftest.$ac_ext <<_ACEOF
6632 #line $LINENO "configure"
6635 cat confdefs.h >>conftest.$ac_ext
6636 cat >>conftest.$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6640 void foo(char* fmt, ...)
6641 {va_list args; va_start(args, fmt);
6642 vfscanf(stderr, "%i", args);}
6651 rm -f conftest.$ac_objext
6652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6653 (eval $ac_compile) 2>&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); } &&
6657 { ac_try='test -s conftest.$ac_objext'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.$ac_ext >&5
6670 rm -f conftest.$ac_objext conftest.$ac_ext
6671 cat >conftest.$ac_ext <<_ACEOF
6672 #line $LINENO "configure"
6675 cat confdefs.h >>conftest.$ac_ext
6676 cat >>conftest.$ac_ext <<_ACEOF
6677 /* end confdefs.h. */
6680 void foo(char* fmt, ...)
6681 {va_list args; va_start(args, fmt);
6682 vscanf("%i", args);}
6691 rm -f conftest.$ac_objext
6692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6693 (eval $ac_compile) 2>&5
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6710 rm -f conftest.$ac_objext conftest.$ac_ext
6711 cat >conftest.$ac_ext <<_ACEOF
6712 #line $LINENO "configure"
6715 cat confdefs.h >>conftest.$ac_ext
6716 cat >>conftest.$ac_ext <<_ACEOF
6717 /* end confdefs.h. */
6720 void foo(char* fmt, ...)
6721 {va_list args; va_start(args, fmt);
6722 vsnprintf(fmt, 0, "%i", args);}
6731 rm -f conftest.$ac_objext
6732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6733 (eval $ac_compile) 2>&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } &&
6737 { ac_try='test -s conftest.$ac_objext'
6738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6742 (exit $ac_status); }; }; then
6745 echo "$as_me: failed program was:" >&5
6746 sed 's/^/| /' conftest.$ac_ext >&5
6750 rm -f conftest.$ac_objext conftest.$ac_ext
6751 cat >conftest.$ac_ext <<_ACEOF
6752 #line $LINENO "configure"
6755 cat confdefs.h >>conftest.$ac_ext
6756 cat >>conftest.$ac_ext <<_ACEOF
6757 /* end confdefs.h. */
6760 void foo(char* fmt, ...)
6761 {va_list args; va_start(args, fmt);
6762 vsscanf(fmt, "%i", args);}
6771 rm -f conftest.$ac_objext
6772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773 (eval $ac_compile) 2>&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } &&
6777 { ac_try='test -s conftest.$ac_objext'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; }; then
6785 echo "$as_me: failed program was:" >&5
6786 sed 's/^/| /' conftest.$ac_ext >&5
6790 rm -f conftest.$ac_objext conftest.$ac_ext
6791 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6792 echo "${ECHO_T}$ac_c99_stdio" >&6
6794 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6796 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6797 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6798 if test "${ac_c99_lldiv_t+set}" = set; then
6799 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 cat >conftest.$ac_ext <<_ACEOF
6803 #line $LINENO "configure"
6806 cat confdefs.h >>conftest.$ac_ext
6807 cat >>conftest.$ac_ext <<_ACEOF
6808 /* end confdefs.h. */
6818 rm -f conftest.$ac_objext
6819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6820 (eval $ac_compile) 2>&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } &&
6824 { ac_try='test -s conftest.$ac_objext'
6825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6832 echo "$as_me: failed program was:" >&5
6833 sed 's/^/| /' conftest.$ac_ext >&5
6837 rm -f conftest.$ac_objext conftest.$ac_ext
6841 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6842 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6844 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6845 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6846 cat >conftest.$ac_ext <<_ACEOF
6847 #line $LINENO "configure"
6850 cat confdefs.h >>conftest.$ac_ext
6851 cat >>conftest.$ac_ext <<_ACEOF
6852 /* end confdefs.h. */
6857 char* tmp; strtof("gnu", &tmp);
6862 rm -f conftest.$ac_objext
6863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6864 (eval $ac_compile) 2>&5
6866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867 (exit $ac_status); } &&
6868 { ac_try='test -s conftest.$ac_objext'
6869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); }; }; then
6876 echo "$as_me: failed program was:" >&5
6877 sed 's/^/| /' conftest.$ac_ext >&5
6881 rm -f conftest.$ac_objext conftest.$ac_ext
6882 cat >conftest.$ac_ext <<_ACEOF
6883 #line $LINENO "configure"
6886 cat confdefs.h >>conftest.$ac_ext
6887 cat >>conftest.$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6893 char* tmp; strtold("gnu", &tmp);
6898 rm -f conftest.$ac_objext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6900 (eval $ac_compile) 2>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } &&
6904 { ac_try='test -s conftest.$ac_objext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6917 rm -f conftest.$ac_objext conftest.$ac_ext
6918 cat >conftest.$ac_ext <<_ACEOF
6919 #line $LINENO "configure"
6922 cat confdefs.h >>conftest.$ac_ext
6923 cat >>conftest.$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6934 rm -f conftest.$ac_objext
6935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6936 (eval $ac_compile) 2>&5
6938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939 (exit $ac_status); } &&
6940 { ac_try='test -s conftest.$ac_objext'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; }; then
6948 echo "$as_me: failed program was:" >&5
6949 sed 's/^/| /' conftest.$ac_ext >&5
6953 rm -f conftest.$ac_objext conftest.$ac_ext
6954 cat >conftest.$ac_ext <<_ACEOF
6955 #line $LINENO "configure"
6958 cat confdefs.h >>conftest.$ac_ext
6959 cat >>conftest.$ac_ext <<_ACEOF
6960 /* end confdefs.h. */
6970 rm -f conftest.$ac_objext
6971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6972 (eval $ac_compile) 2>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } &&
6976 { ac_try='test -s conftest.$ac_objext'
6977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; }; then
6984 echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.$ac_ext >&5
6989 rm -f conftest.$ac_objext conftest.$ac_ext
6990 cat >conftest.$ac_ext <<_ACEOF
6991 #line $LINENO "configure"
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
7006 rm -f conftest.$ac_objext
7007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7008 (eval $ac_compile) 2>&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } &&
7012 { ac_try='test -s conftest.$ac_objext'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; }; then
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7025 rm -f conftest.$ac_objext conftest.$ac_ext
7026 cat >conftest.$ac_ext <<_ACEOF
7027 #line $LINENO "configure"
7030 cat confdefs.h >>conftest.$ac_ext
7031 cat >>conftest.$ac_ext <<_ACEOF
7032 /* end confdefs.h. */
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>&5
7046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7047 (exit $ac_status); } &&
7048 { ac_try='test -s conftest.$ac_objext'
7049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); }; }; then
7056 echo "$as_me: failed program was:" >&5
7057 sed 's/^/| /' conftest.$ac_ext >&5
7061 rm -f conftest.$ac_objext conftest.$ac_ext
7062 if test x"$ac_c99_lldiv_t" = x"no"; then
7065 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7066 echo "${ECHO_T}$ac_c99_stdlib" >&6
7068 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7069 # XXX the wchar.h checks should be rolled into the general C99 bits.
7071 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7072 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7073 cat >conftest.$ac_ext <<_ACEOF
7074 #line $LINENO "configure"
7077 cat confdefs.h >>conftest.$ac_ext
7078 cat >>conftest.$ac_ext <<_ACEOF
7079 /* end confdefs.h. */
7084 wcstold(L"10.0", NULL);
7089 rm -f conftest.$ac_objext
7090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7091 (eval $ac_compile) 2>&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); } &&
7095 { ac_try='test -s conftest.$ac_objext'
7096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7100 (exit $ac_status); }; }; then
7103 echo "$as_me: failed program was:" >&5
7104 sed 's/^/| /' conftest.$ac_ext >&5
7108 rm -f conftest.$ac_objext conftest.$ac_ext
7109 cat >conftest.$ac_ext <<_ACEOF
7110 #line $LINENO "configure"
7113 cat confdefs.h >>conftest.$ac_ext
7114 cat >>conftest.$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7120 wcstoll(L"10", NULL, 10);
7125 rm -f conftest.$ac_objext
7126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7127 (eval $ac_compile) 2>&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); } &&
7131 { ac_try='test -s conftest.$ac_objext'
7132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); }; }; then
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.$ac_ext >&5
7144 rm -f conftest.$ac_objext conftest.$ac_ext
7145 cat >conftest.$ac_ext <<_ACEOF
7146 #line $LINENO "configure"
7149 cat confdefs.h >>conftest.$ac_ext
7150 cat >>conftest.$ac_ext <<_ACEOF
7151 /* end confdefs.h. */
7156 wcstoull(L"10", NULL, 10);
7161 rm -f conftest.$ac_objext
7162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7163 (eval $ac_compile) 2>&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } &&
7167 { ac_try='test -s conftest.$ac_objext'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; }; then
7175 echo "$as_me: failed program was:" >&5
7176 sed 's/^/| /' conftest.$ac_ext >&5
7180 rm -f conftest.$ac_objext conftest.$ac_ext
7181 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7182 echo "${ECHO_T}$ac_c99_wchar" >&6
7184 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7185 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7186 if test x"$ac_c99_math" = x"no" ||
7187 test x"$ac_c99_stdio" = x"no" ||
7188 test x"$ac_c99_stdlib" = x"no" ||
7189 test x"$ac_c99_wchar" = x"no"; then
7192 echo "$as_me:$LINENO: result: $enable_c99" >&5
7193 echo "${ECHO_T}$enable_c99" >&6
7195 # Option parsed, now set things appropriately
7196 if test x"$enable_c99" = x"yes"; then
7197 cat >>confdefs.h <<\_ACEOF
7198 #define _GLIBCXX_USE_C99 1
7204 ac_cpp='$CPP $CPPFLAGS'
7205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7211 # Check whether --enable-long-long or --disable-long-long was given.
7212 if test "${enable_long_long+set}" = set; then
7213 enableval="$enable_long_long"
7215 case "$enableval" in
7217 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7218 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7219 { (exit 1); exit 1; }; } ;;
7223 enable_long_long=yes
7230 ac_cpp='$CXXCPP $CPPFLAGS'
7231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7236 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7237 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7238 # iostreams require strtoll, strtoull to compile
7239 cat >conftest.$ac_ext <<_ACEOF
7240 #line $LINENO "configure"
7243 cat confdefs.h >>conftest.$ac_ext
7244 cat >>conftest.$ac_ext <<_ACEOF
7245 /* end confdefs.h. */
7250 char* tmp; strtoll("gnu", &tmp, 10);
7255 rm -f conftest.$ac_objext
7256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7257 (eval $ac_compile) 2>&5
7259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260 (exit $ac_status); } &&
7261 { ac_try='test -s conftest.$ac_objext'
7262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); }; }; then
7269 echo "$as_me: failed program was:" >&5
7270 sed 's/^/| /' conftest.$ac_ext >&5
7274 rm -f conftest.$ac_objext conftest.$ac_ext
7275 cat >conftest.$ac_ext <<_ACEOF
7276 #line $LINENO "configure"
7279 cat confdefs.h >>conftest.$ac_ext
7280 cat >>conftest.$ac_ext <<_ACEOF
7281 /* end confdefs.h. */
7286 char* tmp; strtoull("gnu", &tmp, 10);
7291 rm -f conftest.$ac_objext
7292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7293 (eval $ac_compile) 2>&5
7295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296 (exit $ac_status); } &&
7297 { ac_try='test -s conftest.$ac_objext'
7298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); }; }; then
7305 echo "$as_me: failed program was:" >&5
7306 sed 's/^/| /' conftest.$ac_ext >&5
7310 rm -f conftest.$ac_objext conftest.$ac_ext
7312 # Option parsed, now set things appropriately
7313 if test $enable_long_long = yes; then
7314 cat >>confdefs.h <<\_ACEOF
7315 #define _GLIBCXX_USE_LONG_LONG 1
7319 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7320 echo "${ECHO_T}$enable_long_long" >&6
7323 ac_cpp='$CPP $CPPFLAGS'
7324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7331 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7332 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7333 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7334 echo "${ECHO_T}$target_thread_file" >&6
7336 if test $target_thread_file != single; then
7337 cat >>confdefs.h <<\_ACEOF
7338 #define HAVE_GTHR_DEFAULT 1
7341 cat >>confdefs.h <<\_ACEOF
7342 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7347 glibcxx_thread_h=gthr-$target_thread_file.h
7351 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7352 if test "${enable_concept_checks+set}" = set; then
7353 enableval="$enable_concept_checks"
7355 case "$enableval" in
7357 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7358 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7359 { (exit 1); exit 1; }; } ;;
7363 enable_concept_checks=no
7366 if test $enable_concept_checks = yes; then
7367 cat >>confdefs.h <<\_ACEOF
7368 #define _GLIBCXX_CONCEPT_CHECKS 1
7374 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7375 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7376 enableval="$enable_libstdcxx_debug_flags"
7377 case "x$enable_libstdcxx_debug_flags" in
7378 xno | x) enable_libstdcxx_debug_flags= ;;
7380 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7381 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7382 { (exit 1); exit 1; }; } ;;
7385 enable_libstdcxx_debug_flags="-g3 -O0"
7389 # Option parsed, now set things appropriately
7390 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7393 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7394 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7397 echo "$as_me:$LINENO: checking for additional debug build" >&5
7398 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7399 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7400 if test "${enable_libstdcxx_debug+set}" = set; then
7401 enableval="$enable_libstdcxx_debug"
7403 case "$enableval" in
7405 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7406 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7407 { (exit 1); exit 1; }; } ;;
7411 enable_libstdcxx_debug=no
7414 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7415 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7418 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7419 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7420 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7421 if test "${enable_cxx_flags+set}" = set; then
7422 enableval="$enable_cxx_flags"
7423 case "x$enable_cxx_flags" in
7424 xno | x) enable_cxx_flags= ;;
7426 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7427 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7428 { (exit 1); exit 1; }; } ;;
7435 # Run through flags (either default or command-line) and set anything
7436 # extra (e.g., #defines) that must accompany particular g++ options.
7437 if test -n "$enable_cxx_flags"; then
7438 for f in $enable_cxx_flags; do
7442 *) # and we're trying to pass /what/ exactly?
7443 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7444 echo "$as_me: error: compiler flags start with a -" >&2;}
7445 { (exit 1); exit 1; }; } ;;
7450 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7451 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7452 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7456 # No surprises, no surprises...
7457 if test $atomicity_include_dir = cpu/generic ; then
7458 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7459 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7460 if test $target_thread_file = single; then
7461 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7462 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7463 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7464 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7466 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7467 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7468 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7469 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7474 if $GLIBCXX_IS_NATIVE; then
7476 # We can do more elaborate tests that assume a working linker.
7479 # Check for available headers.
7493 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7494 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7499 echo "$as_me:$LINENO: checking for $ac_header" >&5
7500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7502 echo $ECHO_N "(cached) $ECHO_C" >&6
7504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7507 # Is the header compilable?
7508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7510 cat >conftest.$ac_ext <<_ACEOF
7511 #line $LINENO "configure"
7514 cat confdefs.h >>conftest.$ac_ext
7515 cat >>conftest.$ac_ext <<_ACEOF
7516 /* end confdefs.h. */
7517 $ac_includes_default
7518 #include <$ac_header>
7520 rm -f conftest.$ac_objext
7521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7522 (eval $ac_compile) 2>&5
7524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7525 (exit $ac_status); } &&
7526 { ac_try='test -s conftest.$ac_objext'
7527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531 (exit $ac_status); }; }; then
7532 ac_header_compiler=yes
7534 echo "$as_me: failed program was:" >&5
7535 sed 's/^/| /' conftest.$ac_ext >&5
7537 ac_header_compiler=no
7539 rm -f conftest.$ac_objext conftest.$ac_ext
7540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7541 echo "${ECHO_T}$ac_header_compiler" >&6
7543 # Is the header present?
7544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7546 cat >conftest.$ac_ext <<_ACEOF
7547 #line $LINENO "configure"
7550 cat confdefs.h >>conftest.$ac_ext
7551 cat >>conftest.$ac_ext <<_ACEOF
7552 /* end confdefs.h. */
7553 #include <$ac_header>
7555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7558 grep -v '^ *+' conftest.er1 >conftest.err
7560 cat conftest.err >&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } >/dev/null; then
7563 if test -s conftest.err; then
7564 ac_cpp_err=$ac_c_preproc_warn_flag
7571 if test -z "$ac_cpp_err"; then
7572 ac_header_preproc=yes
7574 echo "$as_me: failed program was:" >&5
7575 sed 's/^/| /' conftest.$ac_ext >&5
7577 ac_header_preproc=no
7579 rm -f conftest.err conftest.$ac_ext
7580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7581 echo "${ECHO_T}$ac_header_preproc" >&6
7583 # So? What about this header?
7584 case $ac_header_compiler:$ac_header_preproc in
7586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7592 ## ------------------------------------ ##
7593 ## Report this to bug-autoconf@gnu.org. ##
7594 ## ------------------------------------ ##
7597 sed "s/^/$as_me: WARNING: /" >&2
7600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7608 ## ------------------------------------ ##
7609 ## Report this to bug-autoconf@gnu.org. ##
7610 ## ------------------------------------ ##
7613 sed "s/^/$as_me: WARNING: /" >&2
7616 echo "$as_me:$LINENO: checking for $ac_header" >&5
7617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7619 echo $ECHO_N "(cached) $ECHO_C" >&6
7621 eval "$as_ac_Header=$ac_header_preproc"
7623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7628 cat >>confdefs.h <<_ACEOF
7629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7638 # All these tests are for C++; save the language and the compiler flags.
7639 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7640 # found in GLIBCXX_CONFIGURE.
7644 ac_cpp='$CXXCPP $CPPFLAGS'
7645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7649 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7650 ac_save_CXXFLAGS="$CXXFLAGS"
7652 # Check for maintainer-mode bits.
7653 if test x"$USE_MAINTAINER_MODE" = xno; then
7659 # Check for -ffunction-sections -fdata-sections
7660 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7661 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7662 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7663 cat >conftest.$ac_ext <<_ACEOF
7664 #line $LINENO "configure"
7667 cat confdefs.h >>conftest.$ac_ext
7668 cat >>conftest.$ac_ext <<_ACEOF
7669 /* end confdefs.h. */
7679 rm -f conftest.$ac_objext
7680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7681 (eval $ac_compile) 2>&5
7683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7684 (exit $ac_status); } &&
7685 { ac_try='test -s conftest.$ac_objext'
7686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7690 (exit $ac_status); }; }; then
7693 echo "$as_me: failed program was:" >&5
7694 sed 's/^/| /' conftest.$ac_ext >&5
7698 rm -f conftest.$ac_objext conftest.$ac_ext
7699 if test "$ac_test_CXXFLAGS" = set; then
7700 CXXFLAGS="$ac_save_CXXFLAGS"
7702 # this is the suspicious part
7705 if test x"$ac_fdsections" = x"yes"; then
7706 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7708 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7709 echo "${ECHO_T}$ac_fdsections" >&6
7712 ac_cpp='$CPP $CPPFLAGS'
7713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7721 # If we're not using GNU ld, then there's no point in even trying these
7722 # tests. Check for that first. We should have already tested for gld
7723 # by now (in libtool), but require it now just to be safe...
7724 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7725 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7729 # The name set by libtool depends on the version of libtool. Shame on us
7730 # for depending on an impl detail, but c'est la vie. Older versions used
7731 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7732 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7733 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7734 # set (hence we're using an older libtool), then set it.
7735 if test x${with_gnu_ld+set} != xset; then
7736 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7737 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7740 with_gnu_ld=$ac_cv_prog_gnu_ld
7744 # Start by getting the version number. I think the libtool test already
7745 # does some of this, but throws away the result.
7747 ldver=`$LD --version 2>/dev/null | head -1 | \
7748 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7750 glibcxx_gnu_ld_version=`echo $ldver | \
7751 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7753 # Set --gc-sections.
7754 if test "$with_gnu_ld" = "notbroken"; then
7755 # GNU ld it is! Joy and bunny rabbits!
7757 # All these tests are for C++; save the language and the compiler flags.
7758 # Need to do this so that g++ won't try to link in libstdc++
7759 ac_test_CFLAGS="${CFLAGS+set}"
7760 ac_save_CFLAGS="$CFLAGS"
7761 CFLAGS='-x c++ -Wl,--gc-sections'
7763 # Check for -Wl,--gc-sections
7764 # XXX This test is broken at the moment, as symbols required for linking
7765 # are now in libsupc++ (not built yet). In addition, this test has
7766 # cored on solaris in the past. In addition, --gc-sections doesn't
7767 # really work at the moment (keeps on discarding used sections, first
7768 # .eh_frame and now some of the glibc sections for iconv).
7769 # Bzzzzt. Thanks for playing, maybe next time.
7770 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7771 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7772 if test "$cross_compiling" = yes; then
7773 ac_sectionLDflags=yes
7775 cat >conftest.$ac_ext <<_ACEOF
7776 #line $LINENO "configure"
7779 cat confdefs.h >>conftest.$ac_ext
7780 cat >>conftest.$ac_ext <<_ACEOF
7781 /* end confdefs.h. */
7791 rm -f conftest$ac_exeext
7792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7793 (eval $ac_link) 2>&5
7795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7801 (exit $ac_status); }; }; then
7802 ac_sectionLDflags=yes
7804 echo "$as_me: program exited with status $ac_status" >&5
7805 echo "$as_me: failed program was:" >&5
7806 sed 's/^/| /' conftest.$ac_ext >&5
7809 ac_sectionLDflags=no
7811 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7813 if test "$ac_test_CFLAGS" = set; then
7814 CFLAGS="$ac_save_CFLAGS"
7816 # this is the suspicious part
7819 if test "$ac_sectionLDflags" = "yes"; then
7820 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7822 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7823 echo "${ECHO_T}$ac_sectionLDflags" >&6
7826 # Set linker optimization flags.
7827 if test x"$with_gnu_ld" = x"yes"; then
7828 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7836 ac_save_CXXFLAGS="$CXXFLAGS"
7837 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7839 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7840 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7841 if test "${ac_cv_lib_m_sin+set}" = set; then
7842 echo $ECHO_N "(cached) $ECHO_C" >&6
7844 ac_check_lib_save_LIBS=$LIBS
7846 if test x$gcc_no_link = xyes; then
7847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7849 { (exit 1); exit 1; }; }
7851 cat >conftest.$ac_ext <<_ACEOF
7852 #line $LINENO "configure"
7855 cat confdefs.h >>conftest.$ac_ext
7856 cat >>conftest.$ac_ext <<_ACEOF
7857 /* end confdefs.h. */
7859 /* Override any gcc2 internal prototype to avoid an error. */
7863 /* We use char because int might match the return type of a gcc2
7864 builtin and then its argument prototype would still apply. */
7874 rm -f conftest.$ac_objext conftest$ac_exeext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7876 (eval $ac_link) 2>&5
7878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7879 (exit $ac_status); } &&
7880 { ac_try='test -s conftest$ac_exeext'
7881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7888 echo "$as_me: failed program was:" >&5
7889 sed 's/^/| /' conftest.$ac_ext >&5
7893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7894 LIBS=$ac_check_lib_save_LIBS
7896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7897 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7898 if test $ac_cv_lib_m_sin = yes; then
7902 ac_save_LIBS="$LIBS"
7907 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7908 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7909 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7910 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7911 echo $ECHO_N "(cached) $ECHO_C" >&6
7917 ac_cpp='$CXXCPP $CPPFLAGS'
7918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7922 cat >conftest.$ac_ext <<_ACEOF
7923 #line $LINENO "configure"
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7930 #ifdef HAVE_IEEEFP_H
7942 rm -f conftest.$ac_objext
7943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7944 (eval $ac_compile) 2>&5
7946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7947 (exit $ac_status); } &&
7948 { ac_try='test -s conftest.$ac_objext'
7949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7953 (exit $ac_status); }; }; then
7954 glibcxx_cv_func_isinf_use=yes
7956 echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.$ac_ext >&5
7959 glibcxx_cv_func_isinf_use=no
7961 rm -f conftest.$ac_objext conftest.$ac_ext
7963 ac_cpp='$CPP $CPPFLAGS'
7964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7972 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7973 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7975 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7977 for ac_func in isinf
7979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7980 echo "$as_me:$LINENO: checking for $ac_func" >&5
7981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7982 if eval "test \"\${$as_ac_var+set}\" = set"; then
7983 echo $ECHO_N "(cached) $ECHO_C" >&6
7985 if test x$gcc_no_link = xyes; then
7986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7988 { (exit 1); exit 1; }; }
7990 cat >conftest.$ac_ext <<_ACEOF
7991 #line $LINENO "configure"
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
7997 /* System header to define __stub macros and hopefully few prototypes,
7998 which can conflict with char $ac_func (); below.
7999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8000 <limits.h> exists even on freestanding compilers. */
8002 # include <limits.h>
8004 # include <assert.h>
8006 /* Override any gcc2 internal prototype to avoid an error. */
8011 /* We use char because int might match the return type of a gcc2
8012 builtin and then its argument prototype would still apply. */
8014 /* The GNU C library defines this for functions which it implements
8015 to always fail with ENOSYS. Some functions are actually named
8016 something starting with __ and the normal name is an alias. */
8017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8020 char (*f) () = $ac_func;
8029 return f != $ac_func;
8034 rm -f conftest.$ac_objext conftest$ac_exeext
8035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8036 (eval $ac_link) 2>&5
8038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8039 (exit $ac_status); } &&
8040 { ac_try='test -s conftest$ac_exeext'
8041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 (exit $ac_status); }; }; then
8046 eval "$as_ac_var=yes"
8048 echo "$as_me: failed program was:" >&5
8049 sed 's/^/| /' conftest.$ac_ext >&5
8051 eval "$as_ac_var=no"
8053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8057 if test `eval echo '${'$as_ac_var'}'` = yes; then
8058 cat >>confdefs.h <<_ACEOF
8059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8067 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8068 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8069 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8070 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8077 ac_cpp='$CXXCPP $CPPFLAGS'
8078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8082 cat >conftest.$ac_ext <<_ACEOF
8083 #line $LINENO "configure"
8086 cat confdefs.h >>conftest.$ac_ext
8087 cat >>conftest.$ac_ext <<_ACEOF
8088 /* end confdefs.h. */
8090 #ifdef HAVE_IEEEFP_H
8102 rm -f conftest.$ac_objext
8103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8104 (eval $ac_compile) 2>&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); } &&
8108 { ac_try='test -s conftest.$ac_objext'
8109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8113 (exit $ac_status); }; }; then
8114 glibcxx_cv_func__isinf_use=yes
8116 echo "$as_me: failed program was:" >&5
8117 sed 's/^/| /' conftest.$ac_ext >&5
8119 glibcxx_cv_func__isinf_use=no
8121 rm -f conftest.$ac_objext conftest.$ac_ext
8123 ac_cpp='$CPP $CPPFLAGS'
8124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8133 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8135 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8137 for ac_func in _isinf
8139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8140 echo "$as_me:$LINENO: checking for $ac_func" >&5
8141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8142 if eval "test \"\${$as_ac_var+set}\" = set"; then
8143 echo $ECHO_N "(cached) $ECHO_C" >&6
8145 if test x$gcc_no_link = xyes; then
8146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8148 { (exit 1); exit 1; }; }
8150 cat >conftest.$ac_ext <<_ACEOF
8151 #line $LINENO "configure"
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8157 /* System header to define __stub macros and hopefully few prototypes,
8158 which can conflict with char $ac_func (); below.
8159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8160 <limits.h> exists even on freestanding compilers. */
8162 # include <limits.h>
8164 # include <assert.h>
8166 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8174 /* The GNU C library defines this for functions which it implements
8175 to always fail with ENOSYS. Some functions are actually named
8176 something starting with __ and the normal name is an alias. */
8177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8180 char (*f) () = $ac_func;
8189 return f != $ac_func;
8194 rm -f conftest.$ac_objext conftest$ac_exeext
8195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8196 (eval $ac_link) 2>&5
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); } &&
8200 { ac_try='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8206 eval "$as_ac_var=yes"
8208 echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8211 eval "$as_ac_var=no"
8213 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8217 if test `eval echo '${'$as_ac_var'}'` = yes; then
8218 cat >>confdefs.h <<_ACEOF
8219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8230 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8231 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8232 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8233 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 ac_cpp='$CXXCPP $CPPFLAGS'
8241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8245 cat >conftest.$ac_ext <<_ACEOF
8246 #line $LINENO "configure"
8249 cat confdefs.h >>conftest.$ac_ext
8250 cat >>conftest.$ac_ext <<_ACEOF
8251 /* end confdefs.h. */
8253 #ifdef HAVE_IEEEFP_H
8265 rm -f conftest.$ac_objext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8267 (eval $ac_compile) 2>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try='test -s conftest.$ac_objext'
8272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8276 (exit $ac_status); }; }; then
8277 glibcxx_cv_func_isnan_use=yes
8279 echo "$as_me: failed program was:" >&5
8280 sed 's/^/| /' conftest.$ac_ext >&5
8282 glibcxx_cv_func_isnan_use=no
8284 rm -f conftest.$ac_objext conftest.$ac_ext
8286 ac_cpp='$CPP $CPPFLAGS'
8287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8296 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8298 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8300 for ac_func in isnan
8302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8303 echo "$as_me:$LINENO: checking for $ac_func" >&5
8304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8305 if eval "test \"\${$as_ac_var+set}\" = set"; then
8306 echo $ECHO_N "(cached) $ECHO_C" >&6
8308 if test x$gcc_no_link = xyes; then
8309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8311 { (exit 1); exit 1; }; }
8313 cat >conftest.$ac_ext <<_ACEOF
8314 #line $LINENO "configure"
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8320 /* System header to define __stub macros and hopefully few prototypes,
8321 which can conflict with char $ac_func (); below.
8322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8323 <limits.h> exists even on freestanding compilers. */
8325 # include <limits.h>
8327 # include <assert.h>
8329 /* Override any gcc2 internal prototype to avoid an error. */
8334 /* We use char because int might match the return type of a gcc2
8335 builtin and then its argument prototype would still apply. */
8337 /* The GNU C library defines this for functions which it implements
8338 to always fail with ENOSYS. Some functions are actually named
8339 something starting with __ and the normal name is an alias. */
8340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8343 char (*f) () = $ac_func;
8352 return f != $ac_func;
8357 rm -f conftest.$ac_objext conftest$ac_exeext
8358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8359 (eval $ac_link) 2>&5
8361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8362 (exit $ac_status); } &&
8363 { ac_try='test -s conftest$ac_exeext'
8364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368 (exit $ac_status); }; }; then
8369 eval "$as_ac_var=yes"
8371 echo "$as_me: failed program was:" >&5
8372 sed 's/^/| /' conftest.$ac_ext >&5
8374 eval "$as_ac_var=no"
8376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8380 if test `eval echo '${'$as_ac_var'}'` = yes; then
8381 cat >>confdefs.h <<_ACEOF
8382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8390 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8391 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8392 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8393 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8394 echo $ECHO_N "(cached) $ECHO_C" >&6
8400 ac_cpp='$CXXCPP $CPPFLAGS'
8401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8405 cat >conftest.$ac_ext <<_ACEOF
8406 #line $LINENO "configure"
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8413 #ifdef HAVE_IEEEFP_H
8425 rm -f conftest.$ac_objext
8426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8427 (eval $ac_compile) 2>&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); } &&
8431 { ac_try='test -s conftest.$ac_objext'
8432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8436 (exit $ac_status); }; }; then
8437 glibcxx_cv_func__isnan_use=yes
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8442 glibcxx_cv_func__isnan_use=no
8444 rm -f conftest.$ac_objext conftest.$ac_ext
8446 ac_cpp='$CPP $CPPFLAGS'
8447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8456 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8458 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8460 for ac_func in _isnan
8462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8463 echo "$as_me:$LINENO: checking for $ac_func" >&5
8464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8465 if eval "test \"\${$as_ac_var+set}\" = set"; then
8466 echo $ECHO_N "(cached) $ECHO_C" >&6
8468 if test x$gcc_no_link = xyes; then
8469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8471 { (exit 1); exit 1; }; }
8473 cat >conftest.$ac_ext <<_ACEOF
8474 #line $LINENO "configure"
8477 cat confdefs.h >>conftest.$ac_ext
8478 cat >>conftest.$ac_ext <<_ACEOF
8479 /* end confdefs.h. */
8480 /* System header to define __stub macros and hopefully few prototypes,
8481 which can conflict with char $ac_func (); below.
8482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8483 <limits.h> exists even on freestanding compilers. */
8485 # include <limits.h>
8487 # include <assert.h>
8489 /* Override any gcc2 internal prototype to avoid an error. */
8494 /* We use char because int might match the return type of a gcc2
8495 builtin and then its argument prototype would still apply. */
8497 /* The GNU C library defines this for functions which it implements
8498 to always fail with ENOSYS. Some functions are actually named
8499 something starting with __ and the normal name is an alias. */
8500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8503 char (*f) () = $ac_func;
8512 return f != $ac_func;
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519 (eval $ac_link) 2>&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } &&
8523 { ac_try='test -s conftest$ac_exeext'
8524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8528 (exit $ac_status); }; }; then
8529 eval "$as_ac_var=yes"
8531 echo "$as_me: failed program was:" >&5
8532 sed 's/^/| /' conftest.$ac_ext >&5
8534 eval "$as_ac_var=no"
8536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8540 if test `eval echo '${'$as_ac_var'}'` = yes; then
8541 cat >>confdefs.h <<_ACEOF
8542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8553 echo "$as_me:$LINENO: checking for finite declaration" >&5
8554 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8555 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8556 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8557 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 ac_cpp='$CXXCPP $CPPFLAGS'
8564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8568 cat >conftest.$ac_ext <<_ACEOF
8569 #line $LINENO "configure"
8572 cat confdefs.h >>conftest.$ac_ext
8573 cat >>conftest.$ac_ext <<_ACEOF
8574 /* end confdefs.h. */
8576 #ifdef HAVE_IEEEFP_H
8588 rm -f conftest.$ac_objext
8589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8590 (eval $ac_compile) 2>&5
8592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8593 (exit $ac_status); } &&
8594 { ac_try='test -s conftest.$ac_objext'
8595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8599 (exit $ac_status); }; }; then
8600 glibcxx_cv_func_finite_use=yes
8602 echo "$as_me: failed program was:" >&5
8603 sed 's/^/| /' conftest.$ac_ext >&5
8605 glibcxx_cv_func_finite_use=no
8607 rm -f conftest.$ac_objext conftest.$ac_ext
8609 ac_cpp='$CPP $CPPFLAGS'
8610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8619 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8621 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8623 for ac_func in finite
8625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8626 echo "$as_me:$LINENO: checking for $ac_func" >&5
8627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8628 if eval "test \"\${$as_ac_var+set}\" = set"; then
8629 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 if test x$gcc_no_link = xyes; then
8632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8634 { (exit 1); exit 1; }; }
8636 cat >conftest.$ac_ext <<_ACEOF
8637 #line $LINENO "configure"
8640 cat confdefs.h >>conftest.$ac_ext
8641 cat >>conftest.$ac_ext <<_ACEOF
8642 /* end confdefs.h. */
8643 /* System header to define __stub macros and hopefully few prototypes,
8644 which can conflict with char $ac_func (); below.
8645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8646 <limits.h> exists even on freestanding compilers. */
8648 # include <limits.h>
8650 # include <assert.h>
8652 /* Override any gcc2 internal prototype to avoid an error. */
8657 /* We use char because int might match the return type of a gcc2
8658 builtin and then its argument prototype would still apply. */
8660 /* The GNU C library defines this for functions which it implements
8661 to always fail with ENOSYS. Some functions are actually named
8662 something starting with __ and the normal name is an alias. */
8663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8666 char (*f) () = $ac_func;
8675 return f != $ac_func;
8680 rm -f conftest.$ac_objext conftest$ac_exeext
8681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8682 (eval $ac_link) 2>&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); } &&
8686 { ac_try='test -s conftest$ac_exeext'
8687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691 (exit $ac_status); }; }; then
8692 eval "$as_ac_var=yes"
8694 echo "$as_me: failed program was:" >&5
8695 sed 's/^/| /' conftest.$ac_ext >&5
8697 eval "$as_ac_var=no"
8699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8703 if test `eval echo '${'$as_ac_var'}'` = yes; then
8704 cat >>confdefs.h <<_ACEOF
8705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8713 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8714 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8715 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8716 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8717 echo $ECHO_N "(cached) $ECHO_C" >&6
8723 ac_cpp='$CXXCPP $CPPFLAGS'
8724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8728 cat >conftest.$ac_ext <<_ACEOF
8729 #line $LINENO "configure"
8732 cat confdefs.h >>conftest.$ac_ext
8733 cat >>conftest.$ac_ext <<_ACEOF
8734 /* end confdefs.h. */
8736 #ifdef HAVE_IEEEFP_H
8748 rm -f conftest.$ac_objext
8749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8750 (eval $ac_compile) 2>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); } &&
8754 { ac_try='test -s conftest.$ac_objext'
8755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759 (exit $ac_status); }; }; then
8760 glibcxx_cv_func__finite_use=yes
8762 echo "$as_me: failed program was:" >&5
8763 sed 's/^/| /' conftest.$ac_ext >&5
8765 glibcxx_cv_func__finite_use=no
8767 rm -f conftest.$ac_objext conftest.$ac_ext
8769 ac_cpp='$CPP $CPPFLAGS'
8770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8779 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8781 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8783 for ac_func in _finite
8785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8786 echo "$as_me:$LINENO: checking for $ac_func" >&5
8787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8788 if eval "test \"\${$as_ac_var+set}\" = set"; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 if test x$gcc_no_link = xyes; then
8792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8794 { (exit 1); exit 1; }; }
8796 cat >conftest.$ac_ext <<_ACEOF
8797 #line $LINENO "configure"
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 /* System header to define __stub macros and hopefully few prototypes,
8804 which can conflict with char $ac_func (); below.
8805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8806 <limits.h> exists even on freestanding compilers. */
8808 # include <limits.h>
8810 # include <assert.h>
8812 /* Override any gcc2 internal prototype to avoid an error. */
8817 /* We use char because int might match the return type of a gcc2
8818 builtin and then its argument prototype would still apply. */
8820 /* The GNU C library defines this for functions which it implements
8821 to always fail with ENOSYS. Some functions are actually named
8822 something starting with __ and the normal name is an alias. */
8823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8826 char (*f) () = $ac_func;
8835 return f != $ac_func;
8840 rm -f conftest.$ac_objext conftest$ac_exeext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8842 (eval $ac_link) 2>&5
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } &&
8846 { ac_try='test -s conftest$ac_exeext'
8847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); }; }; then
8852 eval "$as_ac_var=yes"
8854 echo "$as_me: failed program was:" >&5
8855 sed 's/^/| /' conftest.$ac_ext >&5
8857 eval "$as_ac_var=no"
8859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8863 if test `eval echo '${'$as_ac_var'}'` = yes; then
8864 cat >>confdefs.h <<_ACEOF
8865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8876 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8877 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8878 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8879 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8880 echo $ECHO_N "(cached) $ECHO_C" >&6
8886 ac_cpp='$CXXCPP $CPPFLAGS'
8887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8891 cat >conftest.$ac_ext <<_ACEOF
8892 #line $LINENO "configure"
8895 cat confdefs.h >>conftest.$ac_ext
8896 cat >>conftest.$ac_ext <<_ACEOF
8897 /* end confdefs.h. */
8907 rm -f conftest.$ac_objext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8909 (eval $ac_compile) 2>&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } &&
8913 { ac_try='test -s conftest.$ac_objext'
8914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8918 (exit $ac_status); }; }; then
8919 glibcxx_cv_func_copysign_use=yes
8921 echo "$as_me: failed program was:" >&5
8922 sed 's/^/| /' conftest.$ac_ext >&5
8924 glibcxx_cv_func_copysign_use=no
8926 rm -f conftest.$ac_objext conftest.$ac_ext
8928 ac_cpp='$CPP $CPPFLAGS'
8929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8938 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8940 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8942 for ac_func in copysign
8944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8945 echo "$as_me:$LINENO: checking for $ac_func" >&5
8946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8947 if eval "test \"\${$as_ac_var+set}\" = set"; then
8948 echo $ECHO_N "(cached) $ECHO_C" >&6
8950 if test x$gcc_no_link = xyes; then
8951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8953 { (exit 1); exit 1; }; }
8955 cat >conftest.$ac_ext <<_ACEOF
8956 #line $LINENO "configure"
8959 cat confdefs.h >>conftest.$ac_ext
8960 cat >>conftest.$ac_ext <<_ACEOF
8961 /* end confdefs.h. */
8962 /* System header to define __stub macros and hopefully few prototypes,
8963 which can conflict with char $ac_func (); below.
8964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8965 <limits.h> exists even on freestanding compilers. */
8967 # include <limits.h>
8969 # include <assert.h>
8971 /* Override any gcc2 internal prototype to avoid an error. */
8976 /* We use char because int might match the return type of a gcc2
8977 builtin and then its argument prototype would still apply. */
8979 /* The GNU C library defines this for functions which it implements
8980 to always fail with ENOSYS. Some functions are actually named
8981 something starting with __ and the normal name is an alias. */
8982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8985 char (*f) () = $ac_func;
8994 return f != $ac_func;
8999 rm -f conftest.$ac_objext conftest$ac_exeext
9000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9001 (eval $ac_link) 2>&5
9003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9004 (exit $ac_status); } &&
9005 { ac_try='test -s conftest$ac_exeext'
9006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); }; }; then
9011 eval "$as_ac_var=yes"
9013 echo "$as_me: failed program was:" >&5
9014 sed 's/^/| /' conftest.$ac_ext >&5
9016 eval "$as_ac_var=no"
9018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9022 if test `eval echo '${'$as_ac_var'}'` = yes; then
9023 cat >>confdefs.h <<_ACEOF
9024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9032 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9033 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9034 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9035 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9042 ac_cpp='$CXXCPP $CPPFLAGS'
9043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9047 cat >conftest.$ac_ext <<_ACEOF
9048 #line $LINENO "configure"
9051 cat confdefs.h >>conftest.$ac_ext
9052 cat >>conftest.$ac_ext <<_ACEOF
9053 /* end confdefs.h. */
9063 rm -f conftest.$ac_objext
9064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9065 (eval $ac_compile) 2>&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } &&
9069 { ac_try='test -s conftest.$ac_objext'
9070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); }; }; then
9075 glibcxx_cv_func__copysign_use=yes
9077 echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 glibcxx_cv_func__copysign_use=no
9082 rm -f conftest.$ac_objext conftest.$ac_ext
9084 ac_cpp='$CPP $CPPFLAGS'
9085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9093 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9094 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9096 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9098 for ac_func in _copysign
9100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9101 echo "$as_me:$LINENO: checking for $ac_func" >&5
9102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9103 if eval "test \"\${$as_ac_var+set}\" = set"; then
9104 echo $ECHO_N "(cached) $ECHO_C" >&6
9106 if test x$gcc_no_link = xyes; then
9107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9109 { (exit 1); exit 1; }; }
9111 cat >conftest.$ac_ext <<_ACEOF
9112 #line $LINENO "configure"
9115 cat confdefs.h >>conftest.$ac_ext
9116 cat >>conftest.$ac_ext <<_ACEOF
9117 /* end confdefs.h. */
9118 /* System header to define __stub macros and hopefully few prototypes,
9119 which can conflict with char $ac_func (); below.
9120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9121 <limits.h> exists even on freestanding compilers. */
9123 # include <limits.h>
9125 # include <assert.h>
9127 /* Override any gcc2 internal prototype to avoid an error. */
9132 /* We use char because int might match the return type of a gcc2
9133 builtin and then its argument prototype would still apply. */
9135 /* The GNU C library defines this for functions which it implements
9136 to always fail with ENOSYS. Some functions are actually named
9137 something starting with __ and the normal name is an alias. */
9138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9141 char (*f) () = $ac_func;
9150 return f != $ac_func;
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9157 (eval $ac_link) 2>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try='test -s conftest$ac_exeext'
9162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); }; }; then
9167 eval "$as_ac_var=yes"
9169 echo "$as_me: failed program was:" >&5
9170 sed 's/^/| /' conftest.$ac_ext >&5
9172 eval "$as_ac_var=no"
9174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9178 if test `eval echo '${'$as_ac_var'}'` = yes; then
9179 cat >>confdefs.h <<_ACEOF
9180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9191 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9192 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9193 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9194 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9195 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 ac_cpp='$CXXCPP $CPPFLAGS'
9202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9206 cat >conftest.$ac_ext <<_ACEOF
9207 #line $LINENO "configure"
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9222 rm -f conftest.$ac_objext
9223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9224 (eval $ac_compile) 2>&5
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); } &&
9228 { ac_try='test -s conftest.$ac_objext'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; }; then
9234 glibcxx_cv_func_sincos_use=yes
9236 echo "$as_me: failed program was:" >&5
9237 sed 's/^/| /' conftest.$ac_ext >&5
9239 glibcxx_cv_func_sincos_use=no
9241 rm -f conftest.$ac_objext conftest.$ac_ext
9243 ac_cpp='$CPP $CPPFLAGS'
9244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9253 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9255 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9257 for ac_func in sincos
9259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9260 echo "$as_me:$LINENO: checking for $ac_func" >&5
9261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9262 if eval "test \"\${$as_ac_var+set}\" = set"; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 if test x$gcc_no_link = xyes; then
9266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9268 { (exit 1); exit 1; }; }
9270 cat >conftest.$ac_ext <<_ACEOF
9271 #line $LINENO "configure"
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9277 /* System header to define __stub macros and hopefully few prototypes,
9278 which can conflict with char $ac_func (); below.
9279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9280 <limits.h> exists even on freestanding compilers. */
9282 # include <limits.h>
9284 # include <assert.h>
9286 /* Override any gcc2 internal prototype to avoid an error. */
9291 /* We use char because int might match the return type of a gcc2
9292 builtin and then its argument prototype would still apply. */
9294 /* The GNU C library defines this for functions which it implements
9295 to always fail with ENOSYS. Some functions are actually named
9296 something starting with __ and the normal name is an alias. */
9297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9300 char (*f) () = $ac_func;
9309 return f != $ac_func;
9314 rm -f conftest.$ac_objext conftest$ac_exeext
9315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9316 (eval $ac_link) 2>&5
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); } &&
9320 { ac_try='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 eval "$as_ac_var=yes"
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 eval "$as_ac_var=no"
9333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9337 if test `eval echo '${'$as_ac_var'}'` = yes; then
9338 cat >>confdefs.h <<_ACEOF
9339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9347 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9348 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9349 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9350 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 ac_cpp='$CXXCPP $CPPFLAGS'
9358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9362 cat >conftest.$ac_ext <<_ACEOF
9363 #line $LINENO "configure"
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h. */
9378 rm -f conftest.$ac_objext
9379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9380 (eval $ac_compile) 2>&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } &&
9384 { ac_try='test -s conftest.$ac_objext'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; }; then
9390 glibcxx_cv_func__sincos_use=yes
9392 echo "$as_me: failed program was:" >&5
9393 sed 's/^/| /' conftest.$ac_ext >&5
9395 glibcxx_cv_func__sincos_use=no
9397 rm -f conftest.$ac_objext conftest.$ac_ext
9399 ac_cpp='$CPP $CPPFLAGS'
9400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9409 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9411 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9413 for ac_func in _sincos
9415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9416 echo "$as_me:$LINENO: checking for $ac_func" >&5
9417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9418 if eval "test \"\${$as_ac_var+set}\" = set"; then
9419 echo $ECHO_N "(cached) $ECHO_C" >&6
9421 if test x$gcc_no_link = xyes; then
9422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9424 { (exit 1); exit 1; }; }
9426 cat >conftest.$ac_ext <<_ACEOF
9427 #line $LINENO "configure"
9430 cat confdefs.h >>conftest.$ac_ext
9431 cat >>conftest.$ac_ext <<_ACEOF
9432 /* end confdefs.h. */
9433 /* System header to define __stub macros and hopefully few prototypes,
9434 which can conflict with char $ac_func (); below.
9435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9436 <limits.h> exists even on freestanding compilers. */
9438 # include <limits.h>
9440 # include <assert.h>
9442 /* Override any gcc2 internal prototype to avoid an error. */
9447 /* We use char because int might match the return type of a gcc2
9448 builtin and then its argument prototype would still apply. */
9450 /* The GNU C library defines this for functions which it implements
9451 to always fail with ENOSYS. Some functions are actually named
9452 something starting with __ and the normal name is an alias. */
9453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9456 char (*f) () = $ac_func;
9465 return f != $ac_func;
9470 rm -f conftest.$ac_objext conftest$ac_exeext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9472 (eval $ac_link) 2>&5
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); } &&
9476 { ac_try='test -s conftest$ac_exeext'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 eval "$as_ac_var=yes"
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 eval "$as_ac_var=no"
9489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9493 if test `eval echo '${'$as_ac_var'}'` = yes; then
9494 cat >>confdefs.h <<_ACEOF
9495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9506 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9507 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9508 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9509 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9510 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 ac_cpp='$CXXCPP $CPPFLAGS'
9517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9521 cat >conftest.$ac_ext <<_ACEOF
9522 #line $LINENO "configure"
9525 cat confdefs.h >>conftest.$ac_ext
9526 cat >>conftest.$ac_ext <<_ACEOF
9527 /* end confdefs.h. */
9529 #ifdef HAVE_IEEEFP_H
9541 rm -f conftest.$ac_objext
9542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9543 (eval $ac_compile) 2>&5
9545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546 (exit $ac_status); } &&
9547 { ac_try='test -s conftest.$ac_objext'
9548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9552 (exit $ac_status); }; }; then
9553 glibcxx_cv_func_fpclass_use=yes
9555 echo "$as_me: failed program was:" >&5
9556 sed 's/^/| /' conftest.$ac_ext >&5
9558 glibcxx_cv_func_fpclass_use=no
9560 rm -f conftest.$ac_objext conftest.$ac_ext
9562 ac_cpp='$CPP $CPPFLAGS'
9563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9572 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9574 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9576 for ac_func in fpclass
9578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9579 echo "$as_me:$LINENO: checking for $ac_func" >&5
9580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9581 if eval "test \"\${$as_ac_var+set}\" = set"; then
9582 echo $ECHO_N "(cached) $ECHO_C" >&6
9584 if test x$gcc_no_link = xyes; then
9585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9587 { (exit 1); exit 1; }; }
9589 cat >conftest.$ac_ext <<_ACEOF
9590 #line $LINENO "configure"
9593 cat confdefs.h >>conftest.$ac_ext
9594 cat >>conftest.$ac_ext <<_ACEOF
9595 /* end confdefs.h. */
9596 /* System header to define __stub macros and hopefully few prototypes,
9597 which can conflict with char $ac_func (); below.
9598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9599 <limits.h> exists even on freestanding compilers. */
9601 # include <limits.h>
9603 # include <assert.h>
9605 /* Override any gcc2 internal prototype to avoid an error. */
9610 /* We use char because int might match the return type of a gcc2
9611 builtin and then its argument prototype would still apply. */
9613 /* The GNU C library defines this for functions which it implements
9614 to always fail with ENOSYS. Some functions are actually named
9615 something starting with __ and the normal name is an alias. */
9616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9619 char (*f) () = $ac_func;
9628 return f != $ac_func;
9633 rm -f conftest.$ac_objext conftest$ac_exeext
9634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9635 (eval $ac_link) 2>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try='test -s conftest$ac_exeext'
9640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); }; }; then
9645 eval "$as_ac_var=yes"
9647 echo "$as_me: failed program was:" >&5
9648 sed 's/^/| /' conftest.$ac_ext >&5
9650 eval "$as_ac_var=no"
9652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9656 if test `eval echo '${'$as_ac_var'}'` = yes; then
9657 cat >>confdefs.h <<_ACEOF
9658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9666 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9667 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9668 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9669 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9670 echo $ECHO_N "(cached) $ECHO_C" >&6
9676 ac_cpp='$CXXCPP $CPPFLAGS'
9677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9681 cat >conftest.$ac_ext <<_ACEOF
9682 #line $LINENO "configure"
9685 cat confdefs.h >>conftest.$ac_ext
9686 cat >>conftest.$ac_ext <<_ACEOF
9687 /* end confdefs.h. */
9689 #ifdef HAVE_IEEEFP_H
9701 rm -f conftest.$ac_objext
9702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9703 (eval $ac_compile) 2>&5
9705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706 (exit $ac_status); } &&
9707 { ac_try='test -s conftest.$ac_objext'
9708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); }; }; then
9713 glibcxx_cv_func__fpclass_use=yes
9715 echo "$as_me: failed program was:" >&5
9716 sed 's/^/| /' conftest.$ac_ext >&5
9718 glibcxx_cv_func__fpclass_use=no
9720 rm -f conftest.$ac_objext conftest.$ac_ext
9722 ac_cpp='$CPP $CPPFLAGS'
9723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9732 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9734 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9736 for ac_func in _fpclass
9738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9739 echo "$as_me:$LINENO: checking for $ac_func" >&5
9740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9741 if eval "test \"\${$as_ac_var+set}\" = set"; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 if test x$gcc_no_link = xyes; then
9745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9747 { (exit 1); exit 1; }; }
9749 cat >conftest.$ac_ext <<_ACEOF
9750 #line $LINENO "configure"
9753 cat confdefs.h >>conftest.$ac_ext
9754 cat >>conftest.$ac_ext <<_ACEOF
9755 /* end confdefs.h. */
9756 /* System header to define __stub macros and hopefully few prototypes,
9757 which can conflict with char $ac_func (); below.
9758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9759 <limits.h> exists even on freestanding compilers. */
9761 # include <limits.h>
9763 # include <assert.h>
9765 /* Override any gcc2 internal prototype to avoid an error. */
9770 /* We use char because int might match the return type of a gcc2
9771 builtin and then its argument prototype would still apply. */
9773 /* The GNU C library defines this for functions which it implements
9774 to always fail with ENOSYS. Some functions are actually named
9775 something starting with __ and the normal name is an alias. */
9776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9779 char (*f) () = $ac_func;
9788 return f != $ac_func;
9793 rm -f conftest.$ac_objext conftest$ac_exeext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9795 (eval $ac_link) 2>&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } &&
9799 { ac_try='test -s conftest$ac_exeext'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; }; then
9805 eval "$as_ac_var=yes"
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9810 eval "$as_ac_var=no"
9812 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9816 if test `eval echo '${'$as_ac_var'}'` = yes; then
9817 cat >>confdefs.h <<_ACEOF
9818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9829 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9830 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9831 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9832 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9839 ac_cpp='$CXXCPP $CPPFLAGS'
9840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9844 cat >conftest.$ac_ext <<_ACEOF
9845 #line $LINENO "configure"
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9852 #ifdef HAVE_IEEEFP_H
9864 rm -f conftest.$ac_objext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9866 (eval $ac_compile) 2>&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try='test -s conftest.$ac_objext'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; }; then
9876 glibcxx_cv_func_qfpclass_use=yes
9878 echo "$as_me: failed program was:" >&5
9879 sed 's/^/| /' conftest.$ac_ext >&5
9881 glibcxx_cv_func_qfpclass_use=no
9883 rm -f conftest.$ac_objext conftest.$ac_ext
9885 ac_cpp='$CPP $CPPFLAGS'
9886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9895 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9897 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9899 for ac_func in qfpclass
9901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9902 echo "$as_me:$LINENO: checking for $ac_func" >&5
9903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9904 if eval "test \"\${$as_ac_var+set}\" = set"; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 if test x$gcc_no_link = xyes; then
9908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9910 { (exit 1); exit 1; }; }
9912 cat >conftest.$ac_ext <<_ACEOF
9913 #line $LINENO "configure"
9916 cat confdefs.h >>conftest.$ac_ext
9917 cat >>conftest.$ac_ext <<_ACEOF
9918 /* end confdefs.h. */
9919 /* System header to define __stub macros and hopefully few prototypes,
9920 which can conflict with char $ac_func (); below.
9921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9922 <limits.h> exists even on freestanding compilers. */
9924 # include <limits.h>
9926 # include <assert.h>
9928 /* Override any gcc2 internal prototype to avoid an error. */
9933 /* We use char because int might match the return type of a gcc2
9934 builtin and then its argument prototype would still apply. */
9936 /* The GNU C library defines this for functions which it implements
9937 to always fail with ENOSYS. Some functions are actually named
9938 something starting with __ and the normal name is an alias. */
9939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9942 char (*f) () = $ac_func;
9951 return f != $ac_func;
9956 rm -f conftest.$ac_objext conftest$ac_exeext
9957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9958 (eval $ac_link) 2>&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try='test -s conftest$ac_exeext'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; }; then
9968 eval "$as_ac_var=yes"
9970 echo "$as_me: failed program was:" >&5
9971 sed 's/^/| /' conftest.$ac_ext >&5
9973 eval "$as_ac_var=no"
9975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9979 if test `eval echo '${'$as_ac_var'}'` = yes; then
9980 cat >>confdefs.h <<_ACEOF
9981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9989 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9990 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9991 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9992 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9999 ac_cpp='$CXXCPP $CPPFLAGS'
10000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10004 cat >conftest.$ac_ext <<_ACEOF
10005 #line $LINENO "configure"
10008 cat confdefs.h >>conftest.$ac_ext
10009 cat >>conftest.$ac_ext <<_ACEOF
10010 /* end confdefs.h. */
10012 #ifdef HAVE_IEEEFP_H
10013 #include <ieeefp.h>
10024 rm -f conftest.$ac_objext
10025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10026 (eval $ac_compile) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); } &&
10030 { ac_try='test -s conftest.$ac_objext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 glibcxx_cv_func__qfpclass_use=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.$ac_ext >&5
10041 glibcxx_cv_func__qfpclass_use=no
10043 rm -f conftest.$ac_objext conftest.$ac_ext
10045 ac_cpp='$CPP $CPPFLAGS'
10046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10055 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10057 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10059 for ac_func in _qfpclass
10061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10062 echo "$as_me:$LINENO: checking for $ac_func" >&5
10063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10064 if eval "test \"\${$as_ac_var+set}\" = set"; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 if test x$gcc_no_link = xyes; then
10068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10070 { (exit 1); exit 1; }; }
10072 cat >conftest.$ac_ext <<_ACEOF
10073 #line $LINENO "configure"
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10079 /* System header to define __stub macros and hopefully few prototypes,
10080 which can conflict with char $ac_func (); below.
10081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10082 <limits.h> exists even on freestanding compilers. */
10084 # include <limits.h>
10086 # include <assert.h>
10088 /* Override any gcc2 internal prototype to avoid an error. */
10093 /* We use char because int might match the return type of a gcc2
10094 builtin and then its argument prototype would still apply. */
10096 /* The GNU C library defines this for functions which it implements
10097 to always fail with ENOSYS. Some functions are actually named
10098 something starting with __ and the normal name is an alias. */
10099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10102 char (*f) () = $ac_func;
10111 return f != $ac_func;
10116 rm -f conftest.$ac_objext conftest$ac_exeext
10117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10118 (eval $ac_link) 2>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 (exit $ac_status); } &&
10122 { ac_try='test -s conftest$ac_exeext'
10123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10124 (eval $ac_try) 2>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); }; }; then
10128 eval "$as_ac_var=yes"
10130 echo "$as_me: failed program was:" >&5
10131 sed 's/^/| /' conftest.$ac_ext >&5
10133 eval "$as_ac_var=no"
10135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10139 if test `eval echo '${'$as_ac_var'}'` = yes; then
10140 cat >>confdefs.h <<_ACEOF
10141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10152 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10153 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10154 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10155 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 ac_cpp='$CXXCPP $CPPFLAGS'
10163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10167 cat >conftest.$ac_ext <<_ACEOF
10168 #line $LINENO "configure"
10171 cat confdefs.h >>conftest.$ac_ext
10172 cat >>conftest.$ac_ext <<_ACEOF
10173 /* end confdefs.h. */
10183 rm -f conftest.$ac_objext
10184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10185 (eval $ac_compile) 2>&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -s conftest.$ac_objext'
10190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10191 (eval $ac_try) 2>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); }; }; then
10195 glibcxx_cv_func_hypot_use=yes
10197 echo "$as_me: failed program was:" >&5
10198 sed 's/^/| /' conftest.$ac_ext >&5
10200 glibcxx_cv_func_hypot_use=no
10202 rm -f conftest.$ac_objext conftest.$ac_ext
10204 ac_cpp='$CPP $CPPFLAGS'
10205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10214 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10216 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10218 for ac_func in hypot
10220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10221 echo "$as_me:$LINENO: checking for $ac_func" >&5
10222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10223 if eval "test \"\${$as_ac_var+set}\" = set"; then
10224 echo $ECHO_N "(cached) $ECHO_C" >&6
10226 if test x$gcc_no_link = xyes; then
10227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10229 { (exit 1); exit 1; }; }
10231 cat >conftest.$ac_ext <<_ACEOF
10232 #line $LINENO "configure"
10235 cat confdefs.h >>conftest.$ac_ext
10236 cat >>conftest.$ac_ext <<_ACEOF
10237 /* end confdefs.h. */
10238 /* System header to define __stub macros and hopefully few prototypes,
10239 which can conflict with char $ac_func (); below.
10240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10241 <limits.h> exists even on freestanding compilers. */
10243 # include <limits.h>
10245 # include <assert.h>
10247 /* Override any gcc2 internal prototype to avoid an error. */
10252 /* We use char because int might match the return type of a gcc2
10253 builtin and then its argument prototype would still apply. */
10255 /* The GNU C library defines this for functions which it implements
10256 to always fail with ENOSYS. Some functions are actually named
10257 something starting with __ and the normal name is an alias. */
10258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10261 char (*f) () = $ac_func;
10270 return f != $ac_func;
10275 rm -f conftest.$ac_objext conftest$ac_exeext
10276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10277 (eval $ac_link) 2>&5
10279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10280 (exit $ac_status); } &&
10281 { ac_try='test -s conftest$ac_exeext'
10282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10283 (eval $ac_try) 2>&5
10285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10286 (exit $ac_status); }; }; then
10287 eval "$as_ac_var=yes"
10289 echo "$as_me: failed program was:" >&5
10290 sed 's/^/| /' conftest.$ac_ext >&5
10292 eval "$as_ac_var=no"
10294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10298 if test `eval echo '${'$as_ac_var'}'` = yes; then
10299 cat >>confdefs.h <<_ACEOF
10300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10308 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10309 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10310 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10311 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10318 ac_cpp='$CXXCPP $CPPFLAGS'
10319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10323 cat >conftest.$ac_ext <<_ACEOF
10324 #line $LINENO "configure"
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h. */
10339 rm -f conftest.$ac_objext
10340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10341 (eval $ac_compile) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); } &&
10345 { ac_try='test -s conftest.$ac_objext'
10346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10347 (eval $ac_try) 2>&5
10349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10350 (exit $ac_status); }; }; then
10351 glibcxx_cv_func__hypot_use=yes
10353 echo "$as_me: failed program was:" >&5
10354 sed 's/^/| /' conftest.$ac_ext >&5
10356 glibcxx_cv_func__hypot_use=no
10358 rm -f conftest.$ac_objext conftest.$ac_ext
10360 ac_cpp='$CPP $CPPFLAGS'
10361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10369 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10370 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10372 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10374 for ac_func in _hypot
10376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10377 echo "$as_me:$LINENO: checking for $ac_func" >&5
10378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10379 if eval "test \"\${$as_ac_var+set}\" = set"; then
10380 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 if test x$gcc_no_link = xyes; then
10383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10385 { (exit 1); exit 1; }; }
10387 cat >conftest.$ac_ext <<_ACEOF
10388 #line $LINENO "configure"
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10394 /* System header to define __stub macros and hopefully few prototypes,
10395 which can conflict with char $ac_func (); below.
10396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10397 <limits.h> exists even on freestanding compilers. */
10399 # include <limits.h>
10401 # include <assert.h>
10403 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */
10411 /* The GNU C library defines this for functions which it implements
10412 to always fail with ENOSYS. Some functions are actually named
10413 something starting with __ and the normal name is an alias. */
10414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10417 char (*f) () = $ac_func;
10426 return f != $ac_func;
10431 rm -f conftest.$ac_objext conftest$ac_exeext
10432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10433 (eval $ac_link) 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } &&
10437 { ac_try='test -s conftest$ac_exeext'
10438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439 (eval $ac_try) 2>&5
10441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442 (exit $ac_status); }; }; then
10443 eval "$as_ac_var=yes"
10445 echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10448 eval "$as_ac_var=no"
10450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10454 if test `eval echo '${'$as_ac_var'}'` = yes; then
10455 cat >>confdefs.h <<_ACEOF
10456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10467 echo "$as_me:$LINENO: checking for float trig functions" >&5
10468 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10469 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 ac_cpp='$CXXCPP $CPPFLAGS'
10477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10481 cat >conftest.$ac_ext <<_ACEOF
10482 #line $LINENO "configure"
10485 cat confdefs.h >>conftest.$ac_ext
10486 cat >>conftest.$ac_ext <<_ACEOF
10487 /* end confdefs.h. */
10492 `for x in acosf asinf atanf \
10494 coshf sinhf tanhf; do echo "$x (0);"; done`
10499 rm -f conftest.$ac_objext
10500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10501 (eval $ac_compile) 2>&5
10503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10504 (exit $ac_status); } &&
10505 { ac_try='test -s conftest.$ac_objext'
10506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507 (eval $ac_try) 2>&5
10509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510 (exit $ac_status); }; }; then
10511 glibcxx_cv_func_float_trig_use=yes
10513 echo "$as_me: failed program was:" >&5
10514 sed 's/^/| /' conftest.$ac_ext >&5
10516 glibcxx_cv_func_float_trig_use=no
10518 rm -f conftest.$ac_objext conftest.$ac_ext
10520 ac_cpp='$CPP $CPPFLAGS'
10521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10527 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10528 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10529 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10539 for ac_func in acosf asinf atanf \
10543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10544 echo "$as_me:$LINENO: checking for $ac_func" >&5
10545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10546 if eval "test \"\${$as_ac_var+set}\" = set"; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 if test x$gcc_no_link = xyes; then
10550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10552 { (exit 1); exit 1; }; }
10554 cat >conftest.$ac_ext <<_ACEOF
10555 #line $LINENO "configure"
10558 cat confdefs.h >>conftest.$ac_ext
10559 cat >>conftest.$ac_ext <<_ACEOF
10560 /* end confdefs.h. */
10561 /* System header to define __stub macros and hopefully few prototypes,
10562 which can conflict with char $ac_func (); below.
10563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10564 <limits.h> exists even on freestanding compilers. */
10566 # include <limits.h>
10568 # include <assert.h>
10570 /* Override any gcc2 internal prototype to avoid an error. */
10575 /* We use char because int might match the return type of a gcc2
10576 builtin and then its argument prototype would still apply. */
10578 /* The GNU C library defines this for functions which it implements
10579 to always fail with ENOSYS. Some functions are actually named
10580 something starting with __ and the normal name is an alias. */
10581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10584 char (*f) () = $ac_func;
10593 return f != $ac_func;
10598 rm -f conftest.$ac_objext conftest$ac_exeext
10599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10600 (eval $ac_link) 2>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } &&
10604 { ac_try='test -s conftest$ac_exeext'
10605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10606 (eval $ac_try) 2>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); }; }; then
10610 eval "$as_ac_var=yes"
10612 echo "$as_me: failed program was:" >&5
10613 sed 's/^/| /' conftest.$ac_ext >&5
10615 eval "$as_ac_var=no"
10617 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10621 if test `eval echo '${'$as_ac_var'}'` = yes; then
10622 cat >>confdefs.h <<_ACEOF
10623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10632 echo "$as_me:$LINENO: checking for float round functions" >&5
10633 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10634 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 ac_cpp='$CXXCPP $CPPFLAGS'
10642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10646 cat >conftest.$ac_ext <<_ACEOF
10647 #line $LINENO "configure"
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10657 `for x in ceilf floorf; do echo "$x (0);"; done`
10662 rm -f conftest.$ac_objext
10663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10664 (eval $ac_compile) 2>&5
10666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10667 (exit $ac_status); } &&
10668 { ac_try='test -s conftest.$ac_objext'
10669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10670 (eval $ac_try) 2>&5
10672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673 (exit $ac_status); }; }; then
10674 glibcxx_cv_func_float_round_use=yes
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10679 glibcxx_cv_func_float_round_use=no
10681 rm -f conftest.$ac_objext conftest.$ac_ext
10683 ac_cpp='$CPP $CPPFLAGS'
10684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10690 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10691 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10692 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10695 for ac_func in ceilf floorf
10697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10698 echo "$as_me:$LINENO: checking for $ac_func" >&5
10699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10700 if eval "test \"\${$as_ac_var+set}\" = set"; then
10701 echo $ECHO_N "(cached) $ECHO_C" >&6
10703 if test x$gcc_no_link = xyes; then
10704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10706 { (exit 1); exit 1; }; }
10708 cat >conftest.$ac_ext <<_ACEOF
10709 #line $LINENO "configure"
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 /* System header to define __stub macros and hopefully few prototypes,
10716 which can conflict with char $ac_func (); below.
10717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10718 <limits.h> exists even on freestanding compilers. */
10720 # include <limits.h>
10722 # include <assert.h>
10724 /* Override any gcc2 internal prototype to avoid an error. */
10729 /* We use char because int might match the return type of a gcc2
10730 builtin and then its argument prototype would still apply. */
10732 /* The GNU C library defines this for functions which it implements
10733 to always fail with ENOSYS. Some functions are actually named
10734 something starting with __ and the normal name is an alias. */
10735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10738 char (*f) () = $ac_func;
10747 return f != $ac_func;
10752 rm -f conftest.$ac_objext conftest$ac_exeext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10754 (eval $ac_link) 2>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } &&
10758 { ac_try='test -s conftest$ac_exeext'
10759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10760 (eval $ac_try) 2>&5
10762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10763 (exit $ac_status); }; }; then
10764 eval "$as_ac_var=yes"
10766 echo "$as_me: failed program was:" >&5
10767 sed 's/^/| /' conftest.$ac_ext >&5
10769 eval "$as_ac_var=no"
10771 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10775 if test `eval echo '${'$as_ac_var'}'` = yes; then
10776 cat >>confdefs.h <<_ACEOF
10777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10787 echo "$as_me:$LINENO: checking for expf declaration" >&5
10788 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10789 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10790 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10791 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 ac_cpp='$CXXCPP $CPPFLAGS'
10798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10802 cat >conftest.$ac_ext <<_ACEOF
10803 #line $LINENO "configure"
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10810 #ifdef HAVE_IEEEFP_H
10811 #include <ieeefp.h>
10822 rm -f conftest.$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824 (eval $ac_compile) 2>&5
10826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10827 (exit $ac_status); } &&
10828 { ac_try='test -s conftest.$ac_objext'
10829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10830 (eval $ac_try) 2>&5
10832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10833 (exit $ac_status); }; }; then
10834 glibcxx_cv_func_expf_use=yes
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 glibcxx_cv_func_expf_use=no
10841 rm -f conftest.$ac_objext conftest.$ac_ext
10843 ac_cpp='$CPP $CPPFLAGS'
10844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10853 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10855 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10857 for ac_func in expf
10859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10860 echo "$as_me:$LINENO: checking for $ac_func" >&5
10861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10862 if eval "test \"\${$as_ac_var+set}\" = set"; then
10863 echo $ECHO_N "(cached) $ECHO_C" >&6
10865 if test x$gcc_no_link = xyes; then
10866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10868 { (exit 1); exit 1; }; }
10870 cat >conftest.$ac_ext <<_ACEOF
10871 #line $LINENO "configure"
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10877 /* System header to define __stub macros and hopefully few prototypes,
10878 which can conflict with char $ac_func (); below.
10879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10880 <limits.h> exists even on freestanding compilers. */
10882 # include <limits.h>
10884 # include <assert.h>
10886 /* Override any gcc2 internal prototype to avoid an error. */
10891 /* We use char because int might match the return type of a gcc2
10892 builtin and then its argument prototype would still apply. */
10894 /* The GNU C library defines this for functions which it implements
10895 to always fail with ENOSYS. Some functions are actually named
10896 something starting with __ and the normal name is an alias. */
10897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10900 char (*f) () = $ac_func;
10909 return f != $ac_func;
10914 rm -f conftest.$ac_objext conftest$ac_exeext
10915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10916 (eval $ac_link) 2>&5
10918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10919 (exit $ac_status); } &&
10920 { ac_try='test -s conftest$ac_exeext'
10921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10922 (eval $ac_try) 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); }; }; then
10926 eval "$as_ac_var=yes"
10928 echo "$as_me: failed program was:" >&5
10929 sed 's/^/| /' conftest.$ac_ext >&5
10931 eval "$as_ac_var=no"
10933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10937 if test `eval echo '${'$as_ac_var'}'` = yes; then
10938 cat >>confdefs.h <<_ACEOF
10939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10947 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10948 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10949 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10950 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10951 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 ac_cpp='$CXXCPP $CPPFLAGS'
10958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10962 cat >conftest.$ac_ext <<_ACEOF
10963 #line $LINENO "configure"
10966 cat confdefs.h >>conftest.$ac_ext
10967 cat >>conftest.$ac_ext <<_ACEOF
10968 /* end confdefs.h. */
10970 #ifdef HAVE_IEEEFP_H
10971 #include <ieeefp.h>
10982 rm -f conftest.$ac_objext
10983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10984 (eval $ac_compile) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); } &&
10988 { ac_try='test -s conftest.$ac_objext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 glibcxx_cv_func__expf_use=yes
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
10999 glibcxx_cv_func__expf_use=no
11001 rm -f conftest.$ac_objext conftest.$ac_ext
11003 ac_cpp='$CPP $CPPFLAGS'
11004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11012 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11013 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11015 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11017 for ac_func in _expf
11019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11020 echo "$as_me:$LINENO: checking for $ac_func" >&5
11021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11022 if eval "test \"\${$as_ac_var+set}\" = set"; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 if test x$gcc_no_link = xyes; then
11026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11028 { (exit 1); exit 1; }; }
11030 cat >conftest.$ac_ext <<_ACEOF
11031 #line $LINENO "configure"
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11037 /* System header to define __stub macros and hopefully few prototypes,
11038 which can conflict with char $ac_func (); below.
11039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11040 <limits.h> exists even on freestanding compilers. */
11042 # include <limits.h>
11044 # include <assert.h>
11046 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11054 /* The GNU C library defines this for functions which it implements
11055 to always fail with ENOSYS. Some functions are actually named
11056 something starting with __ and the normal name is an alias. */
11057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11060 char (*f) () = $ac_func;
11069 return f != $ac_func;
11074 rm -f conftest.$ac_objext conftest$ac_exeext
11075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11076 (eval $ac_link) 2>&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } &&
11080 { ac_try='test -s conftest$ac_exeext'
11081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11082 (eval $ac_try) 2>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); }; }; then
11086 eval "$as_ac_var=yes"
11088 echo "$as_me: failed program was:" >&5
11089 sed 's/^/| /' conftest.$ac_ext >&5
11091 eval "$as_ac_var=no"
11093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11097 if test `eval echo '${'$as_ac_var'}'` = yes; then
11098 cat >>confdefs.h <<_ACEOF
11099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11110 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11111 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11112 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11113 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 ac_cpp='$CXXCPP $CPPFLAGS'
11121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11125 cat >conftest.$ac_ext <<_ACEOF
11126 #line $LINENO "configure"
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11133 #ifdef HAVE_IEEEFP_H
11134 #include <ieeefp.h>
11145 rm -f conftest.$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } &&
11151 { ac_try='test -s conftest.$ac_objext'
11152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11153 (eval $ac_try) 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; }; then
11157 glibcxx_cv_func_isnanf_use=yes
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 glibcxx_cv_func_isnanf_use=no
11164 rm -f conftest.$ac_objext conftest.$ac_ext
11166 ac_cpp='$CPP $CPPFLAGS'
11167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11176 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11178 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11180 for ac_func in isnanf
11182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11183 echo "$as_me:$LINENO: checking for $ac_func" >&5
11184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11185 if eval "test \"\${$as_ac_var+set}\" = set"; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 if test x$gcc_no_link = xyes; then
11189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11191 { (exit 1); exit 1; }; }
11193 cat >conftest.$ac_ext <<_ACEOF
11194 #line $LINENO "configure"
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11200 /* System header to define __stub macros and hopefully few prototypes,
11201 which can conflict with char $ac_func (); below.
11202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11203 <limits.h> exists even on freestanding compilers. */
11205 # include <limits.h>
11207 # include <assert.h>
11209 /* Override any gcc2 internal prototype to avoid an error. */
11214 /* We use char because int might match the return type of a gcc2
11215 builtin and then its argument prototype would still apply. */
11217 /* The GNU C library defines this for functions which it implements
11218 to always fail with ENOSYS. Some functions are actually named
11219 something starting with __ and the normal name is an alias. */
11220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11223 char (*f) () = $ac_func;
11232 return f != $ac_func;
11237 rm -f conftest.$ac_objext conftest$ac_exeext
11238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11239 (eval $ac_link) 2>&5
11241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11242 (exit $ac_status); } &&
11243 { ac_try='test -s conftest$ac_exeext'
11244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11245 (eval $ac_try) 2>&5
11247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11248 (exit $ac_status); }; }; then
11249 eval "$as_ac_var=yes"
11251 echo "$as_me: failed program was:" >&5
11252 sed 's/^/| /' conftest.$ac_ext >&5
11254 eval "$as_ac_var=no"
11256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11260 if test `eval echo '${'$as_ac_var'}'` = yes; then
11261 cat >>confdefs.h <<_ACEOF
11262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11270 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11271 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11272 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11273 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11274 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 ac_cpp='$CXXCPP $CPPFLAGS'
11281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11285 cat >conftest.$ac_ext <<_ACEOF
11286 #line $LINENO "configure"
11289 cat confdefs.h >>conftest.$ac_ext
11290 cat >>conftest.$ac_ext <<_ACEOF
11291 /* end confdefs.h. */
11293 #ifdef HAVE_IEEEFP_H
11294 #include <ieeefp.h>
11305 rm -f conftest.$ac_objext
11306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11307 (eval $ac_compile) 2>&5
11309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11310 (exit $ac_status); } &&
11311 { ac_try='test -s conftest.$ac_objext'
11312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11313 (eval $ac_try) 2>&5
11315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11316 (exit $ac_status); }; }; then
11317 glibcxx_cv_func__isnanf_use=yes
11319 echo "$as_me: failed program was:" >&5
11320 sed 's/^/| /' conftest.$ac_ext >&5
11322 glibcxx_cv_func__isnanf_use=no
11324 rm -f conftest.$ac_objext conftest.$ac_ext
11326 ac_cpp='$CPP $CPPFLAGS'
11327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11336 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11338 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11340 for ac_func in _isnanf
11342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11343 echo "$as_me:$LINENO: checking for $ac_func" >&5
11344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11345 if eval "test \"\${$as_ac_var+set}\" = set"; then
11346 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 if test x$gcc_no_link = xyes; then
11349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11351 { (exit 1); exit 1; }; }
11353 cat >conftest.$ac_ext <<_ACEOF
11354 #line $LINENO "configure"
11357 cat confdefs.h >>conftest.$ac_ext
11358 cat >>conftest.$ac_ext <<_ACEOF
11359 /* end confdefs.h. */
11360 /* System header to define __stub macros and hopefully few prototypes,
11361 which can conflict with char $ac_func (); below.
11362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11363 <limits.h> exists even on freestanding compilers. */
11365 # include <limits.h>
11367 # include <assert.h>
11369 /* Override any gcc2 internal prototype to avoid an error. */
11374 /* We use char because int might match the return type of a gcc2
11375 builtin and then its argument prototype would still apply. */
11377 /* The GNU C library defines this for functions which it implements
11378 to always fail with ENOSYS. Some functions are actually named
11379 something starting with __ and the normal name is an alias. */
11380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11383 char (*f) () = $ac_func;
11392 return f != $ac_func;
11397 rm -f conftest.$ac_objext conftest$ac_exeext
11398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11399 (eval $ac_link) 2>&5
11401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11402 (exit $ac_status); } &&
11403 { ac_try='test -s conftest$ac_exeext'
11404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11405 (eval $ac_try) 2>&5
11407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11408 (exit $ac_status); }; }; then
11409 eval "$as_ac_var=yes"
11411 echo "$as_me: failed program was:" >&5
11412 sed 's/^/| /' conftest.$ac_ext >&5
11414 eval "$as_ac_var=no"
11416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11420 if test `eval echo '${'$as_ac_var'}'` = yes; then
11421 cat >>confdefs.h <<_ACEOF
11422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11433 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11434 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11435 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11436 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11437 echo $ECHO_N "(cached) $ECHO_C" >&6
11443 ac_cpp='$CXXCPP $CPPFLAGS'
11444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11448 cat >conftest.$ac_ext <<_ACEOF
11449 #line $LINENO "configure"
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h. */
11456 #ifdef HAVE_IEEEFP_H
11457 #include <ieeefp.h>
11468 rm -f conftest.$ac_objext
11469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11470 (eval $ac_compile) 2>&5
11472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11473 (exit $ac_status); } &&
11474 { ac_try='test -s conftest.$ac_objext'
11475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11476 (eval $ac_try) 2>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); }; }; then
11480 glibcxx_cv_func_isinff_use=yes
11482 echo "$as_me: failed program was:" >&5
11483 sed 's/^/| /' conftest.$ac_ext >&5
11485 glibcxx_cv_func_isinff_use=no
11487 rm -f conftest.$ac_objext conftest.$ac_ext
11489 ac_cpp='$CPP $CPPFLAGS'
11490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11499 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11501 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11503 for ac_func in isinff
11505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11506 echo "$as_me:$LINENO: checking for $ac_func" >&5
11507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11508 if eval "test \"\${$as_ac_var+set}\" = set"; then
11509 echo $ECHO_N "(cached) $ECHO_C" >&6
11511 if test x$gcc_no_link = xyes; then
11512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11514 { (exit 1); exit 1; }; }
11516 cat >conftest.$ac_ext <<_ACEOF
11517 #line $LINENO "configure"
11520 cat confdefs.h >>conftest.$ac_ext
11521 cat >>conftest.$ac_ext <<_ACEOF
11522 /* end confdefs.h. */
11523 /* System header to define __stub macros and hopefully few prototypes,
11524 which can conflict with char $ac_func (); below.
11525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11526 <limits.h> exists even on freestanding compilers. */
11528 # include <limits.h>
11530 # include <assert.h>
11532 /* Override any gcc2 internal prototype to avoid an error. */
11537 /* We use char because int might match the return type of a gcc2
11538 builtin and then its argument prototype would still apply. */
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11546 char (*f) () = $ac_func;
11555 return f != $ac_func;
11560 rm -f conftest.$ac_objext conftest$ac_exeext
11561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11562 (eval $ac_link) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); } &&
11566 { ac_try='test -s conftest$ac_exeext'
11567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11568 (eval $ac_try) 2>&5
11570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11571 (exit $ac_status); }; }; then
11572 eval "$as_ac_var=yes"
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.$ac_ext >&5
11577 eval "$as_ac_var=no"
11579 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11583 if test `eval echo '${'$as_ac_var'}'` = yes; then
11584 cat >>confdefs.h <<_ACEOF
11585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11593 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11594 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11595 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11596 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11597 echo $ECHO_N "(cached) $ECHO_C" >&6
11603 ac_cpp='$CXXCPP $CPPFLAGS'
11604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11608 cat >conftest.$ac_ext <<_ACEOF
11609 #line $LINENO "configure"
11612 cat confdefs.h >>conftest.$ac_ext
11613 cat >>conftest.$ac_ext <<_ACEOF
11614 /* end confdefs.h. */
11616 #ifdef HAVE_IEEEFP_H
11617 #include <ieeefp.h>
11628 rm -f conftest.$ac_objext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11630 (eval $ac_compile) 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); } &&
11634 { ac_try='test -s conftest.$ac_objext'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; }; then
11640 glibcxx_cv_func__isinff_use=yes
11642 echo "$as_me: failed program was:" >&5
11643 sed 's/^/| /' conftest.$ac_ext >&5
11645 glibcxx_cv_func__isinff_use=no
11647 rm -f conftest.$ac_objext conftest.$ac_ext
11649 ac_cpp='$CPP $CPPFLAGS'
11650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11659 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11661 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11663 for ac_func in _isinff
11665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11666 echo "$as_me:$LINENO: checking for $ac_func" >&5
11667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11668 if eval "test \"\${$as_ac_var+set}\" = set"; then
11669 echo $ECHO_N "(cached) $ECHO_C" >&6
11671 if test x$gcc_no_link = xyes; then
11672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11674 { (exit 1); exit 1; }; }
11676 cat >conftest.$ac_ext <<_ACEOF
11677 #line $LINENO "configure"
11680 cat confdefs.h >>conftest.$ac_ext
11681 cat >>conftest.$ac_ext <<_ACEOF
11682 /* end confdefs.h. */
11683 /* System header to define __stub macros and hopefully few prototypes,
11684 which can conflict with char $ac_func (); below.
11685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11686 <limits.h> exists even on freestanding compilers. */
11688 # include <limits.h>
11690 # include <assert.h>
11692 /* Override any gcc2 internal prototype to avoid an error. */
11697 /* We use char because int might match the return type of a gcc2
11698 builtin and then its argument prototype would still apply. */
11700 /* The GNU C library defines this for functions which it implements
11701 to always fail with ENOSYS. Some functions are actually named
11702 something starting with __ and the normal name is an alias. */
11703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11706 char (*f) () = $ac_func;
11715 return f != $ac_func;
11720 rm -f conftest.$ac_objext conftest$ac_exeext
11721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11722 (eval $ac_link) 2>&5
11724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11725 (exit $ac_status); } &&
11726 { ac_try='test -s conftest$ac_exeext'
11727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11728 (eval $ac_try) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); }; }; then
11732 eval "$as_ac_var=yes"
11734 echo "$as_me: failed program was:" >&5
11735 sed 's/^/| /' conftest.$ac_ext >&5
11737 eval "$as_ac_var=no"
11739 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11743 if test `eval echo '${'$as_ac_var'}'` = yes; then
11744 cat >>confdefs.h <<_ACEOF
11745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11756 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11757 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11758 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11759 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 ac_cpp='$CXXCPP $CPPFLAGS'
11767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11771 cat >conftest.$ac_ext <<_ACEOF
11772 #line $LINENO "configure"
11775 cat confdefs.h >>conftest.$ac_ext
11776 cat >>conftest.$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11787 rm -f conftest.$ac_objext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11789 (eval $ac_compile) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try='test -s conftest.$ac_objext'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; }; then
11799 glibcxx_cv_func_atan2f_use=yes
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11804 glibcxx_cv_func_atan2f_use=no
11806 rm -f conftest.$ac_objext conftest.$ac_ext
11808 ac_cpp='$CPP $CPPFLAGS'
11809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11818 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11820 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11822 for ac_func in atan2f
11824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11825 echo "$as_me:$LINENO: checking for $ac_func" >&5
11826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11827 if eval "test \"\${$as_ac_var+set}\" = set"; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 if test x$gcc_no_link = xyes; then
11831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11833 { (exit 1); exit 1; }; }
11835 cat >conftest.$ac_ext <<_ACEOF
11836 #line $LINENO "configure"
11839 cat confdefs.h >>conftest.$ac_ext
11840 cat >>conftest.$ac_ext <<_ACEOF
11841 /* end confdefs.h. */
11842 /* System header to define __stub macros and hopefully few prototypes,
11843 which can conflict with char $ac_func (); below.
11844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11845 <limits.h> exists even on freestanding compilers. */
11847 # include <limits.h>
11849 # include <assert.h>
11851 /* Override any gcc2 internal prototype to avoid an error. */
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11859 /* The GNU C library defines this for functions which it implements
11860 to always fail with ENOSYS. Some functions are actually named
11861 something starting with __ and the normal name is an alias. */
11862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11865 char (*f) () = $ac_func;
11874 return f != $ac_func;
11879 rm -f conftest.$ac_objext conftest$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881 (eval $ac_link) 2>&5
11883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11884 (exit $ac_status); } &&
11885 { ac_try='test -s conftest$ac_exeext'
11886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11887 (eval $ac_try) 2>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; }; then
11891 eval "$as_ac_var=yes"
11893 echo "$as_me: failed program was:" >&5
11894 sed 's/^/| /' conftest.$ac_ext >&5
11896 eval "$as_ac_var=no"
11898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11902 if test `eval echo '${'$as_ac_var'}'` = yes; then
11903 cat >>confdefs.h <<_ACEOF
11904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11912 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11913 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11914 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11915 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11916 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 ac_cpp='$CXXCPP $CPPFLAGS'
11923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11927 cat >conftest.$ac_ext <<_ACEOF
11928 #line $LINENO "configure"
11931 cat confdefs.h >>conftest.$ac_ext
11932 cat >>conftest.$ac_ext <<_ACEOF
11933 /* end confdefs.h. */
11943 rm -f conftest.$ac_objext
11944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11945 (eval $ac_compile) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -s conftest.$ac_objext'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; }; then
11955 glibcxx_cv_func__atan2f_use=yes
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 glibcxx_cv_func__atan2f_use=no
11962 rm -f conftest.$ac_objext conftest.$ac_ext
11964 ac_cpp='$CPP $CPPFLAGS'
11965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11974 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11976 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11978 for ac_func in _atan2f
11980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11981 echo "$as_me:$LINENO: checking for $ac_func" >&5
11982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11983 if eval "test \"\${$as_ac_var+set}\" = set"; then
11984 echo $ECHO_N "(cached) $ECHO_C" >&6
11986 if test x$gcc_no_link = xyes; then
11987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11989 { (exit 1); exit 1; }; }
11991 cat >conftest.$ac_ext <<_ACEOF
11992 #line $LINENO "configure"
11995 cat confdefs.h >>conftest.$ac_ext
11996 cat >>conftest.$ac_ext <<_ACEOF
11997 /* end confdefs.h. */
11998 /* System header to define __stub macros and hopefully few prototypes,
11999 which can conflict with char $ac_func (); below.
12000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12001 <limits.h> exists even on freestanding compilers. */
12003 # include <limits.h>
12005 # include <assert.h>
12007 /* Override any gcc2 internal prototype to avoid an error. */
12012 /* We use char because int might match the return type of a gcc2
12013 builtin and then its argument prototype would still apply. */
12015 /* The GNU C library defines this for functions which it implements
12016 to always fail with ENOSYS. Some functions are actually named
12017 something starting with __ and the normal name is an alias. */
12018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12021 char (*f) () = $ac_func;
12030 return f != $ac_func;
12035 rm -f conftest.$ac_objext conftest$ac_exeext
12036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12037 (eval $ac_link) 2>&5
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12047 eval "$as_ac_var=yes"
12049 echo "$as_me: failed program was:" >&5
12050 sed 's/^/| /' conftest.$ac_ext >&5
12052 eval "$as_ac_var=no"
12054 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12058 if test `eval echo '${'$as_ac_var'}'` = yes; then
12059 cat >>confdefs.h <<_ACEOF
12060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12071 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12072 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12073 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12074 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12075 echo $ECHO_N "(cached) $ECHO_C" >&6
12081 ac_cpp='$CXXCPP $CPPFLAGS'
12082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12086 cat >conftest.$ac_ext <<_ACEOF
12087 #line $LINENO "configure"
12090 cat confdefs.h >>conftest.$ac_ext
12091 cat >>conftest.$ac_ext <<_ACEOF
12092 /* end confdefs.h. */
12094 #ifdef HAVE_IEEEFP_H
12095 #include <ieeefp.h>
12106 rm -f conftest.$ac_objext
12107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12108 (eval $ac_compile) 2>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } &&
12112 { ac_try='test -s conftest.$ac_objext'
12113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12114 (eval $ac_try) 2>&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); }; }; then
12118 glibcxx_cv_func_fabsf_use=yes
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.$ac_ext >&5
12123 glibcxx_cv_func_fabsf_use=no
12125 rm -f conftest.$ac_objext conftest.$ac_ext
12127 ac_cpp='$CPP $CPPFLAGS'
12128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12137 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12139 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12141 for ac_func in fabsf
12143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12144 echo "$as_me:$LINENO: checking for $ac_func" >&5
12145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12146 if eval "test \"\${$as_ac_var+set}\" = set"; then
12147 echo $ECHO_N "(cached) $ECHO_C" >&6
12149 if test x$gcc_no_link = xyes; then
12150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12152 { (exit 1); exit 1; }; }
12154 cat >conftest.$ac_ext <<_ACEOF
12155 #line $LINENO "configure"
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 /* System header to define __stub macros and hopefully few prototypes,
12162 which can conflict with char $ac_func (); below.
12163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12164 <limits.h> exists even on freestanding compilers. */
12166 # include <limits.h>
12168 # include <assert.h>
12170 /* Override any gcc2 internal prototype to avoid an error. */
12175 /* We use char because int might match the return type of a gcc2
12176 builtin and then its argument prototype would still apply. */
12178 /* The GNU C library defines this for functions which it implements
12179 to always fail with ENOSYS. Some functions are actually named
12180 something starting with __ and the normal name is an alias. */
12181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12184 char (*f) () = $ac_func;
12193 return f != $ac_func;
12198 rm -f conftest.$ac_objext conftest$ac_exeext
12199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12200 (eval $ac_link) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try='test -s conftest$ac_exeext'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; }; then
12210 eval "$as_ac_var=yes"
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.$ac_ext >&5
12215 eval "$as_ac_var=no"
12217 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12221 if test `eval echo '${'$as_ac_var'}'` = yes; then
12222 cat >>confdefs.h <<_ACEOF
12223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12231 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12232 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12233 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12234 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 ac_cpp='$CXXCPP $CPPFLAGS'
12242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12246 cat >conftest.$ac_ext <<_ACEOF
12247 #line $LINENO "configure"
12250 cat confdefs.h >>conftest.$ac_ext
12251 cat >>conftest.$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12254 #ifdef HAVE_IEEEFP_H
12255 #include <ieeefp.h>
12266 rm -f conftest.$ac_objext
12267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12268 (eval $ac_compile) 2>&5
12270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12271 (exit $ac_status); } &&
12272 { ac_try='test -s conftest.$ac_objext'
12273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12274 (eval $ac_try) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); }; }; then
12278 glibcxx_cv_func__fabsf_use=yes
12280 echo "$as_me: failed program was:" >&5
12281 sed 's/^/| /' conftest.$ac_ext >&5
12283 glibcxx_cv_func__fabsf_use=no
12285 rm -f conftest.$ac_objext conftest.$ac_ext
12287 ac_cpp='$CPP $CPPFLAGS'
12288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12296 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12297 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12299 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12301 for ac_func in _fabsf
12303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12304 echo "$as_me:$LINENO: checking for $ac_func" >&5
12305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12306 if eval "test \"\${$as_ac_var+set}\" = set"; then
12307 echo $ECHO_N "(cached) $ECHO_C" >&6
12309 if test x$gcc_no_link = xyes; then
12310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12312 { (exit 1); exit 1; }; }
12314 cat >conftest.$ac_ext <<_ACEOF
12315 #line $LINENO "configure"
12318 cat confdefs.h >>conftest.$ac_ext
12319 cat >>conftest.$ac_ext <<_ACEOF
12320 /* end confdefs.h. */
12321 /* System header to define __stub macros and hopefully few prototypes,
12322 which can conflict with char $ac_func (); below.
12323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12324 <limits.h> exists even on freestanding compilers. */
12326 # include <limits.h>
12328 # include <assert.h>
12330 /* Override any gcc2 internal prototype to avoid an error. */
12335 /* We use char because int might match the return type of a gcc2
12336 builtin and then its argument prototype would still apply. */
12338 /* The GNU C library defines this for functions which it implements
12339 to always fail with ENOSYS. Some functions are actually named
12340 something starting with __ and the normal name is an alias. */
12341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12344 char (*f) () = $ac_func;
12353 return f != $ac_func;
12358 rm -f conftest.$ac_objext conftest$ac_exeext
12359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12360 (eval $ac_link) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } &&
12364 { ac_try='test -s conftest$ac_exeext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12370 eval "$as_ac_var=yes"
12372 echo "$as_me: failed program was:" >&5
12373 sed 's/^/| /' conftest.$ac_ext >&5
12375 eval "$as_ac_var=no"
12377 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12381 if test `eval echo '${'$as_ac_var'}'` = yes; then
12382 cat >>confdefs.h <<_ACEOF
12383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12394 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12395 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12396 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12397 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12398 echo $ECHO_N "(cached) $ECHO_C" >&6
12404 ac_cpp='$CXXCPP $CPPFLAGS'
12405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12409 cat >conftest.$ac_ext <<_ACEOF
12410 #line $LINENO "configure"
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12425 rm -f conftest.$ac_objext
12426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12427 (eval $ac_compile) 2>&5
12429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12430 (exit $ac_status); } &&
12431 { ac_try='test -s conftest.$ac_objext'
12432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12433 (eval $ac_try) 2>&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); }; }; then
12437 glibcxx_cv_func_fmodf_use=yes
12439 echo "$as_me: failed program was:" >&5
12440 sed 's/^/| /' conftest.$ac_ext >&5
12442 glibcxx_cv_func_fmodf_use=no
12444 rm -f conftest.$ac_objext conftest.$ac_ext
12446 ac_cpp='$CPP $CPPFLAGS'
12447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12455 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12456 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12458 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12460 for ac_func in fmodf
12462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12463 echo "$as_me:$LINENO: checking for $ac_func" >&5
12464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12465 if eval "test \"\${$as_ac_var+set}\" = set"; then
12466 echo $ECHO_N "(cached) $ECHO_C" >&6
12468 if test x$gcc_no_link = xyes; then
12469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12471 { (exit 1); exit 1; }; }
12473 cat >conftest.$ac_ext <<_ACEOF
12474 #line $LINENO "configure"
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480 /* System header to define __stub macros and hopefully few prototypes,
12481 which can conflict with char $ac_func (); below.
12482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12483 <limits.h> exists even on freestanding compilers. */
12485 # include <limits.h>
12487 # include <assert.h>
12489 /* Override any gcc2 internal prototype to avoid an error. */
12494 /* We use char because int might match the return type of a gcc2
12495 builtin and then its argument prototype would still apply. */
12497 /* The GNU C library defines this for functions which it implements
12498 to always fail with ENOSYS. Some functions are actually named
12499 something starting with __ and the normal name is an alias. */
12500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12503 char (*f) () = $ac_func;
12512 return f != $ac_func;
12517 rm -f conftest.$ac_objext conftest$ac_exeext
12518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12519 (eval $ac_link) 2>&5
12521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12522 (exit $ac_status); } &&
12523 { ac_try='test -s conftest$ac_exeext'
12524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12525 (eval $ac_try) 2>&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); }; }; then
12529 eval "$as_ac_var=yes"
12531 echo "$as_me: failed program was:" >&5
12532 sed 's/^/| /' conftest.$ac_ext >&5
12534 eval "$as_ac_var=no"
12536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12540 if test `eval echo '${'$as_ac_var'}'` = yes; then
12541 cat >>confdefs.h <<_ACEOF
12542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12550 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12551 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12552 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12553 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12554 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 ac_cpp='$CXXCPP $CPPFLAGS'
12561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12565 cat >conftest.$ac_ext <<_ACEOF
12566 #line $LINENO "configure"
12569 cat confdefs.h >>conftest.$ac_ext
12570 cat >>conftest.$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12581 rm -f conftest.$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); } &&
12587 { ac_try='test -s conftest.$ac_objext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 glibcxx_cv_func__fmodf_use=yes
12595 echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12598 glibcxx_cv_func__fmodf_use=no
12600 rm -f conftest.$ac_objext conftest.$ac_ext
12602 ac_cpp='$CPP $CPPFLAGS'
12603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12612 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12614 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12616 for ac_func in _fmodf
12618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12619 echo "$as_me:$LINENO: checking for $ac_func" >&5
12620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12621 if eval "test \"\${$as_ac_var+set}\" = set"; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 if test x$gcc_no_link = xyes; then
12625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12627 { (exit 1); exit 1; }; }
12629 cat >conftest.$ac_ext <<_ACEOF
12630 #line $LINENO "configure"
12633 cat confdefs.h >>conftest.$ac_ext
12634 cat >>conftest.$ac_ext <<_ACEOF
12635 /* end confdefs.h. */
12636 /* System header to define __stub macros and hopefully few prototypes,
12637 which can conflict with char $ac_func (); below.
12638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12639 <limits.h> exists even on freestanding compilers. */
12641 # include <limits.h>
12643 # include <assert.h>
12645 /* Override any gcc2 internal prototype to avoid an error. */
12650 /* We use char because int might match the return type of a gcc2
12651 builtin and then its argument prototype would still apply. */
12653 /* The GNU C library defines this for functions which it implements
12654 to always fail with ENOSYS. Some functions are actually named
12655 something starting with __ and the normal name is an alias. */
12656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12659 char (*f) () = $ac_func;
12668 return f != $ac_func;
12673 rm -f conftest.$ac_objext conftest$ac_exeext
12674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12675 (eval $ac_link) 2>&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } &&
12679 { ac_try='test -s conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 eval "$as_ac_var=yes"
12687 echo "$as_me: failed program was:" >&5
12688 sed 's/^/| /' conftest.$ac_ext >&5
12690 eval "$as_ac_var=no"
12692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12696 if test `eval echo '${'$as_ac_var'}'` = yes; then
12697 cat >>confdefs.h <<_ACEOF
12698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12709 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12710 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12711 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12712 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12713 echo $ECHO_N "(cached) $ECHO_C" >&6
12719 ac_cpp='$CXXCPP $CPPFLAGS'
12720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12724 cat >conftest.$ac_ext <<_ACEOF
12725 #line $LINENO "configure"
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12740 rm -f conftest.$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>&5
12744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } &&
12746 { ac_try='test -s conftest.$ac_objext'
12747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12748 (eval $ac_try) 2>&5
12750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12751 (exit $ac_status); }; }; then
12752 glibcxx_cv_func_frexpf_use=yes
12754 echo "$as_me: failed program was:" >&5
12755 sed 's/^/| /' conftest.$ac_ext >&5
12757 glibcxx_cv_func_frexpf_use=no
12759 rm -f conftest.$ac_objext conftest.$ac_ext
12761 ac_cpp='$CPP $CPPFLAGS'
12762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12771 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12773 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12775 for ac_func in frexpf
12777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12778 echo "$as_me:$LINENO: checking for $ac_func" >&5
12779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12780 if eval "test \"\${$as_ac_var+set}\" = set"; then
12781 echo $ECHO_N "(cached) $ECHO_C" >&6
12783 if test x$gcc_no_link = xyes; then
12784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12786 { (exit 1); exit 1; }; }
12788 cat >conftest.$ac_ext <<_ACEOF
12789 #line $LINENO "configure"
12792 cat confdefs.h >>conftest.$ac_ext
12793 cat >>conftest.$ac_ext <<_ACEOF
12794 /* end confdefs.h. */
12795 /* System header to define __stub macros and hopefully few prototypes,
12796 which can conflict with char $ac_func (); below.
12797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12798 <limits.h> exists even on freestanding compilers. */
12800 # include <limits.h>
12802 # include <assert.h>
12804 /* Override any gcc2 internal prototype to avoid an error. */
12809 /* We use char because int might match the return type of a gcc2
12810 builtin and then its argument prototype would still apply. */
12812 /* The GNU C library defines this for functions which it implements
12813 to always fail with ENOSYS. Some functions are actually named
12814 something starting with __ and the normal name is an alias. */
12815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12818 char (*f) () = $ac_func;
12827 return f != $ac_func;
12832 rm -f conftest.$ac_objext conftest$ac_exeext
12833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12834 (eval $ac_link) 2>&5
12836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12837 (exit $ac_status); } &&
12838 { ac_try='test -s conftest$ac_exeext'
12839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12840 (eval $ac_try) 2>&5
12842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12843 (exit $ac_status); }; }; then
12844 eval "$as_ac_var=yes"
12846 echo "$as_me: failed program was:" >&5
12847 sed 's/^/| /' conftest.$ac_ext >&5
12849 eval "$as_ac_var=no"
12851 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12855 if test `eval echo '${'$as_ac_var'}'` = yes; then
12856 cat >>confdefs.h <<_ACEOF
12857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12865 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12866 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12867 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12868 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12869 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 ac_cpp='$CXXCPP $CPPFLAGS'
12876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12880 cat >conftest.$ac_ext <<_ACEOF
12881 #line $LINENO "configure"
12884 cat confdefs.h >>conftest.$ac_ext
12885 cat >>conftest.$ac_ext <<_ACEOF
12886 /* end confdefs.h. */
12896 rm -f conftest.$ac_objext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898 (eval $ac_compile) 2>&5
12900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901 (exit $ac_status); } &&
12902 { ac_try='test -s conftest.$ac_objext'
12903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12904 (eval $ac_try) 2>&5
12906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12907 (exit $ac_status); }; }; then
12908 glibcxx_cv_func__frexpf_use=yes
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12913 glibcxx_cv_func__frexpf_use=no
12915 rm -f conftest.$ac_objext conftest.$ac_ext
12917 ac_cpp='$CPP $CPPFLAGS'
12918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12927 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12929 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12931 for ac_func in _frexpf
12933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12934 echo "$as_me:$LINENO: checking for $ac_func" >&5
12935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12936 if eval "test \"\${$as_ac_var+set}\" = set"; then
12937 echo $ECHO_N "(cached) $ECHO_C" >&6
12939 if test x$gcc_no_link = xyes; then
12940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12942 { (exit 1); exit 1; }; }
12944 cat >conftest.$ac_ext <<_ACEOF
12945 #line $LINENO "configure"
12948 cat confdefs.h >>conftest.$ac_ext
12949 cat >>conftest.$ac_ext <<_ACEOF
12950 /* end confdefs.h. */
12951 /* System header to define __stub macros and hopefully few prototypes,
12952 which can conflict with char $ac_func (); below.
12953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12954 <limits.h> exists even on freestanding compilers. */
12956 # include <limits.h>
12958 # include <assert.h>
12960 /* Override any gcc2 internal prototype to avoid an error. */
12965 /* We use char because int might match the return type of a gcc2
12966 builtin and then its argument prototype would still apply. */
12968 /* The GNU C library defines this for functions which it implements
12969 to always fail with ENOSYS. Some functions are actually named
12970 something starting with __ and the normal name is an alias. */
12971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12974 char (*f) () = $ac_func;
12983 return f != $ac_func;
12988 rm -f conftest.$ac_objext conftest$ac_exeext
12989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12990 (eval $ac_link) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); } &&
12994 { ac_try='test -s conftest$ac_exeext'
12995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12996 (eval $ac_try) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); }; }; then
13000 eval "$as_ac_var=yes"
13002 echo "$as_me: failed program was:" >&5
13003 sed 's/^/| /' conftest.$ac_ext >&5
13005 eval "$as_ac_var=no"
13007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13011 if test `eval echo '${'$as_ac_var'}'` = yes; then
13012 cat >>confdefs.h <<_ACEOF
13013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13024 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13025 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13026 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13027 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13034 ac_cpp='$CXXCPP $CPPFLAGS'
13035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13039 cat >conftest.$ac_ext <<_ACEOF
13040 #line $LINENO "configure"
13043 cat confdefs.h >>conftest.$ac_ext
13044 cat >>conftest.$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13055 rm -f conftest.$ac_objext
13056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13057 (eval $ac_compile) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); } &&
13061 { ac_try='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 glibcxx_cv_func_hypotf_use=yes
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13072 glibcxx_cv_func_hypotf_use=no
13074 rm -f conftest.$ac_objext conftest.$ac_ext
13076 ac_cpp='$CPP $CPPFLAGS'
13077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13086 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13088 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13090 for ac_func in hypotf
13092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13093 echo "$as_me:$LINENO: checking for $ac_func" >&5
13094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13095 if eval "test \"\${$as_ac_var+set}\" = set"; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13098 if test x$gcc_no_link = xyes; then
13099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13101 { (exit 1); exit 1; }; }
13103 cat >conftest.$ac_ext <<_ACEOF
13104 #line $LINENO "configure"
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13110 /* System header to define __stub macros and hopefully few prototypes,
13111 which can conflict with char $ac_func (); below.
13112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13113 <limits.h> exists even on freestanding compilers. */
13115 # include <limits.h>
13117 # include <assert.h>
13119 /* Override any gcc2 internal prototype to avoid an error. */
13124 /* We use char because int might match the return type of a gcc2
13125 builtin and then its argument prototype would still apply. */
13127 /* The GNU C library defines this for functions which it implements
13128 to always fail with ENOSYS. Some functions are actually named
13129 something starting with __ and the normal name is an alias. */
13130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13133 char (*f) () = $ac_func;
13142 return f != $ac_func;
13147 rm -f conftest.$ac_objext conftest$ac_exeext
13148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13149 (eval $ac_link) 2>&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -s conftest$ac_exeext'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; }; then
13159 eval "$as_ac_var=yes"
13161 echo "$as_me: failed program was:" >&5
13162 sed 's/^/| /' conftest.$ac_ext >&5
13164 eval "$as_ac_var=no"
13166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13170 if test `eval echo '${'$as_ac_var'}'` = yes; then
13171 cat >>confdefs.h <<_ACEOF
13172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13180 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13181 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13182 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13183 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 ac_cpp='$CXXCPP $CPPFLAGS'
13191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13195 cat >conftest.$ac_ext <<_ACEOF
13196 #line $LINENO "configure"
13199 cat confdefs.h >>conftest.$ac_ext
13200 cat >>conftest.$ac_ext <<_ACEOF
13201 /* end confdefs.h. */
13211 rm -f conftest.$ac_objext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13213 (eval $ac_compile) 2>&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } &&
13217 { ac_try='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 glibcxx_cv_func__hypotf_use=yes
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13228 glibcxx_cv_func__hypotf_use=no
13230 rm -f conftest.$ac_objext conftest.$ac_ext
13232 ac_cpp='$CPP $CPPFLAGS'
13233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13241 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13242 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13244 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13246 for ac_func in _hypotf
13248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13249 echo "$as_me:$LINENO: checking for $ac_func" >&5
13250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13251 if eval "test \"\${$as_ac_var+set}\" = set"; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 if test x$gcc_no_link = xyes; then
13255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13257 { (exit 1); exit 1; }; }
13259 cat >conftest.$ac_ext <<_ACEOF
13260 #line $LINENO "configure"
13263 cat confdefs.h >>conftest.$ac_ext
13264 cat >>conftest.$ac_ext <<_ACEOF
13265 /* end confdefs.h. */
13266 /* System header to define __stub macros and hopefully few prototypes,
13267 which can conflict with char $ac_func (); below.
13268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13269 <limits.h> exists even on freestanding compilers. */
13271 # include <limits.h>
13273 # include <assert.h>
13275 /* Override any gcc2 internal prototype to avoid an error. */
13280 /* We use char because int might match the return type of a gcc2
13281 builtin and then its argument prototype would still apply. */
13283 /* The GNU C library defines this for functions which it implements
13284 to always fail with ENOSYS. Some functions are actually named
13285 something starting with __ and the normal name is an alias. */
13286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13289 char (*f) () = $ac_func;
13298 return f != $ac_func;
13303 rm -f conftest.$ac_objext conftest$ac_exeext
13304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13305 (eval $ac_link) 2>&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try='test -s conftest$ac_exeext'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; }; then
13315 eval "$as_ac_var=yes"
13317 echo "$as_me: failed program was:" >&5
13318 sed 's/^/| /' conftest.$ac_ext >&5
13320 eval "$as_ac_var=no"
13322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13326 if test `eval echo '${'$as_ac_var'}'` = yes; then
13327 cat >>confdefs.h <<_ACEOF
13328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13339 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13340 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13341 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13342 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 ac_cpp='$CXXCPP $CPPFLAGS'
13350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13354 cat >conftest.$ac_ext <<_ACEOF
13355 #line $LINENO "configure"
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13370 rm -f conftest.$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -s conftest.$ac_objext'
13377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13378 (eval $ac_try) 2>&5
13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13381 (exit $ac_status); }; }; then
13382 glibcxx_cv_func_ldexpf_use=yes
13384 echo "$as_me: failed program was:" >&5
13385 sed 's/^/| /' conftest.$ac_ext >&5
13387 glibcxx_cv_func_ldexpf_use=no
13389 rm -f conftest.$ac_objext conftest.$ac_ext
13391 ac_cpp='$CPP $CPPFLAGS'
13392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13401 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13403 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13405 for ac_func in ldexpf
13407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13408 echo "$as_me:$LINENO: checking for $ac_func" >&5
13409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13410 if eval "test \"\${$as_ac_var+set}\" = set"; then
13411 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 if test x$gcc_no_link = xyes; then
13414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13416 { (exit 1); exit 1; }; }
13418 cat >conftest.$ac_ext <<_ACEOF
13419 #line $LINENO "configure"
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 /* System header to define __stub macros and hopefully few prototypes,
13426 which can conflict with char $ac_func (); below.
13427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13428 <limits.h> exists even on freestanding compilers. */
13430 # include <limits.h>
13432 # include <assert.h>
13434 /* Override any gcc2 internal prototype to avoid an error. */
13439 /* We use char because int might match the return type of a gcc2
13440 builtin and then its argument prototype would still apply. */
13442 /* The GNU C library defines this for functions which it implements
13443 to always fail with ENOSYS. Some functions are actually named
13444 something starting with __ and the normal name is an alias. */
13445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13448 char (*f) () = $ac_func;
13457 return f != $ac_func;
13462 rm -f conftest.$ac_objext conftest$ac_exeext
13463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13464 (eval $ac_link) 2>&5
13466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13467 (exit $ac_status); } &&
13468 { ac_try='test -s conftest$ac_exeext'
13469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13470 (eval $ac_try) 2>&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); }; }; then
13474 eval "$as_ac_var=yes"
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13479 eval "$as_ac_var=no"
13481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13485 if test `eval echo '${'$as_ac_var'}'` = yes; then
13486 cat >>confdefs.h <<_ACEOF
13487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13495 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13496 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13497 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13498 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13505 ac_cpp='$CXXCPP $CPPFLAGS'
13506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13510 cat >conftest.$ac_ext <<_ACEOF
13511 #line $LINENO "configure"
13514 cat confdefs.h >>conftest.$ac_ext
13515 cat >>conftest.$ac_ext <<_ACEOF
13516 /* end confdefs.h. */
13526 rm -f conftest.$ac_objext
13527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13528 (eval $ac_compile) 2>&5
13530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13531 (exit $ac_status); } &&
13532 { ac_try='test -s conftest.$ac_objext'
13533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13534 (eval $ac_try) 2>&5
13536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13537 (exit $ac_status); }; }; then
13538 glibcxx_cv_func__ldexpf_use=yes
13540 echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13543 glibcxx_cv_func__ldexpf_use=no
13545 rm -f conftest.$ac_objext conftest.$ac_ext
13547 ac_cpp='$CPP $CPPFLAGS'
13548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13557 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13559 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13561 for ac_func in _ldexpf
13563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13564 echo "$as_me:$LINENO: checking for $ac_func" >&5
13565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13566 if eval "test \"\${$as_ac_var+set}\" = set"; then
13567 echo $ECHO_N "(cached) $ECHO_C" >&6
13569 if test x$gcc_no_link = xyes; then
13570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13572 { (exit 1); exit 1; }; }
13574 cat >conftest.$ac_ext <<_ACEOF
13575 #line $LINENO "configure"
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581 /* System header to define __stub macros and hopefully few prototypes,
13582 which can conflict with char $ac_func (); below.
13583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13584 <limits.h> exists even on freestanding compilers. */
13586 # include <limits.h>
13588 # include <assert.h>
13590 /* Override any gcc2 internal prototype to avoid an error. */
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13598 /* The GNU C library defines this for functions which it implements
13599 to always fail with ENOSYS. Some functions are actually named
13600 something starting with __ and the normal name is an alias. */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13604 char (*f) () = $ac_func;
13613 return f != $ac_func;
13618 rm -f conftest.$ac_objext conftest$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); } &&
13624 { ac_try='test -s conftest$ac_exeext'
13625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13626 (eval $ac_try) 2>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); }; }; then
13630 eval "$as_ac_var=yes"
13632 echo "$as_me: failed program was:" >&5
13633 sed 's/^/| /' conftest.$ac_ext >&5
13635 eval "$as_ac_var=no"
13637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13641 if test `eval echo '${'$as_ac_var'}'` = yes; then
13642 cat >>confdefs.h <<_ACEOF
13643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13654 echo "$as_me:$LINENO: checking for logf declaration" >&5
13655 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13656 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13657 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13658 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 ac_cpp='$CXXCPP $CPPFLAGS'
13665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13669 cat >conftest.$ac_ext <<_ACEOF
13670 #line $LINENO "configure"
13673 cat confdefs.h >>conftest.$ac_ext
13674 cat >>conftest.$ac_ext <<_ACEOF
13675 /* end confdefs.h. */
13677 #ifdef HAVE_IEEEFP_H
13678 #include <ieeefp.h>
13689 rm -f conftest.$ac_objext
13690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13691 (eval $ac_compile) 2>&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } &&
13695 { ac_try='test -s conftest.$ac_objext'
13696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13697 (eval $ac_try) 2>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); }; }; then
13701 glibcxx_cv_func_logf_use=yes
13703 echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.$ac_ext >&5
13706 glibcxx_cv_func_logf_use=no
13708 rm -f conftest.$ac_objext conftest.$ac_ext
13710 ac_cpp='$CPP $CPPFLAGS'
13711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13720 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13722 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13724 for ac_func in logf
13726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13727 echo "$as_me:$LINENO: checking for $ac_func" >&5
13728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13729 if eval "test \"\${$as_ac_var+set}\" = set"; then
13730 echo $ECHO_N "(cached) $ECHO_C" >&6
13732 if test x$gcc_no_link = xyes; then
13733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13735 { (exit 1); exit 1; }; }
13737 cat >conftest.$ac_ext <<_ACEOF
13738 #line $LINENO "configure"
13741 cat confdefs.h >>conftest.$ac_ext
13742 cat >>conftest.$ac_ext <<_ACEOF
13743 /* end confdefs.h. */
13744 /* System header to define __stub macros and hopefully few prototypes,
13745 which can conflict with char $ac_func (); below.
13746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13747 <limits.h> exists even on freestanding compilers. */
13749 # include <limits.h>
13751 # include <assert.h>
13753 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13761 /* The GNU C library defines this for functions which it implements
13762 to always fail with ENOSYS. Some functions are actually named
13763 something starting with __ and the normal name is an alias. */
13764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13767 char (*f) () = $ac_func;
13776 return f != $ac_func;
13781 rm -f conftest.$ac_objext conftest$ac_exeext
13782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13783 (eval $ac_link) 2>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try='test -s conftest$ac_exeext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 eval "$as_ac_var=yes"
13795 echo "$as_me: failed program was:" >&5
13796 sed 's/^/| /' conftest.$ac_ext >&5
13798 eval "$as_ac_var=no"
13800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13804 if test `eval echo '${'$as_ac_var'}'` = yes; then
13805 cat >>confdefs.h <<_ACEOF
13806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13814 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13815 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13816 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13817 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13824 ac_cpp='$CXXCPP $CPPFLAGS'
13825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13829 cat >conftest.$ac_ext <<_ACEOF
13830 #line $LINENO "configure"
13833 cat confdefs.h >>conftest.$ac_ext
13834 cat >>conftest.$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13837 #ifdef HAVE_IEEEFP_H
13838 #include <ieeefp.h>
13849 rm -f conftest.$ac_objext
13850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13851 (eval $ac_compile) 2>&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } &&
13855 { ac_try='test -s conftest.$ac_objext'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; }; then
13861 glibcxx_cv_func__logf_use=yes
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13866 glibcxx_cv_func__logf_use=no
13868 rm -f conftest.$ac_objext conftest.$ac_ext
13870 ac_cpp='$CPP $CPPFLAGS'
13871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13880 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13882 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13884 for ac_func in _logf
13886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13887 echo "$as_me:$LINENO: checking for $ac_func" >&5
13888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13889 if eval "test \"\${$as_ac_var+set}\" = set"; then
13890 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 if test x$gcc_no_link = xyes; then
13893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13895 { (exit 1); exit 1; }; }
13897 cat >conftest.$ac_ext <<_ACEOF
13898 #line $LINENO "configure"
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 /* System header to define __stub macros and hopefully few prototypes,
13905 which can conflict with char $ac_func (); below.
13906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13907 <limits.h> exists even on freestanding compilers. */
13909 # include <limits.h>
13911 # include <assert.h>
13913 /* Override any gcc2 internal prototype to avoid an error. */
13918 /* We use char because int might match the return type of a gcc2
13919 builtin and then its argument prototype would still apply. */
13921 /* The GNU C library defines this for functions which it implements
13922 to always fail with ENOSYS. Some functions are actually named
13923 something starting with __ and the normal name is an alias. */
13924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13927 char (*f) () = $ac_func;
13936 return f != $ac_func;
13941 rm -f conftest.$ac_objext conftest$ac_exeext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13943 (eval $ac_link) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } &&
13947 { ac_try='test -s conftest$ac_exeext'
13948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949 (eval $ac_try) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }; }; then
13953 eval "$as_ac_var=yes"
13955 echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.$ac_ext >&5
13958 eval "$as_ac_var=no"
13960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13964 if test `eval echo '${'$as_ac_var'}'` = yes; then
13965 cat >>confdefs.h <<_ACEOF
13966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13977 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13978 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13979 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13980 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13981 echo $ECHO_N "(cached) $ECHO_C" >&6
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13992 cat >conftest.$ac_ext <<_ACEOF
13993 #line $LINENO "configure"
13996 cat confdefs.h >>conftest.$ac_ext
13997 cat >>conftest.$ac_ext <<_ACEOF
13998 /* end confdefs.h. */
14000 #ifdef HAVE_IEEEFP_H
14001 #include <ieeefp.h>
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try='test -s conftest.$ac_objext'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; }; then
14024 glibcxx_cv_func_log10f_use=yes
14026 echo "$as_me: failed program was:" >&5
14027 sed 's/^/| /' conftest.$ac_ext >&5
14029 glibcxx_cv_func_log10f_use=no
14031 rm -f conftest.$ac_objext conftest.$ac_ext
14033 ac_cpp='$CPP $CPPFLAGS'
14034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14043 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14045 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14047 for ac_func in log10f
14049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14050 echo "$as_me:$LINENO: checking for $ac_func" >&5
14051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14052 if eval "test \"\${$as_ac_var+set}\" = set"; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 if test x$gcc_no_link = xyes; then
14056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14058 { (exit 1); exit 1; }; }
14060 cat >conftest.$ac_ext <<_ACEOF
14061 #line $LINENO "configure"
14064 cat confdefs.h >>conftest.$ac_ext
14065 cat >>conftest.$ac_ext <<_ACEOF
14066 /* end confdefs.h. */
14067 /* System header to define __stub macros and hopefully few prototypes,
14068 which can conflict with char $ac_func (); below.
14069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14070 <limits.h> exists even on freestanding compilers. */
14072 # include <limits.h>
14074 # include <assert.h>
14076 /* Override any gcc2 internal prototype to avoid an error. */
14081 /* We use char because int might match the return type of a gcc2
14082 builtin and then its argument prototype would still apply. */
14084 /* The GNU C library defines this for functions which it implements
14085 to always fail with ENOSYS. Some functions are actually named
14086 something starting with __ and the normal name is an alias. */
14087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14090 char (*f) () = $ac_func;
14099 return f != $ac_func;
14104 rm -f conftest.$ac_objext conftest$ac_exeext
14105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14106 (eval $ac_link) 2>&5
14108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14109 (exit $ac_status); } &&
14110 { ac_try='test -s conftest$ac_exeext'
14111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14112 (eval $ac_try) 2>&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); }; }; then
14116 eval "$as_ac_var=yes"
14118 echo "$as_me: failed program was:" >&5
14119 sed 's/^/| /' conftest.$ac_ext >&5
14121 eval "$as_ac_var=no"
14123 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14127 if test `eval echo '${'$as_ac_var'}'` = yes; then
14128 cat >>confdefs.h <<_ACEOF
14129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14137 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14138 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14139 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14140 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14141 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 ac_cpp='$CXXCPP $CPPFLAGS'
14148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14152 cat >conftest.$ac_ext <<_ACEOF
14153 #line $LINENO "configure"
14156 cat confdefs.h >>conftest.$ac_ext
14157 cat >>conftest.$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14160 #ifdef HAVE_IEEEFP_H
14161 #include <ieeefp.h>
14172 rm -f conftest.$ac_objext
14173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14174 (eval $ac_compile) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); } &&
14178 { ac_try='test -s conftest.$ac_objext'
14179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14180 (eval $ac_try) 2>&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); }; }; then
14184 glibcxx_cv_func__log10f_use=yes
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14189 glibcxx_cv_func__log10f_use=no
14191 rm -f conftest.$ac_objext conftest.$ac_ext
14193 ac_cpp='$CPP $CPPFLAGS'
14194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14202 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14203 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14205 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14207 for ac_func in _log10f
14209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14210 echo "$as_me:$LINENO: checking for $ac_func" >&5
14211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14212 if eval "test \"\${$as_ac_var+set}\" = set"; then
14213 echo $ECHO_N "(cached) $ECHO_C" >&6
14215 if test x$gcc_no_link = xyes; then
14216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14218 { (exit 1); exit 1; }; }
14220 cat >conftest.$ac_ext <<_ACEOF
14221 #line $LINENO "configure"
14224 cat confdefs.h >>conftest.$ac_ext
14225 cat >>conftest.$ac_ext <<_ACEOF
14226 /* end confdefs.h. */
14227 /* System header to define __stub macros and hopefully few prototypes,
14228 which can conflict with char $ac_func (); below.
14229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14230 <limits.h> exists even on freestanding compilers. */
14232 # include <limits.h>
14234 # include <assert.h>
14236 /* Override any gcc2 internal prototype to avoid an error. */
14241 /* We use char because int might match the return type of a gcc2
14242 builtin and then its argument prototype would still apply. */
14244 /* The GNU C library defines this for functions which it implements
14245 to always fail with ENOSYS. Some functions are actually named
14246 something starting with __ and the normal name is an alias. */
14247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14250 char (*f) () = $ac_func;
14259 return f != $ac_func;
14264 rm -f conftest.$ac_objext conftest$ac_exeext
14265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14266 (eval $ac_link) 2>&5
14268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14269 (exit $ac_status); } &&
14270 { ac_try='test -s conftest$ac_exeext'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; }; then
14276 eval "$as_ac_var=yes"
14278 echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14281 eval "$as_ac_var=no"
14283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14287 if test `eval echo '${'$as_ac_var'}'` = yes; then
14288 cat >>confdefs.h <<_ACEOF
14289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14300 echo "$as_me:$LINENO: checking for modff declaration" >&5
14301 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14302 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14303 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14304 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 ac_cpp='$CXXCPP $CPPFLAGS'
14311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14315 cat >conftest.$ac_ext <<_ACEOF
14316 #line $LINENO "configure"
14319 cat confdefs.h >>conftest.$ac_ext
14320 cat >>conftest.$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14331 rm -f conftest.$ac_objext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14333 (eval $ac_compile) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); } &&
14337 { ac_try='test -s conftest.$ac_objext'
14338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14339 (eval $ac_try) 2>&5
14341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14342 (exit $ac_status); }; }; then
14343 glibcxx_cv_func_modff_use=yes
14345 echo "$as_me: failed program was:" >&5
14346 sed 's/^/| /' conftest.$ac_ext >&5
14348 glibcxx_cv_func_modff_use=no
14350 rm -f conftest.$ac_objext conftest.$ac_ext
14352 ac_cpp='$CPP $CPPFLAGS'
14353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14361 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14362 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14364 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14366 for ac_func in modff
14368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14369 echo "$as_me:$LINENO: checking for $ac_func" >&5
14370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14371 if eval "test \"\${$as_ac_var+set}\" = set"; then
14372 echo $ECHO_N "(cached) $ECHO_C" >&6
14374 if test x$gcc_no_link = xyes; then
14375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14377 { (exit 1); exit 1; }; }
14379 cat >conftest.$ac_ext <<_ACEOF
14380 #line $LINENO "configure"
14383 cat confdefs.h >>conftest.$ac_ext
14384 cat >>conftest.$ac_ext <<_ACEOF
14385 /* end confdefs.h. */
14386 /* System header to define __stub macros and hopefully few prototypes,
14387 which can conflict with char $ac_func (); below.
14388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14389 <limits.h> exists even on freestanding compilers. */
14391 # include <limits.h>
14393 # include <assert.h>
14395 /* Override any gcc2 internal prototype to avoid an error. */
14400 /* We use char because int might match the return type of a gcc2
14401 builtin and then its argument prototype would still apply. */
14403 /* The GNU C library defines this for functions which it implements
14404 to always fail with ENOSYS. Some functions are actually named
14405 something starting with __ and the normal name is an alias. */
14406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14409 char (*f) () = $ac_func;
14418 return f != $ac_func;
14423 rm -f conftest.$ac_objext conftest$ac_exeext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14425 (eval $ac_link) 2>&5
14427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14428 (exit $ac_status); } &&
14429 { ac_try='test -s conftest$ac_exeext'
14430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14431 (eval $ac_try) 2>&5
14433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14434 (exit $ac_status); }; }; then
14435 eval "$as_ac_var=yes"
14437 echo "$as_me: failed program was:" >&5
14438 sed 's/^/| /' conftest.$ac_ext >&5
14440 eval "$as_ac_var=no"
14442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14446 if test `eval echo '${'$as_ac_var'}'` = yes; then
14447 cat >>confdefs.h <<_ACEOF
14448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14456 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14457 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14458 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14459 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14460 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 ac_cpp='$CXXCPP $CPPFLAGS'
14467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14471 cat >conftest.$ac_ext <<_ACEOF
14472 #line $LINENO "configure"
14475 cat confdefs.h >>conftest.$ac_ext
14476 cat >>conftest.$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14487 rm -f conftest.$ac_objext
14488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14489 (eval $ac_compile) 2>&5
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); } &&
14493 { ac_try='test -s conftest.$ac_objext'
14494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14495 (eval $ac_try) 2>&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); }; }; then
14499 glibcxx_cv_func__modff_use=yes
14501 echo "$as_me: failed program was:" >&5
14502 sed 's/^/| /' conftest.$ac_ext >&5
14504 glibcxx_cv_func__modff_use=no
14506 rm -f conftest.$ac_objext conftest.$ac_ext
14508 ac_cpp='$CPP $CPPFLAGS'
14509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14518 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14520 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14522 for ac_func in _modff
14524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14525 echo "$as_me:$LINENO: checking for $ac_func" >&5
14526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14527 if eval "test \"\${$as_ac_var+set}\" = set"; then
14528 echo $ECHO_N "(cached) $ECHO_C" >&6
14530 if test x$gcc_no_link = xyes; then
14531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14533 { (exit 1); exit 1; }; }
14535 cat >conftest.$ac_ext <<_ACEOF
14536 #line $LINENO "configure"
14539 cat confdefs.h >>conftest.$ac_ext
14540 cat >>conftest.$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14542 /* System header to define __stub macros and hopefully few prototypes,
14543 which can conflict with char $ac_func (); below.
14544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14545 <limits.h> exists even on freestanding compilers. */
14547 # include <limits.h>
14549 # include <assert.h>
14551 /* Override any gcc2 internal prototype to avoid an error. */
14556 /* We use char because int might match the return type of a gcc2
14557 builtin and then its argument prototype would still apply. */
14559 /* The GNU C library defines this for functions which it implements
14560 to always fail with ENOSYS. Some functions are actually named
14561 something starting with __ and the normal name is an alias. */
14562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14565 char (*f) () = $ac_func;
14574 return f != $ac_func;
14579 rm -f conftest.$ac_objext conftest$ac_exeext
14580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14581 (eval $ac_link) 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); } &&
14585 { ac_try='test -s conftest$ac_exeext'
14586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14587 (eval $ac_try) 2>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); }; }; then
14591 eval "$as_ac_var=yes"
14593 echo "$as_me: failed program was:" >&5
14594 sed 's/^/| /' conftest.$ac_ext >&5
14596 eval "$as_ac_var=no"
14598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14602 if test `eval echo '${'$as_ac_var'}'` = yes; then
14603 cat >>confdefs.h <<_ACEOF
14604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14615 echo "$as_me:$LINENO: checking for powf declaration" >&5
14616 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14617 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14618 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14619 echo $ECHO_N "(cached) $ECHO_C" >&6
14625 ac_cpp='$CXXCPP $CPPFLAGS'
14626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14630 cat >conftest.$ac_ext <<_ACEOF
14631 #line $LINENO "configure"
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>&5
14650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14651 (exit $ac_status); } &&
14652 { ac_try='test -s conftest.$ac_objext'
14653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14654 (eval $ac_try) 2>&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); }; }; then
14658 glibcxx_cv_func_powf_use=yes
14660 echo "$as_me: failed program was:" >&5
14661 sed 's/^/| /' conftest.$ac_ext >&5
14663 glibcxx_cv_func_powf_use=no
14665 rm -f conftest.$ac_objext conftest.$ac_ext
14667 ac_cpp='$CPP $CPPFLAGS'
14668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14676 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14677 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14679 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14681 for ac_func in powf
14683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14684 echo "$as_me:$LINENO: checking for $ac_func" >&5
14685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14686 if eval "test \"\${$as_ac_var+set}\" = set"; then
14687 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 if test x$gcc_no_link = xyes; then
14690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14692 { (exit 1); exit 1; }; }
14694 cat >conftest.$ac_ext <<_ACEOF
14695 #line $LINENO "configure"
14698 cat confdefs.h >>conftest.$ac_ext
14699 cat >>conftest.$ac_ext <<_ACEOF
14700 /* end confdefs.h. */
14701 /* System header to define __stub macros and hopefully few prototypes,
14702 which can conflict with char $ac_func (); below.
14703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14704 <limits.h> exists even on freestanding compilers. */
14706 # include <limits.h>
14708 # include <assert.h>
14710 /* Override any gcc2 internal prototype to avoid an error. */
14715 /* We use char because int might match the return type of a gcc2
14716 builtin and then its argument prototype would still apply. */
14718 /* The GNU C library defines this for functions which it implements
14719 to always fail with ENOSYS. Some functions are actually named
14720 something starting with __ and the normal name is an alias. */
14721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14724 char (*f) () = $ac_func;
14733 return f != $ac_func;
14738 rm -f conftest.$ac_objext conftest$ac_exeext
14739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14740 (eval $ac_link) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -s conftest$ac_exeext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 eval "$as_ac_var=yes"
14752 echo "$as_me: failed program was:" >&5
14753 sed 's/^/| /' conftest.$ac_ext >&5
14755 eval "$as_ac_var=no"
14757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14761 if test `eval echo '${'$as_ac_var'}'` = yes; then
14762 cat >>confdefs.h <<_ACEOF
14763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14771 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14772 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14773 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14774 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 ac_cpp='$CXXCPP $CPPFLAGS'
14782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14786 cat >conftest.$ac_ext <<_ACEOF
14787 #line $LINENO "configure"
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14802 rm -f conftest.$ac_objext
14803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14804 (eval $ac_compile) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try='test -s conftest.$ac_objext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 glibcxx_cv_func__powf_use=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 glibcxx_cv_func__powf_use=no
14821 rm -f conftest.$ac_objext conftest.$ac_ext
14823 ac_cpp='$CPP $CPPFLAGS'
14824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14832 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14833 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14835 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14837 for ac_func in _powf
14839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14840 echo "$as_me:$LINENO: checking for $ac_func" >&5
14841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14842 if eval "test \"\${$as_ac_var+set}\" = set"; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14845 if test x$gcc_no_link = xyes; then
14846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14848 { (exit 1); exit 1; }; }
14850 cat >conftest.$ac_ext <<_ACEOF
14851 #line $LINENO "configure"
14854 cat confdefs.h >>conftest.$ac_ext
14855 cat >>conftest.$ac_ext <<_ACEOF
14856 /* end confdefs.h. */
14857 /* System header to define __stub macros and hopefully few prototypes,
14858 which can conflict with char $ac_func (); below.
14859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14860 <limits.h> exists even on freestanding compilers. */
14862 # include <limits.h>
14864 # include <assert.h>
14866 /* Override any gcc2 internal prototype to avoid an error. */
14871 /* We use char because int might match the return type of a gcc2
14872 builtin and then its argument prototype would still apply. */
14874 /* The GNU C library defines this for functions which it implements
14875 to always fail with ENOSYS. Some functions are actually named
14876 something starting with __ and the normal name is an alias. */
14877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14880 char (*f) () = $ac_func;
14889 return f != $ac_func;
14894 rm -f conftest.$ac_objext conftest$ac_exeext
14895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14896 (eval $ac_link) 2>&5
14898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14899 (exit $ac_status); } &&
14900 { ac_try='test -s conftest$ac_exeext'
14901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14902 (eval $ac_try) 2>&5
14904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14905 (exit $ac_status); }; }; then
14906 eval "$as_ac_var=yes"
14908 echo "$as_me: failed program was:" >&5
14909 sed 's/^/| /' conftest.$ac_ext >&5
14911 eval "$as_ac_var=no"
14913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14917 if test `eval echo '${'$as_ac_var'}'` = yes; then
14918 cat >>confdefs.h <<_ACEOF
14919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14930 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14931 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14932 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14933 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14945 cat >conftest.$ac_ext <<_ACEOF
14946 #line $LINENO "configure"
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14953 #ifdef HAVE_IEEEFP_H
14954 #include <ieeefp.h>
14965 rm -f conftest.$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } &&
14971 { ac_try='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 glibcxx_cv_func_sqrtf_use=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 glibcxx_cv_func_sqrtf_use=no
14984 rm -f conftest.$ac_objext conftest.$ac_ext
14986 ac_cpp='$CPP $CPPFLAGS'
14987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14996 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14998 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
15000 for ac_func in sqrtf
15002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15003 echo "$as_me:$LINENO: checking for $ac_func" >&5
15004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15005 if eval "test \"\${$as_ac_var+set}\" = set"; then
15006 echo $ECHO_N "(cached) $ECHO_C" >&6
15008 if test x$gcc_no_link = xyes; then
15009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15011 { (exit 1); exit 1; }; }
15013 cat >conftest.$ac_ext <<_ACEOF
15014 #line $LINENO "configure"
15017 cat confdefs.h >>conftest.$ac_ext
15018 cat >>conftest.$ac_ext <<_ACEOF
15019 /* end confdefs.h. */
15020 /* System header to define __stub macros and hopefully few prototypes,
15021 which can conflict with char $ac_func (); below.
15022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15023 <limits.h> exists even on freestanding compilers. */
15025 # include <limits.h>
15027 # include <assert.h>
15029 /* Override any gcc2 internal prototype to avoid an error. */
15034 /* We use char because int might match the return type of a gcc2
15035 builtin and then its argument prototype would still apply. */
15037 /* The GNU C library defines this for functions which it implements
15038 to always fail with ENOSYS. Some functions are actually named
15039 something starting with __ and the normal name is an alias. */
15040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15043 char (*f) () = $ac_func;
15052 return f != $ac_func;
15057 rm -f conftest.$ac_objext conftest$ac_exeext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15059 (eval $ac_link) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); } &&
15063 { ac_try='test -s conftest$ac_exeext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 eval "$as_ac_var=yes"
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15074 eval "$as_ac_var=no"
15076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15079 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15080 if test `eval echo '${'$as_ac_var'}'` = yes; then
15081 cat >>confdefs.h <<_ACEOF
15082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15090 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15091 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15092 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15093 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15094 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15105 cat >conftest.$ac_ext <<_ACEOF
15106 #line $LINENO "configure"
15109 cat confdefs.h >>conftest.$ac_ext
15110 cat >>conftest.$ac_ext <<_ACEOF
15111 /* end confdefs.h. */
15113 #ifdef HAVE_IEEEFP_H
15114 #include <ieeefp.h>
15125 rm -f conftest.$ac_objext
15126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15127 (eval $ac_compile) 2>&5
15129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15130 (exit $ac_status); } &&
15131 { ac_try='test -s conftest.$ac_objext'
15132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15133 (eval $ac_try) 2>&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); }; }; then
15137 glibcxx_cv_func__sqrtf_use=yes
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.$ac_ext >&5
15142 glibcxx_cv_func__sqrtf_use=no
15144 rm -f conftest.$ac_objext conftest.$ac_ext
15146 ac_cpp='$CPP $CPPFLAGS'
15147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15156 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15158 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15160 for ac_func in _sqrtf
15162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15163 echo "$as_me:$LINENO: checking for $ac_func" >&5
15164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15165 if eval "test \"\${$as_ac_var+set}\" = set"; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 if test x$gcc_no_link = xyes; then
15169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15171 { (exit 1); exit 1; }; }
15173 cat >conftest.$ac_ext <<_ACEOF
15174 #line $LINENO "configure"
15177 cat confdefs.h >>conftest.$ac_ext
15178 cat >>conftest.$ac_ext <<_ACEOF
15179 /* end confdefs.h. */
15180 /* System header to define __stub macros and hopefully few prototypes,
15181 which can conflict with char $ac_func (); below.
15182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15183 <limits.h> exists even on freestanding compilers. */
15185 # include <limits.h>
15187 # include <assert.h>
15189 /* Override any gcc2 internal prototype to avoid an error. */
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15197 /* The GNU C library defines this for functions which it implements
15198 to always fail with ENOSYS. Some functions are actually named
15199 something starting with __ and the normal name is an alias. */
15200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15203 char (*f) () = $ac_func;
15212 return f != $ac_func;
15217 rm -f conftest.$ac_objext conftest$ac_exeext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15219 (eval $ac_link) 2>&5
15221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15222 (exit $ac_status); } &&
15223 { ac_try='test -s conftest$ac_exeext'
15224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15225 (eval $ac_try) 2>&5
15227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15228 (exit $ac_status); }; }; then
15229 eval "$as_ac_var=yes"
15231 echo "$as_me: failed program was:" >&5
15232 sed 's/^/| /' conftest.$ac_ext >&5
15234 eval "$as_ac_var=no"
15236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15240 if test `eval echo '${'$as_ac_var'}'` = yes; then
15241 cat >>confdefs.h <<_ACEOF
15242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15253 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15254 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15255 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15256 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15268 cat >conftest.$ac_ext <<_ACEOF
15269 #line $LINENO "configure"
15272 cat confdefs.h >>conftest.$ac_ext
15273 cat >>conftest.$ac_ext <<_ACEOF
15274 /* end confdefs.h. */
15284 rm -f conftest.$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286 (eval $ac_compile) 2>&5
15288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15289 (exit $ac_status); } &&
15290 { ac_try='test -s conftest.$ac_objext'
15291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15292 (eval $ac_try) 2>&5
15294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15295 (exit $ac_status); }; }; then
15296 glibcxx_cv_func_sincosf_use=yes
15298 echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15301 glibcxx_cv_func_sincosf_use=no
15303 rm -f conftest.$ac_objext conftest.$ac_ext
15305 ac_cpp='$CPP $CPPFLAGS'
15306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15314 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15315 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15317 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15319 for ac_func in sincosf
15321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15322 echo "$as_me:$LINENO: checking for $ac_func" >&5
15323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15324 if eval "test \"\${$as_ac_var+set}\" = set"; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 if test x$gcc_no_link = xyes; then
15328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15330 { (exit 1); exit 1; }; }
15332 cat >conftest.$ac_ext <<_ACEOF
15333 #line $LINENO "configure"
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 /* System header to define __stub macros and hopefully few prototypes,
15340 which can conflict with char $ac_func (); below.
15341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15342 <limits.h> exists even on freestanding compilers. */
15344 # include <limits.h>
15346 # include <assert.h>
15348 /* Override any gcc2 internal prototype to avoid an error. */
15353 /* We use char because int might match the return type of a gcc2
15354 builtin and then its argument prototype would still apply. */
15356 /* The GNU C library defines this for functions which it implements
15357 to always fail with ENOSYS. Some functions are actually named
15358 something starting with __ and the normal name is an alias. */
15359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15362 char (*f) () = $ac_func;
15371 return f != $ac_func;
15376 rm -f conftest.$ac_objext conftest$ac_exeext
15377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15378 (eval $ac_link) 2>&5
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); } &&
15382 { ac_try='test -s conftest$ac_exeext'
15383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15384 (eval $ac_try) 2>&5
15386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15387 (exit $ac_status); }; }; then
15388 eval "$as_ac_var=yes"
15390 echo "$as_me: failed program was:" >&5
15391 sed 's/^/| /' conftest.$ac_ext >&5
15393 eval "$as_ac_var=no"
15395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15399 if test `eval echo '${'$as_ac_var'}'` = yes; then
15400 cat >>confdefs.h <<_ACEOF
15401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15409 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15410 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15411 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15412 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 ac_cpp='$CXXCPP $CPPFLAGS'
15420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15424 cat >conftest.$ac_ext <<_ACEOF
15425 #line $LINENO "configure"
15428 cat confdefs.h >>conftest.$ac_ext
15429 cat >>conftest.$ac_ext <<_ACEOF
15430 /* end confdefs.h. */
15440 rm -f conftest.$ac_objext
15441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15442 (eval $ac_compile) 2>&5
15444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15445 (exit $ac_status); } &&
15446 { ac_try='test -s conftest.$ac_objext'
15447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15448 (eval $ac_try) 2>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); }; }; then
15452 glibcxx_cv_func__sincosf_use=yes
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15457 glibcxx_cv_func__sincosf_use=no
15459 rm -f conftest.$ac_objext conftest.$ac_ext
15461 ac_cpp='$CPP $CPPFLAGS'
15462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15471 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15473 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15475 for ac_func in _sincosf
15477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15478 echo "$as_me:$LINENO: checking for $ac_func" >&5
15479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15480 if eval "test \"\${$as_ac_var+set}\" = set"; then
15481 echo $ECHO_N "(cached) $ECHO_C" >&6
15483 if test x$gcc_no_link = xyes; then
15484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15486 { (exit 1); exit 1; }; }
15488 cat >conftest.$ac_ext <<_ACEOF
15489 #line $LINENO "configure"
15492 cat confdefs.h >>conftest.$ac_ext
15493 cat >>conftest.$ac_ext <<_ACEOF
15494 /* end confdefs.h. */
15495 /* System header to define __stub macros and hopefully few prototypes,
15496 which can conflict with char $ac_func (); below.
15497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15498 <limits.h> exists even on freestanding compilers. */
15500 # include <limits.h>
15502 # include <assert.h>
15504 /* Override any gcc2 internal prototype to avoid an error. */
15509 /* We use char because int might match the return type of a gcc2
15510 builtin and then its argument prototype would still apply. */
15512 /* The GNU C library defines this for functions which it implements
15513 to always fail with ENOSYS. Some functions are actually named
15514 something starting with __ and the normal name is an alias. */
15515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15518 char (*f) () = $ac_func;
15527 return f != $ac_func;
15532 rm -f conftest.$ac_objext conftest$ac_exeext
15533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15534 (eval $ac_link) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } &&
15538 { ac_try='test -s conftest$ac_exeext'
15539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15540 (eval $ac_try) 2>&5
15542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15543 (exit $ac_status); }; }; then
15544 eval "$as_ac_var=yes"
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15549 eval "$as_ac_var=no"
15551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15555 if test `eval echo '${'$as_ac_var'}'` = yes; then
15556 cat >>confdefs.h <<_ACEOF
15557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15568 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15569 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15570 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15571 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15578 ac_cpp='$CXXCPP $CPPFLAGS'
15579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15583 cat >conftest.$ac_ext <<_ACEOF
15584 #line $LINENO "configure"
15587 cat confdefs.h >>conftest.$ac_ext
15588 cat >>conftest.$ac_ext <<_ACEOF
15589 /* end confdefs.h. */
15591 #ifdef HAVE_IEEEFP_H
15592 #include <ieeefp.h>
15603 rm -f conftest.$ac_objext
15604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15605 (eval $ac_compile) 2>&5
15607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608 (exit $ac_status); } &&
15609 { ac_try='test -s conftest.$ac_objext'
15610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15611 (eval $ac_try) 2>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); }; }; then
15615 glibcxx_cv_func_finitef_use=yes
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.$ac_ext >&5
15620 glibcxx_cv_func_finitef_use=no
15622 rm -f conftest.$ac_objext conftest.$ac_ext
15624 ac_cpp='$CPP $CPPFLAGS'
15625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15633 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15634 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15636 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15638 for ac_func in finitef
15640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15641 echo "$as_me:$LINENO: checking for $ac_func" >&5
15642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15643 if eval "test \"\${$as_ac_var+set}\" = set"; then
15644 echo $ECHO_N "(cached) $ECHO_C" >&6
15646 if test x$gcc_no_link = xyes; then
15647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15649 { (exit 1); exit 1; }; }
15651 cat >conftest.$ac_ext <<_ACEOF
15652 #line $LINENO "configure"
15655 cat confdefs.h >>conftest.$ac_ext
15656 cat >>conftest.$ac_ext <<_ACEOF
15657 /* end confdefs.h. */
15658 /* System header to define __stub macros and hopefully few prototypes,
15659 which can conflict with char $ac_func (); below.
15660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15661 <limits.h> exists even on freestanding compilers. */
15663 # include <limits.h>
15665 # include <assert.h>
15667 /* Override any gcc2 internal prototype to avoid an error. */
15672 /* We use char because int might match the return type of a gcc2
15673 builtin and then its argument prototype would still apply. */
15675 /* The GNU C library defines this for functions which it implements
15676 to always fail with ENOSYS. Some functions are actually named
15677 something starting with __ and the normal name is an alias. */
15678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15681 char (*f) () = $ac_func;
15690 return f != $ac_func;
15695 rm -f conftest.$ac_objext conftest$ac_exeext
15696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15697 (eval $ac_link) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); } &&
15701 { ac_try='test -s conftest$ac_exeext'
15702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15703 (eval $ac_try) 2>&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); }; }; then
15707 eval "$as_ac_var=yes"
15709 echo "$as_me: failed program was:" >&5
15710 sed 's/^/| /' conftest.$ac_ext >&5
15712 eval "$as_ac_var=no"
15714 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15718 if test `eval echo '${'$as_ac_var'}'` = yes; then
15719 cat >>confdefs.h <<_ACEOF
15720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15728 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15729 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15730 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15731 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15732 echo $ECHO_N "(cached) $ECHO_C" >&6
15738 ac_cpp='$CXXCPP $CPPFLAGS'
15739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15743 cat >conftest.$ac_ext <<_ACEOF
15744 #line $LINENO "configure"
15747 cat confdefs.h >>conftest.$ac_ext
15748 cat >>conftest.$ac_ext <<_ACEOF
15749 /* end confdefs.h. */
15751 #ifdef HAVE_IEEEFP_H
15752 #include <ieeefp.h>
15763 rm -f conftest.$ac_objext
15764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15765 (eval $ac_compile) 2>&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -s conftest.$ac_objext'
15770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15771 (eval $ac_try) 2>&5
15773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15774 (exit $ac_status); }; }; then
15775 glibcxx_cv_func__finitef_use=yes
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15780 glibcxx_cv_func__finitef_use=no
15782 rm -f conftest.$ac_objext conftest.$ac_ext
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15794 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15796 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15798 for ac_func in _finitef
15800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15801 echo "$as_me:$LINENO: checking for $ac_func" >&5
15802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15803 if eval "test \"\${$as_ac_var+set}\" = set"; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15806 if test x$gcc_no_link = xyes; then
15807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15809 { (exit 1); exit 1; }; }
15811 cat >conftest.$ac_ext <<_ACEOF
15812 #line $LINENO "configure"
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char $ac_func (); below.
15820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15821 <limits.h> exists even on freestanding compilers. */
15823 # include <limits.h>
15825 # include <assert.h>
15827 /* Override any gcc2 internal prototype to avoid an error. */
15832 /* We use char because int might match the return type of a gcc2
15833 builtin and then its argument prototype would still apply. */
15835 /* The GNU C library defines this for functions which it implements
15836 to always fail with ENOSYS. Some functions are actually named
15837 something starting with __ and the normal name is an alias. */
15838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15841 char (*f) () = $ac_func;
15850 return f != $ac_func;
15855 rm -f conftest.$ac_objext conftest$ac_exeext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15857 (eval $ac_link) 2>&5
15859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15860 (exit $ac_status); } &&
15861 { ac_try='test -s conftest$ac_exeext'
15862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15863 (eval $ac_try) 2>&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); }; }; then
15867 eval "$as_ac_var=yes"
15869 echo "$as_me: failed program was:" >&5
15870 sed 's/^/| /' conftest.$ac_ext >&5
15872 eval "$as_ac_var=no"
15874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15878 if test `eval echo '${'$as_ac_var'}'` = yes; then
15879 cat >>confdefs.h <<_ACEOF
15880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15891 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15892 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15893 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15894 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15905 cat >conftest.$ac_ext <<_ACEOF
15906 #line $LINENO "configure"
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15916 `for x in acosl asinl atanl \
15918 coshl sinhl tanhl; do echo "$x (0);"; done`
15923 rm -f conftest.$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>&5
15927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15928 (exit $ac_status); } &&
15929 { ac_try='test -s conftest.$ac_objext'
15930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931 (eval $ac_try) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; }; then
15935 glibcxx_cv_func_long_double_trig_use=yes
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15940 glibcxx_cv_func_long_double_trig_use=no
15942 rm -f conftest.$ac_objext conftest.$ac_ext
15944 ac_cpp='$CPP $CPPFLAGS'
15945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15952 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15953 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15963 for ac_func in acosl asinl atanl \
15967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15968 echo "$as_me:$LINENO: checking for $ac_func" >&5
15969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15970 if eval "test \"\${$as_ac_var+set}\" = set"; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15973 if test x$gcc_no_link = xyes; then
15974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15976 { (exit 1); exit 1; }; }
15978 cat >conftest.$ac_ext <<_ACEOF
15979 #line $LINENO "configure"
15982 cat confdefs.h >>conftest.$ac_ext
15983 cat >>conftest.$ac_ext <<_ACEOF
15984 /* end confdefs.h. */
15985 /* System header to define __stub macros and hopefully few prototypes,
15986 which can conflict with char $ac_func (); below.
15987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15988 <limits.h> exists even on freestanding compilers. */
15990 # include <limits.h>
15992 # include <assert.h>
15994 /* Override any gcc2 internal prototype to avoid an error. */
15999 /* We use char because int might match the return type of a gcc2
16000 builtin and then its argument prototype would still apply. */
16002 /* The GNU C library defines this for functions which it implements
16003 to always fail with ENOSYS. Some functions are actually named
16004 something starting with __ and the normal name is an alias. */
16005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16008 char (*f) () = $ac_func;
16017 return f != $ac_func;
16022 rm -f conftest.$ac_objext conftest$ac_exeext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16024 (eval $ac_link) 2>&5
16026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16027 (exit $ac_status); } &&
16028 { ac_try='test -s conftest$ac_exeext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 eval "$as_ac_var=yes"
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16039 eval "$as_ac_var=no"
16041 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16045 if test `eval echo '${'$as_ac_var'}'` = yes; then
16046 cat >>confdefs.h <<_ACEOF
16047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16056 echo "$as_me:$LINENO: checking for long double round functions" >&5
16057 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16058 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16059 echo $ECHO_N "(cached) $ECHO_C" >&6
16065 ac_cpp='$CXXCPP $CPPFLAGS'
16066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16070 cat >conftest.$ac_ext <<_ACEOF
16071 #line $LINENO "configure"
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16081 `for x in ceill floorl; do echo "$x (0);"; done`
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>&5
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); } &&
16092 { ac_try='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16098 glibcxx_cv_func_long_double_round_use=yes
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16103 glibcxx_cv_func_long_double_round_use=no
16105 rm -f conftest.$ac_objext conftest.$ac_ext
16107 ac_cpp='$CPP $CPPFLAGS'
16108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16114 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16115 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16116 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16119 for ac_func in ceill floorl
16121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16122 echo "$as_me:$LINENO: checking for $ac_func" >&5
16123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16124 if eval "test \"\${$as_ac_var+set}\" = set"; then
16125 echo $ECHO_N "(cached) $ECHO_C" >&6
16127 if test x$gcc_no_link = xyes; then
16128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16130 { (exit 1); exit 1; }; }
16132 cat >conftest.$ac_ext <<_ACEOF
16133 #line $LINENO "configure"
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 /* System header to define __stub macros and hopefully few prototypes,
16140 which can conflict with char $ac_func (); below.
16141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16142 <limits.h> exists even on freestanding compilers. */
16144 # include <limits.h>
16146 # include <assert.h>
16148 /* Override any gcc2 internal prototype to avoid an error. */
16153 /* We use char because int might match the return type of a gcc2
16154 builtin and then its argument prototype would still apply. */
16156 /* The GNU C library defines this for functions which it implements
16157 to always fail with ENOSYS. Some functions are actually named
16158 something starting with __ and the normal name is an alias. */
16159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16162 char (*f) () = $ac_func;
16171 return f != $ac_func;
16176 rm -f conftest.$ac_objext conftest$ac_exeext
16177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16178 (eval $ac_link) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); } &&
16182 { ac_try='test -s conftest$ac_exeext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 eval "$as_ac_var=yes"
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16193 eval "$as_ac_var=no"
16195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16199 if test `eval echo '${'$as_ac_var'}'` = yes; then
16200 cat >>confdefs.h <<_ACEOF
16201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16211 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16212 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16213 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16214 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16215 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 ac_cpp='$CXXCPP $CPPFLAGS'
16222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16226 cat >conftest.$ac_ext <<_ACEOF
16227 #line $LINENO "configure"
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16234 #ifdef HAVE_IEEEFP_H
16235 #include <ieeefp.h>
16246 rm -f conftest.$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248 (eval $ac_compile) 2>&5
16250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16251 (exit $ac_status); } &&
16252 { ac_try='test -s conftest.$ac_objext'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; }; then
16258 glibcxx_cv_func_isnanl_use=yes
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 glibcxx_cv_func_isnanl_use=no
16265 rm -f conftest.$ac_objext conftest.$ac_ext
16267 ac_cpp='$CPP $CPPFLAGS'
16268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16277 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16279 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16281 for ac_func in isnanl
16283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16284 echo "$as_me:$LINENO: checking for $ac_func" >&5
16285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16286 if eval "test \"\${$as_ac_var+set}\" = set"; then
16287 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 if test x$gcc_no_link = xyes; then
16290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16292 { (exit 1); exit 1; }; }
16294 cat >conftest.$ac_ext <<_ACEOF
16295 #line $LINENO "configure"
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301 /* System header to define __stub macros and hopefully few prototypes,
16302 which can conflict with char $ac_func (); below.
16303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16304 <limits.h> exists even on freestanding compilers. */
16306 # include <limits.h>
16308 # include <assert.h>
16310 /* Override any gcc2 internal prototype to avoid an error. */
16315 /* We use char because int might match the return type of a gcc2
16316 builtin and then its argument prototype would still apply. */
16318 /* The GNU C library defines this for functions which it implements
16319 to always fail with ENOSYS. Some functions are actually named
16320 something starting with __ and the normal name is an alias. */
16321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16324 char (*f) () = $ac_func;
16333 return f != $ac_func;
16338 rm -f conftest.$ac_objext conftest$ac_exeext
16339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16340 (eval $ac_link) 2>&5
16342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343 (exit $ac_status); } &&
16344 { ac_try='test -s conftest$ac_exeext'
16345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346 (eval $ac_try) 2>&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); }; }; then
16350 eval "$as_ac_var=yes"
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16355 eval "$as_ac_var=no"
16357 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16361 if test `eval echo '${'$as_ac_var'}'` = yes; then
16362 cat >>confdefs.h <<_ACEOF
16363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16371 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16372 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16373 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16374 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16375 echo $ECHO_N "(cached) $ECHO_C" >&6
16381 ac_cpp='$CXXCPP $CPPFLAGS'
16382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16386 cat >conftest.$ac_ext <<_ACEOF
16387 #line $LINENO "configure"
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16394 #ifdef HAVE_IEEEFP_H
16395 #include <ieeefp.h>
16406 rm -f conftest.$ac_objext
16407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16408 (eval $ac_compile) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16418 glibcxx_cv_func__isnanl_use=yes
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16423 glibcxx_cv_func__isnanl_use=no
16425 rm -f conftest.$ac_objext conftest.$ac_ext
16427 ac_cpp='$CPP $CPPFLAGS'
16428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16437 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16439 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16441 for ac_func in _isnanl
16443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16444 echo "$as_me:$LINENO: checking for $ac_func" >&5
16445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16446 if eval "test \"\${$as_ac_var+set}\" = set"; then
16447 echo $ECHO_N "(cached) $ECHO_C" >&6
16449 if test x$gcc_no_link = xyes; then
16450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16452 { (exit 1); exit 1; }; }
16454 cat >conftest.$ac_ext <<_ACEOF
16455 #line $LINENO "configure"
16458 cat confdefs.h >>conftest.$ac_ext
16459 cat >>conftest.$ac_ext <<_ACEOF
16460 /* end confdefs.h. */
16461 /* System header to define __stub macros and hopefully few prototypes,
16462 which can conflict with char $ac_func (); below.
16463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16464 <limits.h> exists even on freestanding compilers. */
16466 # include <limits.h>
16468 # include <assert.h>
16470 /* Override any gcc2 internal prototype to avoid an error. */
16475 /* We use char because int might match the return type of a gcc2
16476 builtin and then its argument prototype would still apply. */
16478 /* The GNU C library defines this for functions which it implements
16479 to always fail with ENOSYS. Some functions are actually named
16480 something starting with __ and the normal name is an alias. */
16481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16484 char (*f) () = $ac_func;
16493 return f != $ac_func;
16498 rm -f conftest.$ac_objext conftest$ac_exeext
16499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16500 (eval $ac_link) 2>&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try='test -s conftest$ac_exeext'
16505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16506 (eval $ac_try) 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; }; then
16510 eval "$as_ac_var=yes"
16512 echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16515 eval "$as_ac_var=no"
16517 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16521 if test `eval echo '${'$as_ac_var'}'` = yes; then
16522 cat >>confdefs.h <<_ACEOF
16523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16534 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16535 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16536 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16537 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 ac_cpp='$CXXCPP $CPPFLAGS'
16545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16549 cat >conftest.$ac_ext <<_ACEOF
16550 #line $LINENO "configure"
16553 cat confdefs.h >>conftest.$ac_ext
16554 cat >>conftest.$ac_ext <<_ACEOF
16555 /* end confdefs.h. */
16557 #ifdef HAVE_IEEEFP_H
16558 #include <ieeefp.h>
16569 rm -f conftest.$ac_objext
16570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16571 (eval $ac_compile) 2>&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } &&
16575 { ac_try='test -s conftest.$ac_objext'
16576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16577 (eval $ac_try) 2>&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); }; }; then
16581 glibcxx_cv_func_isinfl_use=yes
16583 echo "$as_me: failed program was:" >&5
16584 sed 's/^/| /' conftest.$ac_ext >&5
16586 glibcxx_cv_func_isinfl_use=no
16588 rm -f conftest.$ac_objext conftest.$ac_ext
16590 ac_cpp='$CPP $CPPFLAGS'
16591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16599 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16600 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16602 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16604 for ac_func in isinfl
16606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16607 echo "$as_me:$LINENO: checking for $ac_func" >&5
16608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16609 if eval "test \"\${$as_ac_var+set}\" = set"; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 if test x$gcc_no_link = xyes; then
16613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16615 { (exit 1); exit 1; }; }
16617 cat >conftest.$ac_ext <<_ACEOF
16618 #line $LINENO "configure"
16621 cat confdefs.h >>conftest.$ac_ext
16622 cat >>conftest.$ac_ext <<_ACEOF
16623 /* end confdefs.h. */
16624 /* System header to define __stub macros and hopefully few prototypes,
16625 which can conflict with char $ac_func (); below.
16626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16627 <limits.h> exists even on freestanding compilers. */
16629 # include <limits.h>
16631 # include <assert.h>
16633 /* Override any gcc2 internal prototype to avoid an error. */
16638 /* We use char because int might match the return type of a gcc2
16639 builtin and then its argument prototype would still apply. */
16641 /* The GNU C library defines this for functions which it implements
16642 to always fail with ENOSYS. Some functions are actually named
16643 something starting with __ and the normal name is an alias. */
16644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16647 char (*f) () = $ac_func;
16656 return f != $ac_func;
16661 rm -f conftest.$ac_objext conftest$ac_exeext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16663 (eval $ac_link) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } &&
16667 { ac_try='test -s conftest$ac_exeext'
16668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16669 (eval $ac_try) 2>&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); }; }; then
16673 eval "$as_ac_var=yes"
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16678 eval "$as_ac_var=no"
16680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16684 if test `eval echo '${'$as_ac_var'}'` = yes; then
16685 cat >>confdefs.h <<_ACEOF
16686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16694 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16695 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16696 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16697 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16704 ac_cpp='$CXXCPP $CPPFLAGS'
16705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16709 cat >conftest.$ac_ext <<_ACEOF
16710 #line $LINENO "configure"
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h. */
16717 #ifdef HAVE_IEEEFP_H
16718 #include <ieeefp.h>
16729 rm -f conftest.$ac_objext
16730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16731 (eval $ac_compile) 2>&5
16733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16734 (exit $ac_status); } &&
16735 { ac_try='test -s conftest.$ac_objext'
16736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16737 (eval $ac_try) 2>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); }; }; then
16741 glibcxx_cv_func__isinfl_use=yes
16743 echo "$as_me: failed program was:" >&5
16744 sed 's/^/| /' conftest.$ac_ext >&5
16746 glibcxx_cv_func__isinfl_use=no
16748 rm -f conftest.$ac_objext conftest.$ac_ext
16750 ac_cpp='$CPP $CPPFLAGS'
16751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16759 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16760 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16762 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16764 for ac_func in _isinfl
16766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16767 echo "$as_me:$LINENO: checking for $ac_func" >&5
16768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16769 if eval "test \"\${$as_ac_var+set}\" = set"; then
16770 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 if test x$gcc_no_link = xyes; then
16773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16775 { (exit 1); exit 1; }; }
16777 cat >conftest.$ac_ext <<_ACEOF
16778 #line $LINENO "configure"
16781 cat confdefs.h >>conftest.$ac_ext
16782 cat >>conftest.$ac_ext <<_ACEOF
16783 /* end confdefs.h. */
16784 /* System header to define __stub macros and hopefully few prototypes,
16785 which can conflict with char $ac_func (); below.
16786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16787 <limits.h> exists even on freestanding compilers. */
16789 # include <limits.h>
16791 # include <assert.h>
16793 /* Override any gcc2 internal prototype to avoid an error. */
16798 /* We use char because int might match the return type of a gcc2
16799 builtin and then its argument prototype would still apply. */
16801 /* The GNU C library defines this for functions which it implements
16802 to always fail with ENOSYS. Some functions are actually named
16803 something starting with __ and the normal name is an alias. */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16807 char (*f) () = $ac_func;
16816 return f != $ac_func;
16821 rm -f conftest.$ac_objext conftest$ac_exeext
16822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16823 (eval $ac_link) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } &&
16827 { ac_try='test -s conftest$ac_exeext'
16828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16829 (eval $ac_try) 2>&5
16831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16832 (exit $ac_status); }; }; then
16833 eval "$as_ac_var=yes"
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 eval "$as_ac_var=no"
16840 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16844 if test `eval echo '${'$as_ac_var'}'` = yes; then
16845 cat >>confdefs.h <<_ACEOF
16846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16857 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16858 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16859 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16860 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 ac_cpp='$CXXCPP $CPPFLAGS'
16868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16872 cat >conftest.$ac_ext <<_ACEOF
16873 #line $LINENO "configure"
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16888 rm -f conftest.$ac_objext
16889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16890 (eval $ac_compile) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); } &&
16894 { ac_try='test -s conftest.$ac_objext'
16895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16896 (eval $ac_try) 2>&5
16898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16899 (exit $ac_status); }; }; then
16900 glibcxx_cv_func_copysignl_use=yes
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16905 glibcxx_cv_func_copysignl_use=no
16907 rm -f conftest.$ac_objext conftest.$ac_ext
16909 ac_cpp='$CPP $CPPFLAGS'
16910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16919 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16921 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16923 for ac_func in copysignl
16925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16926 echo "$as_me:$LINENO: checking for $ac_func" >&5
16927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16928 if eval "test \"\${$as_ac_var+set}\" = set"; then
16929 echo $ECHO_N "(cached) $ECHO_C" >&6
16931 if test x$gcc_no_link = xyes; then
16932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16934 { (exit 1); exit 1; }; }
16936 cat >conftest.$ac_ext <<_ACEOF
16937 #line $LINENO "configure"
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16943 /* System header to define __stub macros and hopefully few prototypes,
16944 which can conflict with char $ac_func (); below.
16945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16946 <limits.h> exists even on freestanding compilers. */
16948 # include <limits.h>
16950 # include <assert.h>
16952 /* Override any gcc2 internal prototype to avoid an error. */
16957 /* We use char because int might match the return type of a gcc2
16958 builtin and then its argument prototype would still apply. */
16960 /* The GNU C library defines this for functions which it implements
16961 to always fail with ENOSYS. Some functions are actually named
16962 something starting with __ and the normal name is an alias. */
16963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16966 char (*f) () = $ac_func;
16975 return f != $ac_func;
16980 rm -f conftest.$ac_objext conftest$ac_exeext
16981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16982 (eval $ac_link) 2>&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -s conftest$ac_exeext'
16987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16988 (eval $ac_try) 2>&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); }; }; then
16992 eval "$as_ac_var=yes"
16994 echo "$as_me: failed program was:" >&5
16995 sed 's/^/| /' conftest.$ac_ext >&5
16997 eval "$as_ac_var=no"
16999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17003 if test `eval echo '${'$as_ac_var'}'` = yes; then
17004 cat >>confdefs.h <<_ACEOF
17005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17013 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
17014 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17015 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17016 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17023 ac_cpp='$CXXCPP $CPPFLAGS'
17024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17028 cat >conftest.$ac_ext <<_ACEOF
17029 #line $LINENO "configure"
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17044 rm -f conftest.$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } &&
17050 { ac_try='test -s conftest.$ac_objext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 glibcxx_cv_func__copysignl_use=yes
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17061 glibcxx_cv_func__copysignl_use=no
17063 rm -f conftest.$ac_objext conftest.$ac_ext
17065 ac_cpp='$CPP $CPPFLAGS'
17066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17075 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17077 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17079 for ac_func in _copysignl
17081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17082 echo "$as_me:$LINENO: checking for $ac_func" >&5
17083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17084 if eval "test \"\${$as_ac_var+set}\" = set"; then
17085 echo $ECHO_N "(cached) $ECHO_C" >&6
17087 if test x$gcc_no_link = xyes; then
17088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17090 { (exit 1); exit 1; }; }
17092 cat >conftest.$ac_ext <<_ACEOF
17093 #line $LINENO "configure"
17096 cat confdefs.h >>conftest.$ac_ext
17097 cat >>conftest.$ac_ext <<_ACEOF
17098 /* end confdefs.h. */
17099 /* System header to define __stub macros and hopefully few prototypes,
17100 which can conflict with char $ac_func (); below.
17101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17102 <limits.h> exists even on freestanding compilers. */
17104 # include <limits.h>
17106 # include <assert.h>
17108 /* Override any gcc2 internal prototype to avoid an error. */
17113 /* We use char because int might match the return type of a gcc2
17114 builtin and then its argument prototype would still apply. */
17116 /* The GNU C library defines this for functions which it implements
17117 to always fail with ENOSYS. Some functions are actually named
17118 something starting with __ and the normal name is an alias. */
17119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17122 char (*f) () = $ac_func;
17131 return f != $ac_func;
17136 rm -f conftest.$ac_objext conftest$ac_exeext
17137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17138 (eval $ac_link) 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -s conftest$ac_exeext'
17143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17144 (eval $ac_try) 2>&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); }; }; then
17148 eval "$as_ac_var=yes"
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17153 eval "$as_ac_var=no"
17155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17159 if test `eval echo '${'$as_ac_var'}'` = yes; then
17160 cat >>confdefs.h <<_ACEOF
17161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17172 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17173 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17174 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17175 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17176 echo $ECHO_N "(cached) $ECHO_C" >&6
17182 ac_cpp='$CXXCPP $CPPFLAGS'
17183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17187 cat >conftest.$ac_ext <<_ACEOF
17188 #line $LINENO "configure"
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17203 rm -f conftest.$ac_objext
17204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17205 (eval $ac_compile) 2>&5
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); } &&
17209 { ac_try='test -s conftest.$ac_objext'
17210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17211 (eval $ac_try) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); }; }; then
17215 glibcxx_cv_func_atan2l_use=yes
17217 echo "$as_me: failed program was:" >&5
17218 sed 's/^/| /' conftest.$ac_ext >&5
17220 glibcxx_cv_func_atan2l_use=no
17222 rm -f conftest.$ac_objext conftest.$ac_ext
17224 ac_cpp='$CPP $CPPFLAGS'
17225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17234 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17236 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17238 for ac_func in atan2l
17240 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17241 echo "$as_me:$LINENO: checking for $ac_func" >&5
17242 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17243 if eval "test \"\${$as_ac_var+set}\" = set"; then
17244 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 if test x$gcc_no_link = xyes; then
17247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17249 { (exit 1); exit 1; }; }
17251 cat >conftest.$ac_ext <<_ACEOF
17252 #line $LINENO "configure"
17255 cat confdefs.h >>conftest.$ac_ext
17256 cat >>conftest.$ac_ext <<_ACEOF
17257 /* end confdefs.h. */
17258 /* System header to define __stub macros and hopefully few prototypes,
17259 which can conflict with char $ac_func (); below.
17260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17261 <limits.h> exists even on freestanding compilers. */
17263 # include <limits.h>
17265 # include <assert.h>
17267 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17275 /* The GNU C library defines this for functions which it implements
17276 to always fail with ENOSYS. Some functions are actually named
17277 something starting with __ and the normal name is an alias. */
17278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17281 char (*f) () = $ac_func;
17290 return f != $ac_func;
17295 rm -f conftest.$ac_objext conftest$ac_exeext
17296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17297 (eval $ac_link) 2>&5
17299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17300 (exit $ac_status); } &&
17301 { ac_try='test -s conftest$ac_exeext'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; }; then
17307 eval "$as_ac_var=yes"
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17312 eval "$as_ac_var=no"
17314 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17318 if test `eval echo '${'$as_ac_var'}'` = yes; then
17319 cat >>confdefs.h <<_ACEOF
17320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17328 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17329 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17330 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17331 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 ac_cpp='$CXXCPP $CPPFLAGS'
17339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17343 cat >conftest.$ac_ext <<_ACEOF
17344 #line $LINENO "configure"
17347 cat confdefs.h >>conftest.$ac_ext
17348 cat >>conftest.$ac_ext <<_ACEOF
17349 /* end confdefs.h. */
17359 rm -f conftest.$ac_objext
17360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17361 (eval $ac_compile) 2>&5
17363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17364 (exit $ac_status); } &&
17365 { ac_try='test -s conftest.$ac_objext'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; }; then
17371 glibcxx_cv_func__atan2l_use=yes
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17376 glibcxx_cv_func__atan2l_use=no
17378 rm -f conftest.$ac_objext conftest.$ac_ext
17380 ac_cpp='$CPP $CPPFLAGS'
17381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17389 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17390 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17392 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17394 for ac_func in _atan2l
17396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17397 echo "$as_me:$LINENO: checking for $ac_func" >&5
17398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17399 if eval "test \"\${$as_ac_var+set}\" = set"; then
17400 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 if test x$gcc_no_link = xyes; then
17403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17405 { (exit 1); exit 1; }; }
17407 cat >conftest.$ac_ext <<_ACEOF
17408 #line $LINENO "configure"
17411 cat confdefs.h >>conftest.$ac_ext
17412 cat >>conftest.$ac_ext <<_ACEOF
17413 /* end confdefs.h. */
17414 /* System header to define __stub macros and hopefully few prototypes,
17415 which can conflict with char $ac_func (); below.
17416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17417 <limits.h> exists even on freestanding compilers. */
17419 # include <limits.h>
17421 # include <assert.h>
17423 /* Override any gcc2 internal prototype to avoid an error. */
17428 /* We use char because int might match the return type of a gcc2
17429 builtin and then its argument prototype would still apply. */
17431 /* The GNU C library defines this for functions which it implements
17432 to always fail with ENOSYS. Some functions are actually named
17433 something starting with __ and the normal name is an alias. */
17434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17437 char (*f) () = $ac_func;
17446 return f != $ac_func;
17451 rm -f conftest.$ac_objext conftest$ac_exeext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17453 (eval $ac_link) 2>&5
17455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17456 (exit $ac_status); } &&
17457 { ac_try='test -s conftest$ac_exeext'
17458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17459 (eval $ac_try) 2>&5
17461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17462 (exit $ac_status); }; }; then
17463 eval "$as_ac_var=yes"
17465 echo "$as_me: failed program was:" >&5
17466 sed 's/^/| /' conftest.$ac_ext >&5
17468 eval "$as_ac_var=no"
17470 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17474 if test `eval echo '${'$as_ac_var'}'` = yes; then
17475 cat >>confdefs.h <<_ACEOF
17476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17487 echo "$as_me:$LINENO: checking for expl declaration" >&5
17488 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17489 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17490 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17491 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 ac_cpp='$CXXCPP $CPPFLAGS'
17498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17502 cat >conftest.$ac_ext <<_ACEOF
17503 #line $LINENO "configure"
17506 cat confdefs.h >>conftest.$ac_ext
17507 cat >>conftest.$ac_ext <<_ACEOF
17508 /* end confdefs.h. */
17510 #ifdef HAVE_IEEEFP_H
17511 #include <ieeefp.h>
17522 rm -f conftest.$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524 (eval $ac_compile) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); } &&
17528 { ac_try='test -s conftest.$ac_objext'
17529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17530 (eval $ac_try) 2>&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); }; }; then
17534 glibcxx_cv_func_expl_use=yes
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17539 glibcxx_cv_func_expl_use=no
17541 rm -f conftest.$ac_objext conftest.$ac_ext
17543 ac_cpp='$CPP $CPPFLAGS'
17544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17552 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17553 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17555 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17557 for ac_func in expl
17559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17560 echo "$as_me:$LINENO: checking for $ac_func" >&5
17561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17562 if eval "test \"\${$as_ac_var+set}\" = set"; then
17563 echo $ECHO_N "(cached) $ECHO_C" >&6
17565 if test x$gcc_no_link = xyes; then
17566 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17568 { (exit 1); exit 1; }; }
17570 cat >conftest.$ac_ext <<_ACEOF
17571 #line $LINENO "configure"
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h. */
17577 /* System header to define __stub macros and hopefully few prototypes,
17578 which can conflict with char $ac_func (); below.
17579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17580 <limits.h> exists even on freestanding compilers. */
17582 # include <limits.h>
17584 # include <assert.h>
17586 /* Override any gcc2 internal prototype to avoid an error. */
17591 /* We use char because int might match the return type of a gcc2
17592 builtin and then its argument prototype would still apply. */
17594 /* The GNU C library defines this for functions which it implements
17595 to always fail with ENOSYS. Some functions are actually named
17596 something starting with __ and the normal name is an alias. */
17597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17600 char (*f) () = $ac_func;
17609 return f != $ac_func;
17614 rm -f conftest.$ac_objext conftest$ac_exeext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17616 (eval $ac_link) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); } &&
17620 { ac_try='test -s conftest$ac_exeext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 eval "$as_ac_var=yes"
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.$ac_ext >&5
17631 eval "$as_ac_var=no"
17633 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17637 if test `eval echo '${'$as_ac_var'}'` = yes; then
17638 cat >>confdefs.h <<_ACEOF
17639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17647 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17648 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17649 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17650 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 ac_cpp='$CXXCPP $CPPFLAGS'
17658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17662 cat >conftest.$ac_ext <<_ACEOF
17663 #line $LINENO "configure"
17666 cat confdefs.h >>conftest.$ac_ext
17667 cat >>conftest.$ac_ext <<_ACEOF
17668 /* end confdefs.h. */
17670 #ifdef HAVE_IEEEFP_H
17671 #include <ieeefp.h>
17682 rm -f conftest.$ac_objext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17684 (eval $ac_compile) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } &&
17688 { ac_try='test -s conftest.$ac_objext'
17689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17690 (eval $ac_try) 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17694 glibcxx_cv_func__expl_use=yes
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17699 glibcxx_cv_func__expl_use=no
17701 rm -f conftest.$ac_objext conftest.$ac_ext
17703 ac_cpp='$CPP $CPPFLAGS'
17704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17713 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17715 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17717 for ac_func in _expl
17719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17720 echo "$as_me:$LINENO: checking for $ac_func" >&5
17721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17722 if eval "test \"\${$as_ac_var+set}\" = set"; then
17723 echo $ECHO_N "(cached) $ECHO_C" >&6
17725 if test x$gcc_no_link = xyes; then
17726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17728 { (exit 1); exit 1; }; }
17730 cat >conftest.$ac_ext <<_ACEOF
17731 #line $LINENO "configure"
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 /* System header to define __stub macros and hopefully few prototypes,
17738 which can conflict with char $ac_func (); below.
17739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17740 <limits.h> exists even on freestanding compilers. */
17742 # include <limits.h>
17744 # include <assert.h>
17746 /* Override any gcc2 internal prototype to avoid an error. */
17751 /* We use char because int might match the return type of a gcc2
17752 builtin and then its argument prototype would still apply. */
17754 /* The GNU C library defines this for functions which it implements
17755 to always fail with ENOSYS. Some functions are actually named
17756 something starting with __ and the normal name is an alias. */
17757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17760 char (*f) () = $ac_func;
17769 return f != $ac_func;
17774 rm -f conftest.$ac_objext conftest$ac_exeext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17776 (eval $ac_link) 2>&5
17778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17779 (exit $ac_status); } &&
17780 { ac_try='test -s conftest$ac_exeext'
17781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17782 (eval $ac_try) 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17786 eval "$as_ac_var=yes"
17788 echo "$as_me: failed program was:" >&5
17789 sed 's/^/| /' conftest.$ac_ext >&5
17791 eval "$as_ac_var=no"
17793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17797 if test `eval echo '${'$as_ac_var'}'` = yes; then
17798 cat >>confdefs.h <<_ACEOF
17799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17810 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17811 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17812 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17813 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17814 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 ac_cpp='$CXXCPP $CPPFLAGS'
17821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17825 cat >conftest.$ac_ext <<_ACEOF
17826 #line $LINENO "configure"
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17833 #ifdef HAVE_IEEEFP_H
17834 #include <ieeefp.h>
17845 rm -f conftest.$ac_objext
17846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17847 (eval $ac_compile) 2>&5
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); } &&
17851 { ac_try='test -s conftest.$ac_objext'
17852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17853 (eval $ac_try) 2>&5
17855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17856 (exit $ac_status); }; }; then
17857 glibcxx_cv_func_fabsl_use=yes
17859 echo "$as_me: failed program was:" >&5
17860 sed 's/^/| /' conftest.$ac_ext >&5
17862 glibcxx_cv_func_fabsl_use=no
17864 rm -f conftest.$ac_objext conftest.$ac_ext
17866 ac_cpp='$CPP $CPPFLAGS'
17867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17876 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17878 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17880 for ac_func in fabsl
17882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17883 echo "$as_me:$LINENO: checking for $ac_func" >&5
17884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17885 if eval "test \"\${$as_ac_var+set}\" = set"; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 if test x$gcc_no_link = xyes; then
17889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17891 { (exit 1); exit 1; }; }
17893 cat >conftest.$ac_ext <<_ACEOF
17894 #line $LINENO "configure"
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 /* System header to define __stub macros and hopefully few prototypes,
17901 which can conflict with char $ac_func (); below.
17902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17903 <limits.h> exists even on freestanding compilers. */
17905 # include <limits.h>
17907 # include <assert.h>
17909 /* Override any gcc2 internal prototype to avoid an error. */
17914 /* We use char because int might match the return type of a gcc2
17915 builtin and then its argument prototype would still apply. */
17917 /* The GNU C library defines this for functions which it implements
17918 to always fail with ENOSYS. Some functions are actually named
17919 something starting with __ and the normal name is an alias. */
17920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 char (*f) () = $ac_func;
17932 return f != $ac_func;
17937 rm -f conftest.$ac_objext conftest$ac_exeext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17939 (eval $ac_link) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); } &&
17943 { ac_try='test -s conftest$ac_exeext'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; }; then
17949 eval "$as_ac_var=yes"
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17954 eval "$as_ac_var=no"
17956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17960 if test `eval echo '${'$as_ac_var'}'` = yes; then
17961 cat >>confdefs.h <<_ACEOF
17962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17970 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17971 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17972 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17973 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17974 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 ac_cpp='$CXXCPP $CPPFLAGS'
17981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17985 cat >conftest.$ac_ext <<_ACEOF
17986 #line $LINENO "configure"
17989 cat confdefs.h >>conftest.$ac_ext
17990 cat >>conftest.$ac_ext <<_ACEOF
17991 /* end confdefs.h. */
17993 #ifdef HAVE_IEEEFP_H
17994 #include <ieeefp.h>
18005 rm -f conftest.$ac_objext
18006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18007 (eval $ac_compile) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try='test -s conftest.$ac_objext'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; }; then
18017 glibcxx_cv_func__fabsl_use=yes
18019 echo "$as_me: failed program was:" >&5
18020 sed 's/^/| /' conftest.$ac_ext >&5
18022 glibcxx_cv_func__fabsl_use=no
18024 rm -f conftest.$ac_objext conftest.$ac_ext
18026 ac_cpp='$CPP $CPPFLAGS'
18027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18036 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18038 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18040 for ac_func in _fabsl
18042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18043 echo "$as_me:$LINENO: checking for $ac_func" >&5
18044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18045 if eval "test \"\${$as_ac_var+set}\" = set"; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 if test x$gcc_no_link = xyes; then
18049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18051 { (exit 1); exit 1; }; }
18053 cat >conftest.$ac_ext <<_ACEOF
18054 #line $LINENO "configure"
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 /* System header to define __stub macros and hopefully few prototypes,
18061 which can conflict with char $ac_func (); below.
18062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18063 <limits.h> exists even on freestanding compilers. */
18065 # include <limits.h>
18067 # include <assert.h>
18069 /* Override any gcc2 internal prototype to avoid an error. */
18074 /* We use char because int might match the return type of a gcc2
18075 builtin and then its argument prototype would still apply. */
18077 /* The GNU C library defines this for functions which it implements
18078 to always fail with ENOSYS. Some functions are actually named
18079 something starting with __ and the normal name is an alias. */
18080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18083 char (*f) () = $ac_func;
18092 return f != $ac_func;
18097 rm -f conftest.$ac_objext conftest$ac_exeext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18099 (eval $ac_link) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } &&
18103 { ac_try='test -s conftest$ac_exeext'
18104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18105 (eval $ac_try) 2>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); }; }; then
18109 eval "$as_ac_var=yes"
18111 echo "$as_me: failed program was:" >&5
18112 sed 's/^/| /' conftest.$ac_ext >&5
18114 eval "$as_ac_var=no"
18116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18120 if test `eval echo '${'$as_ac_var'}'` = yes; then
18121 cat >>confdefs.h <<_ACEOF
18122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18133 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18134 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18135 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18136 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18137 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 ac_cpp='$CXXCPP $CPPFLAGS'
18144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18148 cat >conftest.$ac_ext <<_ACEOF
18149 #line $LINENO "configure"
18152 cat confdefs.h >>conftest.$ac_ext
18153 cat >>conftest.$ac_ext <<_ACEOF
18154 /* end confdefs.h. */
18164 rm -f conftest.$ac_objext
18165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18166 (eval $ac_compile) 2>&5
18168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18169 (exit $ac_status); } &&
18170 { ac_try='test -s conftest.$ac_objext'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; }; then
18176 glibcxx_cv_func_fmodl_use=yes
18178 echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.$ac_ext >&5
18181 glibcxx_cv_func_fmodl_use=no
18183 rm -f conftest.$ac_objext conftest.$ac_ext
18185 ac_cpp='$CPP $CPPFLAGS'
18186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18194 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18195 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18197 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18199 for ac_func in fmodl
18201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18202 echo "$as_me:$LINENO: checking for $ac_func" >&5
18203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18204 if eval "test \"\${$as_ac_var+set}\" = set"; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18207 if test x$gcc_no_link = xyes; then
18208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18210 { (exit 1); exit 1; }; }
18212 cat >conftest.$ac_ext <<_ACEOF
18213 #line $LINENO "configure"
18216 cat confdefs.h >>conftest.$ac_ext
18217 cat >>conftest.$ac_ext <<_ACEOF
18218 /* end confdefs.h. */
18219 /* System header to define __stub macros and hopefully few prototypes,
18220 which can conflict with char $ac_func (); below.
18221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18222 <limits.h> exists even on freestanding compilers. */
18224 # include <limits.h>
18226 # include <assert.h>
18228 /* Override any gcc2 internal prototype to avoid an error. */
18233 /* We use char because int might match the return type of a gcc2
18234 builtin and then its argument prototype would still apply. */
18236 /* The GNU C library defines this for functions which it implements
18237 to always fail with ENOSYS. Some functions are actually named
18238 something starting with __ and the normal name is an alias. */
18239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18242 char (*f) () = $ac_func;
18251 return f != $ac_func;
18256 rm -f conftest.$ac_objext conftest$ac_exeext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18258 (eval $ac_link) 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } &&
18262 { ac_try='test -s conftest$ac_exeext'
18263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18264 (eval $ac_try) 2>&5
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; }; then
18268 eval "$as_ac_var=yes"
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 eval "$as_ac_var=no"
18275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18279 if test `eval echo '${'$as_ac_var'}'` = yes; then
18280 cat >>confdefs.h <<_ACEOF
18281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18289 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18290 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18291 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18292 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18293 echo $ECHO_N "(cached) $ECHO_C" >&6
18299 ac_cpp='$CXXCPP $CPPFLAGS'
18300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18304 cat >conftest.$ac_ext <<_ACEOF
18305 #line $LINENO "configure"
18308 cat confdefs.h >>conftest.$ac_ext
18309 cat >>conftest.$ac_ext <<_ACEOF
18310 /* end confdefs.h. */
18320 rm -f conftest.$ac_objext
18321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18322 (eval $ac_compile) 2>&5
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); } &&
18326 { ac_try='test -s conftest.$ac_objext'
18327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328 (eval $ac_try) 2>&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); }; }; then
18332 glibcxx_cv_func__fmodl_use=yes
18334 echo "$as_me: failed program was:" >&5
18335 sed 's/^/| /' conftest.$ac_ext >&5
18337 glibcxx_cv_func__fmodl_use=no
18339 rm -f conftest.$ac_objext conftest.$ac_ext
18341 ac_cpp='$CPP $CPPFLAGS'
18342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18350 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18351 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18353 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18355 for ac_func in _fmodl
18357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18358 echo "$as_me:$LINENO: checking for $ac_func" >&5
18359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18360 if eval "test \"\${$as_ac_var+set}\" = set"; then
18361 echo $ECHO_N "(cached) $ECHO_C" >&6
18363 if test x$gcc_no_link = xyes; then
18364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18366 { (exit 1); exit 1; }; }
18368 cat >conftest.$ac_ext <<_ACEOF
18369 #line $LINENO "configure"
18372 cat confdefs.h >>conftest.$ac_ext
18373 cat >>conftest.$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 /* System header to define __stub macros and hopefully few prototypes,
18376 which can conflict with char $ac_func (); below.
18377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18378 <limits.h> exists even on freestanding compilers. */
18380 # include <limits.h>
18382 # include <assert.h>
18384 /* Override any gcc2 internal prototype to avoid an error. */
18389 /* We use char because int might match the return type of a gcc2
18390 builtin and then its argument prototype would still apply. */
18392 /* The GNU C library defines this for functions which it implements
18393 to always fail with ENOSYS. Some functions are actually named
18394 something starting with __ and the normal name is an alias. */
18395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18398 char (*f) () = $ac_func;
18407 return f != $ac_func;
18412 rm -f conftest.$ac_objext conftest$ac_exeext
18413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18414 (eval $ac_link) 2>&5
18416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18417 (exit $ac_status); } &&
18418 { ac_try='test -s conftest$ac_exeext'
18419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18420 (eval $ac_try) 2>&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); }; }; then
18424 eval "$as_ac_var=yes"
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18429 eval "$as_ac_var=no"
18431 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18435 if test `eval echo '${'$as_ac_var'}'` = yes; then
18436 cat >>confdefs.h <<_ACEOF
18437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18448 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18449 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18450 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18451 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18452 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463 cat >conftest.$ac_ext <<_ACEOF
18464 #line $LINENO "configure"
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18479 rm -f conftest.$ac_objext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18481 (eval $ac_compile) 2>&5
18483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484 (exit $ac_status); } &&
18485 { ac_try='test -s conftest.$ac_objext'
18486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18487 (eval $ac_try) 2>&5
18489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18490 (exit $ac_status); }; }; then
18491 glibcxx_cv_func_frexpl_use=yes
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18496 glibcxx_cv_func_frexpl_use=no
18498 rm -f conftest.$ac_objext conftest.$ac_ext
18500 ac_cpp='$CPP $CPPFLAGS'
18501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18510 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18512 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18514 for ac_func in frexpl
18516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18517 echo "$as_me:$LINENO: checking for $ac_func" >&5
18518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18519 if eval "test \"\${$as_ac_var+set}\" = set"; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 if test x$gcc_no_link = xyes; then
18523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18525 { (exit 1); exit 1; }; }
18527 cat >conftest.$ac_ext <<_ACEOF
18528 #line $LINENO "configure"
18531 cat confdefs.h >>conftest.$ac_ext
18532 cat >>conftest.$ac_ext <<_ACEOF
18533 /* end confdefs.h. */
18534 /* System header to define __stub macros and hopefully few prototypes,
18535 which can conflict with char $ac_func (); below.
18536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18537 <limits.h> exists even on freestanding compilers. */
18539 # include <limits.h>
18541 # include <assert.h>
18543 /* Override any gcc2 internal prototype to avoid an error. */
18548 /* We use char because int might match the return type of a gcc2
18549 builtin and then its argument prototype would still apply. */
18551 /* The GNU C library defines this for functions which it implements
18552 to always fail with ENOSYS. Some functions are actually named
18553 something starting with __ and the normal name is an alias. */
18554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18557 char (*f) () = $ac_func;
18566 return f != $ac_func;
18571 rm -f conftest.$ac_objext conftest$ac_exeext
18572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18573 (eval $ac_link) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } &&
18577 { ac_try='test -s conftest$ac_exeext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 eval "$as_ac_var=yes"
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18588 eval "$as_ac_var=no"
18590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18594 if test `eval echo '${'$as_ac_var'}'` = yes; then
18595 cat >>confdefs.h <<_ACEOF
18596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18604 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18605 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18606 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18607 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18608 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 ac_cpp='$CXXCPP $CPPFLAGS'
18615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18619 cat >conftest.$ac_ext <<_ACEOF
18620 #line $LINENO "configure"
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>&5
18639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640 (exit $ac_status); } &&
18641 { ac_try='test -s conftest.$ac_objext'
18642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643 (eval $ac_try) 2>&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); }; }; then
18647 glibcxx_cv_func__frexpl_use=yes
18649 echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18652 glibcxx_cv_func__frexpl_use=no
18654 rm -f conftest.$ac_objext conftest.$ac_ext
18656 ac_cpp='$CPP $CPPFLAGS'
18657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18665 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18666 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18668 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18670 for ac_func in _frexpl
18672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18673 echo "$as_me:$LINENO: checking for $ac_func" >&5
18674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18675 if eval "test \"\${$as_ac_var+set}\" = set"; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18678 if test x$gcc_no_link = xyes; then
18679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18681 { (exit 1); exit 1; }; }
18683 cat >conftest.$ac_ext <<_ACEOF
18684 #line $LINENO "configure"
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h. */
18690 /* System header to define __stub macros and hopefully few prototypes,
18691 which can conflict with char $ac_func (); below.
18692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18693 <limits.h> exists even on freestanding compilers. */
18695 # include <limits.h>
18697 # include <assert.h>
18699 /* Override any gcc2 internal prototype to avoid an error. */
18704 /* We use char because int might match the return type of a gcc2
18705 builtin and then its argument prototype would still apply. */
18707 /* The GNU C library defines this for functions which it implements
18708 to always fail with ENOSYS. Some functions are actually named
18709 something starting with __ and the normal name is an alias. */
18710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18713 char (*f) () = $ac_func;
18722 return f != $ac_func;
18727 rm -f conftest.$ac_objext conftest$ac_exeext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18729 (eval $ac_link) 2>&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } &&
18733 { ac_try='test -s conftest$ac_exeext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 eval "$as_ac_var=yes"
18741 echo "$as_me: failed program was:" >&5
18742 sed 's/^/| /' conftest.$ac_ext >&5
18744 eval "$as_ac_var=no"
18746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18750 if test `eval echo '${'$as_ac_var'}'` = yes; then
18751 cat >>confdefs.h <<_ACEOF
18752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18763 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18764 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18765 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18766 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18767 echo $ECHO_N "(cached) $ECHO_C" >&6
18773 ac_cpp='$CXXCPP $CPPFLAGS'
18774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18778 cat >conftest.$ac_ext <<_ACEOF
18779 #line $LINENO "configure"
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18794 rm -f conftest.$ac_objext
18795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18796 (eval $ac_compile) 2>&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } &&
18800 { ac_try='test -s conftest.$ac_objext'
18801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18802 (eval $ac_try) 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; }; then
18806 glibcxx_cv_func_hypotl_use=yes
18808 echo "$as_me: failed program was:" >&5
18809 sed 's/^/| /' conftest.$ac_ext >&5
18811 glibcxx_cv_func_hypotl_use=no
18813 rm -f conftest.$ac_objext conftest.$ac_ext
18815 ac_cpp='$CPP $CPPFLAGS'
18816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18824 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18825 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18827 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18829 for ac_func in hypotl
18831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18832 echo "$as_me:$LINENO: checking for $ac_func" >&5
18833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18834 if eval "test \"\${$as_ac_var+set}\" = set"; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18837 if test x$gcc_no_link = xyes; then
18838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18840 { (exit 1); exit 1; }; }
18842 cat >conftest.$ac_ext <<_ACEOF
18843 #line $LINENO "configure"
18846 cat confdefs.h >>conftest.$ac_ext
18847 cat >>conftest.$ac_ext <<_ACEOF
18848 /* end confdefs.h. */
18849 /* System header to define __stub macros and hopefully few prototypes,
18850 which can conflict with char $ac_func (); below.
18851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18852 <limits.h> exists even on freestanding compilers. */
18854 # include <limits.h>
18856 # include <assert.h>
18858 /* Override any gcc2 internal prototype to avoid an error. */
18863 /* We use char because int might match the return type of a gcc2
18864 builtin and then its argument prototype would still apply. */
18866 /* The GNU C library defines this for functions which it implements
18867 to always fail with ENOSYS. Some functions are actually named
18868 something starting with __ and the normal name is an alias. */
18869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18872 char (*f) () = $ac_func;
18881 return f != $ac_func;
18886 rm -f conftest.$ac_objext conftest$ac_exeext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18888 (eval $ac_link) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); } &&
18892 { ac_try='test -s conftest$ac_exeext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 eval "$as_ac_var=yes"
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 eval "$as_ac_var=no"
18905 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18909 if test `eval echo '${'$as_ac_var'}'` = yes; then
18910 cat >>confdefs.h <<_ACEOF
18911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18919 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18920 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18921 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18922 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18923 echo $ECHO_N "(cached) $ECHO_C" >&6
18929 ac_cpp='$CXXCPP $CPPFLAGS'
18930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18934 cat >conftest.$ac_ext <<_ACEOF
18935 #line $LINENO "configure"
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18950 rm -f conftest.$ac_objext
18951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18952 (eval $ac_compile) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); } &&
18956 { ac_try='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 glibcxx_cv_func__hypotl_use=yes
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.$ac_ext >&5
18967 glibcxx_cv_func__hypotl_use=no
18969 rm -f conftest.$ac_objext conftest.$ac_ext
18971 ac_cpp='$CPP $CPPFLAGS'
18972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18980 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18981 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18983 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18985 for ac_func in _hypotl
18987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18988 echo "$as_me:$LINENO: checking for $ac_func" >&5
18989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18990 if eval "test \"\${$as_ac_var+set}\" = set"; then
18991 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 if test x$gcc_no_link = xyes; then
18994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18996 { (exit 1); exit 1; }; }
18998 cat >conftest.$ac_ext <<_ACEOF
18999 #line $LINENO "configure"
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 /* System header to define __stub macros and hopefully few prototypes,
19006 which can conflict with char $ac_func (); below.
19007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19008 <limits.h> exists even on freestanding compilers. */
19010 # include <limits.h>
19012 # include <assert.h>
19014 /* Override any gcc2 internal prototype to avoid an error. */
19019 /* We use char because int might match the return type of a gcc2
19020 builtin and then its argument prototype would still apply. */
19022 /* The GNU C library defines this for functions which it implements
19023 to always fail with ENOSYS. Some functions are actually named
19024 something starting with __ and the normal name is an alias. */
19025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19028 char (*f) () = $ac_func;
19037 return f != $ac_func;
19042 rm -f conftest.$ac_objext conftest$ac_exeext
19043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19044 (eval $ac_link) 2>&5
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); } &&
19048 { ac_try='test -s conftest$ac_exeext'
19049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19050 (eval $ac_try) 2>&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); }; }; then
19054 eval "$as_ac_var=yes"
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 eval "$as_ac_var=no"
19061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19065 if test `eval echo '${'$as_ac_var'}'` = yes; then
19066 cat >>confdefs.h <<_ACEOF
19067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19078 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19079 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19080 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19081 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19082 echo $ECHO_N "(cached) $ECHO_C" >&6
19088 ac_cpp='$CXXCPP $CPPFLAGS'
19089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19093 cat >conftest.$ac_ext <<_ACEOF
19094 #line $LINENO "configure"
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19109 rm -f conftest.$ac_objext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19111 (eval $ac_compile) 2>&5
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); } &&
19115 { ac_try='test -s conftest.$ac_objext'
19116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19117 (eval $ac_try) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); }; }; then
19121 glibcxx_cv_func_ldexpl_use=yes
19123 echo "$as_me: failed program was:" >&5
19124 sed 's/^/| /' conftest.$ac_ext >&5
19126 glibcxx_cv_func_ldexpl_use=no
19128 rm -f conftest.$ac_objext conftest.$ac_ext
19130 ac_cpp='$CPP $CPPFLAGS'
19131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19140 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19142 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19144 for ac_func in ldexpl
19146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19147 echo "$as_me:$LINENO: checking for $ac_func" >&5
19148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19149 if eval "test \"\${$as_ac_var+set}\" = set"; then
19150 echo $ECHO_N "(cached) $ECHO_C" >&6
19152 if test x$gcc_no_link = xyes; then
19153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19155 { (exit 1); exit 1; }; }
19157 cat >conftest.$ac_ext <<_ACEOF
19158 #line $LINENO "configure"
19161 cat confdefs.h >>conftest.$ac_ext
19162 cat >>conftest.$ac_ext <<_ACEOF
19163 /* end confdefs.h. */
19164 /* System header to define __stub macros and hopefully few prototypes,
19165 which can conflict with char $ac_func (); below.
19166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19167 <limits.h> exists even on freestanding compilers. */
19169 # include <limits.h>
19171 # include <assert.h>
19173 /* Override any gcc2 internal prototype to avoid an error. */
19178 /* We use char because int might match the return type of a gcc2
19179 builtin and then its argument prototype would still apply. */
19181 /* The GNU C library defines this for functions which it implements
19182 to always fail with ENOSYS. Some functions are actually named
19183 something starting with __ and the normal name is an alias. */
19184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19187 char (*f) () = $ac_func;
19196 return f != $ac_func;
19201 rm -f conftest.$ac_objext conftest$ac_exeext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19203 (eval $ac_link) 2>&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } &&
19207 { ac_try='test -s conftest$ac_exeext'
19208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19209 (eval $ac_try) 2>&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); }; }; then
19213 eval "$as_ac_var=yes"
19215 echo "$as_me: failed program was:" >&5
19216 sed 's/^/| /' conftest.$ac_ext >&5
19218 eval "$as_ac_var=no"
19220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19224 if test `eval echo '${'$as_ac_var'}'` = yes; then
19225 cat >>confdefs.h <<_ACEOF
19226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19234 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19235 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19236 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19237 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19244 ac_cpp='$CXXCPP $CPPFLAGS'
19245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19249 cat >conftest.$ac_ext <<_ACEOF
19250 #line $LINENO "configure"
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19265 rm -f conftest.$ac_objext
19266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19267 (eval $ac_compile) 2>&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try='test -s conftest.$ac_objext'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; }; then
19277 glibcxx_cv_func__ldexpl_use=yes
19279 echo "$as_me: failed program was:" >&5
19280 sed 's/^/| /' conftest.$ac_ext >&5
19282 glibcxx_cv_func__ldexpl_use=no
19284 rm -f conftest.$ac_objext conftest.$ac_ext
19286 ac_cpp='$CPP $CPPFLAGS'
19287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19296 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19298 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19300 for ac_func in _ldexpl
19302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19303 echo "$as_me:$LINENO: checking for $ac_func" >&5
19304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19305 if eval "test \"\${$as_ac_var+set}\" = set"; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 if test x$gcc_no_link = xyes; then
19309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19311 { (exit 1); exit 1; }; }
19313 cat >conftest.$ac_ext <<_ACEOF
19314 #line $LINENO "configure"
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 /* System header to define __stub macros and hopefully few prototypes,
19321 which can conflict with char $ac_func (); below.
19322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19323 <limits.h> exists even on freestanding compilers. */
19325 # include <limits.h>
19327 # include <assert.h>
19329 /* Override any gcc2 internal prototype to avoid an error. */
19334 /* We use char because int might match the return type of a gcc2
19335 builtin and then its argument prototype would still apply. */
19337 /* The GNU C library defines this for functions which it implements
19338 to always fail with ENOSYS. Some functions are actually named
19339 something starting with __ and the normal name is an alias. */
19340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19343 char (*f) () = $ac_func;
19352 return f != $ac_func;
19357 rm -f conftest.$ac_objext conftest$ac_exeext
19358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19359 (eval $ac_link) 2>&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } &&
19363 { ac_try='test -s conftest$ac_exeext'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; }; then
19369 eval "$as_ac_var=yes"
19371 echo "$as_me: failed program was:" >&5
19372 sed 's/^/| /' conftest.$ac_ext >&5
19374 eval "$as_ac_var=no"
19376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19380 if test `eval echo '${'$as_ac_var'}'` = yes; then
19381 cat >>confdefs.h <<_ACEOF
19382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19393 echo "$as_me:$LINENO: checking for logl declaration" >&5
19394 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19395 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19396 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19397 echo $ECHO_N "(cached) $ECHO_C" >&6
19403 ac_cpp='$CXXCPP $CPPFLAGS'
19404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19408 cat >conftest.$ac_ext <<_ACEOF
19409 #line $LINENO "configure"
19412 cat confdefs.h >>conftest.$ac_ext
19413 cat >>conftest.$ac_ext <<_ACEOF
19414 /* end confdefs.h. */
19416 #ifdef HAVE_IEEEFP_H
19417 #include <ieeefp.h>
19428 rm -f conftest.$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); } &&
19434 { ac_try='test -s conftest.$ac_objext'
19435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19436 (eval $ac_try) 2>&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); }; }; then
19440 glibcxx_cv_func_logl_use=yes
19442 echo "$as_me: failed program was:" >&5
19443 sed 's/^/| /' conftest.$ac_ext >&5
19445 glibcxx_cv_func_logl_use=no
19447 rm -f conftest.$ac_objext conftest.$ac_ext
19449 ac_cpp='$CPP $CPPFLAGS'
19450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19459 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19461 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19463 for ac_func in logl
19465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19466 echo "$as_me:$LINENO: checking for $ac_func" >&5
19467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19468 if eval "test \"\${$as_ac_var+set}\" = set"; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 if test x$gcc_no_link = xyes; then
19472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474 { (exit 1); exit 1; }; }
19476 cat >conftest.$ac_ext <<_ACEOF
19477 #line $LINENO "configure"
19480 cat confdefs.h >>conftest.$ac_ext
19481 cat >>conftest.$ac_ext <<_ACEOF
19482 /* end confdefs.h. */
19483 /* System header to define __stub macros and hopefully few prototypes,
19484 which can conflict with char $ac_func (); below.
19485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19486 <limits.h> exists even on freestanding compilers. */
19488 # include <limits.h>
19490 # include <assert.h>
19492 /* Override any gcc2 internal prototype to avoid an error. */
19497 /* We use char because int might match the return type of a gcc2
19498 builtin and then its argument prototype would still apply. */
19500 /* The GNU C library defines this for functions which it implements
19501 to always fail with ENOSYS. Some functions are actually named
19502 something starting with __ and the normal name is an alias. */
19503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19506 char (*f) () = $ac_func;
19515 return f != $ac_func;
19520 rm -f conftest.$ac_objext conftest$ac_exeext
19521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19522 (eval $ac_link) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -s conftest$ac_exeext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 eval "$as_ac_var=yes"
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.$ac_ext >&5
19537 eval "$as_ac_var=no"
19539 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19543 if test `eval echo '${'$as_ac_var'}'` = yes; then
19544 cat >>confdefs.h <<_ACEOF
19545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19553 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19554 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19555 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19556 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19557 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 ac_cpp='$CXXCPP $CPPFLAGS'
19564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19568 cat >conftest.$ac_ext <<_ACEOF
19569 #line $LINENO "configure"
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19576 #ifdef HAVE_IEEEFP_H
19577 #include <ieeefp.h>
19588 rm -f conftest.$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } &&
19594 { ac_try='test -s conftest.$ac_objext'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; }; then
19600 glibcxx_cv_func__logl_use=yes
19602 echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19605 glibcxx_cv_func__logl_use=no
19607 rm -f conftest.$ac_objext conftest.$ac_ext
19609 ac_cpp='$CPP $CPPFLAGS'
19610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19619 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19621 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19623 for ac_func in _logl
19625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19626 echo "$as_me:$LINENO: checking for $ac_func" >&5
19627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19628 if eval "test \"\${$as_ac_var+set}\" = set"; then
19629 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 if test x$gcc_no_link = xyes; then
19632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19634 { (exit 1); exit 1; }; }
19636 cat >conftest.$ac_ext <<_ACEOF
19637 #line $LINENO "configure"
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643 /* System header to define __stub macros and hopefully few prototypes,
19644 which can conflict with char $ac_func (); below.
19645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19646 <limits.h> exists even on freestanding compilers. */
19648 # include <limits.h>
19650 # include <assert.h>
19652 /* Override any gcc2 internal prototype to avoid an error. */
19657 /* We use char because int might match the return type of a gcc2
19658 builtin and then its argument prototype would still apply. */
19660 /* The GNU C library defines this for functions which it implements
19661 to always fail with ENOSYS. Some functions are actually named
19662 something starting with __ and the normal name is an alias. */
19663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19666 char (*f) () = $ac_func;
19675 return f != $ac_func;
19680 rm -f conftest.$ac_objext conftest$ac_exeext
19681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19682 (eval $ac_link) 2>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } &&
19686 { ac_try='test -s conftest$ac_exeext'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; }; then
19692 eval "$as_ac_var=yes"
19694 echo "$as_me: failed program was:" >&5
19695 sed 's/^/| /' conftest.$ac_ext >&5
19697 eval "$as_ac_var=no"
19699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19703 if test `eval echo '${'$as_ac_var'}'` = yes; then
19704 cat >>confdefs.h <<_ACEOF
19705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19716 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19717 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19718 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19719 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19720 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 ac_cpp='$CXXCPP $CPPFLAGS'
19727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19731 cat >conftest.$ac_ext <<_ACEOF
19732 #line $LINENO "configure"
19735 cat confdefs.h >>conftest.$ac_ext
19736 cat >>conftest.$ac_ext <<_ACEOF
19737 /* end confdefs.h. */
19739 #ifdef HAVE_IEEEFP_H
19740 #include <ieeefp.h>
19751 rm -f conftest.$ac_objext
19752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19753 (eval $ac_compile) 2>&5
19755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19756 (exit $ac_status); } &&
19757 { ac_try='test -s conftest.$ac_objext'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; }; then
19763 glibcxx_cv_func_log10l_use=yes
19765 echo "$as_me: failed program was:" >&5
19766 sed 's/^/| /' conftest.$ac_ext >&5
19768 glibcxx_cv_func_log10l_use=no
19770 rm -f conftest.$ac_objext conftest.$ac_ext
19772 ac_cpp='$CPP $CPPFLAGS'
19773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19782 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19784 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19786 for ac_func in log10l
19788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19789 echo "$as_me:$LINENO: checking for $ac_func" >&5
19790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19791 if eval "test \"\${$as_ac_var+set}\" = set"; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 if test x$gcc_no_link = xyes; then
19795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19797 { (exit 1); exit 1; }; }
19799 cat >conftest.$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 /* System header to define __stub macros and hopefully few prototypes,
19807 which can conflict with char $ac_func (); below.
19808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19809 <limits.h> exists even on freestanding compilers. */
19811 # include <limits.h>
19813 # include <assert.h>
19815 /* Override any gcc2 internal prototype to avoid an error. */
19820 /* We use char because int might match the return type of a gcc2
19821 builtin and then its argument prototype would still apply. */
19823 /* The GNU C library defines this for functions which it implements
19824 to always fail with ENOSYS. Some functions are actually named
19825 something starting with __ and the normal name is an alias. */
19826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19829 char (*f) () = $ac_func;
19838 return f != $ac_func;
19843 rm -f conftest.$ac_objext conftest$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845 (eval $ac_link) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -s conftest$ac_exeext'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 eval "$as_ac_var=yes"
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19860 eval "$as_ac_var=no"
19862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19866 if test `eval echo '${'$as_ac_var'}'` = yes; then
19867 cat >>confdefs.h <<_ACEOF
19868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19876 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19877 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19878 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19879 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 ac_cpp='$CXXCPP $CPPFLAGS'
19887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19891 cat >conftest.$ac_ext <<_ACEOF
19892 #line $LINENO "configure"
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19899 #ifdef HAVE_IEEEFP_H
19900 #include <ieeefp.h>
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>&5
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 glibcxx_cv_func__log10l_use=yes
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19928 glibcxx_cv_func__log10l_use=no
19930 rm -f conftest.$ac_objext conftest.$ac_ext
19932 ac_cpp='$CPP $CPPFLAGS'
19933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19941 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19942 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19944 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19946 for ac_func in _log10l
19948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19949 echo "$as_me:$LINENO: checking for $ac_func" >&5
19950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19951 if eval "test \"\${$as_ac_var+set}\" = set"; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 if test x$gcc_no_link = xyes; then
19955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19957 { (exit 1); exit 1; }; }
19959 cat >conftest.$ac_ext <<_ACEOF
19960 #line $LINENO "configure"
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966 /* System header to define __stub macros and hopefully few prototypes,
19967 which can conflict with char $ac_func (); below.
19968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19969 <limits.h> exists even on freestanding compilers. */
19971 # include <limits.h>
19973 # include <assert.h>
19975 /* Override any gcc2 internal prototype to avoid an error. */
19980 /* We use char because int might match the return type of a gcc2
19981 builtin and then its argument prototype would still apply. */
19983 /* The GNU C library defines this for functions which it implements
19984 to always fail with ENOSYS. Some functions are actually named
19985 something starting with __ and the normal name is an alias. */
19986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19989 char (*f) () = $ac_func;
19998 return f != $ac_func;
20003 rm -f conftest.$ac_objext conftest$ac_exeext
20004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20005 (eval $ac_link) 2>&5
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); } &&
20009 { ac_try='test -s conftest$ac_exeext'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 eval "$as_ac_var=yes"
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20020 eval "$as_ac_var=no"
20022 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20026 if test `eval echo '${'$as_ac_var'}'` = yes; then
20027 cat >>confdefs.h <<_ACEOF
20028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20039 echo "$as_me:$LINENO: checking for modfl declaration" >&5
20040 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20041 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20042 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 ac_cpp='$CXXCPP $CPPFLAGS'
20050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20054 cat >conftest.$ac_ext <<_ACEOF
20055 #line $LINENO "configure"
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20070 rm -f conftest.$ac_objext
20071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20072 (eval $ac_compile) 2>&5
20074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20075 (exit $ac_status); } &&
20076 { ac_try='test -s conftest.$ac_objext'
20077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078 (eval $ac_try) 2>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); }; }; then
20082 glibcxx_cv_func_modfl_use=yes
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20087 glibcxx_cv_func_modfl_use=no
20089 rm -f conftest.$ac_objext conftest.$ac_ext
20091 ac_cpp='$CPP $CPPFLAGS'
20092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20101 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20103 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20105 for ac_func in modfl
20107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20108 echo "$as_me:$LINENO: checking for $ac_func" >&5
20109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20110 if eval "test \"\${$as_ac_var+set}\" = set"; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 if test x$gcc_no_link = xyes; then
20114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20116 { (exit 1); exit 1; }; }
20118 cat >conftest.$ac_ext <<_ACEOF
20119 #line $LINENO "configure"
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 /* System header to define __stub macros and hopefully few prototypes,
20126 which can conflict with char $ac_func (); below.
20127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20128 <limits.h> exists even on freestanding compilers. */
20130 # include <limits.h>
20132 # include <assert.h>
20134 /* Override any gcc2 internal prototype to avoid an error. */
20139 /* We use char because int might match the return type of a gcc2
20140 builtin and then its argument prototype would still apply. */
20142 /* The GNU C library defines this for functions which it implements
20143 to always fail with ENOSYS. Some functions are actually named
20144 something starting with __ and the normal name is an alias. */
20145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20148 char (*f) () = $ac_func;
20157 return f != $ac_func;
20162 rm -f conftest.$ac_objext conftest$ac_exeext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20164 (eval $ac_link) 2>&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } &&
20168 { ac_try='test -s conftest$ac_exeext'
20169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20170 (eval $ac_try) 2>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); }; }; then
20174 eval "$as_ac_var=yes"
20176 echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20179 eval "$as_ac_var=no"
20181 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20185 if test `eval echo '${'$as_ac_var'}'` = yes; then
20186 cat >>confdefs.h <<_ACEOF
20187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20195 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20196 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20197 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20198 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20199 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 ac_cpp='$CXXCPP $CPPFLAGS'
20206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20210 cat >conftest.$ac_ext <<_ACEOF
20211 #line $LINENO "configure"
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20226 rm -f conftest.$ac_objext
20227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20228 (eval $ac_compile) 2>&5
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); } &&
20232 { ac_try='test -s conftest.$ac_objext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 glibcxx_cv_func__modfl_use=yes
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 glibcxx_cv_func__modfl_use=no
20245 rm -f conftest.$ac_objext conftest.$ac_ext
20247 ac_cpp='$CPP $CPPFLAGS'
20248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20257 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20259 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20261 for ac_func in _modfl
20263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20264 echo "$as_me:$LINENO: checking for $ac_func" >&5
20265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20266 if eval "test \"\${$as_ac_var+set}\" = set"; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20269 if test x$gcc_no_link = xyes; then
20270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20272 { (exit 1); exit 1; }; }
20274 cat >conftest.$ac_ext <<_ACEOF
20275 #line $LINENO "configure"
20278 cat confdefs.h >>conftest.$ac_ext
20279 cat >>conftest.$ac_ext <<_ACEOF
20280 /* end confdefs.h. */
20281 /* System header to define __stub macros and hopefully few prototypes,
20282 which can conflict with char $ac_func (); below.
20283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20284 <limits.h> exists even on freestanding compilers. */
20286 # include <limits.h>
20288 # include <assert.h>
20290 /* Override any gcc2 internal prototype to avoid an error. */
20295 /* We use char because int might match the return type of a gcc2
20296 builtin and then its argument prototype would still apply. */
20298 /* The GNU C library defines this for functions which it implements
20299 to always fail with ENOSYS. Some functions are actually named
20300 something starting with __ and the normal name is an alias. */
20301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20304 char (*f) () = $ac_func;
20313 return f != $ac_func;
20318 rm -f conftest.$ac_objext conftest$ac_exeext
20319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20320 (eval $ac_link) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } &&
20324 { ac_try='test -s conftest$ac_exeext'
20325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20326 (eval $ac_try) 2>&5
20328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20329 (exit $ac_status); }; }; then
20330 eval "$as_ac_var=yes"
20332 echo "$as_me: failed program was:" >&5
20333 sed 's/^/| /' conftest.$ac_ext >&5
20335 eval "$as_ac_var=no"
20337 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20341 if test `eval echo '${'$as_ac_var'}'` = yes; then
20342 cat >>confdefs.h <<_ACEOF
20343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20354 echo "$as_me:$LINENO: checking for powl declaration" >&5
20355 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20356 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20357 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20364 ac_cpp='$CXXCPP $CPPFLAGS'
20365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20369 cat >conftest.$ac_ext <<_ACEOF
20370 #line $LINENO "configure"
20373 cat confdefs.h >>conftest.$ac_ext
20374 cat >>conftest.$ac_ext <<_ACEOF
20375 /* end confdefs.h. */
20385 rm -f conftest.$ac_objext
20386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20387 (eval $ac_compile) 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } &&
20391 { ac_try='test -s conftest.$ac_objext'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 glibcxx_cv_func_powl_use=yes
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 glibcxx_cv_func_powl_use=no
20404 rm -f conftest.$ac_objext conftest.$ac_ext
20406 ac_cpp='$CPP $CPPFLAGS'
20407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20416 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20418 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20420 for ac_func in powl
20422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20423 echo "$as_me:$LINENO: checking for $ac_func" >&5
20424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20425 if eval "test \"\${$as_ac_var+set}\" = set"; then
20426 echo $ECHO_N "(cached) $ECHO_C" >&6
20428 if test x$gcc_no_link = xyes; then
20429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20431 { (exit 1); exit 1; }; }
20433 cat >conftest.$ac_ext <<_ACEOF
20434 #line $LINENO "configure"
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 /* System header to define __stub macros and hopefully few prototypes,
20441 which can conflict with char $ac_func (); below.
20442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20443 <limits.h> exists even on freestanding compilers. */
20445 # include <limits.h>
20447 # include <assert.h>
20449 /* Override any gcc2 internal prototype to avoid an error. */
20454 /* We use char because int might match the return type of a gcc2
20455 builtin and then its argument prototype would still apply. */
20457 /* The GNU C library defines this for functions which it implements
20458 to always fail with ENOSYS. Some functions are actually named
20459 something starting with __ and the normal name is an alias. */
20460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20463 char (*f) () = $ac_func;
20472 return f != $ac_func;
20477 rm -f conftest.$ac_objext conftest$ac_exeext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20479 (eval $ac_link) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -s conftest$ac_exeext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 eval "$as_ac_var=yes"
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 eval "$as_ac_var=no"
20496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20500 if test `eval echo '${'$as_ac_var'}'` = yes; then
20501 cat >>confdefs.h <<_ACEOF
20502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20510 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20511 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20512 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20513 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20514 echo $ECHO_N "(cached) $ECHO_C" >&6
20520 ac_cpp='$CXXCPP $CPPFLAGS'
20521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20525 cat >conftest.$ac_ext <<_ACEOF
20526 #line $LINENO "configure"
20529 cat confdefs.h >>conftest.$ac_ext
20530 cat >>conftest.$ac_ext <<_ACEOF
20531 /* end confdefs.h. */
20541 rm -f conftest.$ac_objext
20542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20543 (eval $ac_compile) 2>&5
20545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20546 (exit $ac_status); } &&
20547 { ac_try='test -s conftest.$ac_objext'
20548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549 (eval $ac_try) 2>&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); }; }; then
20553 glibcxx_cv_func__powl_use=yes
20555 echo "$as_me: failed program was:" >&5
20556 sed 's/^/| /' conftest.$ac_ext >&5
20558 glibcxx_cv_func__powl_use=no
20560 rm -f conftest.$ac_objext conftest.$ac_ext
20562 ac_cpp='$CPP $CPPFLAGS'
20563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20572 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20574 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20576 for ac_func in _powl
20578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20579 echo "$as_me:$LINENO: checking for $ac_func" >&5
20580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20581 if eval "test \"\${$as_ac_var+set}\" = set"; then
20582 echo $ECHO_N "(cached) $ECHO_C" >&6
20584 if test x$gcc_no_link = xyes; then
20585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20587 { (exit 1); exit 1; }; }
20589 cat >conftest.$ac_ext <<_ACEOF
20590 #line $LINENO "configure"
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 /* System header to define __stub macros and hopefully few prototypes,
20597 which can conflict with char $ac_func (); below.
20598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20599 <limits.h> exists even on freestanding compilers. */
20601 # include <limits.h>
20603 # include <assert.h>
20605 /* Override any gcc2 internal prototype to avoid an error. */
20610 /* We use char because int might match the return type of a gcc2
20611 builtin and then its argument prototype would still apply. */
20613 /* The GNU C library defines this for functions which it implements
20614 to always fail with ENOSYS. Some functions are actually named
20615 something starting with __ and the normal name is an alias. */
20616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20619 char (*f) () = $ac_func;
20628 return f != $ac_func;
20633 rm -f conftest.$ac_objext conftest$ac_exeext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20635 (eval $ac_link) 2>&5
20637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20638 (exit $ac_status); } &&
20639 { ac_try='test -s conftest$ac_exeext'
20640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20641 (eval $ac_try) 2>&5
20643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20644 (exit $ac_status); }; }; then
20645 eval "$as_ac_var=yes"
20647 echo "$as_me: failed program was:" >&5
20648 sed 's/^/| /' conftest.$ac_ext >&5
20650 eval "$as_ac_var=no"
20652 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20656 if test `eval echo '${'$as_ac_var'}'` = yes; then
20657 cat >>confdefs.h <<_ACEOF
20658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20669 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20670 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20671 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20672 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20673 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 ac_cpp='$CXXCPP $CPPFLAGS'
20680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20684 cat >conftest.$ac_ext <<_ACEOF
20685 #line $LINENO "configure"
20688 cat confdefs.h >>conftest.$ac_ext
20689 cat >>conftest.$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20692 #ifdef HAVE_IEEEFP_H
20693 #include <ieeefp.h>
20704 rm -f conftest.$ac_objext
20705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20706 (eval $ac_compile) 2>&5
20708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20709 (exit $ac_status); } &&
20710 { ac_try='test -s conftest.$ac_objext'
20711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20712 (eval $ac_try) 2>&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); }; }; then
20716 glibcxx_cv_func_sqrtl_use=yes
20718 echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20721 glibcxx_cv_func_sqrtl_use=no
20723 rm -f conftest.$ac_objext conftest.$ac_ext
20725 ac_cpp='$CPP $CPPFLAGS'
20726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20734 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20735 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20737 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20739 for ac_func in sqrtl
20741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20742 echo "$as_me:$LINENO: checking for $ac_func" >&5
20743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20744 if eval "test \"\${$as_ac_var+set}\" = set"; then
20745 echo $ECHO_N "(cached) $ECHO_C" >&6
20747 if test x$gcc_no_link = xyes; then
20748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20750 { (exit 1); exit 1; }; }
20752 cat >conftest.$ac_ext <<_ACEOF
20753 #line $LINENO "configure"
20756 cat confdefs.h >>conftest.$ac_ext
20757 cat >>conftest.$ac_ext <<_ACEOF
20758 /* end confdefs.h. */
20759 /* System header to define __stub macros and hopefully few prototypes,
20760 which can conflict with char $ac_func (); below.
20761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20762 <limits.h> exists even on freestanding compilers. */
20764 # include <limits.h>
20766 # include <assert.h>
20768 /* Override any gcc2 internal prototype to avoid an error. */
20773 /* We use char because int might match the return type of a gcc2
20774 builtin and then its argument prototype would still apply. */
20776 /* The GNU C library defines this for functions which it implements
20777 to always fail with ENOSYS. Some functions are actually named
20778 something starting with __ and the normal name is an alias. */
20779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20782 char (*f) () = $ac_func;
20791 return f != $ac_func;
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try='test -s conftest$ac_exeext'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 eval "$as_ac_var=yes"
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20813 eval "$as_ac_var=no"
20815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20819 if test `eval echo '${'$as_ac_var'}'` = yes; then
20820 cat >>confdefs.h <<_ACEOF
20821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20829 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20830 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20831 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20832 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20833 echo $ECHO_N "(cached) $ECHO_C" >&6
20839 ac_cpp='$CXXCPP $CPPFLAGS'
20840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20844 cat >conftest.$ac_ext <<_ACEOF
20845 #line $LINENO "configure"
20848 cat confdefs.h >>conftest.$ac_ext
20849 cat >>conftest.$ac_ext <<_ACEOF
20850 /* end confdefs.h. */
20852 #ifdef HAVE_IEEEFP_H
20853 #include <ieeefp.h>
20864 rm -f conftest.$ac_objext
20865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20866 (eval $ac_compile) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); } &&
20870 { ac_try='test -s conftest.$ac_objext'
20871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20872 (eval $ac_try) 2>&5
20874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20875 (exit $ac_status); }; }; then
20876 glibcxx_cv_func__sqrtl_use=yes
20878 echo "$as_me: failed program was:" >&5
20879 sed 's/^/| /' conftest.$ac_ext >&5
20881 glibcxx_cv_func__sqrtl_use=no
20883 rm -f conftest.$ac_objext conftest.$ac_ext
20885 ac_cpp='$CPP $CPPFLAGS'
20886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20894 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20895 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20897 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20899 for ac_func in _sqrtl
20901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20902 echo "$as_me:$LINENO: checking for $ac_func" >&5
20903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20904 if eval "test \"\${$as_ac_var+set}\" = set"; then
20905 echo $ECHO_N "(cached) $ECHO_C" >&6
20907 if test x$gcc_no_link = xyes; then
20908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20910 { (exit 1); exit 1; }; }
20912 cat >conftest.$ac_ext <<_ACEOF
20913 #line $LINENO "configure"
20916 cat confdefs.h >>conftest.$ac_ext
20917 cat >>conftest.$ac_ext <<_ACEOF
20918 /* end confdefs.h. */
20919 /* System header to define __stub macros and hopefully few prototypes,
20920 which can conflict with char $ac_func (); below.
20921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20922 <limits.h> exists even on freestanding compilers. */
20924 # include <limits.h>
20926 # include <assert.h>
20928 /* Override any gcc2 internal prototype to avoid an error. */
20933 /* We use char because int might match the return type of a gcc2
20934 builtin and then its argument prototype would still apply. */
20936 /* The GNU C library defines this for functions which it implements
20937 to always fail with ENOSYS. Some functions are actually named
20938 something starting with __ and the normal name is an alias. */
20939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20942 char (*f) () = $ac_func;
20951 return f != $ac_func;
20956 rm -f conftest.$ac_objext conftest$ac_exeext
20957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20958 (eval $ac_link) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -s conftest$ac_exeext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 eval "$as_ac_var=yes"
20970 echo "$as_me: failed program was:" >&5
20971 sed 's/^/| /' conftest.$ac_ext >&5
20973 eval "$as_ac_var=no"
20975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20979 if test `eval echo '${'$as_ac_var'}'` = yes; then
20980 cat >>confdefs.h <<_ACEOF
20981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20992 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20993 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20994 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20995 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
21002 ac_cpp='$CXXCPP $CPPFLAGS'
21003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21007 cat >conftest.$ac_ext <<_ACEOF
21008 #line $LINENO "configure"
21011 cat confdefs.h >>conftest.$ac_ext
21012 cat >>conftest.$ac_ext <<_ACEOF
21013 /* end confdefs.h. */
21023 rm -f conftest.$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>&5
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); } &&
21029 { ac_try='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 glibcxx_cv_func_sincosl_use=yes
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21040 glibcxx_cv_func_sincosl_use=no
21042 rm -f conftest.$ac_objext conftest.$ac_ext
21044 ac_cpp='$CPP $CPPFLAGS'
21045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21054 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21056 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21058 for ac_func in sincosl
21060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21061 echo "$as_me:$LINENO: checking for $ac_func" >&5
21062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21063 if eval "test \"\${$as_ac_var+set}\" = set"; then
21064 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 if test x$gcc_no_link = xyes; then
21067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21069 { (exit 1); exit 1; }; }
21071 cat >conftest.$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 /* System header to define __stub macros and hopefully few prototypes,
21079 which can conflict with char $ac_func (); below.
21080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21081 <limits.h> exists even on freestanding compilers. */
21083 # include <limits.h>
21085 # include <assert.h>
21087 /* Override any gcc2 internal prototype to avoid an error. */
21092 /* We use char because int might match the return type of a gcc2
21093 builtin and then its argument prototype would still apply. */
21095 /* The GNU C library defines this for functions which it implements
21096 to always fail with ENOSYS. Some functions are actually named
21097 something starting with __ and the normal name is an alias. */
21098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21101 char (*f) () = $ac_func;
21110 return f != $ac_func;
21115 rm -f conftest.$ac_objext conftest$ac_exeext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21117 (eval $ac_link) 2>&5
21119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21120 (exit $ac_status); } &&
21121 { ac_try='test -s conftest$ac_exeext'
21122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21123 (eval $ac_try) 2>&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); }; }; then
21127 eval "$as_ac_var=yes"
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21132 eval "$as_ac_var=no"
21134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21138 if test `eval echo '${'$as_ac_var'}'` = yes; then
21139 cat >>confdefs.h <<_ACEOF
21140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21148 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21149 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21150 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21151 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21152 echo $ECHO_N "(cached) $ECHO_C" >&6
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163 cat >conftest.$ac_ext <<_ACEOF
21164 #line $LINENO "configure"
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21179 rm -f conftest.$ac_objext
21180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21181 (eval $ac_compile) 2>&5
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } &&
21185 { ac_try='test -s conftest.$ac_objext'
21186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21187 (eval $ac_try) 2>&5
21189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21190 (exit $ac_status); }; }; then
21191 glibcxx_cv_func__sincosl_use=yes
21193 echo "$as_me: failed program was:" >&5
21194 sed 's/^/| /' conftest.$ac_ext >&5
21196 glibcxx_cv_func__sincosl_use=no
21198 rm -f conftest.$ac_objext conftest.$ac_ext
21200 ac_cpp='$CPP $CPPFLAGS'
21201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21210 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21212 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21214 for ac_func in _sincosl
21216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21217 echo "$as_me:$LINENO: checking for $ac_func" >&5
21218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21219 if eval "test \"\${$as_ac_var+set}\" = set"; then
21220 echo $ECHO_N "(cached) $ECHO_C" >&6
21222 if test x$gcc_no_link = xyes; then
21223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21225 { (exit 1); exit 1; }; }
21227 cat >conftest.$ac_ext <<_ACEOF
21228 #line $LINENO "configure"
21231 cat confdefs.h >>conftest.$ac_ext
21232 cat >>conftest.$ac_ext <<_ACEOF
21233 /* end confdefs.h. */
21234 /* System header to define __stub macros and hopefully few prototypes,
21235 which can conflict with char $ac_func (); below.
21236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21237 <limits.h> exists even on freestanding compilers. */
21239 # include <limits.h>
21241 # include <assert.h>
21243 /* Override any gcc2 internal prototype to avoid an error. */
21248 /* We use char because int might match the return type of a gcc2
21249 builtin and then its argument prototype would still apply. */
21251 /* The GNU C library defines this for functions which it implements
21252 to always fail with ENOSYS. Some functions are actually named
21253 something starting with __ and the normal name is an alias. */
21254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21257 char (*f) () = $ac_func;
21266 return f != $ac_func;
21271 rm -f conftest.$ac_objext conftest$ac_exeext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21273 (eval $ac_link) 2>&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } &&
21277 { ac_try='test -s conftest$ac_exeext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 eval "$as_ac_var=yes"
21285 echo "$as_me: failed program was:" >&5
21286 sed 's/^/| /' conftest.$ac_ext >&5
21288 eval "$as_ac_var=no"
21290 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21294 if test `eval echo '${'$as_ac_var'}'` = yes; then
21295 cat >>confdefs.h <<_ACEOF
21296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21307 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21308 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21309 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21310 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21317 ac_cpp='$CXXCPP $CPPFLAGS'
21318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21322 cat >conftest.$ac_ext <<_ACEOF
21323 #line $LINENO "configure"
21326 cat confdefs.h >>conftest.$ac_ext
21327 cat >>conftest.$ac_ext <<_ACEOF
21328 /* end confdefs.h. */
21330 #ifdef HAVE_IEEEFP_H
21331 #include <ieeefp.h>
21342 rm -f conftest.$ac_objext
21343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21344 (eval $ac_compile) 2>&5
21346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21347 (exit $ac_status); } &&
21348 { ac_try='test -s conftest.$ac_objext'
21349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21350 (eval $ac_try) 2>&5
21352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21353 (exit $ac_status); }; }; then
21354 glibcxx_cv_func_finitel_use=yes
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21359 glibcxx_cv_func_finitel_use=no
21361 rm -f conftest.$ac_objext conftest.$ac_ext
21363 ac_cpp='$CPP $CPPFLAGS'
21364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21373 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21375 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21377 for ac_func in finitel
21379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21380 echo "$as_me:$LINENO: checking for $ac_func" >&5
21381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21382 if eval "test \"\${$as_ac_var+set}\" = set"; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21385 if test x$gcc_no_link = xyes; then
21386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21388 { (exit 1); exit 1; }; }
21390 cat >conftest.$ac_ext <<_ACEOF
21391 #line $LINENO "configure"
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 /* System header to define __stub macros and hopefully few prototypes,
21398 which can conflict with char $ac_func (); below.
21399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21400 <limits.h> exists even on freestanding compilers. */
21402 # include <limits.h>
21404 # include <assert.h>
21406 /* Override any gcc2 internal prototype to avoid an error. */
21411 /* We use char because int might match the return type of a gcc2
21412 builtin and then its argument prototype would still apply. */
21414 /* The GNU C library defines this for functions which it implements
21415 to always fail with ENOSYS. Some functions are actually named
21416 something starting with __ and the normal name is an alias. */
21417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21420 char (*f) () = $ac_func;
21429 return f != $ac_func;
21434 rm -f conftest.$ac_objext conftest$ac_exeext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21436 (eval $ac_link) 2>&5
21438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21439 (exit $ac_status); } &&
21440 { ac_try='test -s conftest$ac_exeext'
21441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21442 (eval $ac_try) 2>&5
21444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21445 (exit $ac_status); }; }; then
21446 eval "$as_ac_var=yes"
21448 echo "$as_me: failed program was:" >&5
21449 sed 's/^/| /' conftest.$ac_ext >&5
21451 eval "$as_ac_var=no"
21453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21457 if test `eval echo '${'$as_ac_var'}'` = yes; then
21458 cat >>confdefs.h <<_ACEOF
21459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21467 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21468 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21469 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21470 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21477 ac_cpp='$CXXCPP $CPPFLAGS'
21478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21482 cat >conftest.$ac_ext <<_ACEOF
21483 #line $LINENO "configure"
21486 cat confdefs.h >>conftest.$ac_ext
21487 cat >>conftest.$ac_ext <<_ACEOF
21488 /* end confdefs.h. */
21490 #ifdef HAVE_IEEEFP_H
21491 #include <ieeefp.h>
21502 rm -f conftest.$ac_objext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21504 (eval $ac_compile) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } &&
21508 { ac_try='test -s conftest.$ac_objext'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; }; then
21514 glibcxx_cv_func__finitel_use=yes
21516 echo "$as_me: failed program was:" >&5
21517 sed 's/^/| /' conftest.$ac_ext >&5
21519 glibcxx_cv_func__finitel_use=no
21521 rm -f conftest.$ac_objext conftest.$ac_ext
21523 ac_cpp='$CPP $CPPFLAGS'
21524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21533 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21535 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21537 for ac_func in _finitel
21539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21540 echo "$as_me:$LINENO: checking for $ac_func" >&5
21541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21542 if eval "test \"\${$as_ac_var+set}\" = set"; then
21543 echo $ECHO_N "(cached) $ECHO_C" >&6
21545 if test x$gcc_no_link = xyes; then
21546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21548 { (exit 1); exit 1; }; }
21550 cat >conftest.$ac_ext <<_ACEOF
21551 #line $LINENO "configure"
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 /* System header to define __stub macros and hopefully few prototypes,
21558 which can conflict with char $ac_func (); below.
21559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21560 <limits.h> exists even on freestanding compilers. */
21562 # include <limits.h>
21564 # include <assert.h>
21566 /* Override any gcc2 internal prototype to avoid an error. */
21571 /* We use char because int might match the return type of a gcc2
21572 builtin and then its argument prototype would still apply. */
21574 /* The GNU C library defines this for functions which it implements
21575 to always fail with ENOSYS. Some functions are actually named
21576 something starting with __ and the normal name is an alias. */
21577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21580 char (*f) () = $ac_func;
21589 return f != $ac_func;
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try='test -s conftest$ac_exeext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 eval "$as_ac_var=yes"
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21611 eval "$as_ac_var=no"
21613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21617 if test `eval echo '${'$as_ac_var'}'` = yes; then
21618 cat >>confdefs.h <<_ACEOF
21619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21631 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21632 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21633 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21640 ac_cpp='$CXXCPP $CPPFLAGS'
21641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645 cat >conftest.$ac_ext <<_ACEOF
21646 #line $LINENO "configure"
21649 cat confdefs.h >>conftest.$ac_ext
21650 cat >>conftest.$ac_ext <<_ACEOF
21651 /* end confdefs.h. */
21656 `for x in _acosf _asinf _atanf \
21657 _cosf _sinf _tanf \
21658 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21663 rm -f conftest.$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>&5
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); } &&
21669 { ac_try='test -s conftest.$ac_objext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 glibcxx_cv_func__float_trig_use=yes
21677 echo "$as_me: failed program was:" >&5
21678 sed 's/^/| /' conftest.$ac_ext >&5
21680 glibcxx_cv_func__float_trig_use=no
21682 rm -f conftest.$ac_objext conftest.$ac_ext
21684 ac_cpp='$CPP $CPPFLAGS'
21685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21692 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21693 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21703 for ac_func in _acosf _asinf _atanf \
21704 _cosf _sinf _tanf \
21705 _coshf _sinhf _tanhf
21707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21708 echo "$as_me:$LINENO: checking for $ac_func" >&5
21709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21710 if eval "test \"\${$as_ac_var+set}\" = set"; then
21711 echo $ECHO_N "(cached) $ECHO_C" >&6
21713 if test x$gcc_no_link = xyes; then
21714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21716 { (exit 1); exit 1; }; }
21718 cat >conftest.$ac_ext <<_ACEOF
21719 #line $LINENO "configure"
21722 cat confdefs.h >>conftest.$ac_ext
21723 cat >>conftest.$ac_ext <<_ACEOF
21724 /* end confdefs.h. */
21725 /* System header to define __stub macros and hopefully few prototypes,
21726 which can conflict with char $ac_func (); below.
21727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21728 <limits.h> exists even on freestanding compilers. */
21730 # include <limits.h>
21732 # include <assert.h>
21734 /* Override any gcc2 internal prototype to avoid an error. */
21739 /* We use char because int might match the return type of a gcc2
21740 builtin and then its argument prototype would still apply. */
21742 /* The GNU C library defines this for functions which it implements
21743 to always fail with ENOSYS. Some functions are actually named
21744 something starting with __ and the normal name is an alias. */
21745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21748 char (*f) () = $ac_func;
21757 return f != $ac_func;
21762 rm -f conftest.$ac_objext conftest$ac_exeext
21763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21764 (eval $ac_link) 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); } &&
21768 { ac_try='test -s conftest$ac_exeext'
21769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770 (eval $ac_try) 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 eval "$as_ac_var=yes"
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21779 eval "$as_ac_var=no"
21781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21785 if test `eval echo '${'$as_ac_var'}'` = yes; then
21786 cat >>confdefs.h <<_ACEOF
21787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21796 echo "$as_me:$LINENO: checking for _float round functions" >&5
21797 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21798 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21799 echo $ECHO_N "(cached) $ECHO_C" >&6
21805 ac_cpp='$CXXCPP $CPPFLAGS'
21806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21810 cat >conftest.$ac_ext <<_ACEOF
21811 #line $LINENO "configure"
21814 cat confdefs.h >>conftest.$ac_ext
21815 cat >>conftest.$ac_ext <<_ACEOF
21816 /* end confdefs.h. */
21821 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21826 rm -f conftest.$ac_objext
21827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21828 (eval $ac_compile) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); } &&
21832 { ac_try='test -s conftest.$ac_objext'
21833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21834 (eval $ac_try) 2>&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); }; }; then
21838 glibcxx_cv_func__float_round_use=yes
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.$ac_ext >&5
21843 glibcxx_cv_func__float_round_use=no
21845 rm -f conftest.$ac_objext conftest.$ac_ext
21847 ac_cpp='$CPP $CPPFLAGS'
21848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21855 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21856 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21859 for ac_func in _ceilf _floorf
21861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21862 echo "$as_me:$LINENO: checking for $ac_func" >&5
21863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21864 if eval "test \"\${$as_ac_var+set}\" = set"; then
21865 echo $ECHO_N "(cached) $ECHO_C" >&6
21867 if test x$gcc_no_link = xyes; then
21868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21870 { (exit 1); exit 1; }; }
21872 cat >conftest.$ac_ext <<_ACEOF
21873 #line $LINENO "configure"
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 /* System header to define __stub macros and hopefully few prototypes,
21880 which can conflict with char $ac_func (); below.
21881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882 <limits.h> exists even on freestanding compilers. */
21884 # include <limits.h>
21886 # include <assert.h>
21888 /* Override any gcc2 internal prototype to avoid an error. */
21893 /* We use char because int might match the return type of a gcc2
21894 builtin and then its argument prototype would still apply. */
21896 /* The GNU C library defines this for functions which it implements
21897 to always fail with ENOSYS. Some functions are actually named
21898 something starting with __ and the normal name is an alias. */
21899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21902 char (*f) () = $ac_func;
21911 return f != $ac_func;
21916 rm -f conftest.$ac_objext conftest$ac_exeext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21918 (eval $ac_link) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -s conftest$ac_exeext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 eval "$as_ac_var=yes"
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 eval "$as_ac_var=no"
21935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21939 if test `eval echo '${'$as_ac_var'}'` = yes; then
21940 cat >>confdefs.h <<_ACEOF
21941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21951 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21952 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21953 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21960 ac_cpp='$CXXCPP $CPPFLAGS'
21961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21965 cat >conftest.$ac_ext <<_ACEOF
21966 #line $LINENO "configure"
21969 cat confdefs.h >>conftest.$ac_ext
21970 cat >>conftest.$ac_ext <<_ACEOF
21971 /* end confdefs.h. */
21976 `for x in _acosl _asinl _atanl \
21977 _cosl _sinl _tanl \
21978 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21983 rm -f conftest.$ac_objext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21985 (eval $ac_compile) 2>&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } &&
21989 { ac_try='test -s conftest.$ac_objext'
21990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21991 (eval $ac_try) 2>&5
21993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21994 (exit $ac_status); }; }; then
21995 glibcxx_cv_func__long_double_trig_use=yes
21997 echo "$as_me: failed program was:" >&5
21998 sed 's/^/| /' conftest.$ac_ext >&5
22000 glibcxx_cv_func__long_double_trig_use=no
22002 rm -f conftest.$ac_objext conftest.$ac_ext
22004 ac_cpp='$CPP $CPPFLAGS'
22005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
22012 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
22013 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22023 for ac_func in _acosl _asinl _atanl \
22024 _cosl _sinl _tanl \
22025 _coshl _sinhl _tanhl
22027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22028 echo "$as_me:$LINENO: checking for $ac_func" >&5
22029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22030 if eval "test \"\${$as_ac_var+set}\" = set"; then
22031 echo $ECHO_N "(cached) $ECHO_C" >&6
22033 if test x$gcc_no_link = xyes; then
22034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036 { (exit 1); exit 1; }; }
22038 cat >conftest.$ac_ext <<_ACEOF
22039 #line $LINENO "configure"
22042 cat confdefs.h >>conftest.$ac_ext
22043 cat >>conftest.$ac_ext <<_ACEOF
22044 /* end confdefs.h. */
22045 /* System header to define __stub macros and hopefully few prototypes,
22046 which can conflict with char $ac_func (); below.
22047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22048 <limits.h> exists even on freestanding compilers. */
22050 # include <limits.h>
22052 # include <assert.h>
22054 /* Override any gcc2 internal prototype to avoid an error. */
22059 /* We use char because int might match the return type of a gcc2
22060 builtin and then its argument prototype would still apply. */
22062 /* The GNU C library defines this for functions which it implements
22063 to always fail with ENOSYS. Some functions are actually named
22064 something starting with __ and the normal name is an alias. */
22065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22068 char (*f) () = $ac_func;
22077 return f != $ac_func;
22082 rm -f conftest.$ac_objext conftest$ac_exeext
22083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22084 (eval $ac_link) 2>&5
22086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22087 (exit $ac_status); } &&
22088 { ac_try='test -s conftest$ac_exeext'
22089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22090 (eval $ac_try) 2>&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); }; }; then
22094 eval "$as_ac_var=yes"
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22099 eval "$as_ac_var=no"
22101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22105 if test `eval echo '${'$as_ac_var'}'` = yes; then
22106 cat >>confdefs.h <<_ACEOF
22107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22116 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22117 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22118 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22125 ac_cpp='$CXXCPP $CPPFLAGS'
22126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22130 cat >conftest.$ac_ext <<_ACEOF
22131 #line $LINENO "configure"
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22141 `for x in _ceill _floorl; do echo "$x (0);"; done`
22146 rm -f conftest.$ac_objext
22147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22148 (eval $ac_compile) 2>&5
22150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22151 (exit $ac_status); } &&
22152 { ac_try='test -s conftest.$ac_objext'
22153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22154 (eval $ac_try) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); }; }; then
22158 glibcxx_cv_func__long_double_round_use=yes
22160 echo "$as_me: failed program was:" >&5
22161 sed 's/^/| /' conftest.$ac_ext >&5
22163 glibcxx_cv_func__long_double_round_use=no
22165 rm -f conftest.$ac_objext conftest.$ac_ext
22167 ac_cpp='$CPP $CPPFLAGS'
22168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22175 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22176 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22179 for ac_func in _ceill _floorl
22181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 echo "$as_me:$LINENO: checking for $ac_func" >&5
22183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22184 if eval "test \"\${$as_ac_var+set}\" = set"; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22187 if test x$gcc_no_link = xyes; then
22188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190 { (exit 1); exit 1; }; }
22192 cat >conftest.$ac_ext <<_ACEOF
22193 #line $LINENO "configure"
22196 cat confdefs.h >>conftest.$ac_ext
22197 cat >>conftest.$ac_ext <<_ACEOF
22198 /* end confdefs.h. */
22199 /* System header to define __stub macros and hopefully few prototypes,
22200 which can conflict with char $ac_func (); below.
22201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22202 <limits.h> exists even on freestanding compilers. */
22204 # include <limits.h>
22206 # include <assert.h>
22208 /* Override any gcc2 internal prototype to avoid an error. */
22213 /* We use char because int might match the return type of a gcc2
22214 builtin and then its argument prototype would still apply. */
22216 /* The GNU C library defines this for functions which it implements
22217 to always fail with ENOSYS. Some functions are actually named
22218 something starting with __ and the normal name is an alias. */
22219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22222 char (*f) () = $ac_func;
22231 return f != $ac_func;
22236 rm -f conftest.$ac_objext conftest$ac_exeext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22238 (eval $ac_link) 2>&5
22240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22241 (exit $ac_status); } &&
22242 { ac_try='test -s conftest$ac_exeext'
22243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22244 (eval $ac_try) 2>&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); }; }; then
22248 eval "$as_ac_var=yes"
22250 echo "$as_me: failed program was:" >&5
22251 sed 's/^/| /' conftest.$ac_ext >&5
22253 eval "$as_ac_var=no"
22255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22259 if test `eval echo '${'$as_ac_var'}'` = yes; then
22260 cat >>confdefs.h <<_ACEOF
22261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22270 LIBS="$ac_save_LIBS"
22271 CXXFLAGS="$ac_save_CXXFLAGS"
22275 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22276 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22277 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22278 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22279 echo $ECHO_N "(cached) $ECHO_C" >&6
22285 ac_cpp='$CXXCPP $CPPFLAGS'
22286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22290 cat >conftest.$ac_ext <<_ACEOF
22291 #line $LINENO "configure"
22294 cat confdefs.h >>conftest.$ac_ext
22295 cat >>conftest.$ac_ext <<_ACEOF
22296 /* end confdefs.h. */
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>&5
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 glibcxx_cv_func___builtin_abs_use=yes
22320 echo "$as_me: failed program was:" >&5
22321 sed 's/^/| /' conftest.$ac_ext >&5
22323 glibcxx_cv_func___builtin_abs_use=no
22325 rm -f conftest.$ac_objext conftest.$ac_ext
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22337 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22338 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22339 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22340 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22341 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22342 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22343 echo $ECHO_N "(cached) $ECHO_C" >&6
22346 if test x$gcc_no_link = xyes; then
22347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22349 { (exit 1); exit 1; }; }
22351 cat >conftest.$ac_ext <<_ACEOF
22352 #line $LINENO "configure"
22355 cat confdefs.h >>conftest.$ac_ext
22356 cat >>conftest.$ac_ext <<_ACEOF
22357 /* end confdefs.h. */
22367 rm -f conftest.$ac_objext conftest$ac_exeext
22368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22369 (eval $ac_link) 2>&5
22371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22372 (exit $ac_status); } &&
22373 { ac_try='test -s conftest$ac_exeext'
22374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22375 (eval $ac_try) 2>&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); }; }; then
22379 glibcxx_cv_func___builtin_abs_link=yes
22381 echo "$as_me: failed program was:" >&5
22382 sed 's/^/| /' conftest.$ac_ext >&5
22384 glibcxx_cv_func___builtin_abs_link=no
22386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22392 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22393 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22394 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22395 cat >>confdefs.h <<_ACEOF
22396 #define ${ac_tr_func} 1
22403 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22404 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22405 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22406 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22407 echo $ECHO_N "(cached) $ECHO_C" >&6
22413 ac_cpp='$CXXCPP $CPPFLAGS'
22414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22418 cat >conftest.$ac_ext <<_ACEOF
22419 #line $LINENO "configure"
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22429 __builtin_fabsf(0);
22434 rm -f conftest.$ac_objext
22435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22436 (eval $ac_compile) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); } &&
22440 { ac_try='test -s conftest.$ac_objext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 glibcxx_cv_func___builtin_fabsf_use=yes
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.$ac_ext >&5
22451 glibcxx_cv_func___builtin_fabsf_use=no
22453 rm -f conftest.$ac_objext conftest.$ac_ext
22455 ac_cpp='$CPP $CPPFLAGS'
22456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22464 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22465 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22466 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22467 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22468 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22469 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22470 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22471 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 if test x$gcc_no_link = xyes; then
22475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22477 { (exit 1); exit 1; }; }
22479 cat >conftest.$ac_ext <<_ACEOF
22480 #line $LINENO "configure"
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22490 __builtin_fabsf(0);
22495 rm -f conftest.$ac_objext conftest$ac_exeext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22497 (eval $ac_link) 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } &&
22501 { ac_try='test -s conftest$ac_exeext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22507 glibcxx_cv_func___builtin_fabsf_link=yes
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22512 glibcxx_cv_func___builtin_fabsf_link=no
22514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22521 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22522 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22523 cat >>confdefs.h <<_ACEOF
22524 #define ${ac_tr_func} 1
22531 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22532 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22533 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22534 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22535 echo $ECHO_N "(cached) $ECHO_C" >&6
22541 ac_cpp='$CXXCPP $CPPFLAGS'
22542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22546 cat >conftest.$ac_ext <<_ACEOF
22547 #line $LINENO "configure"
22550 cat confdefs.h >>conftest.$ac_ext
22551 cat >>conftest.$ac_ext <<_ACEOF
22552 /* end confdefs.h. */
22562 rm -f conftest.$ac_objext
22563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22564 (eval $ac_compile) 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22570 (eval $ac_try) 2>&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); }; }; then
22574 glibcxx_cv_func___builtin_fabs_use=yes
22576 echo "$as_me: failed program was:" >&5
22577 sed 's/^/| /' conftest.$ac_ext >&5
22579 glibcxx_cv_func___builtin_fabs_use=no
22581 rm -f conftest.$ac_objext conftest.$ac_ext
22583 ac_cpp='$CPP $CPPFLAGS'
22584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22593 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22594 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22595 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22596 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22597 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22598 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6
22602 if test x$gcc_no_link = xyes; then
22603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22605 { (exit 1); exit 1; }; }
22607 cat >conftest.$ac_ext <<_ACEOF
22608 #line $LINENO "configure"
22611 cat confdefs.h >>conftest.$ac_ext
22612 cat >>conftest.$ac_ext <<_ACEOF
22613 /* end confdefs.h. */
22623 rm -f conftest.$ac_objext conftest$ac_exeext
22624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22625 (eval $ac_link) 2>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } &&
22629 { ac_try='test -s conftest$ac_exeext'
22630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22631 (eval $ac_try) 2>&5
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 glibcxx_cv_func___builtin_fabs_link=yes
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.$ac_ext >&5
22640 glibcxx_cv_func___builtin_fabs_link=no
22642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22647 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22648 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22649 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22650 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22651 cat >>confdefs.h <<_ACEOF
22652 #define ${ac_tr_func} 1
22659 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22660 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22661 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22662 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22663 echo $ECHO_N "(cached) $ECHO_C" >&6
22669 ac_cpp='$CXXCPP $CPPFLAGS'
22670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22674 cat >conftest.$ac_ext <<_ACEOF
22675 #line $LINENO "configure"
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22685 __builtin_fabsl(0);
22690 rm -f conftest.$ac_objext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22692 (eval $ac_compile) 2>&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } &&
22696 { ac_try='test -s conftest.$ac_objext'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; }; then
22702 glibcxx_cv_func___builtin_fabsl_use=yes
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22707 glibcxx_cv_func___builtin_fabsl_use=no
22709 rm -f conftest.$ac_objext conftest.$ac_ext
22711 ac_cpp='$CPP $CPPFLAGS'
22712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22720 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22721 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22722 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22723 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22724 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22725 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22726 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22730 if test x$gcc_no_link = xyes; then
22731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22733 { (exit 1); exit 1; }; }
22735 cat >conftest.$ac_ext <<_ACEOF
22736 #line $LINENO "configure"
22739 cat confdefs.h >>conftest.$ac_ext
22740 cat >>conftest.$ac_ext <<_ACEOF
22741 /* end confdefs.h. */
22746 __builtin_fabsl(0);
22751 rm -f conftest.$ac_objext conftest$ac_exeext
22752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22753 (eval $ac_link) 2>&5
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); } &&
22757 { ac_try='test -s conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 glibcxx_cv_func___builtin_fabsl_link=yes
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22768 glibcxx_cv_func___builtin_fabsl_link=no
22770 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22776 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22777 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22778 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22779 cat >>confdefs.h <<_ACEOF
22780 #define ${ac_tr_func} 1
22787 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22788 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22789 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22790 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22791 echo $ECHO_N "(cached) $ECHO_C" >&6
22797 ac_cpp='$CXXCPP $CPPFLAGS'
22798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22802 cat >conftest.$ac_ext <<_ACEOF
22803 #line $LINENO "configure"
22806 cat confdefs.h >>conftest.$ac_ext
22807 cat >>conftest.$ac_ext <<_ACEOF
22808 /* end confdefs.h. */
22818 rm -f conftest.$ac_objext
22819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22820 (eval $ac_compile) 2>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -s conftest.$ac_objext'
22825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22826 (eval $ac_try) 2>&5
22828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22829 (exit $ac_status); }; }; then
22830 glibcxx_cv_func___builtin_labs_use=yes
22832 echo "$as_me: failed program was:" >&5
22833 sed 's/^/| /' conftest.$ac_ext >&5
22835 glibcxx_cv_func___builtin_labs_use=no
22837 rm -f conftest.$ac_objext conftest.$ac_ext
22839 ac_cpp='$CPP $CPPFLAGS'
22840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22848 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22849 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22850 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22851 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22852 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22853 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22854 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22858 if test x$gcc_no_link = xyes; then
22859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22861 { (exit 1); exit 1; }; }
22863 cat >conftest.$ac_ext <<_ACEOF
22864 #line $LINENO "configure"
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22879 rm -f conftest.$ac_objext conftest$ac_exeext
22880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22881 (eval $ac_link) 2>&5
22883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884 (exit $ac_status); } &&
22885 { ac_try='test -s conftest$ac_exeext'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; }; then
22891 glibcxx_cv_func___builtin_labs_link=yes
22893 echo "$as_me: failed program was:" >&5
22894 sed 's/^/| /' conftest.$ac_ext >&5
22896 glibcxx_cv_func___builtin_labs_link=no
22898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22903 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22904 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22905 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22906 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22907 cat >>confdefs.h <<_ACEOF
22908 #define ${ac_tr_func} 1
22916 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22917 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22918 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22919 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22926 ac_cpp='$CXXCPP $CPPFLAGS'
22927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22931 cat >conftest.$ac_ext <<_ACEOF
22932 #line $LINENO "configure"
22935 cat confdefs.h >>conftest.$ac_ext
22936 cat >>conftest.$ac_ext <<_ACEOF
22937 /* end confdefs.h. */
22942 __builtin_sqrtf(0);
22947 rm -f conftest.$ac_objext
22948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22949 (eval $ac_compile) 2>&5
22951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22952 (exit $ac_status); } &&
22953 { ac_try='test -s conftest.$ac_objext'
22954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22955 (eval $ac_try) 2>&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); }; }; then
22959 glibcxx_cv_func___builtin_sqrtf_use=yes
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22964 glibcxx_cv_func___builtin_sqrtf_use=no
22966 rm -f conftest.$ac_objext conftest.$ac_ext
22968 ac_cpp='$CPP $CPPFLAGS'
22969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22977 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22978 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22979 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22980 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22981 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22982 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22983 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22984 echo $ECHO_N "(cached) $ECHO_C" >&6
22987 if test x$gcc_no_link = xyes; then
22988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22990 { (exit 1); exit 1; }; }
22992 cat >conftest.$ac_ext <<_ACEOF
22993 #line $LINENO "configure"
22996 cat confdefs.h >>conftest.$ac_ext
22997 cat >>conftest.$ac_ext <<_ACEOF
22998 /* end confdefs.h. */
23003 __builtin_sqrtf(0);
23008 rm -f conftest.$ac_objext conftest$ac_exeext
23009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23010 (eval $ac_link) 2>&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } &&
23014 { ac_try='test -s conftest$ac_exeext'
23015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23016 (eval $ac_try) 2>&5
23018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23019 (exit $ac_status); }; }; then
23020 glibcxx_cv_func___builtin_sqrtf_link=yes
23022 echo "$as_me: failed program was:" >&5
23023 sed 's/^/| /' conftest.$ac_ext >&5
23025 glibcxx_cv_func___builtin_sqrtf_link=no
23027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23034 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23035 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23036 cat >>confdefs.h <<_ACEOF
23037 #define ${ac_tr_func} 1
23044 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23045 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23046 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23047 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23048 echo $ECHO_N "(cached) $ECHO_C" >&6
23054 ac_cpp='$CXXCPP $CPPFLAGS'
23055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23059 cat >conftest.$ac_ext <<_ACEOF
23060 #line $LINENO "configure"
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077 (eval $ac_compile) 2>&5
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); } &&
23081 { ac_try='test -s conftest.$ac_objext'
23082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23083 (eval $ac_try) 2>&5
23085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23086 (exit $ac_status); }; }; then
23087 glibcxx_cv_func___builtin_sqrt_use=yes
23089 echo "$as_me: failed program was:" >&5
23090 sed 's/^/| /' conftest.$ac_ext >&5
23092 glibcxx_cv_func___builtin_sqrt_use=no
23094 rm -f conftest.$ac_objext conftest.$ac_ext
23096 ac_cpp='$CPP $CPPFLAGS'
23097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23107 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23108 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23109 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23110 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23111 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23112 echo $ECHO_N "(cached) $ECHO_C" >&6
23115 if test x$gcc_no_link = xyes; then
23116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23118 { (exit 1); exit 1; }; }
23120 cat >conftest.$ac_ext <<_ACEOF
23121 #line $LINENO "configure"
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h. */
23136 rm -f conftest.$ac_objext conftest$ac_exeext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23138 (eval $ac_link) 2>&5
23140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23141 (exit $ac_status); } &&
23142 { ac_try='test -s conftest$ac_exeext'
23143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23144 (eval $ac_try) 2>&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); }; }; then
23148 glibcxx_cv_func___builtin_sqrt_link=yes
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23153 glibcxx_cv_func___builtin_sqrt_link=no
23155 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23160 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23161 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23162 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23163 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23164 cat >>confdefs.h <<_ACEOF
23165 #define ${ac_tr_func} 1
23172 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23173 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23174 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23175 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23182 ac_cpp='$CXXCPP $CPPFLAGS'
23183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23187 cat >conftest.$ac_ext <<_ACEOF
23188 #line $LINENO "configure"
23191 cat confdefs.h >>conftest.$ac_ext
23192 cat >>conftest.$ac_ext <<_ACEOF
23193 /* end confdefs.h. */
23198 __builtin_sqrtl(0);
23203 rm -f conftest.$ac_objext
23204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23205 (eval $ac_compile) 2>&5
23207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23208 (exit $ac_status); } &&
23209 { ac_try='test -s conftest.$ac_objext'
23210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23211 (eval $ac_try) 2>&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); }; }; then
23215 glibcxx_cv_func___builtin_sqrtl_use=yes
23217 echo "$as_me: failed program was:" >&5
23218 sed 's/^/| /' conftest.$ac_ext >&5
23220 glibcxx_cv_func___builtin_sqrtl_use=no
23222 rm -f conftest.$ac_objext conftest.$ac_ext
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23233 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23234 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23235 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23236 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23237 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23238 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23239 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23243 if test x$gcc_no_link = xyes; then
23244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23246 { (exit 1); exit 1; }; }
23248 cat >conftest.$ac_ext <<_ACEOF
23249 #line $LINENO "configure"
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h. */
23259 __builtin_sqrtl(0);
23264 rm -f conftest.$ac_objext conftest$ac_exeext
23265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23266 (eval $ac_link) 2>&5
23268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23269 (exit $ac_status); } &&
23270 { ac_try='test -s conftest$ac_exeext'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; }; then
23276 glibcxx_cv_func___builtin_sqrtl_link=yes
23278 echo "$as_me: failed program was:" >&5
23279 sed 's/^/| /' conftest.$ac_ext >&5
23281 glibcxx_cv_func___builtin_sqrtl_link=no
23283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23288 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23289 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23290 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23291 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23292 cat >>confdefs.h <<_ACEOF
23293 #define ${ac_tr_func} 1
23301 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23302 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23303 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23304 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23305 echo $ECHO_N "(cached) $ECHO_C" >&6
23311 ac_cpp='$CXXCPP $CPPFLAGS'
23312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23316 cat >conftest.$ac_ext <<_ACEOF
23317 #line $LINENO "configure"
23320 cat confdefs.h >>conftest.$ac_ext
23321 cat >>conftest.$ac_ext <<_ACEOF
23322 /* end confdefs.h. */
23332 rm -f conftest.$ac_objext
23333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23334 (eval $ac_compile) 2>&5
23336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23337 (exit $ac_status); } &&
23338 { ac_try='test -s conftest.$ac_objext'
23339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23340 (eval $ac_try) 2>&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); }; }; then
23344 glibcxx_cv_func___builtin_sinf_use=yes
23346 echo "$as_me: failed program was:" >&5
23347 sed 's/^/| /' conftest.$ac_ext >&5
23349 glibcxx_cv_func___builtin_sinf_use=no
23351 rm -f conftest.$ac_objext conftest.$ac_ext
23353 ac_cpp='$CPP $CPPFLAGS'
23354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23362 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23363 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23364 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23365 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23366 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23367 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23368 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23372 if test x$gcc_no_link = xyes; then
23373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23375 { (exit 1); exit 1; }; }
23377 cat >conftest.$ac_ext <<_ACEOF
23378 #line $LINENO "configure"
23381 cat confdefs.h >>conftest.$ac_ext
23382 cat >>conftest.$ac_ext <<_ACEOF
23383 /* end confdefs.h. */
23393 rm -f conftest.$ac_objext conftest$ac_exeext
23394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23395 (eval $ac_link) 2>&5
23397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23398 (exit $ac_status); } &&
23399 { ac_try='test -s conftest$ac_exeext'
23400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23401 (eval $ac_try) 2>&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); }; }; then
23405 glibcxx_cv_func___builtin_sinf_link=yes
23407 echo "$as_me: failed program was:" >&5
23408 sed 's/^/| /' conftest.$ac_ext >&5
23410 glibcxx_cv_func___builtin_sinf_link=no
23412 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23417 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23418 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23419 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23420 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23421 cat >>confdefs.h <<_ACEOF
23422 #define ${ac_tr_func} 1
23429 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23430 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23431 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23432 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23439 ac_cpp='$CXXCPP $CPPFLAGS'
23440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23444 cat >conftest.$ac_ext <<_ACEOF
23445 #line $LINENO "configure"
23448 cat confdefs.h >>conftest.$ac_ext
23449 cat >>conftest.$ac_ext <<_ACEOF
23450 /* end confdefs.h. */
23460 rm -f conftest.$ac_objext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23462 (eval $ac_compile) 2>&5
23464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23465 (exit $ac_status); } &&
23466 { ac_try='test -s conftest.$ac_objext'
23467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23468 (eval $ac_try) 2>&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); }; }; then
23472 glibcxx_cv_func___builtin_sin_use=yes
23474 echo "$as_me: failed program was:" >&5
23475 sed 's/^/| /' conftest.$ac_ext >&5
23477 glibcxx_cv_func___builtin_sin_use=no
23479 rm -f conftest.$ac_objext conftest.$ac_ext
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23491 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23492 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23493 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23494 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23495 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23496 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23497 echo $ECHO_N "(cached) $ECHO_C" >&6
23500 if test x$gcc_no_link = xyes; then
23501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23503 { (exit 1); exit 1; }; }
23505 cat >conftest.$ac_ext <<_ACEOF
23506 #line $LINENO "configure"
23509 cat confdefs.h >>conftest.$ac_ext
23510 cat >>conftest.$ac_ext <<_ACEOF
23511 /* end confdefs.h. */
23521 rm -f conftest.$ac_objext conftest$ac_exeext
23522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23523 (eval $ac_link) 2>&5
23525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23526 (exit $ac_status); } &&
23527 { ac_try='test -s conftest$ac_exeext'
23528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23529 (eval $ac_try) 2>&5
23531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23532 (exit $ac_status); }; }; then
23533 glibcxx_cv_func___builtin_sin_link=yes
23535 echo "$as_me: failed program was:" >&5
23536 sed 's/^/| /' conftest.$ac_ext >&5
23538 glibcxx_cv_func___builtin_sin_link=no
23540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23546 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23547 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23548 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23549 cat >>confdefs.h <<_ACEOF
23550 #define ${ac_tr_func} 1
23557 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23558 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23559 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23560 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23561 echo $ECHO_N "(cached) $ECHO_C" >&6
23567 ac_cpp='$CXXCPP $CPPFLAGS'
23568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23572 cat >conftest.$ac_ext <<_ACEOF
23573 #line $LINENO "configure"
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23588 rm -f conftest.$ac_objext
23589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23590 (eval $ac_compile) 2>&5
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); } &&
23594 { ac_try='test -s conftest.$ac_objext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 glibcxx_cv_func___builtin_sinl_use=yes
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23605 glibcxx_cv_func___builtin_sinl_use=no
23607 rm -f conftest.$ac_objext conftest.$ac_ext
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23618 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23619 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23620 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23621 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23622 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23623 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23624 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23628 if test x$gcc_no_link = xyes; then
23629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23631 { (exit 1); exit 1; }; }
23633 cat >conftest.$ac_ext <<_ACEOF
23634 #line $LINENO "configure"
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23649 rm -f conftest.$ac_objext conftest$ac_exeext
23650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23651 (eval $ac_link) 2>&5
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); } &&
23655 { ac_try='test -s conftest$ac_exeext'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; }; then
23661 glibcxx_cv_func___builtin_sinl_link=yes
23663 echo "$as_me: failed program was:" >&5
23664 sed 's/^/| /' conftest.$ac_ext >&5
23666 glibcxx_cv_func___builtin_sinl_link=no
23668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23674 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23675 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23676 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23677 cat >>confdefs.h <<_ACEOF
23678 #define ${ac_tr_func} 1
23686 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23687 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23688 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23689 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23690 echo $ECHO_N "(cached) $ECHO_C" >&6
23696 ac_cpp='$CXXCPP $CPPFLAGS'
23697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23701 cat >conftest.$ac_ext <<_ACEOF
23702 #line $LINENO "configure"
23705 cat confdefs.h >>conftest.$ac_ext
23706 cat >>conftest.$ac_ext <<_ACEOF
23707 /* end confdefs.h. */
23717 rm -f conftest.$ac_objext
23718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23719 (eval $ac_compile) 2>&5
23721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23722 (exit $ac_status); } &&
23723 { ac_try='test -s conftest.$ac_objext'
23724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23725 (eval $ac_try) 2>&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); }; }; then
23729 glibcxx_cv_func___builtin_cosf_use=yes
23731 echo "$as_me: failed program was:" >&5
23732 sed 's/^/| /' conftest.$ac_ext >&5
23734 glibcxx_cv_func___builtin_cosf_use=no
23736 rm -f conftest.$ac_objext conftest.$ac_ext
23738 ac_cpp='$CPP $CPPFLAGS'
23739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23747 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23748 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23749 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23750 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23751 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23752 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23753 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23754 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 if test x$gcc_no_link = xyes; then
23758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23760 { (exit 1); exit 1; }; }
23762 cat >conftest.$ac_ext <<_ACEOF
23763 #line $LINENO "configure"
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23778 rm -f conftest.$ac_objext conftest$ac_exeext
23779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23780 (eval $ac_link) 2>&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } &&
23784 { ac_try='test -s conftest$ac_exeext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 glibcxx_cv_func___builtin_cosf_link=yes
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23795 glibcxx_cv_func___builtin_cosf_link=no
23797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23802 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23803 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23804 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23805 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23806 cat >>confdefs.h <<_ACEOF
23807 #define ${ac_tr_func} 1
23814 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23815 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23816 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23817 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829 cat >conftest.$ac_ext <<_ACEOF
23830 #line $LINENO "configure"
23833 cat confdefs.h >>conftest.$ac_ext
23834 cat >>conftest.$ac_ext <<_ACEOF
23835 /* end confdefs.h. */
23845 rm -f conftest.$ac_objext
23846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23847 (eval $ac_compile) 2>&5
23849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23850 (exit $ac_status); } &&
23851 { ac_try='test -s conftest.$ac_objext'
23852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23853 (eval $ac_try) 2>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); }; }; then
23857 glibcxx_cv_func___builtin_cos_use=yes
23859 echo "$as_me: failed program was:" >&5
23860 sed 's/^/| /' conftest.$ac_ext >&5
23862 glibcxx_cv_func___builtin_cos_use=no
23864 rm -f conftest.$ac_objext conftest.$ac_ext
23866 ac_cpp='$CPP $CPPFLAGS'
23867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23875 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23876 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23877 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23878 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23879 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23880 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23881 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23882 echo $ECHO_N "(cached) $ECHO_C" >&6
23885 if test x$gcc_no_link = xyes; then
23886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23888 { (exit 1); exit 1; }; }
23890 cat >conftest.$ac_ext <<_ACEOF
23891 #line $LINENO "configure"
23894 cat confdefs.h >>conftest.$ac_ext
23895 cat >>conftest.$ac_ext <<_ACEOF
23896 /* end confdefs.h. */
23906 rm -f conftest.$ac_objext conftest$ac_exeext
23907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23908 (eval $ac_link) 2>&5
23910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23911 (exit $ac_status); } &&
23912 { ac_try='test -s conftest$ac_exeext'
23913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23914 (eval $ac_try) 2>&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); }; }; then
23918 glibcxx_cv_func___builtin_cos_link=yes
23920 echo "$as_me: failed program was:" >&5
23921 sed 's/^/| /' conftest.$ac_ext >&5
23923 glibcxx_cv_func___builtin_cos_link=no
23925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23930 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23931 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23932 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23933 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23934 cat >>confdefs.h <<_ACEOF
23935 #define ${ac_tr_func} 1
23942 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23943 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23944 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23945 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23946 echo $ECHO_N "(cached) $ECHO_C" >&6
23952 ac_cpp='$CXXCPP $CPPFLAGS'
23953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957 cat >conftest.$ac_ext <<_ACEOF
23958 #line $LINENO "configure"
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23973 rm -f conftest.$ac_objext
23974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23975 (eval $ac_compile) 2>&5
23977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23978 (exit $ac_status); } &&
23979 { ac_try='test -s conftest.$ac_objext'
23980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23981 (eval $ac_try) 2>&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); }; }; then
23985 glibcxx_cv_func___builtin_cosl_use=yes
23987 echo "$as_me: failed program was:" >&5
23988 sed 's/^/| /' conftest.$ac_ext >&5
23990 glibcxx_cv_func___builtin_cosl_use=no
23992 rm -f conftest.$ac_objext conftest.$ac_ext
23994 ac_cpp='$CPP $CPPFLAGS'
23995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24003 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
24004 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
24005 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
24006 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
24007 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
24008 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
24009 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 if test x$gcc_no_link = xyes; then
24014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24016 { (exit 1); exit 1; }; }
24018 cat >conftest.$ac_ext <<_ACEOF
24019 #line $LINENO "configure"
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h. */
24034 rm -f conftest.$ac_objext conftest$ac_exeext
24035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24036 (eval $ac_link) 2>&5
24038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24039 (exit $ac_status); } &&
24040 { ac_try='test -s conftest$ac_exeext'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; }; then
24046 glibcxx_cv_func___builtin_cosl_link=yes
24048 echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24051 glibcxx_cv_func___builtin_cosl_link=no
24053 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24058 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24059 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24060 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24061 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24062 cat >>confdefs.h <<_ACEOF
24063 #define ${ac_tr_func} 1
24071 if test x$dummyvar = x"yes"; then
24072 cat >>confdefs.h <<\_ACEOF
24073 #define HAVE___BUILTIN_ABS 1
24076 cat >>confdefs.h <<\_ACEOF
24077 #define HAVE___BUILTIN_LABS 1
24080 cat >>confdefs.h <<\_ACEOF
24081 #define HAVE___BUILTIN_COS 1
24084 cat >>confdefs.h <<\_ACEOF
24085 #define HAVE___BUILTIN_COSF 1
24088 cat >>confdefs.h <<\_ACEOF
24089 #define HAVE___BUILTIN_COSL 1
24092 cat >>confdefs.h <<\_ACEOF
24093 #define HAVE___BUILTIN_FABS 1
24096 cat >>confdefs.h <<\_ACEOF
24097 #define HAVE___BUILTIN_FABSF 1
24100 cat >>confdefs.h <<\_ACEOF
24101 #define HAVE___BUILTIN_FABSL 1
24104 cat >>confdefs.h <<\_ACEOF
24105 #define HAVE___BUILTIN_SIN 1
24108 cat >>confdefs.h <<\_ACEOF
24109 #define HAVE___BUILTIN_SINF 1
24112 cat >>confdefs.h <<\_ACEOF
24113 #define HAVE___BUILTIN_SINL 1
24116 cat >>confdefs.h <<\_ACEOF
24117 #define HAVE___BUILTIN_SQRT 1
24120 cat >>confdefs.h <<\_ACEOF
24121 #define HAVE___BUILTIN_SQRTF 1
24124 cat >>confdefs.h <<\_ACEOF
24125 #define HAVE___BUILTIN_SQRTL 1
24132 echo "$as_me:$LINENO: checking for main in -lm" >&5
24133 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24134 if test "${ac_cv_lib_m_main+set}" = set; then
24135 echo $ECHO_N "(cached) $ECHO_C" >&6
24137 ac_check_lib_save_LIBS=$LIBS
24139 if test x$gcc_no_link = xyes; then
24140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24142 { (exit 1); exit 1; }; }
24144 cat >conftest.$ac_ext <<_ACEOF
24145 #line $LINENO "configure"
24148 cat confdefs.h >>conftest.$ac_ext
24149 cat >>conftest.$ac_ext <<_ACEOF
24150 /* end confdefs.h. */
24161 rm -f conftest.$ac_objext conftest$ac_exeext
24162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24163 (eval $ac_link) 2>&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try='test -s conftest$ac_exeext'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; }; then
24173 ac_cv_lib_m_main=yes
24175 echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24178 ac_cv_lib_m_main=no
24180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24181 LIBS=$ac_check_lib_save_LIBS
24183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24184 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24185 if test $ac_cv_lib_m_main = yes; then
24186 cat >>confdefs.h <<_ACEOF
24187 #define HAVE_LIBM 1
24196 for ac_func in nan copysignf
24198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24199 echo "$as_me:$LINENO: checking for $ac_func" >&5
24200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24201 if eval "test \"\${$as_ac_var+set}\" = set"; then
24202 echo $ECHO_N "(cached) $ECHO_C" >&6
24204 if test x$gcc_no_link = xyes; then
24205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24207 { (exit 1); exit 1; }; }
24209 cat >conftest.$ac_ext <<_ACEOF
24210 #line $LINENO "configure"
24213 cat confdefs.h >>conftest.$ac_ext
24214 cat >>conftest.$ac_ext <<_ACEOF
24215 /* end confdefs.h. */
24216 /* System header to define __stub macros and hopefully few prototypes,
24217 which can conflict with char $ac_func (); below.
24218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24219 <limits.h> exists even on freestanding compilers. */
24221 # include <limits.h>
24223 # include <assert.h>
24225 /* Override any gcc2 internal prototype to avoid an error. */
24230 /* We use char because int might match the return type of a gcc2
24231 builtin and then its argument prototype would still apply. */
24233 /* The GNU C library defines this for functions which it implements
24234 to always fail with ENOSYS. Some functions are actually named
24235 something starting with __ and the normal name is an alias. */
24236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24239 char (*f) () = $ac_func;
24248 return f != $ac_func;
24253 rm -f conftest.$ac_objext conftest$ac_exeext
24254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24255 (eval $ac_link) 2>&5
24257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24258 (exit $ac_status); } &&
24259 { ac_try='test -s conftest$ac_exeext'
24260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24261 (eval $ac_try) 2>&5
24263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24264 (exit $ac_status); }; }; then
24265 eval "$as_ac_var=yes"
24267 echo "$as_me: failed program was:" >&5
24268 sed 's/^/| /' conftest.$ac_ext >&5
24270 eval "$as_ac_var=no"
24272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24276 if test `eval echo '${'$as_ac_var'}'` = yes; then
24277 cat >>confdefs.h <<_ACEOF
24278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24282 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24288 for ac_func in __signbit
24290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24291 echo "$as_me:$LINENO: checking for $ac_func" >&5
24292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24293 if eval "test \"\${$as_ac_var+set}\" = set"; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 if test x$gcc_no_link = xyes; then
24297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24299 { (exit 1); exit 1; }; }
24301 cat >conftest.$ac_ext <<_ACEOF
24302 #line $LINENO "configure"
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 /* System header to define __stub macros and hopefully few prototypes,
24309 which can conflict with char $ac_func (); below.
24310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24311 <limits.h> exists even on freestanding compilers. */
24313 # include <limits.h>
24315 # include <assert.h>
24317 /* Override any gcc2 internal prototype to avoid an error. */
24322 /* We use char because int might match the return type of a gcc2
24323 builtin and then its argument prototype would still apply. */
24325 /* The GNU C library defines this for functions which it implements
24326 to always fail with ENOSYS. Some functions are actually named
24327 something starting with __ and the normal name is an alias. */
24328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24331 char (*f) () = $ac_func;
24340 return f != $ac_func;
24345 rm -f conftest.$ac_objext conftest$ac_exeext
24346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24347 (eval $ac_link) 2>&5
24349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24350 (exit $ac_status); } &&
24351 { ac_try='test -s conftest$ac_exeext'
24352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24353 (eval $ac_try) 2>&5
24355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24356 (exit $ac_status); }; }; then
24357 eval "$as_ac_var=yes"
24359 echo "$as_me: failed program was:" >&5
24360 sed 's/^/| /' conftest.$ac_ext >&5
24362 eval "$as_ac_var=no"
24364 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24368 if test `eval echo '${'$as_ac_var'}'` = yes; then
24369 cat >>confdefs.h <<_ACEOF
24370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24374 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24379 for ac_func in __signbitf
24381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24382 echo "$as_me:$LINENO: checking for $ac_func" >&5
24383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24384 if eval "test \"\${$as_ac_var+set}\" = set"; then
24385 echo $ECHO_N "(cached) $ECHO_C" >&6
24387 if test x$gcc_no_link = xyes; then
24388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24390 { (exit 1); exit 1; }; }
24392 cat >conftest.$ac_ext <<_ACEOF
24393 #line $LINENO "configure"
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24399 /* System header to define __stub macros and hopefully few prototypes,
24400 which can conflict with char $ac_func (); below.
24401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24402 <limits.h> exists even on freestanding compilers. */
24404 # include <limits.h>
24406 # include <assert.h>
24408 /* Override any gcc2 internal prototype to avoid an error. */
24413 /* We use char because int might match the return type of a gcc2
24414 builtin and then its argument prototype would still apply. */
24416 /* The GNU C library defines this for functions which it implements
24417 to always fail with ENOSYS. Some functions are actually named
24418 something starting with __ and the normal name is an alias. */
24419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24422 char (*f) () = $ac_func;
24431 return f != $ac_func;
24436 rm -f conftest.$ac_objext conftest$ac_exeext
24437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24438 (eval $ac_link) 2>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); } &&
24442 { ac_try='test -s conftest$ac_exeext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 eval "$as_ac_var=yes"
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 eval "$as_ac_var=no"
24455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24459 if test `eval echo '${'$as_ac_var'}'` = yes; then
24460 cat >>confdefs.h <<_ACEOF
24461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24465 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24470 if test x$ac_cv_func_copysignl = x"yes"; then
24472 for ac_func in __signbitl
24474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24475 echo "$as_me:$LINENO: checking for $ac_func" >&5
24476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24477 if eval "test \"\${$as_ac_var+set}\" = set"; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24480 if test x$gcc_no_link = xyes; then
24481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24483 { (exit 1); exit 1; }; }
24485 cat >conftest.$ac_ext <<_ACEOF
24486 #line $LINENO "configure"
24489 cat confdefs.h >>conftest.$ac_ext
24490 cat >>conftest.$ac_ext <<_ACEOF
24491 /* end confdefs.h. */
24492 /* System header to define __stub macros and hopefully few prototypes,
24493 which can conflict with char $ac_func (); below.
24494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24495 <limits.h> exists even on freestanding compilers. */
24497 # include <limits.h>
24499 # include <assert.h>
24501 /* Override any gcc2 internal prototype to avoid an error. */
24506 /* We use char because int might match the return type of a gcc2
24507 builtin and then its argument prototype would still apply. */
24509 /* The GNU C library defines this for functions which it implements
24510 to always fail with ENOSYS. Some functions are actually named
24511 something starting with __ and the normal name is an alias. */
24512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24515 char (*f) () = $ac_func;
24524 return f != $ac_func;
24529 rm -f conftest.$ac_objext conftest$ac_exeext
24530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24531 (eval $ac_link) 2>&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } &&
24535 { ac_try='test -s conftest$ac_exeext'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541 eval "$as_ac_var=yes"
24543 echo "$as_me: failed program was:" >&5
24544 sed 's/^/| /' conftest.$ac_ext >&5
24546 eval "$as_ac_var=no"
24548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24552 if test `eval echo '${'$as_ac_var'}'` = yes; then
24553 cat >>confdefs.h <<_ACEOF
24554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24558 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24564 # XXX Review this. Nothing uses it.
24565 if test -n "$LIBMATHOBJS"; then
24571 # Test wchar.h for mbstate_t, which is needed for char_traits and
24572 # others even if wchar_t support is not on.
24573 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24574 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24575 cat >conftest.$ac_ext <<_ACEOF
24576 #line $LINENO "configure"
24579 cat confdefs.h >>conftest.$ac_ext
24580 cat >>conftest.$ac_ext <<_ACEOF
24581 /* end confdefs.h. */
24586 mbstate_t teststate;
24591 rm -f conftest.$ac_objext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24593 (eval $ac_compile) 2>&5
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); } &&
24597 { ac_try='test -s conftest.$ac_objext'
24598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24599 (eval $ac_try) 2>&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); }; }; then
24605 echo "$as_me: failed program was:" >&5
24606 sed 's/^/| /' conftest.$ac_ext >&5
24610 rm -f conftest.$ac_objext conftest.$ac_ext
24611 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24612 echo "${ECHO_T}$have_mbstate_t" >&6
24613 if test x"$have_mbstate_t" = xyes; then
24614 cat >>confdefs.h <<\_ACEOF
24615 #define HAVE_MBSTATE_T 1
24620 # Sanity check for existence of ISO C99 headers for extended encoding.
24622 for ac_header in wchar.h
24624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24626 echo "$as_me:$LINENO: checking for $ac_header" >&5
24627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24629 echo $ECHO_N "(cached) $ECHO_C" >&6
24631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24634 # Is the header compilable?
24635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24637 cat >conftest.$ac_ext <<_ACEOF
24638 #line $LINENO "configure"
24641 cat confdefs.h >>conftest.$ac_ext
24642 cat >>conftest.$ac_ext <<_ACEOF
24643 /* end confdefs.h. */
24644 $ac_includes_default
24645 #include <$ac_header>
24647 rm -f conftest.$ac_objext
24648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24649 (eval $ac_compile) 2>&5
24651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24652 (exit $ac_status); } &&
24653 { ac_try='test -s conftest.$ac_objext'
24654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24655 (eval $ac_try) 2>&5
24657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24658 (exit $ac_status); }; }; then
24659 ac_header_compiler=yes
24661 echo "$as_me: failed program was:" >&5
24662 sed 's/^/| /' conftest.$ac_ext >&5
24664 ac_header_compiler=no
24666 rm -f conftest.$ac_objext conftest.$ac_ext
24667 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24668 echo "${ECHO_T}$ac_header_compiler" >&6
24670 # Is the header present?
24671 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24672 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24673 cat >conftest.$ac_ext <<_ACEOF
24674 #line $LINENO "configure"
24677 cat confdefs.h >>conftest.$ac_ext
24678 cat >>conftest.$ac_ext <<_ACEOF
24679 /* end confdefs.h. */
24680 #include <$ac_header>
24682 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24683 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24685 grep -v '^ *+' conftest.er1 >conftest.err
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } >/dev/null; then
24690 if test -s conftest.err; then
24691 ac_cpp_err=$ac_c_preproc_warn_flag
24698 if test -z "$ac_cpp_err"; then
24699 ac_header_preproc=yes
24701 echo "$as_me: failed program was:" >&5
24702 sed 's/^/| /' conftest.$ac_ext >&5
24704 ac_header_preproc=no
24706 rm -f conftest.err conftest.$ac_ext
24707 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24708 echo "${ECHO_T}$ac_header_preproc" >&6
24710 # So? What about this header?
24711 case $ac_header_compiler:$ac_header_preproc in
24713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24716 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24719 ## ------------------------------------ ##
24720 ## Report this to bug-autoconf@gnu.org. ##
24721 ## ------------------------------------ ##
24724 sed "s/^/$as_me: WARNING: /" >&2
24727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24735 ## ------------------------------------ ##
24736 ## Report this to bug-autoconf@gnu.org. ##
24737 ## ------------------------------------ ##
24740 sed "s/^/$as_me: WARNING: /" >&2
24743 echo "$as_me:$LINENO: checking for $ac_header" >&5
24744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24746 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 eval "$as_ac_Header=$ac_header_preproc"
24750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24754 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24755 cat >>confdefs.h <<_ACEOF
24756 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24766 for ac_header in wctype.h
24768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24770 echo "$as_me:$LINENO: checking for $ac_header" >&5
24771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24773 echo $ECHO_N "(cached) $ECHO_C" >&6
24775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24778 # Is the header compilable?
24779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24781 cat >conftest.$ac_ext <<_ACEOF
24782 #line $LINENO "configure"
24785 cat confdefs.h >>conftest.$ac_ext
24786 cat >>conftest.$ac_ext <<_ACEOF
24787 /* end confdefs.h. */
24788 $ac_includes_default
24789 #include <$ac_header>
24791 rm -f conftest.$ac_objext
24792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24793 (eval $ac_compile) 2>&5
24795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24796 (exit $ac_status); } &&
24797 { ac_try='test -s conftest.$ac_objext'
24798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24799 (eval $ac_try) 2>&5
24801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24802 (exit $ac_status); }; }; then
24803 ac_header_compiler=yes
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24808 ac_header_compiler=no
24810 rm -f conftest.$ac_objext conftest.$ac_ext
24811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24812 echo "${ECHO_T}$ac_header_compiler" >&6
24814 # Is the header present?
24815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24817 cat >conftest.$ac_ext <<_ACEOF
24818 #line $LINENO "configure"
24821 cat confdefs.h >>conftest.$ac_ext
24822 cat >>conftest.$ac_ext <<_ACEOF
24823 /* end confdefs.h. */
24824 #include <$ac_header>
24826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24829 grep -v '^ *+' conftest.er1 >conftest.err
24831 cat conftest.err >&5
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); } >/dev/null; then
24834 if test -s conftest.err; then
24835 ac_cpp_err=$ac_c_preproc_warn_flag
24842 if test -z "$ac_cpp_err"; then
24843 ac_header_preproc=yes
24845 echo "$as_me: failed program was:" >&5
24846 sed 's/^/| /' conftest.$ac_ext >&5
24848 ac_header_preproc=no
24850 rm -f conftest.err conftest.$ac_ext
24851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24852 echo "${ECHO_T}$ac_header_preproc" >&6
24854 # So? What about this header?
24855 case $ac_header_compiler:$ac_header_preproc in
24857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24863 ## ------------------------------------ ##
24864 ## Report this to bug-autoconf@gnu.org. ##
24865 ## ------------------------------------ ##
24868 sed "s/^/$as_me: WARNING: /" >&2
24871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24879 ## ------------------------------------ ##
24880 ## Report this to bug-autoconf@gnu.org. ##
24881 ## ------------------------------------ ##
24884 sed "s/^/$as_me: WARNING: /" >&2
24887 echo "$as_me:$LINENO: checking for $ac_header" >&5
24888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24890 echo $ECHO_N "(cached) $ECHO_C" >&6
24892 eval "$as_ac_Header=$ac_header_preproc"
24894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24899 cat >>confdefs.h <<_ACEOF
24900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24902 ac_has_wctype_h=yes
24910 # Only continue checking if the ISO C99 headers exist and support is on.
24911 if test x"$ac_has_wchar_h" = xyes &&
24912 test x"$ac_has_wctype_h" = xyes &&
24913 test x"$enable_c_mbchar" != xno; then
24915 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24916 # numeric_limits can instantiate type_traits<wchar_t>
24917 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24918 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24919 cat >conftest.$ac_ext <<_ACEOF
24920 #line $LINENO "configure"
24923 cat confdefs.h >>conftest.$ac_ext
24924 cat >>conftest.$ac_ext <<_ACEOF
24925 /* end confdefs.h. */
24930 int i = WCHAR_MIN; int j = WCHAR_MAX;
24935 rm -f conftest.$ac_objext
24936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24937 (eval $ac_compile) 2>&5
24939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24940 (exit $ac_status); } &&
24941 { ac_try='test -s conftest.$ac_objext'
24942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24943 (eval $ac_try) 2>&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); }; }; then
24947 has_wchar_minmax=yes
24949 echo "$as_me: failed program was:" >&5
24950 sed 's/^/| /' conftest.$ac_ext >&5
24952 has_wchar_minmax=no
24954 rm -f conftest.$ac_objext conftest.$ac_ext
24955 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24956 echo "${ECHO_T}$has_wchar_minmax" >&6
24958 # Test wchar.h for WEOF, which is what we use to determine whether
24959 # to specialize for char_traits<wchar_t> or not.
24960 echo "$as_me:$LINENO: checking for WEOF" >&5
24961 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24962 cat >conftest.$ac_ext <<_ACEOF
24963 #line $LINENO "configure"
24966 cat confdefs.h >>conftest.$ac_ext
24967 cat >>conftest.$ac_ext <<_ACEOF
24968 /* end confdefs.h. */
24971 #include <stddef.h>
24980 rm -f conftest.$ac_objext
24981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24982 (eval $ac_compile) 2>&5
24984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24985 (exit $ac_status); } &&
24986 { ac_try='test -s conftest.$ac_objext'
24987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24988 (eval $ac_try) 2>&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); }; }; then
24994 echo "$as_me: failed program was:" >&5
24995 sed 's/^/| /' conftest.$ac_ext >&5
24999 rm -f conftest.$ac_objext conftest.$ac_ext
25000 echo "$as_me:$LINENO: result: $has_weof" >&5
25001 echo "${ECHO_T}$has_weof" >&6
25003 # Tests for wide character functions used in char_traits<wchar_t>.
25011 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
25013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25019 if test x$gcc_no_link = xyes; then
25020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25022 { (exit 1); exit 1; }; }
25024 cat >conftest.$ac_ext <<_ACEOF
25025 #line $LINENO "configure"
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031 /* System header to define __stub macros and hopefully few prototypes,
25032 which can conflict with char $ac_func (); below.
25033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25034 <limits.h> exists even on freestanding compilers. */
25036 # include <limits.h>
25038 # include <assert.h>
25040 /* Override any gcc2 internal prototype to avoid an error. */
25045 /* We use char because int might match the return type of a gcc2
25046 builtin and then its argument prototype would still apply. */
25048 /* The GNU C library defines this for functions which it implements
25049 to always fail with ENOSYS. Some functions are actually named
25050 something starting with __ and the normal name is an alias. */
25051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25054 char (*f) () = $ac_func;
25063 return f != $ac_func;
25068 rm -f conftest.$ac_objext conftest$ac_exeext
25069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25070 (eval $ac_link) 2>&5
25072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25073 (exit $ac_status); } &&
25074 { ac_try='test -s conftest$ac_exeext'
25075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25076 (eval $ac_try) 2>&5
25078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25079 (exit $ac_status); }; }; then
25080 eval "$as_ac_var=yes"
25082 echo "$as_me: failed program was:" >&5
25083 sed 's/^/| /' conftest.$ac_ext >&5
25085 eval "$as_ac_var=no"
25087 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25091 if test `eval echo '${'$as_ac_var'}'` = yes; then
25092 cat >>confdefs.h <<_ACEOF
25093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25102 # Checks for names injected into std:: by the c_std headers.
25149 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25150 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25151 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25152 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25153 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25154 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25157 echo "$as_me:$LINENO: checking for $ac_func" >&5
25158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25159 if eval "test \"\${$as_ac_var+set}\" = set"; then
25160 echo $ECHO_N "(cached) $ECHO_C" >&6
25162 if test x$gcc_no_link = xyes; then
25163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25165 { (exit 1); exit 1; }; }
25167 cat >conftest.$ac_ext <<_ACEOF
25168 #line $LINENO "configure"
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174 /* System header to define __stub macros and hopefully few prototypes,
25175 which can conflict with char $ac_func (); below.
25176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25177 <limits.h> exists even on freestanding compilers. */
25179 # include <limits.h>
25181 # include <assert.h>
25183 /* Override any gcc2 internal prototype to avoid an error. */
25188 /* We use char because int might match the return type of a gcc2
25189 builtin and then its argument prototype would still apply. */
25191 /* The GNU C library defines this for functions which it implements
25192 to always fail with ENOSYS. Some functions are actually named
25193 something starting with __ and the normal name is an alias. */
25194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25197 char (*f) () = $ac_func;
25206 return f != $ac_func;
25211 rm -f conftest.$ac_objext conftest$ac_exeext
25212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25213 (eval $ac_link) 2>&5
25215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25216 (exit $ac_status); } &&
25217 { ac_try='test -s conftest$ac_exeext'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; }; then
25223 eval "$as_ac_var=yes"
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25228 eval "$as_ac_var=no"
25230 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25234 if test `eval echo '${'$as_ac_var'}'` = yes; then
25235 cat >>confdefs.h <<_ACEOF
25236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25245 # Checks for wide character functions that are not required
25246 # for basic wchar_t support. Don't disable support if they are missing.
25247 # Injection of these is wrapped with guard macros.
25253 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25256 echo "$as_me:$LINENO: checking for $ac_func" >&5
25257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25258 if eval "test \"\${$as_ac_var+set}\" = set"; then
25259 echo $ECHO_N "(cached) $ECHO_C" >&6
25261 if test x$gcc_no_link = xyes; then
25262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25264 { (exit 1); exit 1; }; }
25266 cat >conftest.$ac_ext <<_ACEOF
25267 #line $LINENO "configure"
25270 cat confdefs.h >>conftest.$ac_ext
25271 cat >>conftest.$ac_ext <<_ACEOF
25272 /* end confdefs.h. */
25273 /* System header to define __stub macros and hopefully few prototypes,
25274 which can conflict with char $ac_func (); below.
25275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25276 <limits.h> exists even on freestanding compilers. */
25278 # include <limits.h>
25280 # include <assert.h>
25282 /* Override any gcc2 internal prototype to avoid an error. */
25287 /* We use char because int might match the return type of a gcc2
25288 builtin and then its argument prototype would still apply. */
25290 /* The GNU C library defines this for functions which it implements
25291 to always fail with ENOSYS. Some functions are actually named
25292 something starting with __ and the normal name is an alias. */
25293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25296 char (*f) () = $ac_func;
25305 return f != $ac_func;
25310 rm -f conftest.$ac_objext conftest$ac_exeext
25311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25312 (eval $ac_link) 2>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); } &&
25316 { ac_try='test -s conftest$ac_exeext'
25317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25318 (eval $ac_try) 2>&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); }; }; then
25322 eval "$as_ac_var=yes"
25324 echo "$as_me: failed program was:" >&5
25325 sed 's/^/| /' conftest.$ac_ext >&5
25327 eval "$as_ac_var=no"
25329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25332 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25333 if test `eval echo '${'$as_ac_var'}'` = yes; then
25334 cat >>confdefs.h <<_ACEOF
25335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25342 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25343 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25344 if test x"$has_weof" = xyes &&
25345 test x"$has_wchar_minmax" = xyes &&
25346 test x"$ac_wfuncs" = xyes;
25348 ac_isoC99_wchar_t=yes
25350 ac_isoC99_wchar_t=no
25352 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25353 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25355 # Use iconv for wchar_t to char conversions. As such, check for
25356 # X/Open Portability Guide, version 2 features (XPG2).
25357 if test "${ac_cv_header_iconv_h+set}" = set; then
25358 echo "$as_me:$LINENO: checking for iconv.h" >&5
25359 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25360 if test "${ac_cv_header_iconv_h+set}" = set; then
25361 echo $ECHO_N "(cached) $ECHO_C" >&6
25363 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25364 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25366 # Is the header compilable?
25367 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25368 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25369 cat >conftest.$ac_ext <<_ACEOF
25370 #line $LINENO "configure"
25373 cat confdefs.h >>conftest.$ac_ext
25374 cat >>conftest.$ac_ext <<_ACEOF
25375 /* end confdefs.h. */
25376 $ac_includes_default
25379 rm -f conftest.$ac_objext
25380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25381 (eval $ac_compile) 2>&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } &&
25385 { ac_try='test -s conftest.$ac_objext'
25386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25387 (eval $ac_try) 2>&5
25389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25390 (exit $ac_status); }; }; then
25391 ac_header_compiler=yes
25393 echo "$as_me: failed program was:" >&5
25394 sed 's/^/| /' conftest.$ac_ext >&5
25396 ac_header_compiler=no
25398 rm -f conftest.$ac_objext conftest.$ac_ext
25399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25400 echo "${ECHO_T}$ac_header_compiler" >&6
25402 # Is the header present?
25403 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25404 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25405 cat >conftest.$ac_ext <<_ACEOF
25406 #line $LINENO "configure"
25409 cat confdefs.h >>conftest.$ac_ext
25410 cat >>conftest.$ac_ext <<_ACEOF
25411 /* end confdefs.h. */
25414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25417 grep -v '^ *+' conftest.er1 >conftest.err
25419 cat conftest.err >&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); } >/dev/null; then
25422 if test -s conftest.err; then
25423 ac_cpp_err=$ac_c_preproc_warn_flag
25430 if test -z "$ac_cpp_err"; then
25431 ac_header_preproc=yes
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25436 ac_header_preproc=no
25438 rm -f conftest.err conftest.$ac_ext
25439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25440 echo "${ECHO_T}$ac_header_preproc" >&6
25442 # So? What about this header?
25443 case $ac_header_compiler:$ac_header_preproc in
25445 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25446 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25447 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25448 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25451 ## ------------------------------------ ##
25452 ## Report this to bug-autoconf@gnu.org. ##
25453 ## ------------------------------------ ##
25456 sed "s/^/$as_me: WARNING: /" >&2
25459 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25460 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25462 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
25463 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25464 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25467 ## ------------------------------------ ##
25468 ## Report this to bug-autoconf@gnu.org. ##
25469 ## ------------------------------------ ##
25472 sed "s/^/$as_me: WARNING: /" >&2
25475 echo "$as_me:$LINENO: checking for iconv.h" >&5
25476 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25477 if test "${ac_cv_header_iconv_h+set}" = set; then
25478 echo $ECHO_N "(cached) $ECHO_C" >&6
25480 ac_cv_header_iconv_h=$ac_header_preproc
25482 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25483 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25486 if test $ac_cv_header_iconv_h = yes; then
25493 if test "${ac_cv_header_langinfo_h+set}" = set; then
25494 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25495 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25496 if test "${ac_cv_header_langinfo_h+set}" = set; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25499 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25500 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25502 # Is the header compilable?
25503 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25504 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25505 cat >conftest.$ac_ext <<_ACEOF
25506 #line $LINENO "configure"
25509 cat confdefs.h >>conftest.$ac_ext
25510 cat >>conftest.$ac_ext <<_ACEOF
25511 /* end confdefs.h. */
25512 $ac_includes_default
25513 #include <langinfo.h>
25515 rm -f conftest.$ac_objext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25517 (eval $ac_compile) 2>&5
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); } &&
25521 { ac_try='test -s conftest.$ac_objext'
25522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25523 (eval $ac_try) 2>&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); }; }; then
25527 ac_header_compiler=yes
25529 echo "$as_me: failed program was:" >&5
25530 sed 's/^/| /' conftest.$ac_ext >&5
25532 ac_header_compiler=no
25534 rm -f conftest.$ac_objext conftest.$ac_ext
25535 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25536 echo "${ECHO_T}$ac_header_compiler" >&6
25538 # Is the header present?
25539 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25540 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25541 cat >conftest.$ac_ext <<_ACEOF
25542 #line $LINENO "configure"
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h. */
25548 #include <langinfo.h>
25550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25553 grep -v '^ *+' conftest.er1 >conftest.err
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } >/dev/null; then
25558 if test -s conftest.err; then
25559 ac_cpp_err=$ac_c_preproc_warn_flag
25566 if test -z "$ac_cpp_err"; then
25567 ac_header_preproc=yes
25569 echo "$as_me: failed program was:" >&5
25570 sed 's/^/| /' conftest.$ac_ext >&5
25572 ac_header_preproc=no
25574 rm -f conftest.err conftest.$ac_ext
25575 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25576 echo "${ECHO_T}$ac_header_preproc" >&6
25578 # So? What about this header?
25579 case $ac_header_compiler:$ac_header_preproc in
25581 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25582 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25583 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25584 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25587 ## ------------------------------------ ##
25588 ## Report this to bug-autoconf@gnu.org. ##
25589 ## ------------------------------------ ##
25592 sed "s/^/$as_me: WARNING: /" >&2
25595 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25596 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25597 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25598 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
25599 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25600 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25603 ## ------------------------------------ ##
25604 ## Report this to bug-autoconf@gnu.org. ##
25605 ## ------------------------------------ ##
25608 sed "s/^/$as_me: WARNING: /" >&2
25611 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25612 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25613 if test "${ac_cv_header_langinfo_h+set}" = set; then
25614 echo $ECHO_N "(cached) $ECHO_C" >&6
25616 ac_cv_header_langinfo_h=$ac_header_preproc
25618 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25619 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25622 if test $ac_cv_header_langinfo_h = yes; then
25623 ac_has_langinfo_h=yes
25625 ac_has_langinfo_h=no
25630 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25631 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25632 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25633 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25634 echo $ECHO_N "(cached) $ECHO_C" >&6
25636 ac_check_lib_save_LIBS=$LIBS
25637 LIBS="-liconv $LIBS"
25638 if test x$gcc_no_link = xyes; then
25639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25641 { (exit 1); exit 1; }; }
25643 cat >conftest.$ac_ext <<_ACEOF
25644 #line $LINENO "configure"
25647 cat confdefs.h >>conftest.$ac_ext
25648 cat >>conftest.$ac_ext <<_ACEOF
25649 /* end confdefs.h. */
25651 /* Override any gcc2 internal prototype to avoid an error. */
25655 /* We use char because int might match the return type of a gcc2
25656 builtin and then its argument prototype would still apply. */
25666 rm -f conftest.$ac_objext conftest$ac_exeext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25668 (eval $ac_link) 2>&5
25670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25671 (exit $ac_status); } &&
25672 { ac_try='test -s conftest$ac_exeext'
25673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25674 (eval $ac_try) 2>&5
25676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25677 (exit $ac_status); }; }; then
25678 ac_cv_lib_iconv_iconv=yes
25680 echo "$as_me: failed program was:" >&5
25681 sed 's/^/| /' conftest.$ac_ext >&5
25683 ac_cv_lib_iconv_iconv=no
25685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25686 LIBS=$ac_check_lib_save_LIBS
25688 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25689 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25690 if test $ac_cv_lib_iconv_iconv = yes; then
25694 ac_save_LIBS="$LIBS"
25695 LIBS="$LIBS $libiconv"
25701 for ac_func in iconv_open iconv_close iconv nl_langinfo
25703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25704 echo "$as_me:$LINENO: checking for $ac_func" >&5
25705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25706 if eval "test \"\${$as_ac_var+set}\" = set"; then
25707 echo $ECHO_N "(cached) $ECHO_C" >&6
25709 if test x$gcc_no_link = xyes; then
25710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25712 { (exit 1); exit 1; }; }
25714 cat >conftest.$ac_ext <<_ACEOF
25715 #line $LINENO "configure"
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 /* System header to define __stub macros and hopefully few prototypes,
25722 which can conflict with char $ac_func (); below.
25723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25724 <limits.h> exists even on freestanding compilers. */
25726 # include <limits.h>
25728 # include <assert.h>
25730 /* Override any gcc2 internal prototype to avoid an error. */
25735 /* We use char because int might match the return type of a gcc2
25736 builtin and then its argument prototype would still apply. */
25738 /* The GNU C library defines this for functions which it implements
25739 to always fail with ENOSYS. Some functions are actually named
25740 something starting with __ and the normal name is an alias. */
25741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25744 char (*f) () = $ac_func;
25753 return f != $ac_func;
25758 rm -f conftest.$ac_objext conftest$ac_exeext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25760 (eval $ac_link) 2>&5
25762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25763 (exit $ac_status); } &&
25764 { ac_try='test -s conftest$ac_exeext'
25765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25766 (eval $ac_try) 2>&5
25768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25769 (exit $ac_status); }; }; then
25770 eval "$as_ac_var=yes"
25772 echo "$as_me: failed program was:" >&5
25773 sed 's/^/| /' conftest.$ac_ext >&5
25775 eval "$as_ac_var=no"
25777 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25781 if test `eval echo '${'$as_ac_var'}'` = yes; then
25782 cat >>confdefs.h <<_ACEOF
25783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25792 LIBS="$ac_save_LIBS"
25794 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25795 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25796 if test x"$ac_has_iconv_h" = xyes &&
25797 test x"$ac_has_langinfo_h" = xyes &&
25798 test x"$ac_XPG2funcs" = xyes;
25800 ac_XPG2_wchar_t=yes
25804 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25805 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25807 # At the moment, only enable wchar_t specializations if all the
25808 # above support is present.
25809 if test x"$ac_isoC99_wchar_t" = xyes &&
25810 test x"$ac_XPG2_wchar_t" = xyes;
25812 cat >>confdefs.h <<\_ACEOF
25813 #define _GLIBCXX_USE_WCHAR_T 1
25819 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25820 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25821 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25822 echo "${ECHO_T}$enable_wchar_t" >&6
25825 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25826 ac_save_CXXFLAGS="$CXXFLAGS"
25827 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25830 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25831 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25832 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25833 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25834 echo $ECHO_N "(cached) $ECHO_C" >&6
25840 ac_cpp='$CXXCPP $CPPFLAGS'
25841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25845 cat >conftest.$ac_ext <<_ACEOF
25846 #line $LINENO "configure"
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25852 #include <stdlib.h>
25861 rm -f conftest.$ac_objext
25862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25863 (eval $ac_compile) 2>&5
25865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25866 (exit $ac_status); } &&
25867 { ac_try='test -s conftest.$ac_objext'
25868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25869 (eval $ac_try) 2>&5
25871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25872 (exit $ac_status); }; }; then
25873 glibcxx_cv_func_strtold_use=yes
25875 echo "$as_me: failed program was:" >&5
25876 sed 's/^/| /' conftest.$ac_ext >&5
25878 glibcxx_cv_func_strtold_use=no
25880 rm -f conftest.$ac_objext conftest.$ac_ext
25882 ac_cpp='$CPP $CPPFLAGS'
25883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25892 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25893 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25895 for ac_func in strtold
25897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25898 echo "$as_me:$LINENO: checking for $ac_func" >&5
25899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25900 if eval "test \"\${$as_ac_var+set}\" = set"; then
25901 echo $ECHO_N "(cached) $ECHO_C" >&6
25903 if test x$gcc_no_link = xyes; then
25904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25906 { (exit 1); exit 1; }; }
25908 cat >conftest.$ac_ext <<_ACEOF
25909 #line $LINENO "configure"
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 /* System header to define __stub macros and hopefully few prototypes,
25916 which can conflict with char $ac_func (); below.
25917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25918 <limits.h> exists even on freestanding compilers. */
25920 # include <limits.h>
25922 # include <assert.h>
25924 /* Override any gcc2 internal prototype to avoid an error. */
25929 /* We use char because int might match the return type of a gcc2
25930 builtin and then its argument prototype would still apply. */
25932 /* The GNU C library defines this for functions which it implements
25933 to always fail with ENOSYS. Some functions are actually named
25934 something starting with __ and the normal name is an alias. */
25935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25938 char (*f) () = $ac_func;
25947 return f != $ac_func;
25952 rm -f conftest.$ac_objext conftest$ac_exeext
25953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25954 (eval $ac_link) 2>&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } &&
25958 { ac_try='test -s conftest$ac_exeext'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; }; then
25964 eval "$as_ac_var=yes"
25966 echo "$as_me: failed program was:" >&5
25967 sed 's/^/| /' conftest.$ac_ext >&5
25969 eval "$as_ac_var=no"
25971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25975 if test `eval echo '${'$as_ac_var'}'` = yes; then
25976 cat >>confdefs.h <<_ACEOF
25977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25986 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25987 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25988 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25989 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25990 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 ac_cpp='$CXXCPP $CPPFLAGS'
25997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001 cat >conftest.$ac_ext <<_ACEOF
26002 #line $LINENO "configure"
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26008 #include <stdlib.h>
26017 rm -f conftest.$ac_objext
26018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26019 (eval $ac_compile) 2>&5
26021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26022 (exit $ac_status); } &&
26023 { ac_try='test -s conftest.$ac_objext'
26024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26025 (eval $ac_try) 2>&5
26027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26028 (exit $ac_status); }; }; then
26029 glibcxx_cv_func_strtof_use=yes
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26034 glibcxx_cv_func_strtof_use=no
26036 rm -f conftest.$ac_objext conftest.$ac_ext
26038 ac_cpp='$CPP $CPPFLAGS'
26039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26048 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26049 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26051 for ac_func in strtof
26053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26054 echo "$as_me:$LINENO: checking for $ac_func" >&5
26055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26056 if eval "test \"\${$as_ac_var+set}\" = set"; then
26057 echo $ECHO_N "(cached) $ECHO_C" >&6
26059 if test x$gcc_no_link = xyes; then
26060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26062 { (exit 1); exit 1; }; }
26064 cat >conftest.$ac_ext <<_ACEOF
26065 #line $LINENO "configure"
26068 cat confdefs.h >>conftest.$ac_ext
26069 cat >>conftest.$ac_ext <<_ACEOF
26070 /* end confdefs.h. */
26071 /* System header to define __stub macros and hopefully few prototypes,
26072 which can conflict with char $ac_func (); below.
26073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26074 <limits.h> exists even on freestanding compilers. */
26076 # include <limits.h>
26078 # include <assert.h>
26080 /* Override any gcc2 internal prototype to avoid an error. */
26085 /* We use char because int might match the return type of a gcc2
26086 builtin and then its argument prototype would still apply. */
26088 /* The GNU C library defines this for functions which it implements
26089 to always fail with ENOSYS. Some functions are actually named
26090 something starting with __ and the normal name is an alias. */
26091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26094 char (*f) () = $ac_func;
26103 return f != $ac_func;
26108 rm -f conftest.$ac_objext conftest$ac_exeext
26109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26110 (eval $ac_link) 2>&5
26112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26113 (exit $ac_status); } &&
26114 { ac_try='test -s conftest$ac_exeext'
26115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26116 (eval $ac_try) 2>&5
26118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26119 (exit $ac_status); }; }; then
26120 eval "$as_ac_var=yes"
26122 echo "$as_me: failed program was:" >&5
26123 sed 's/^/| /' conftest.$ac_ext >&5
26125 eval "$as_ac_var=no"
26127 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26131 if test `eval echo '${'$as_ac_var'}'` = yes; then
26132 cat >>confdefs.h <<_ACEOF
26133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26142 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
26143 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
26144 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
26145 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
26146 echo $ECHO_N "(cached) $ECHO_C" >&6
26152 ac_cpp='$CXXCPP $CPPFLAGS'
26153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26157 cat >conftest.$ac_ext <<_ACEOF
26158 #line $LINENO "configure"
26161 cat confdefs.h >>conftest.$ac_ext
26162 cat >>conftest.$ac_ext <<_ACEOF
26163 /* end confdefs.h. */
26164 #include <stdlib.h>
26173 rm -f conftest.$ac_objext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26175 (eval $ac_compile) 2>&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } &&
26179 { ac_try='test -s conftest.$ac_objext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 glibcxx_cv_func_lrand48_use=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26190 glibcxx_cv_func_lrand48_use=no
26192 rm -f conftest.$ac_objext conftest.$ac_ext
26194 ac_cpp='$CPP $CPPFLAGS'
26195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26203 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
26204 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
26205 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
26207 for ac_func in lrand48
26209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26210 echo "$as_me:$LINENO: checking for $ac_func" >&5
26211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26212 if eval "test \"\${$as_ac_var+set}\" = set"; then
26213 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 if test x$gcc_no_link = xyes; then
26216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26218 { (exit 1); exit 1; }; }
26220 cat >conftest.$ac_ext <<_ACEOF
26221 #line $LINENO "configure"
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26227 /* System header to define __stub macros and hopefully few prototypes,
26228 which can conflict with char $ac_func (); below.
26229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26230 <limits.h> exists even on freestanding compilers. */
26232 # include <limits.h>
26234 # include <assert.h>
26236 /* Override any gcc2 internal prototype to avoid an error. */
26241 /* We use char because int might match the return type of a gcc2
26242 builtin and then its argument prototype would still apply. */
26244 /* The GNU C library defines this for functions which it implements
26245 to always fail with ENOSYS. Some functions are actually named
26246 something starting with __ and the normal name is an alias. */
26247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26250 char (*f) () = $ac_func;
26259 return f != $ac_func;
26264 rm -f conftest.$ac_objext conftest$ac_exeext
26265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26266 (eval $ac_link) 2>&5
26268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26269 (exit $ac_status); } &&
26270 { ac_try='test -s conftest$ac_exeext'
26271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26272 (eval $ac_try) 2>&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); }; }; then
26276 eval "$as_ac_var=yes"
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26281 eval "$as_ac_var=no"
26283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26287 if test `eval echo '${'$as_ac_var'}'` = yes; then
26288 cat >>confdefs.h <<_ACEOF
26289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26298 CXXFLAGS="$ac_save_CXXFLAGS"
26301 # For showmanyc_helper().
26304 for ac_header in sys/ioctl.h sys/filio.h
26306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26308 echo "$as_me:$LINENO: checking for $ac_header" >&5
26309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26316 # Is the header compilable?
26317 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26319 cat >conftest.$ac_ext <<_ACEOF
26320 #line $LINENO "configure"
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326 $ac_includes_default
26327 #include <$ac_header>
26329 rm -f conftest.$ac_objext
26330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26331 (eval $ac_compile) 2>&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } &&
26335 { ac_try='test -s conftest.$ac_objext'
26336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26337 (eval $ac_try) 2>&5
26339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26340 (exit $ac_status); }; }; then
26341 ac_header_compiler=yes
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26346 ac_header_compiler=no
26348 rm -f conftest.$ac_objext conftest.$ac_ext
26349 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26350 echo "${ECHO_T}$ac_header_compiler" >&6
26352 # Is the header present?
26353 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26354 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26355 cat >conftest.$ac_ext <<_ACEOF
26356 #line $LINENO "configure"
26359 cat confdefs.h >>conftest.$ac_ext
26360 cat >>conftest.$ac_ext <<_ACEOF
26361 /* end confdefs.h. */
26362 #include <$ac_header>
26364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26367 grep -v '^ *+' conftest.er1 >conftest.err
26369 cat conftest.err >&5
26370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26371 (exit $ac_status); } >/dev/null; then
26372 if test -s conftest.err; then
26373 ac_cpp_err=$ac_c_preproc_warn_flag
26380 if test -z "$ac_cpp_err"; then
26381 ac_header_preproc=yes
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.$ac_ext >&5
26386 ac_header_preproc=no
26388 rm -f conftest.err conftest.$ac_ext
26389 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26390 echo "${ECHO_T}$ac_header_preproc" >&6
26392 # So? What about this header?
26393 case $ac_header_compiler:$ac_header_preproc in
26395 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26396 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26397 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26398 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26401 ## ------------------------------------ ##
26402 ## Report this to bug-autoconf@gnu.org. ##
26403 ## ------------------------------------ ##
26406 sed "s/^/$as_me: WARNING: /" >&2
26409 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26410 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26411 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26412 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26417 ## ------------------------------------ ##
26418 ## Report this to bug-autoconf@gnu.org. ##
26419 ## ------------------------------------ ##
26422 sed "s/^/$as_me: WARNING: /" >&2
26425 echo "$as_me:$LINENO: checking for $ac_header" >&5
26426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26428 echo $ECHO_N "(cached) $ECHO_C" >&6
26430 eval "$as_ac_Header=$ac_header_preproc"
26432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26437 cat >>confdefs.h <<_ACEOF
26438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26446 if test "${glibcxx_cv_POLL+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26450 if test x$gcc_no_link = xyes; then
26451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26453 { (exit 1); exit 1; }; }
26455 cat >conftest.$ac_ext <<_ACEOF
26456 #line $LINENO "configure"
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26466 struct pollfd pfd[1];
26467 pfd[0].events = POLLIN;
26473 rm -f conftest.$ac_objext conftest$ac_exeext
26474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26475 (eval $ac_link) 2>&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } &&
26479 { ac_try='test -s conftest$ac_exeext'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; }; then
26485 glibcxx_cv_POLL=yes
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26496 if test $glibcxx_cv_POLL = yes; then
26497 cat >>confdefs.h <<\_ACEOF
26498 #define HAVE_POLL 1
26504 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26508 if test x$gcc_no_link = xyes; then
26509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26511 { (exit 1); exit 1; }; }
26513 cat >conftest.$ac_ext <<_ACEOF
26514 #line $LINENO "configure"
26517 cat confdefs.h >>conftest.$ac_ext
26518 cat >>conftest.$ac_ext <<_ACEOF
26519 /* end confdefs.h. */
26520 #include <sys/stat.h>
26524 struct stat buffer;
26526 S_ISREG(buffer.st_mode);
26531 rm -f conftest.$ac_objext conftest$ac_exeext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26533 (eval $ac_link) 2>&5
26535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26536 (exit $ac_status); } &&
26537 { ac_try='test -s conftest$ac_exeext'
26538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26539 (eval $ac_try) 2>&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); }; }; then
26543 glibcxx_cv_S_ISREG=yes
26545 echo "$as_me: failed program was:" >&5
26546 sed 's/^/| /' conftest.$ac_ext >&5
26548 glibcxx_cv_S_ISREG=no
26550 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26554 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26555 echo $ECHO_N "(cached) $ECHO_C" >&6
26558 if test x$gcc_no_link = xyes; then
26559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26561 { (exit 1); exit 1; }; }
26563 cat >conftest.$ac_ext <<_ACEOF
26564 #line $LINENO "configure"
26567 cat confdefs.h >>conftest.$ac_ext
26568 cat >>conftest.$ac_ext <<_ACEOF
26569 /* end confdefs.h. */
26570 #include <sys/stat.h>
26574 struct stat buffer;
26576 S_IFREG & buffer.st_mode;
26581 rm -f conftest.$ac_objext conftest$ac_exeext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26583 (eval $ac_link) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); } &&
26587 { ac_try='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26593 glibcxx_cv_S_IFREG=yes
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26598 glibcxx_cv_S_IFREG=no
26600 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26604 if test $glibcxx_cv_S_ISREG = yes; then
26605 cat >>confdefs.h <<\_ACEOF
26606 #define HAVE_S_ISREG 1
26609 elif test $glibcxx_cv_S_IFREG = yes; then
26610 cat >>confdefs.h <<\_ACEOF
26611 #define HAVE_S_IFREG 1
26619 for ac_header in sys/uio.h
26621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26623 echo "$as_me:$LINENO: checking for $ac_header" >&5
26624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26626 echo $ECHO_N "(cached) $ECHO_C" >&6
26628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26631 # Is the header compilable?
26632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26634 cat >conftest.$ac_ext <<_ACEOF
26635 #line $LINENO "configure"
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h. */
26641 $ac_includes_default
26642 #include <$ac_header>
26644 rm -f conftest.$ac_objext
26645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26646 (eval $ac_compile) 2>&5
26648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26649 (exit $ac_status); } &&
26650 { ac_try='test -s conftest.$ac_objext'
26651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26652 (eval $ac_try) 2>&5
26654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655 (exit $ac_status); }; }; then
26656 ac_header_compiler=yes
26658 echo "$as_me: failed program was:" >&5
26659 sed 's/^/| /' conftest.$ac_ext >&5
26661 ac_header_compiler=no
26663 rm -f conftest.$ac_objext conftest.$ac_ext
26664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26665 echo "${ECHO_T}$ac_header_compiler" >&6
26667 # Is the header present?
26668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26670 cat >conftest.$ac_ext <<_ACEOF
26671 #line $LINENO "configure"
26674 cat confdefs.h >>conftest.$ac_ext
26675 cat >>conftest.$ac_ext <<_ACEOF
26676 /* end confdefs.h. */
26677 #include <$ac_header>
26679 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26680 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26682 grep -v '^ *+' conftest.er1 >conftest.err
26684 cat conftest.err >&5
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); } >/dev/null; then
26687 if test -s conftest.err; then
26688 ac_cpp_err=$ac_c_preproc_warn_flag
26695 if test -z "$ac_cpp_err"; then
26696 ac_header_preproc=yes
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.$ac_ext >&5
26701 ac_header_preproc=no
26703 rm -f conftest.err conftest.$ac_ext
26704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26705 echo "${ECHO_T}$ac_header_preproc" >&6
26707 # So? What about this header?
26708 case $ac_header_compiler:$ac_header_preproc in
26710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26716 ## ------------------------------------ ##
26717 ## Report this to bug-autoconf@gnu.org. ##
26718 ## ------------------------------------ ##
26721 sed "s/^/$as_me: WARNING: /" >&2
26724 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26725 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26726 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26727 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26732 ## ------------------------------------ ##
26733 ## Report this to bug-autoconf@gnu.org. ##
26734 ## ------------------------------------ ##
26737 sed "s/^/$as_me: WARNING: /" >&2
26740 echo "$as_me:$LINENO: checking for $ac_header" >&5
26741 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26742 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26743 echo $ECHO_N "(cached) $ECHO_C" >&6
26745 eval "$as_ac_Header=$ac_header_preproc"
26747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26748 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26752 cat >>confdefs.h <<_ACEOF
26753 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26761 if test "${glibcxx_cv_WRITEV+set}" = set; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 if test x$gcc_no_link = xyes; then
26766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26768 { (exit 1); exit 1; }; }
26770 cat >conftest.$ac_ext <<_ACEOF
26771 #line $LINENO "configure"
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26777 #include <sys/uio.h>
26781 struct iovec iov[2];
26787 rm -f conftest.$ac_objext conftest$ac_exeext
26788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26789 (eval $ac_link) 2>&5
26791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26792 (exit $ac_status); } &&
26793 { ac_try='test -s conftest$ac_exeext'
26794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26795 (eval $ac_try) 2>&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); }; }; then
26799 glibcxx_cv_WRITEV=yes
26801 echo "$as_me: failed program was:" >&5
26802 sed 's/^/| /' conftest.$ac_ext >&5
26804 glibcxx_cv_WRITEV=no
26806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26810 if test $glibcxx_cv_WRITEV = yes; then
26811 cat >>confdefs.h <<\_ACEOF
26812 #define HAVE_WRITEV 1
26818 # For the __streamoff_base_type typedef.
26820 if test "${glibcxx_cv_INT64_T+set}" = set; then
26821 echo $ECHO_N "(cached) $ECHO_C" >&6
26824 cat >conftest.$ac_ext <<_ACEOF
26825 #line $LINENO "configure"
26828 cat confdefs.h >>conftest.$ac_ext
26829 cat >>conftest.$ac_ext <<_ACEOF
26830 /* end confdefs.h. */
26831 #include <stdint.h>
26840 rm -f conftest.$ac_objext
26841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26842 (eval $ac_compile) 2>&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } &&
26846 { ac_try='test -s conftest.$ac_objext'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; }; then
26852 glibcxx_cv_INT64_T=yes
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26857 glibcxx_cv_INT64_T=no
26859 rm -f conftest.$ac_objext conftest.$ac_ext
26863 if test $glibcxx_cv_INT64_T = yes; then
26864 cat >>confdefs.h <<\_ACEOF
26865 #define HAVE_INT64_T 1
26876 ac_cpp='$CXXCPP $CPPFLAGS'
26877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881 if test "${glibcxx_cv_LFS+set}" = set; then
26882 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 if test x$gcc_no_link = xyes; then
26886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26888 { (exit 1); exit 1; }; }
26890 cat >conftest.$ac_ext <<_ACEOF
26891 #line $LINENO "configure"
26894 cat confdefs.h >>conftest.$ac_ext
26895 cat >>conftest.$ac_ext <<_ACEOF
26896 /* end confdefs.h. */
26897 #include <unistd.h>
26905 fseeko64(fp, 0, SEEK_CUR);
26907 lseek64(1, 0, SEEK_CUR);
26912 rm -f conftest.$ac_objext conftest$ac_exeext
26913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26914 (eval $ac_link) 2>&5
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); } &&
26918 { ac_try='test -s conftest$ac_exeext'
26919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26920 (eval $ac_try) 2>&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); }; }; then
26926 echo "$as_me: failed program was:" >&5
26927 sed 's/^/| /' conftest.$ac_ext >&5
26931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26935 if test $glibcxx_cv_LFS = yes; then
26936 cat >>confdefs.h <<\_ACEOF
26937 #define _GLIBCXX_USE_LFS 1
26942 ac_cpp='$CPP $CPPFLAGS'
26943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26950 if test "${ac_cv_header_locale_h+set}" = set; then
26951 echo "$as_me:$LINENO: checking for locale.h" >&5
26952 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26953 if test "${ac_cv_header_locale_h+set}" = set; then
26954 echo $ECHO_N "(cached) $ECHO_C" >&6
26956 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26957 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26959 # Is the header compilable?
26960 echo "$as_me:$LINENO: checking locale.h usability" >&5
26961 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26962 cat >conftest.$ac_ext <<_ACEOF
26963 #line $LINENO "configure"
26966 cat confdefs.h >>conftest.$ac_ext
26967 cat >>conftest.$ac_ext <<_ACEOF
26968 /* end confdefs.h. */
26969 $ac_includes_default
26970 #include <locale.h>
26972 rm -f conftest.$ac_objext
26973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26974 (eval $ac_compile) 2>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -s conftest.$ac_objext'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 ac_header_compiler=yes
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26989 ac_header_compiler=no
26991 rm -f conftest.$ac_objext conftest.$ac_ext
26992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26993 echo "${ECHO_T}$ac_header_compiler" >&6
26995 # Is the header present?
26996 echo "$as_me:$LINENO: checking locale.h presence" >&5
26997 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26998 cat >conftest.$ac_ext <<_ACEOF
26999 #line $LINENO "configure"
27002 cat confdefs.h >>conftest.$ac_ext
27003 cat >>conftest.$ac_ext <<_ACEOF
27004 /* end confdefs.h. */
27005 #include <locale.h>
27007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27010 grep -v '^ *+' conftest.er1 >conftest.err
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } >/dev/null; then
27015 if test -s conftest.err; then
27016 ac_cpp_err=$ac_c_preproc_warn_flag
27023 if test -z "$ac_cpp_err"; then
27024 ac_header_preproc=yes
27026 echo "$as_me: failed program was:" >&5
27027 sed 's/^/| /' conftest.$ac_ext >&5
27029 ac_header_preproc=no
27031 rm -f conftest.err conftest.$ac_ext
27032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27033 echo "${ECHO_T}$ac_header_preproc" >&6
27035 # So? What about this header?
27036 case $ac_header_compiler:$ac_header_preproc in
27038 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
27039 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27040 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
27041 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
27044 ## ------------------------------------ ##
27045 ## Report this to bug-autoconf@gnu.org. ##
27046 ## ------------------------------------ ##
27049 sed "s/^/$as_me: WARNING: /" >&2
27052 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
27053 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
27054 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
27055 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
27056 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
27057 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
27060 ## ------------------------------------ ##
27061 ## Report this to bug-autoconf@gnu.org. ##
27062 ## ------------------------------------ ##
27065 sed "s/^/$as_me: WARNING: /" >&2
27068 echo "$as_me:$LINENO: checking for locale.h" >&5
27069 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
27070 if test "${ac_cv_header_locale_h+set}" = set; then
27071 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 ac_cv_header_locale_h=$ac_header_preproc
27075 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
27076 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
27079 if test $ac_cv_header_locale_h = yes; then
27081 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
27082 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
27083 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27086 if test x$gcc_no_link = xyes; then
27087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27089 { (exit 1); exit 1; }; }
27091 cat >conftest.$ac_ext <<_ACEOF
27092 #line $LINENO "configure"
27095 cat confdefs.h >>conftest.$ac_ext
27096 cat >>conftest.$ac_ext <<_ACEOF
27097 /* end confdefs.h. */
27098 #include <locale.h>
27107 rm -f conftest.$ac_objext conftest$ac_exeext
27108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27109 (eval $ac_link) 2>&5
27111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112 (exit $ac_status); } &&
27113 { ac_try='test -s conftest$ac_exeext'
27114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27115 (eval $ac_try) 2>&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); }; }; then
27119 ac_cv_val_LC_MESSAGES=yes
27121 echo "$as_me: failed program was:" >&5
27122 sed 's/^/| /' conftest.$ac_ext >&5
27124 ac_cv_val_LC_MESSAGES=no
27126 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27128 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
27129 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
27130 if test $ac_cv_val_LC_MESSAGES = yes; then
27131 cat >>confdefs.h <<\_ACEOF
27132 #define HAVE_LC_MESSAGES 1
27142 cat >conftest.$ac_ext <<_ACEOF
27143 #line $LINENO "configure"
27146 cat confdefs.h >>conftest.$ac_ext
27147 cat >>conftest.$ac_ext <<_ACEOF
27148 /* end confdefs.h. */
27149 #include <setjmp.h>
27154 while (! sigsetjmp (env, 1))
27155 siglongjmp (env, 1);
27161 rm -f conftest.$ac_objext
27162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27163 (eval $ac_compile) 2>&5
27165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27166 (exit $ac_status); } &&
27167 { ac_try='test -s conftest.$ac_objext'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; }; then
27174 cat >>confdefs.h <<\_ACEOF
27175 #define HAVE_SIGSETJMP 1
27179 echo "$as_me: failed program was:" >&5
27180 sed 's/^/| /' conftest.$ac_ext >&5
27183 rm -f conftest.$ac_objext conftest.$ac_ext
27185 if test x$gcc_no_link = xyes; then
27186 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27187 ac_cv_func_mmap_fixed_mapped=no
27190 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27193 for ac_header in stdlib.h unistd.h
27195 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27197 echo "$as_me:$LINENO: checking for $ac_header" >&5
27198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27199 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27200 echo $ECHO_N "(cached) $ECHO_C" >&6
27202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27203 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27205 # Is the header compilable?
27206 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27207 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
27216 #include <$ac_header>
27218 rm -f conftest.$ac_objext
27219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27220 (eval $ac_compile) 2>&5
27222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223 (exit $ac_status); } &&
27224 { ac_try='test -s conftest.$ac_objext'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; }; then
27230 ac_header_compiler=yes
27232 echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27235 ac_header_compiler=no
27237 rm -f conftest.$ac_objext conftest.$ac_ext
27238 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27239 echo "${ECHO_T}$ac_header_compiler" >&6
27241 # Is the header present?
27242 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27244 cat >conftest.$ac_ext <<_ACEOF
27245 #line $LINENO "configure"
27248 cat confdefs.h >>conftest.$ac_ext
27249 cat >>conftest.$ac_ext <<_ACEOF
27250 /* end confdefs.h. */
27251 #include <$ac_header>
27253 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27254 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27256 grep -v '^ *+' conftest.er1 >conftest.err
27258 cat conftest.err >&5
27259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260 (exit $ac_status); } >/dev/null; then
27261 if test -s conftest.err; then
27262 ac_cpp_err=$ac_c_preproc_warn_flag
27269 if test -z "$ac_cpp_err"; then
27270 ac_header_preproc=yes
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 ac_header_preproc=no
27277 rm -f conftest.err conftest.$ac_ext
27278 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27279 echo "${ECHO_T}$ac_header_preproc" >&6
27281 # So? What about this header?
27282 case $ac_header_compiler:$ac_header_preproc in
27284 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27285 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27286 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27287 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27290 ## ------------------------------------ ##
27291 ## Report this to bug-autoconf@gnu.org. ##
27292 ## ------------------------------------ ##
27295 sed "s/^/$as_me: WARNING: /" >&2
27298 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27299 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27300 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27301 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27306 ## ------------------------------------ ##
27307 ## Report this to bug-autoconf@gnu.org. ##
27308 ## ------------------------------------ ##
27311 sed "s/^/$as_me: WARNING: /" >&2
27314 echo "$as_me:$LINENO: checking for $ac_header" >&5
27315 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27316 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27317 echo $ECHO_N "(cached) $ECHO_C" >&6
27319 eval "$as_ac_Header=$ac_header_preproc"
27321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27325 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27326 cat >>confdefs.h <<_ACEOF
27327 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27335 for ac_func in getpagesize
27337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27338 echo "$as_me:$LINENO: checking for $ac_func" >&5
27339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27340 if eval "test \"\${$as_ac_var+set}\" = set"; then
27341 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 if test x$gcc_no_link = xyes; then
27344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27346 { (exit 1); exit 1; }; }
27348 cat >conftest.$ac_ext <<_ACEOF
27349 #line $LINENO "configure"
27352 cat confdefs.h >>conftest.$ac_ext
27353 cat >>conftest.$ac_ext <<_ACEOF
27354 /* end confdefs.h. */
27355 /* System header to define __stub macros and hopefully few prototypes,
27356 which can conflict with char $ac_func (); below.
27357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27358 <limits.h> exists even on freestanding compilers. */
27360 # include <limits.h>
27362 # include <assert.h>
27364 /* Override any gcc2 internal prototype to avoid an error. */
27369 /* We use char because int might match the return type of a gcc2
27370 builtin and then its argument prototype would still apply. */
27372 /* The GNU C library defines this for functions which it implements
27373 to always fail with ENOSYS. Some functions are actually named
27374 something starting with __ and the normal name is an alias. */
27375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 char (*f) () = $ac_func;
27387 return f != $ac_func;
27392 rm -f conftest.$ac_objext conftest$ac_exeext
27393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27394 (eval $ac_link) 2>&5
27396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27397 (exit $ac_status); } &&
27398 { ac_try='test -s conftest$ac_exeext'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; }; then
27404 eval "$as_ac_var=yes"
27406 echo "$as_me: failed program was:" >&5
27407 sed 's/^/| /' conftest.$ac_ext >&5
27409 eval "$as_ac_var=no"
27411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27415 if test `eval echo '${'$as_ac_var'}'` = yes; then
27416 cat >>confdefs.h <<_ACEOF
27417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27423 echo "$as_me:$LINENO: checking for working mmap" >&5
27424 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27425 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27426 echo $ECHO_N "(cached) $ECHO_C" >&6
27428 if test "$cross_compiling" = yes; then
27429 ac_cv_func_mmap_fixed_mapped=no
27431 cat >conftest.$ac_ext <<_ACEOF
27432 #line $LINENO "configure"
27435 cat confdefs.h >>conftest.$ac_ext
27436 cat >>conftest.$ac_ext <<_ACEOF
27437 /* end confdefs.h. */
27438 $ac_includes_default
27439 /* malloc might have been renamed as rpl_malloc. */
27442 /* Thanks to Mike Haertel and Jim Avera for this test.
27443 Here is a matrix of mmap possibilities:
27444 mmap private not fixed
27445 mmap private fixed at somewhere currently unmapped
27446 mmap private fixed at somewhere already mapped
27447 mmap shared not fixed
27448 mmap shared fixed at somewhere currently unmapped
27449 mmap shared fixed at somewhere already mapped
27450 For private mappings, we should verify that changes cannot be read()
27451 back from the file, nor mmap's back from the file at a different
27452 address. (There have been systems where private was not correctly
27453 implemented like the infamous i386 svr4.0, and systems where the
27454 VM page cache was not coherent with the file system buffer cache
27455 like early versions of FreeBSD and possibly contemporary NetBSD.)
27456 For shared mappings, we should conversely verify that changes get
27457 propagated back to all the places they're supposed to be.
27459 Grep wants private fixed already mapped.
27460 The main things grep needs to know about mmap are:
27461 * does it exist and is it safe to write into the mmap'd area
27462 * how to use it (BSD variants) */
27465 #include <sys/mman.h>
27467 #if !STDC_HEADERS && !HAVE_STDLIB_H
27471 /* This mess was copied from the GNU getpagesize.h. */
27472 #if !HAVE_GETPAGESIZE
27473 /* Assume that all systems that can run configure have sys/param.h. */
27474 # if !HAVE_SYS_PARAM_H
27475 # define HAVE_SYS_PARAM_H 1
27478 # ifdef _SC_PAGESIZE
27479 # define getpagesize() sysconf(_SC_PAGESIZE)
27480 # else /* no _SC_PAGESIZE */
27481 # if HAVE_SYS_PARAM_H
27482 # include <sys/param.h>
27483 # ifdef EXEC_PAGESIZE
27484 # define getpagesize() EXEC_PAGESIZE
27485 # else /* no EXEC_PAGESIZE */
27487 # define getpagesize() NBPG * CLSIZE
27490 # endif /* no CLSIZE */
27491 # else /* no NBPG */
27493 # define getpagesize() NBPC
27494 # else /* no NBPC */
27496 # define getpagesize() PAGESIZE
27497 # endif /* PAGESIZE */
27498 # endif /* no NBPC */
27499 # endif /* no NBPG */
27500 # endif /* no EXEC_PAGESIZE */
27501 # else /* no HAVE_SYS_PARAM_H */
27502 # define getpagesize() 8192 /* punt totally */
27503 # endif /* no HAVE_SYS_PARAM_H */
27504 # endif /* no _SC_PAGESIZE */
27506 #endif /* no HAVE_GETPAGESIZE */
27511 char *data, *data2, *data3;
27515 pagesize = getpagesize ();
27517 /* First, make a file with some known garbage in it. */
27518 data = (char *) malloc (pagesize);
27521 for (i = 0; i < pagesize; ++i)
27522 *(data + i) = rand ();
27524 fd = creat ("conftest.mmap", 0600);
27527 if (write (fd, data, pagesize) != pagesize)
27531 /* Next, try to mmap the file at a fixed address which already has
27532 something else allocated at it. If we can, also make sure that
27533 we see the same garbage. */
27534 fd = open ("conftest.mmap", O_RDWR);
27537 data2 = (char *) malloc (2 * pagesize);
27540 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27541 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27542 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27544 for (i = 0; i < pagesize; ++i)
27545 if (*(data + i) != *(data2 + i))
27548 /* Finally, make sure that changes to the mapped area do not
27549 percolate back to the file as seen by read(). (This is a bug on
27550 some variants of i386 svr4.0.) */
27551 for (i = 0; i < pagesize; ++i)
27552 *(data2 + i) = *(data2 + i) + 1;
27553 data3 = (char *) malloc (pagesize);
27556 if (read (fd, data3, pagesize) != pagesize)
27558 for (i = 0; i < pagesize; ++i)
27559 if (*(data + i) != *(data3 + i))
27565 rm -f conftest$ac_exeext
27566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27567 (eval $ac_link) 2>&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27572 (eval $ac_try) 2>&5
27574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27575 (exit $ac_status); }; }; then
27576 ac_cv_func_mmap_fixed_mapped=yes
27578 echo "$as_me: program exited with status $ac_status" >&5
27579 echo "$as_me: failed program was:" >&5
27580 sed 's/^/| /' conftest.$ac_ext >&5
27582 ( exit $ac_status )
27583 ac_cv_func_mmap_fixed_mapped=no
27585 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27588 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27589 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27590 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27592 cat >>confdefs.h <<\_ACEOF
27593 #define HAVE_MMAP 1
27597 rm -f conftest.mmap
27603 # This lets us hard-code the functionality we know we'll have in the cross
27604 # target environment. "Let" is a sugar-coated word placed on an especially
27605 # dull and tedious hack, actually.
27607 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27608 # that involve linking, can't be used:
27609 # "cannot open sim-crt0.o"
27610 # "cannot open crt0.o"
27611 # etc. All this is because there currently exists no unified, consistent
27612 # way for top level CC information to be passed down to target directories:
27613 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27614 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27615 # crosses can be removed.
27617 # If Canadian cross, then don't pick up tools from the build directory.
27618 # Used only in GLIBCXX_EXPORT_INCLUDES.
27619 if test -n "$with_cross_host" &&
27620 test x"$build_alias" != x"$with_cross_host" &&
27621 test x"$build" != x"$target";
27628 # Construct crosses by hand, eliminating bits that need ld...
27629 # GLIBCXX_CHECK_COMPILER_FEATURES
27630 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27631 # GLIBCXX_CHECK_MATH_SUPPORT
27633 # First, test for "known" system libraries. We may be using newlib even
27634 # on a hosted environment.
27635 if test "x${with_newlib}" = "xyes"; then
27636 os_include_dir="os/newlib"
27637 cat >>confdefs.h <<\_ACEOF
27638 #define HAVE_HYPOT 1
27642 # GLIBCXX_CHECK_STDLIB_SUPPORT
27643 cat >>confdefs.h <<\_ACEOF
27644 #define HAVE_STRTOF 1
27647 cat >>confdefs.h <<\_ACEOF
27648 #define HAVE_STRTOLD 1
27652 cat >>confdefs.h <<\_ACEOF
27653 #define HAVE_MMAP 1
27657 cat >>confdefs.h <<\_ACEOF
27658 #define HAVE_ACOSF 1
27661 cat >>confdefs.h <<\_ACEOF
27662 #define HAVE_ASINF 1
27665 cat >>confdefs.h <<\_ACEOF
27666 #define HAVE_ATAN2F 1
27669 cat >>confdefs.h <<\_ACEOF
27670 #define HAVE_ATANF 1
27673 cat >>confdefs.h <<\_ACEOF
27674 #define HAVE_CEILF 1
27677 cat >>confdefs.h <<\_ACEOF
27678 #define HAVE_COPYSIGN 1
27681 cat >>confdefs.h <<\_ACEOF
27682 #define HAVE_COPYSIGNF 1
27685 cat >>confdefs.h <<\_ACEOF
27686 #define HAVE_COSF 1
27689 cat >>confdefs.h <<\_ACEOF
27690 #define HAVE_COSHF 1
27693 cat >>confdefs.h <<\_ACEOF
27694 #define HAVE_EXPF 1
27697 cat >>confdefs.h <<\_ACEOF
27698 #define HAVE_FABSF 1
27701 cat >>confdefs.h <<\_ACEOF
27702 #define HAVE_FLOORF 1
27705 cat >>confdefs.h <<\_ACEOF
27706 #define HAVE_FMODF 1
27709 cat >>confdefs.h <<\_ACEOF
27710 #define HAVE_FREXPF 1
27713 cat >>confdefs.h <<\_ACEOF
27714 #define HAVE_LDEXPF 1
27717 cat >>confdefs.h <<\_ACEOF
27718 #define HAVE_LOG10F 1
27721 cat >>confdefs.h <<\_ACEOF
27722 #define HAVE_LOGF 1
27725 cat >>confdefs.h <<\_ACEOF
27726 #define HAVE_MODFF 1
27729 cat >>confdefs.h <<\_ACEOF
27730 #define HAVE_POWF 1
27733 cat >>confdefs.h <<\_ACEOF
27734 #define HAVE_SINF 1
27737 cat >>confdefs.h <<\_ACEOF
27738 #define HAVE_SINHF 1
27741 cat >>confdefs.h <<\_ACEOF
27742 #define HAVE_SQRTF 1
27745 cat >>confdefs.h <<\_ACEOF
27746 #define HAVE_TANF 1
27749 cat >>confdefs.h <<\_ACEOF
27750 #define HAVE_TANHF 1
27755 # Base decisions on target environment.
27758 # Darwin versions vary, but the linker should work in a cross environment,
27759 # so we just check for all the features here.
27760 # Check for available headers.
27774 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27775 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27780 echo "$as_me:$LINENO: checking for $ac_header" >&5
27781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27783 echo $ECHO_N "(cached) $ECHO_C" >&6
27785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27788 # Is the header compilable?
27789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27791 cat >conftest.$ac_ext <<_ACEOF
27792 #line $LINENO "configure"
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27798 $ac_includes_default
27799 #include <$ac_header>
27801 rm -f conftest.$ac_objext
27802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27803 (eval $ac_compile) 2>&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try='test -s conftest.$ac_objext'
27808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27809 (eval $ac_try) 2>&5
27811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27812 (exit $ac_status); }; }; then
27813 ac_header_compiler=yes
27815 echo "$as_me: failed program was:" >&5
27816 sed 's/^/| /' conftest.$ac_ext >&5
27818 ac_header_compiler=no
27820 rm -f conftest.$ac_objext conftest.$ac_ext
27821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27822 echo "${ECHO_T}$ac_header_compiler" >&6
27824 # Is the header present?
27825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27827 cat >conftest.$ac_ext <<_ACEOF
27828 #line $LINENO "configure"
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27834 #include <$ac_header>
27836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27839 grep -v '^ *+' conftest.er1 >conftest.err
27841 cat conftest.err >&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); } >/dev/null; then
27844 if test -s conftest.err; then
27845 ac_cpp_err=$ac_c_preproc_warn_flag
27852 if test -z "$ac_cpp_err"; then
27853 ac_header_preproc=yes
27855 echo "$as_me: failed program was:" >&5
27856 sed 's/^/| /' conftest.$ac_ext >&5
27858 ac_header_preproc=no
27860 rm -f conftest.err conftest.$ac_ext
27861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27862 echo "${ECHO_T}$ac_header_preproc" >&6
27864 # So? What about this header?
27865 case $ac_header_compiler:$ac_header_preproc in
27867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27873 ## ------------------------------------ ##
27874 ## Report this to bug-autoconf@gnu.org. ##
27875 ## ------------------------------------ ##
27878 sed "s/^/$as_me: WARNING: /" >&2
27881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27889 ## ------------------------------------ ##
27890 ## Report this to bug-autoconf@gnu.org. ##
27891 ## ------------------------------------ ##
27894 sed "s/^/$as_me: WARNING: /" >&2
27897 echo "$as_me:$LINENO: checking for $ac_header" >&5
27898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27900 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 eval "$as_ac_Header=$ac_header_preproc"
27904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27909 cat >>confdefs.h <<_ACEOF
27910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27919 # All these tests are for C++; save the language and the compiler flags.
27920 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27921 # found in GLIBCXX_CONFIGURE.
27925 ac_cpp='$CXXCPP $CPPFLAGS'
27926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27930 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27931 ac_save_CXXFLAGS="$CXXFLAGS"
27933 # Check for maintainer-mode bits.
27934 if test x"$USE_MAINTAINER_MODE" = xno; then
27940 # Check for -ffunction-sections -fdata-sections
27941 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27942 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27943 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27944 cat >conftest.$ac_ext <<_ACEOF
27945 #line $LINENO "configure"
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27960 rm -f conftest.$ac_objext
27961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27962 (eval $ac_compile) 2>&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try='test -s conftest.$ac_objext'
27967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968 (eval $ac_try) 2>&5
27970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971 (exit $ac_status); }; }; then
27974 echo "$as_me: failed program was:" >&5
27975 sed 's/^/| /' conftest.$ac_ext >&5
27979 rm -f conftest.$ac_objext conftest.$ac_ext
27980 if test "$ac_test_CXXFLAGS" = set; then
27981 CXXFLAGS="$ac_save_CXXFLAGS"
27983 # this is the suspicious part
27986 if test x"$ac_fdsections" = x"yes"; then
27987 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27989 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27990 echo "${ECHO_T}$ac_fdsections" >&6
27993 ac_cpp='$CPP $CPPFLAGS'
27994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28001 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
28003 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28004 ac_save_CXXFLAGS="$CXXFLAGS"
28005 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28007 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28008 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28009 if test "${ac_cv_lib_m_sin+set}" = set; then
28010 echo $ECHO_N "(cached) $ECHO_C" >&6
28012 ac_check_lib_save_LIBS=$LIBS
28014 if test x$gcc_no_link = xyes; then
28015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28017 { (exit 1); exit 1; }; }
28019 cat >conftest.$ac_ext <<_ACEOF
28020 #line $LINENO "configure"
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28027 /* Override any gcc2 internal prototype to avoid an error. */
28031 /* We use char because int might match the return type of a gcc2
28032 builtin and then its argument prototype would still apply. */
28042 rm -f conftest.$ac_objext conftest$ac_exeext
28043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28044 (eval $ac_link) 2>&5
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); } &&
28048 { ac_try='test -s conftest$ac_exeext'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 ac_cv_lib_m_sin=yes
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28062 LIBS=$ac_check_lib_save_LIBS
28064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28065 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28066 if test $ac_cv_lib_m_sin = yes; then
28070 ac_save_LIBS="$LIBS"
28075 echo "$as_me:$LINENO: checking for isinf declaration" >&5
28076 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
28077 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28078 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
28079 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 ac_cpp='$CXXCPP $CPPFLAGS'
28086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28090 cat >conftest.$ac_ext <<_ACEOF
28091 #line $LINENO "configure"
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28098 #ifdef HAVE_IEEEFP_H
28099 #include <ieeefp.h>
28110 rm -f conftest.$ac_objext
28111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28112 (eval $ac_compile) 2>&5
28114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28115 (exit $ac_status); } &&
28116 { ac_try='test -s conftest.$ac_objext'
28117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28118 (eval $ac_try) 2>&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); }; }; then
28122 glibcxx_cv_func_isinf_use=yes
28124 echo "$as_me: failed program was:" >&5
28125 sed 's/^/| /' conftest.$ac_ext >&5
28127 glibcxx_cv_func_isinf_use=no
28129 rm -f conftest.$ac_objext conftest.$ac_ext
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28140 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
28141 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
28143 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28145 for ac_func in isinf
28147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28148 echo "$as_me:$LINENO: checking for $ac_func" >&5
28149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28150 if eval "test \"\${$as_ac_var+set}\" = set"; then
28151 echo $ECHO_N "(cached) $ECHO_C" >&6
28153 if test x$gcc_no_link = xyes; then
28154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28156 { (exit 1); exit 1; }; }
28158 cat >conftest.$ac_ext <<_ACEOF
28159 #line $LINENO "configure"
28162 cat confdefs.h >>conftest.$ac_ext
28163 cat >>conftest.$ac_ext <<_ACEOF
28164 /* end confdefs.h. */
28165 /* System header to define __stub macros and hopefully few prototypes,
28166 which can conflict with char $ac_func (); below.
28167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28168 <limits.h> exists even on freestanding compilers. */
28170 # include <limits.h>
28172 # include <assert.h>
28174 /* Override any gcc2 internal prototype to avoid an error. */
28179 /* We use char because int might match the return type of a gcc2
28180 builtin and then its argument prototype would still apply. */
28182 /* The GNU C library defines this for functions which it implements
28183 to always fail with ENOSYS. Some functions are actually named
28184 something starting with __ and the normal name is an alias. */
28185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28188 char (*f) () = $ac_func;
28197 return f != $ac_func;
28202 rm -f conftest.$ac_objext conftest$ac_exeext
28203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28204 (eval $ac_link) 2>&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -s conftest$ac_exeext'
28209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28210 (eval $ac_try) 2>&5
28212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28213 (exit $ac_status); }; }; then
28214 eval "$as_ac_var=yes"
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28219 eval "$as_ac_var=no"
28221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28225 if test `eval echo '${'$as_ac_var'}'` = yes; then
28226 cat >>confdefs.h <<_ACEOF
28227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28235 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
28236 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
28237 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28238 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
28239 echo $ECHO_N "(cached) $ECHO_C" >&6
28245 ac_cpp='$CXXCPP $CPPFLAGS'
28246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28250 cat >conftest.$ac_ext <<_ACEOF
28251 #line $LINENO "configure"
28254 cat confdefs.h >>conftest.$ac_ext
28255 cat >>conftest.$ac_ext <<_ACEOF
28256 /* end confdefs.h. */
28258 #ifdef HAVE_IEEEFP_H
28259 #include <ieeefp.h>
28270 rm -f conftest.$ac_objext
28271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28272 (eval $ac_compile) 2>&5
28274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28275 (exit $ac_status); } &&
28276 { ac_try='test -s conftest.$ac_objext'
28277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28278 (eval $ac_try) 2>&5
28280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28281 (exit $ac_status); }; }; then
28282 glibcxx_cv_func__isinf_use=yes
28284 echo "$as_me: failed program was:" >&5
28285 sed 's/^/| /' conftest.$ac_ext >&5
28287 glibcxx_cv_func__isinf_use=no
28289 rm -f conftest.$ac_objext conftest.$ac_ext
28291 ac_cpp='$CPP $CPPFLAGS'
28292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
28301 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
28303 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28305 for ac_func in _isinf
28307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28308 echo "$as_me:$LINENO: checking for $ac_func" >&5
28309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28310 if eval "test \"\${$as_ac_var+set}\" = set"; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28313 if test x$gcc_no_link = xyes; then
28314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28316 { (exit 1); exit 1; }; }
28318 cat >conftest.$ac_ext <<_ACEOF
28319 #line $LINENO "configure"
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325 /* System header to define __stub macros and hopefully few prototypes,
28326 which can conflict with char $ac_func (); below.
28327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28328 <limits.h> exists even on freestanding compilers. */
28330 # include <limits.h>
28332 # include <assert.h>
28334 /* Override any gcc2 internal prototype to avoid an error. */
28339 /* We use char because int might match the return type of a gcc2
28340 builtin and then its argument prototype would still apply. */
28342 /* The GNU C library defines this for functions which it implements
28343 to always fail with ENOSYS. Some functions are actually named
28344 something starting with __ and the normal name is an alias. */
28345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28348 char (*f) () = $ac_func;
28357 return f != $ac_func;
28362 rm -f conftest.$ac_objext conftest$ac_exeext
28363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28364 (eval $ac_link) 2>&5
28366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28367 (exit $ac_status); } &&
28368 { ac_try='test -s conftest$ac_exeext'
28369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28370 (eval $ac_try) 2>&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); }; }; then
28374 eval "$as_ac_var=yes"
28376 echo "$as_me: failed program was:" >&5
28377 sed 's/^/| /' conftest.$ac_ext >&5
28379 eval "$as_ac_var=no"
28381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28385 if test `eval echo '${'$as_ac_var'}'` = yes; then
28386 cat >>confdefs.h <<_ACEOF
28387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28398 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28399 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28400 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28401 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28402 echo $ECHO_N "(cached) $ECHO_C" >&6
28408 ac_cpp='$CXXCPP $CPPFLAGS'
28409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28413 cat >conftest.$ac_ext <<_ACEOF
28414 #line $LINENO "configure"
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28421 #ifdef HAVE_IEEEFP_H
28422 #include <ieeefp.h>
28433 rm -f conftest.$ac_objext
28434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28435 (eval $ac_compile) 2>&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); } &&
28439 { ac_try='test -s conftest.$ac_objext'
28440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28441 (eval $ac_try) 2>&5
28443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28444 (exit $ac_status); }; }; then
28445 glibcxx_cv_func_isnan_use=yes
28447 echo "$as_me: failed program was:" >&5
28448 sed 's/^/| /' conftest.$ac_ext >&5
28450 glibcxx_cv_func_isnan_use=no
28452 rm -f conftest.$ac_objext conftest.$ac_ext
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28464 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28468 for ac_func in isnan
28470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28471 echo "$as_me:$LINENO: checking for $ac_func" >&5
28472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28473 if eval "test \"\${$as_ac_var+set}\" = set"; then
28474 echo $ECHO_N "(cached) $ECHO_C" >&6
28476 if test x$gcc_no_link = xyes; then
28477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28479 { (exit 1); exit 1; }; }
28481 cat >conftest.$ac_ext <<_ACEOF
28482 #line $LINENO "configure"
28485 cat confdefs.h >>conftest.$ac_ext
28486 cat >>conftest.$ac_ext <<_ACEOF
28487 /* end confdefs.h. */
28488 /* System header to define __stub macros and hopefully few prototypes,
28489 which can conflict with char $ac_func (); below.
28490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28491 <limits.h> exists even on freestanding compilers. */
28493 # include <limits.h>
28495 # include <assert.h>
28497 /* Override any gcc2 internal prototype to avoid an error. */
28502 /* We use char because int might match the return type of a gcc2
28503 builtin and then its argument prototype would still apply. */
28505 /* The GNU C library defines this for functions which it implements
28506 to always fail with ENOSYS. Some functions are actually named
28507 something starting with __ and the normal name is an alias. */
28508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28511 char (*f) () = $ac_func;
28520 return f != $ac_func;
28525 rm -f conftest.$ac_objext conftest$ac_exeext
28526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28527 (eval $ac_link) 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } &&
28531 { ac_try='test -s conftest$ac_exeext'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; }; then
28537 eval "$as_ac_var=yes"
28539 echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28542 eval "$as_ac_var=no"
28544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28548 if test `eval echo '${'$as_ac_var'}'` = yes; then
28549 cat >>confdefs.h <<_ACEOF
28550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28558 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
28559 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
28560 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28561 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
28562 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 ac_cpp='$CXXCPP $CPPFLAGS'
28569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28573 cat >conftest.$ac_ext <<_ACEOF
28574 #line $LINENO "configure"
28577 cat confdefs.h >>conftest.$ac_ext
28578 cat >>conftest.$ac_ext <<_ACEOF
28579 /* end confdefs.h. */
28581 #ifdef HAVE_IEEEFP_H
28582 #include <ieeefp.h>
28593 rm -f conftest.$ac_objext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28595 (eval $ac_compile) 2>&5
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); } &&
28599 { ac_try='test -s conftest.$ac_objext'
28600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28601 (eval $ac_try) 2>&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); }; }; then
28605 glibcxx_cv_func__isnan_use=yes
28607 echo "$as_me: failed program was:" >&5
28608 sed 's/^/| /' conftest.$ac_ext >&5
28610 glibcxx_cv_func__isnan_use=no
28612 rm -f conftest.$ac_objext conftest.$ac_ext
28614 ac_cpp='$CPP $CPPFLAGS'
28615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
28624 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
28626 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28628 for ac_func in _isnan
28630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28631 echo "$as_me:$LINENO: checking for $ac_func" >&5
28632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28633 if eval "test \"\${$as_ac_var+set}\" = set"; then
28634 echo $ECHO_N "(cached) $ECHO_C" >&6
28636 if test x$gcc_no_link = xyes; then
28637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639 { (exit 1); exit 1; }; }
28641 cat >conftest.$ac_ext <<_ACEOF
28642 #line $LINENO "configure"
28645 cat confdefs.h >>conftest.$ac_ext
28646 cat >>conftest.$ac_ext <<_ACEOF
28647 /* end confdefs.h. */
28648 /* System header to define __stub macros and hopefully few prototypes,
28649 which can conflict with char $ac_func (); below.
28650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28651 <limits.h> exists even on freestanding compilers. */
28653 # include <limits.h>
28655 # include <assert.h>
28657 /* Override any gcc2 internal prototype to avoid an error. */
28662 /* We use char because int might match the return type of a gcc2
28663 builtin and then its argument prototype would still apply. */
28665 /* The GNU C library defines this for functions which it implements
28666 to always fail with ENOSYS. Some functions are actually named
28667 something starting with __ and the normal name is an alias. */
28668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28671 char (*f) () = $ac_func;
28680 return f != $ac_func;
28685 rm -f conftest.$ac_objext conftest$ac_exeext
28686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28687 (eval $ac_link) 2>&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try='test -s conftest$ac_exeext'
28692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28693 (eval $ac_try) 2>&5
28695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28696 (exit $ac_status); }; }; then
28697 eval "$as_ac_var=yes"
28699 echo "$as_me: failed program was:" >&5
28700 sed 's/^/| /' conftest.$ac_ext >&5
28702 eval "$as_ac_var=no"
28704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28708 if test `eval echo '${'$as_ac_var'}'` = yes; then
28709 cat >>confdefs.h <<_ACEOF
28710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28721 echo "$as_me:$LINENO: checking for finite declaration" >&5
28722 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28723 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28724 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28725 echo $ECHO_N "(cached) $ECHO_C" >&6
28731 ac_cpp='$CXXCPP $CPPFLAGS'
28732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28736 cat >conftest.$ac_ext <<_ACEOF
28737 #line $LINENO "configure"
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28744 #ifdef HAVE_IEEEFP_H
28745 #include <ieeefp.h>
28756 rm -f conftest.$ac_objext
28757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28758 (eval $ac_compile) 2>&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try='test -s conftest.$ac_objext'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; }; then
28768 glibcxx_cv_func_finite_use=yes
28770 echo "$as_me: failed program was:" >&5
28771 sed 's/^/| /' conftest.$ac_ext >&5
28773 glibcxx_cv_func_finite_use=no
28775 rm -f conftest.$ac_objext conftest.$ac_ext
28777 ac_cpp='$CPP $CPPFLAGS'
28778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28787 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28789 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28791 for ac_func in finite
28793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28794 echo "$as_me:$LINENO: checking for $ac_func" >&5
28795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28796 if eval "test \"\${$as_ac_var+set}\" = set"; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 if test x$gcc_no_link = xyes; then
28800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28802 { (exit 1); exit 1; }; }
28804 cat >conftest.$ac_ext <<_ACEOF
28805 #line $LINENO "configure"
28808 cat confdefs.h >>conftest.$ac_ext
28809 cat >>conftest.$ac_ext <<_ACEOF
28810 /* end confdefs.h. */
28811 /* System header to define __stub macros and hopefully few prototypes,
28812 which can conflict with char $ac_func (); below.
28813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28814 <limits.h> exists even on freestanding compilers. */
28816 # include <limits.h>
28818 # include <assert.h>
28820 /* Override any gcc2 internal prototype to avoid an error. */
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28828 /* The GNU C library defines this for functions which it implements
28829 to always fail with ENOSYS. Some functions are actually named
28830 something starting with __ and the normal name is an alias. */
28831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28834 char (*f) () = $ac_func;
28843 return f != $ac_func;
28848 rm -f conftest.$ac_objext conftest$ac_exeext
28849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28850 (eval $ac_link) 2>&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); } &&
28854 { ac_try='test -s conftest$ac_exeext'
28855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28856 (eval $ac_try) 2>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); }; }; then
28860 eval "$as_ac_var=yes"
28862 echo "$as_me: failed program was:" >&5
28863 sed 's/^/| /' conftest.$ac_ext >&5
28865 eval "$as_ac_var=no"
28867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28871 if test `eval echo '${'$as_ac_var'}'` = yes; then
28872 cat >>confdefs.h <<_ACEOF
28873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28881 echo "$as_me:$LINENO: checking for _finite declaration" >&5
28882 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
28883 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28884 if test "${glibcxx_cv_func__finite_use+set}" = set; then
28885 echo $ECHO_N "(cached) $ECHO_C" >&6
28891 ac_cpp='$CXXCPP $CPPFLAGS'
28892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28896 cat >conftest.$ac_ext <<_ACEOF
28897 #line $LINENO "configure"
28900 cat confdefs.h >>conftest.$ac_ext
28901 cat >>conftest.$ac_ext <<_ACEOF
28902 /* end confdefs.h. */
28904 #ifdef HAVE_IEEEFP_H
28905 #include <ieeefp.h>
28916 rm -f conftest.$ac_objext
28917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28918 (eval $ac_compile) 2>&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -s conftest.$ac_objext'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; }; then
28928 glibcxx_cv_func__finite_use=yes
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.$ac_ext >&5
28933 glibcxx_cv_func__finite_use=no
28935 rm -f conftest.$ac_objext conftest.$ac_ext
28937 ac_cpp='$CPP $CPPFLAGS'
28938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28946 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
28947 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
28949 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28951 for ac_func in _finite
28953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28954 echo "$as_me:$LINENO: checking for $ac_func" >&5
28955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28956 if eval "test \"\${$as_ac_var+set}\" = set"; then
28957 echo $ECHO_N "(cached) $ECHO_C" >&6
28959 if test x$gcc_no_link = xyes; then
28960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28962 { (exit 1); exit 1; }; }
28964 cat >conftest.$ac_ext <<_ACEOF
28965 #line $LINENO "configure"
28968 cat confdefs.h >>conftest.$ac_ext
28969 cat >>conftest.$ac_ext <<_ACEOF
28970 /* end confdefs.h. */
28971 /* System header to define __stub macros and hopefully few prototypes,
28972 which can conflict with char $ac_func (); below.
28973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28974 <limits.h> exists even on freestanding compilers. */
28976 # include <limits.h>
28978 # include <assert.h>
28980 /* Override any gcc2 internal prototype to avoid an error. */
28985 /* We use char because int might match the return type of a gcc2
28986 builtin and then its argument prototype would still apply. */
28988 /* The GNU C library defines this for functions which it implements
28989 to always fail with ENOSYS. Some functions are actually named
28990 something starting with __ and the normal name is an alias. */
28991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28994 char (*f) () = $ac_func;
29003 return f != $ac_func;
29008 rm -f conftest.$ac_objext conftest$ac_exeext
29009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29010 (eval $ac_link) 2>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } &&
29014 { ac_try='test -s conftest$ac_exeext'
29015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29016 (eval $ac_try) 2>&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); }; }; then
29020 eval "$as_ac_var=yes"
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.$ac_ext >&5
29025 eval "$as_ac_var=no"
29027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29031 if test `eval echo '${'$as_ac_var'}'` = yes; then
29032 cat >>confdefs.h <<_ACEOF
29033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29044 echo "$as_me:$LINENO: checking for copysign declaration" >&5
29045 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
29046 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
29047 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
29048 echo $ECHO_N "(cached) $ECHO_C" >&6
29054 ac_cpp='$CXXCPP $CPPFLAGS'
29055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29059 cat >conftest.$ac_ext <<_ACEOF
29060 #line $LINENO "configure"
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29075 rm -f conftest.$ac_objext
29076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29077 (eval $ac_compile) 2>&5
29079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29080 (exit $ac_status); } &&
29081 { ac_try='test -s conftest.$ac_objext'
29082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29083 (eval $ac_try) 2>&5
29085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29086 (exit $ac_status); }; }; then
29087 glibcxx_cv_func_copysign_use=yes
29089 echo "$as_me: failed program was:" >&5
29090 sed 's/^/| /' conftest.$ac_ext >&5
29092 glibcxx_cv_func_copysign_use=no
29094 rm -f conftest.$ac_objext conftest.$ac_ext
29096 ac_cpp='$CPP $CPPFLAGS'
29097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29105 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
29106 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
29108 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
29110 for ac_func in copysign
29112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29113 echo "$as_me:$LINENO: checking for $ac_func" >&5
29114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29115 if eval "test \"\${$as_ac_var+set}\" = set"; then
29116 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 if test x$gcc_no_link = xyes; then
29119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29121 { (exit 1); exit 1; }; }
29123 cat >conftest.$ac_ext <<_ACEOF
29124 #line $LINENO "configure"
29127 cat confdefs.h >>conftest.$ac_ext
29128 cat >>conftest.$ac_ext <<_ACEOF
29129 /* end confdefs.h. */
29130 /* System header to define __stub macros and hopefully few prototypes,
29131 which can conflict with char $ac_func (); below.
29132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29133 <limits.h> exists even on freestanding compilers. */
29135 # include <limits.h>
29137 # include <assert.h>
29139 /* Override any gcc2 internal prototype to avoid an error. */
29144 /* We use char because int might match the return type of a gcc2
29145 builtin and then its argument prototype would still apply. */
29147 /* The GNU C library defines this for functions which it implements
29148 to always fail with ENOSYS. Some functions are actually named
29149 something starting with __ and the normal name is an alias. */
29150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29153 char (*f) () = $ac_func;
29162 return f != $ac_func;
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29169 (eval $ac_link) 2>&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } &&
29173 { ac_try='test -s conftest$ac_exeext'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; }; then
29179 eval "$as_ac_var=yes"
29181 echo "$as_me: failed program was:" >&5
29182 sed 's/^/| /' conftest.$ac_ext >&5
29184 eval "$as_ac_var=no"
29186 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29190 if test `eval echo '${'$as_ac_var'}'` = yes; then
29191 cat >>confdefs.h <<_ACEOF
29192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29200 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29201 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29202 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29203 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
29204 echo $ECHO_N "(cached) $ECHO_C" >&6
29210 ac_cpp='$CXXCPP $CPPFLAGS'
29211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29215 cat >conftest.$ac_ext <<_ACEOF
29216 #line $LINENO "configure"
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29231 rm -f conftest.$ac_objext
29232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29233 (eval $ac_compile) 2>&5
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); } &&
29237 { ac_try='test -s conftest.$ac_objext'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; }; then
29243 glibcxx_cv_func__copysign_use=yes
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29248 glibcxx_cv_func__copysign_use=no
29250 rm -f conftest.$ac_objext conftest.$ac_ext
29252 ac_cpp='$CPP $CPPFLAGS'
29253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29261 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29262 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29264 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29266 for ac_func in _copysign
29268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29269 echo "$as_me:$LINENO: checking for $ac_func" >&5
29270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29271 if eval "test \"\${$as_ac_var+set}\" = set"; then
29272 echo $ECHO_N "(cached) $ECHO_C" >&6
29274 if test x$gcc_no_link = xyes; then
29275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29277 { (exit 1); exit 1; }; }
29279 cat >conftest.$ac_ext <<_ACEOF
29280 #line $LINENO "configure"
29283 cat confdefs.h >>conftest.$ac_ext
29284 cat >>conftest.$ac_ext <<_ACEOF
29285 /* end confdefs.h. */
29286 /* System header to define __stub macros and hopefully few prototypes,
29287 which can conflict with char $ac_func (); below.
29288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29289 <limits.h> exists even on freestanding compilers. */
29291 # include <limits.h>
29293 # include <assert.h>
29295 /* Override any gcc2 internal prototype to avoid an error. */
29300 /* We use char because int might match the return type of a gcc2
29301 builtin and then its argument prototype would still apply. */
29303 /* The GNU C library defines this for functions which it implements
29304 to always fail with ENOSYS. Some functions are actually named
29305 something starting with __ and the normal name is an alias. */
29306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29309 char (*f) () = $ac_func;
29318 return f != $ac_func;
29323 rm -f conftest.$ac_objext conftest$ac_exeext
29324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29325 (eval $ac_link) 2>&5
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); } &&
29329 { ac_try='test -s conftest$ac_exeext'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; }; then
29335 eval "$as_ac_var=yes"
29337 echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.$ac_ext >&5
29340 eval "$as_ac_var=no"
29342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29346 if test `eval echo '${'$as_ac_var'}'` = yes; then
29347 cat >>confdefs.h <<_ACEOF
29348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29359 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29360 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29361 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29362 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29363 echo $ECHO_N "(cached) $ECHO_C" >&6
29369 ac_cpp='$CXXCPP $CPPFLAGS'
29370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29374 cat >conftest.$ac_ext <<_ACEOF
29375 #line $LINENO "configure"
29378 cat confdefs.h >>conftest.$ac_ext
29379 cat >>conftest.$ac_ext <<_ACEOF
29380 /* end confdefs.h. */
29390 rm -f conftest.$ac_objext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29392 (eval $ac_compile) 2>&5
29394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29395 (exit $ac_status); } &&
29396 { ac_try='test -s conftest.$ac_objext'
29397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29398 (eval $ac_try) 2>&5
29400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29401 (exit $ac_status); }; }; then
29402 glibcxx_cv_func_sincos_use=yes
29404 echo "$as_me: failed program was:" >&5
29405 sed 's/^/| /' conftest.$ac_ext >&5
29407 glibcxx_cv_func_sincos_use=no
29409 rm -f conftest.$ac_objext conftest.$ac_ext
29411 ac_cpp='$CPP $CPPFLAGS'
29412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29421 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29423 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29425 for ac_func in sincos
29427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29428 echo "$as_me:$LINENO: checking for $ac_func" >&5
29429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29430 if eval "test \"\${$as_ac_var+set}\" = set"; then
29431 echo $ECHO_N "(cached) $ECHO_C" >&6
29433 if test x$gcc_no_link = xyes; then
29434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29436 { (exit 1); exit 1; }; }
29438 cat >conftest.$ac_ext <<_ACEOF
29439 #line $LINENO "configure"
29442 cat confdefs.h >>conftest.$ac_ext
29443 cat >>conftest.$ac_ext <<_ACEOF
29444 /* end confdefs.h. */
29445 /* System header to define __stub macros and hopefully few prototypes,
29446 which can conflict with char $ac_func (); below.
29447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29448 <limits.h> exists even on freestanding compilers. */
29450 # include <limits.h>
29452 # include <assert.h>
29454 /* Override any gcc2 internal prototype to avoid an error. */
29459 /* We use char because int might match the return type of a gcc2
29460 builtin and then its argument prototype would still apply. */
29462 /* The GNU C library defines this for functions which it implements
29463 to always fail with ENOSYS. Some functions are actually named
29464 something starting with __ and the normal name is an alias. */
29465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29468 char (*f) () = $ac_func;
29477 return f != $ac_func;
29482 rm -f conftest.$ac_objext conftest$ac_exeext
29483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29484 (eval $ac_link) 2>&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 eval "$as_ac_var=yes"
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29499 eval "$as_ac_var=no"
29501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29505 if test `eval echo '${'$as_ac_var'}'` = yes; then
29506 cat >>confdefs.h <<_ACEOF
29507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29515 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29516 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29517 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29518 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29519 echo $ECHO_N "(cached) $ECHO_C" >&6
29525 ac_cpp='$CXXCPP $CPPFLAGS'
29526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29530 cat >conftest.$ac_ext <<_ACEOF
29531 #line $LINENO "configure"
29534 cat confdefs.h >>conftest.$ac_ext
29535 cat >>conftest.$ac_ext <<_ACEOF
29536 /* end confdefs.h. */
29546 rm -f conftest.$ac_objext
29547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29548 (eval $ac_compile) 2>&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } &&
29552 { ac_try='test -s conftest.$ac_objext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29558 glibcxx_cv_func__sincos_use=yes
29560 echo "$as_me: failed program was:" >&5
29561 sed 's/^/| /' conftest.$ac_ext >&5
29563 glibcxx_cv_func__sincos_use=no
29565 rm -f conftest.$ac_objext conftest.$ac_ext
29567 ac_cpp='$CPP $CPPFLAGS'
29568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29577 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29579 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29581 for ac_func in _sincos
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29586 if eval "test \"\${$as_ac_var+set}\" = set"; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29589 if test x$gcc_no_link = xyes; then
29590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29592 { (exit 1); exit 1; }; }
29594 cat >conftest.$ac_ext <<_ACEOF
29595 #line $LINENO "configure"
29598 cat confdefs.h >>conftest.$ac_ext
29599 cat >>conftest.$ac_ext <<_ACEOF
29600 /* end confdefs.h. */
29601 /* System header to define __stub macros and hopefully few prototypes,
29602 which can conflict with char $ac_func (); below.
29603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29604 <limits.h> exists even on freestanding compilers. */
29606 # include <limits.h>
29608 # include <assert.h>
29610 /* Override any gcc2 internal prototype to avoid an error. */
29615 /* We use char because int might match the return type of a gcc2
29616 builtin and then its argument prototype would still apply. */
29618 /* The GNU C library defines this for functions which it implements
29619 to always fail with ENOSYS. Some functions are actually named
29620 something starting with __ and the normal name is an alias. */
29621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29624 char (*f) () = $ac_func;
29633 return f != $ac_func;
29638 rm -f conftest.$ac_objext conftest$ac_exeext
29639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29640 (eval $ac_link) 2>&5
29642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29643 (exit $ac_status); } &&
29644 { ac_try='test -s conftest$ac_exeext'
29645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29646 (eval $ac_try) 2>&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; }; then
29650 eval "$as_ac_var=yes"
29652 echo "$as_me: failed program was:" >&5
29653 sed 's/^/| /' conftest.$ac_ext >&5
29655 eval "$as_ac_var=no"
29657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29661 if test `eval echo '${'$as_ac_var'}'` = yes; then
29662 cat >>confdefs.h <<_ACEOF
29663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29674 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29675 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29676 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29677 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29678 echo $ECHO_N "(cached) $ECHO_C" >&6
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29689 cat >conftest.$ac_ext <<_ACEOF
29690 #line $LINENO "configure"
29693 cat confdefs.h >>conftest.$ac_ext
29694 cat >>conftest.$ac_ext <<_ACEOF
29695 /* end confdefs.h. */
29697 #ifdef HAVE_IEEEFP_H
29698 #include <ieeefp.h>
29709 rm -f conftest.$ac_objext
29710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29711 (eval $ac_compile) 2>&5
29713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29714 (exit $ac_status); } &&
29715 { ac_try='test -s conftest.$ac_objext'
29716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29717 (eval $ac_try) 2>&5
29719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29720 (exit $ac_status); }; }; then
29721 glibcxx_cv_func_fpclass_use=yes
29723 echo "$as_me: failed program was:" >&5
29724 sed 's/^/| /' conftest.$ac_ext >&5
29726 glibcxx_cv_func_fpclass_use=no
29728 rm -f conftest.$ac_objext conftest.$ac_ext
29730 ac_cpp='$CPP $CPPFLAGS'
29731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29740 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29742 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29744 for ac_func in fpclass
29746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29747 echo "$as_me:$LINENO: checking for $ac_func" >&5
29748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29749 if eval "test \"\${$as_ac_var+set}\" = set"; then
29750 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 if test x$gcc_no_link = xyes; then
29753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29755 { (exit 1); exit 1; }; }
29757 cat >conftest.$ac_ext <<_ACEOF
29758 #line $LINENO "configure"
29761 cat confdefs.h >>conftest.$ac_ext
29762 cat >>conftest.$ac_ext <<_ACEOF
29763 /* end confdefs.h. */
29764 /* System header to define __stub macros and hopefully few prototypes,
29765 which can conflict with char $ac_func (); below.
29766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29767 <limits.h> exists even on freestanding compilers. */
29769 # include <limits.h>
29771 # include <assert.h>
29773 /* Override any gcc2 internal prototype to avoid an error. */
29778 /* We use char because int might match the return type of a gcc2
29779 builtin and then its argument prototype would still apply. */
29781 /* The GNU C library defines this for functions which it implements
29782 to always fail with ENOSYS. Some functions are actually named
29783 something starting with __ and the normal name is an alias. */
29784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29787 char (*f) () = $ac_func;
29796 return f != $ac_func;
29801 rm -f conftest.$ac_objext conftest$ac_exeext
29802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29803 (eval $ac_link) 2>&5
29805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29806 (exit $ac_status); } &&
29807 { ac_try='test -s conftest$ac_exeext'
29808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29809 (eval $ac_try) 2>&5
29811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29812 (exit $ac_status); }; }; then
29813 eval "$as_ac_var=yes"
29815 echo "$as_me: failed program was:" >&5
29816 sed 's/^/| /' conftest.$ac_ext >&5
29818 eval "$as_ac_var=no"
29820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29824 if test `eval echo '${'$as_ac_var'}'` = yes; then
29825 cat >>confdefs.h <<_ACEOF
29826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29834 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
29835 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
29836 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29837 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
29838 echo $ECHO_N "(cached) $ECHO_C" >&6
29844 ac_cpp='$CXXCPP $CPPFLAGS'
29845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29849 cat >conftest.$ac_ext <<_ACEOF
29850 #line $LINENO "configure"
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29857 #ifdef HAVE_IEEEFP_H
29858 #include <ieeefp.h>
29869 rm -f conftest.$ac_objext
29870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29871 (eval $ac_compile) 2>&5
29873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29874 (exit $ac_status); } &&
29875 { ac_try='test -s conftest.$ac_objext'
29876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29877 (eval $ac_try) 2>&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); }; }; then
29881 glibcxx_cv_func__fpclass_use=yes
29883 echo "$as_me: failed program was:" >&5
29884 sed 's/^/| /' conftest.$ac_ext >&5
29886 glibcxx_cv_func__fpclass_use=no
29888 rm -f conftest.$ac_objext conftest.$ac_ext
29890 ac_cpp='$CPP $CPPFLAGS'
29891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29899 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
29900 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
29902 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29904 for ac_func in _fpclass
29906 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29907 echo "$as_me:$LINENO: checking for $ac_func" >&5
29908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29909 if eval "test \"\${$as_ac_var+set}\" = set"; then
29910 echo $ECHO_N "(cached) $ECHO_C" >&6
29912 if test x$gcc_no_link = xyes; then
29913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29915 { (exit 1); exit 1; }; }
29917 cat >conftest.$ac_ext <<_ACEOF
29918 #line $LINENO "configure"
29921 cat confdefs.h >>conftest.$ac_ext
29922 cat >>conftest.$ac_ext <<_ACEOF
29923 /* end confdefs.h. */
29924 /* System header to define __stub macros and hopefully few prototypes,
29925 which can conflict with char $ac_func (); below.
29926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29927 <limits.h> exists even on freestanding compilers. */
29929 # include <limits.h>
29931 # include <assert.h>
29933 /* Override any gcc2 internal prototype to avoid an error. */
29938 /* We use char because int might match the return type of a gcc2
29939 builtin and then its argument prototype would still apply. */
29941 /* The GNU C library defines this for functions which it implements
29942 to always fail with ENOSYS. Some functions are actually named
29943 something starting with __ and the normal name is an alias. */
29944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29947 char (*f) () = $ac_func;
29956 return f != $ac_func;
29961 rm -f conftest.$ac_objext conftest$ac_exeext
29962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29963 (eval $ac_link) 2>&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } &&
29967 { ac_try='test -s conftest$ac_exeext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 eval "$as_ac_var=yes"
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.$ac_ext >&5
29978 eval "$as_ac_var=no"
29980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29984 if test `eval echo '${'$as_ac_var'}'` = yes; then
29985 cat >>confdefs.h <<_ACEOF
29986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29997 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29998 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29999 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30000 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
30001 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 ac_cpp='$CXXCPP $CPPFLAGS'
30008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30012 cat >conftest.$ac_ext <<_ACEOF
30013 #line $LINENO "configure"
30016 cat confdefs.h >>conftest.$ac_ext
30017 cat >>conftest.$ac_ext <<_ACEOF
30018 /* end confdefs.h. */
30020 #ifdef HAVE_IEEEFP_H
30021 #include <ieeefp.h>
30032 rm -f conftest.$ac_objext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30034 (eval $ac_compile) 2>&5
30036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037 (exit $ac_status); } &&
30038 { ac_try='test -s conftest.$ac_objext'
30039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30040 (eval $ac_try) 2>&5
30042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30043 (exit $ac_status); }; }; then
30044 glibcxx_cv_func_qfpclass_use=yes
30046 echo "$as_me: failed program was:" >&5
30047 sed 's/^/| /' conftest.$ac_ext >&5
30049 glibcxx_cv_func_qfpclass_use=no
30051 rm -f conftest.$ac_objext conftest.$ac_ext
30053 ac_cpp='$CPP $CPPFLAGS'
30054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30062 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
30063 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
30065 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30067 for ac_func in qfpclass
30069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30070 echo "$as_me:$LINENO: checking for $ac_func" >&5
30071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30072 if eval "test \"\${$as_ac_var+set}\" = set"; then
30073 echo $ECHO_N "(cached) $ECHO_C" >&6
30075 if test x$gcc_no_link = xyes; then
30076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30078 { (exit 1); exit 1; }; }
30080 cat >conftest.$ac_ext <<_ACEOF
30081 #line $LINENO "configure"
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30087 /* System header to define __stub macros and hopefully few prototypes,
30088 which can conflict with char $ac_func (); below.
30089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30090 <limits.h> exists even on freestanding compilers. */
30092 # include <limits.h>
30094 # include <assert.h>
30096 /* Override any gcc2 internal prototype to avoid an error. */
30101 /* We use char because int might match the return type of a gcc2
30102 builtin and then its argument prototype would still apply. */
30104 /* The GNU C library defines this for functions which it implements
30105 to always fail with ENOSYS. Some functions are actually named
30106 something starting with __ and the normal name is an alias. */
30107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30110 char (*f) () = $ac_func;
30119 return f != $ac_func;
30124 rm -f conftest.$ac_objext conftest$ac_exeext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30126 (eval $ac_link) 2>&5
30128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30129 (exit $ac_status); } &&
30130 { ac_try='test -s conftest$ac_exeext'
30131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30132 (eval $ac_try) 2>&5
30134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30135 (exit $ac_status); }; }; then
30136 eval "$as_ac_var=yes"
30138 echo "$as_me: failed program was:" >&5
30139 sed 's/^/| /' conftest.$ac_ext >&5
30141 eval "$as_ac_var=no"
30143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30147 if test `eval echo '${'$as_ac_var'}'` = yes; then
30148 cat >>confdefs.h <<_ACEOF
30149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30157 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
30158 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
30159 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30160 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
30161 echo $ECHO_N "(cached) $ECHO_C" >&6
30167 ac_cpp='$CXXCPP $CPPFLAGS'
30168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30172 cat >conftest.$ac_ext <<_ACEOF
30173 #line $LINENO "configure"
30176 cat confdefs.h >>conftest.$ac_ext
30177 cat >>conftest.$ac_ext <<_ACEOF
30178 /* end confdefs.h. */
30180 #ifdef HAVE_IEEEFP_H
30181 #include <ieeefp.h>
30192 rm -f conftest.$ac_objext
30193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30194 (eval $ac_compile) 2>&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try='test -s conftest.$ac_objext'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; }; then
30204 glibcxx_cv_func__qfpclass_use=yes
30206 echo "$as_me: failed program was:" >&5
30207 sed 's/^/| /' conftest.$ac_ext >&5
30209 glibcxx_cv_func__qfpclass_use=no
30211 rm -f conftest.$ac_objext conftest.$ac_ext
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
30223 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
30225 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30227 for ac_func in _qfpclass
30229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30230 echo "$as_me:$LINENO: checking for $ac_func" >&5
30231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30232 if eval "test \"\${$as_ac_var+set}\" = set"; then
30233 echo $ECHO_N "(cached) $ECHO_C" >&6
30235 if test x$gcc_no_link = xyes; then
30236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30238 { (exit 1); exit 1; }; }
30240 cat >conftest.$ac_ext <<_ACEOF
30241 #line $LINENO "configure"
30244 cat confdefs.h >>conftest.$ac_ext
30245 cat >>conftest.$ac_ext <<_ACEOF
30246 /* end confdefs.h. */
30247 /* System header to define __stub macros and hopefully few prototypes,
30248 which can conflict with char $ac_func (); below.
30249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30250 <limits.h> exists even on freestanding compilers. */
30252 # include <limits.h>
30254 # include <assert.h>
30256 /* Override any gcc2 internal prototype to avoid an error. */
30261 /* We use char because int might match the return type of a gcc2
30262 builtin and then its argument prototype would still apply. */
30264 /* The GNU C library defines this for functions which it implements
30265 to always fail with ENOSYS. Some functions are actually named
30266 something starting with __ and the normal name is an alias. */
30267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30270 char (*f) () = $ac_func;
30279 return f != $ac_func;
30284 rm -f conftest.$ac_objext conftest$ac_exeext
30285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30286 (eval $ac_link) 2>&5
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); } &&
30290 { ac_try='test -s conftest$ac_exeext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30296 eval "$as_ac_var=yes"
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30301 eval "$as_ac_var=no"
30303 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30307 if test `eval echo '${'$as_ac_var'}'` = yes; then
30308 cat >>confdefs.h <<_ACEOF
30309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30320 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30321 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30322 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30323 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30330 ac_cpp='$CXXCPP $CPPFLAGS'
30331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30335 cat >conftest.$ac_ext <<_ACEOF
30336 #line $LINENO "configure"
30339 cat confdefs.h >>conftest.$ac_ext
30340 cat >>conftest.$ac_ext <<_ACEOF
30341 /* end confdefs.h. */
30351 rm -f conftest.$ac_objext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30353 (eval $ac_compile) 2>&5
30355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30356 (exit $ac_status); } &&
30357 { ac_try='test -s conftest.$ac_objext'
30358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30359 (eval $ac_try) 2>&5
30361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30362 (exit $ac_status); }; }; then
30363 glibcxx_cv_func_hypot_use=yes
30365 echo "$as_me: failed program was:" >&5
30366 sed 's/^/| /' conftest.$ac_ext >&5
30368 glibcxx_cv_func_hypot_use=no
30370 rm -f conftest.$ac_objext conftest.$ac_ext
30372 ac_cpp='$CPP $CPPFLAGS'
30373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30381 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30382 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30384 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30386 for ac_func in hypot
30388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30389 echo "$as_me:$LINENO: checking for $ac_func" >&5
30390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30391 if eval "test \"\${$as_ac_var+set}\" = set"; then
30392 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 if test x$gcc_no_link = xyes; then
30395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397 { (exit 1); exit 1; }; }
30399 cat >conftest.$ac_ext <<_ACEOF
30400 #line $LINENO "configure"
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30406 /* System header to define __stub macros and hopefully few prototypes,
30407 which can conflict with char $ac_func (); below.
30408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30409 <limits.h> exists even on freestanding compilers. */
30411 # include <limits.h>
30413 # include <assert.h>
30415 /* Override any gcc2 internal prototype to avoid an error. */
30420 /* We use char because int might match the return type of a gcc2
30421 builtin and then its argument prototype would still apply. */
30423 /* The GNU C library defines this for functions which it implements
30424 to always fail with ENOSYS. Some functions are actually named
30425 something starting with __ and the normal name is an alias. */
30426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30429 char (*f) () = $ac_func;
30438 return f != $ac_func;
30443 rm -f conftest.$ac_objext conftest$ac_exeext
30444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30445 (eval $ac_link) 2>&5
30447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30448 (exit $ac_status); } &&
30449 { ac_try='test -s conftest$ac_exeext'
30450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30451 (eval $ac_try) 2>&5
30453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30454 (exit $ac_status); }; }; then
30455 eval "$as_ac_var=yes"
30457 echo "$as_me: failed program was:" >&5
30458 sed 's/^/| /' conftest.$ac_ext >&5
30460 eval "$as_ac_var=no"
30462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30466 if test `eval echo '${'$as_ac_var'}'` = yes; then
30467 cat >>confdefs.h <<_ACEOF
30468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30476 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30477 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30478 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30479 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30486 ac_cpp='$CXXCPP $CPPFLAGS'
30487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30491 cat >conftest.$ac_ext <<_ACEOF
30492 #line $LINENO "configure"
30495 cat confdefs.h >>conftest.$ac_ext
30496 cat >>conftest.$ac_ext <<_ACEOF
30497 /* end confdefs.h. */
30507 rm -f conftest.$ac_objext
30508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30509 (eval $ac_compile) 2>&5
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); } &&
30513 { ac_try='test -s conftest.$ac_objext'
30514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30515 (eval $ac_try) 2>&5
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); }; }; then
30519 glibcxx_cv_func__hypot_use=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30524 glibcxx_cv_func__hypot_use=no
30526 rm -f conftest.$ac_objext conftest.$ac_ext
30528 ac_cpp='$CPP $CPPFLAGS'
30529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30537 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30538 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30540 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30542 for ac_func in _hypot
30544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30545 echo "$as_me:$LINENO: checking for $ac_func" >&5
30546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30547 if eval "test \"\${$as_ac_var+set}\" = set"; then
30548 echo $ECHO_N "(cached) $ECHO_C" >&6
30550 if test x$gcc_no_link = xyes; then
30551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30553 { (exit 1); exit 1; }; }
30555 cat >conftest.$ac_ext <<_ACEOF
30556 #line $LINENO "configure"
30559 cat confdefs.h >>conftest.$ac_ext
30560 cat >>conftest.$ac_ext <<_ACEOF
30561 /* end confdefs.h. */
30562 /* System header to define __stub macros and hopefully few prototypes,
30563 which can conflict with char $ac_func (); below.
30564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30565 <limits.h> exists even on freestanding compilers. */
30567 # include <limits.h>
30569 # include <assert.h>
30571 /* Override any gcc2 internal prototype to avoid an error. */
30576 /* We use char because int might match the return type of a gcc2
30577 builtin and then its argument prototype would still apply. */
30579 /* The GNU C library defines this for functions which it implements
30580 to always fail with ENOSYS. Some functions are actually named
30581 something starting with __ and the normal name is an alias. */
30582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30585 char (*f) () = $ac_func;
30594 return f != $ac_func;
30599 rm -f conftest.$ac_objext conftest$ac_exeext
30600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30601 (eval $ac_link) 2>&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try='test -s conftest$ac_exeext'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; }; then
30611 eval "$as_ac_var=yes"
30613 echo "$as_me: failed program was:" >&5
30614 sed 's/^/| /' conftest.$ac_ext >&5
30616 eval "$as_ac_var=no"
30618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30622 if test `eval echo '${'$as_ac_var'}'` = yes; then
30623 cat >>confdefs.h <<_ACEOF
30624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30635 echo "$as_me:$LINENO: checking for float trig functions" >&5
30636 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30637 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30638 echo $ECHO_N "(cached) $ECHO_C" >&6
30644 ac_cpp='$CXXCPP $CPPFLAGS'
30645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30649 cat >conftest.$ac_ext <<_ACEOF
30650 #line $LINENO "configure"
30653 cat confdefs.h >>conftest.$ac_ext
30654 cat >>conftest.$ac_ext <<_ACEOF
30655 /* end confdefs.h. */
30660 `for x in acosf asinf atanf \
30662 coshf sinhf tanhf; do echo "$x (0);"; done`
30667 rm -f conftest.$ac_objext
30668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30669 (eval $ac_compile) 2>&5
30671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30672 (exit $ac_status); } &&
30673 { ac_try='test -s conftest.$ac_objext'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; }; then
30679 glibcxx_cv_func_float_trig_use=yes
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30684 glibcxx_cv_func_float_trig_use=no
30686 rm -f conftest.$ac_objext conftest.$ac_ext
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30696 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30697 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30707 for ac_func in acosf asinf atanf \
30711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30712 echo "$as_me:$LINENO: checking for $ac_func" >&5
30713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30714 if eval "test \"\${$as_ac_var+set}\" = set"; then
30715 echo $ECHO_N "(cached) $ECHO_C" >&6
30717 if test x$gcc_no_link = xyes; then
30718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30720 { (exit 1); exit 1; }; }
30722 cat >conftest.$ac_ext <<_ACEOF
30723 #line $LINENO "configure"
30726 cat confdefs.h >>conftest.$ac_ext
30727 cat >>conftest.$ac_ext <<_ACEOF
30728 /* end confdefs.h. */
30729 /* System header to define __stub macros and hopefully few prototypes,
30730 which can conflict with char $ac_func (); below.
30731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30732 <limits.h> exists even on freestanding compilers. */
30734 # include <limits.h>
30736 # include <assert.h>
30738 /* Override any gcc2 internal prototype to avoid an error. */
30743 /* We use char because int might match the return type of a gcc2
30744 builtin and then its argument prototype would still apply. */
30746 /* The GNU C library defines this for functions which it implements
30747 to always fail with ENOSYS. Some functions are actually named
30748 something starting with __ and the normal name is an alias. */
30749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30752 char (*f) () = $ac_func;
30761 return f != $ac_func;
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30768 (eval $ac_link) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); } &&
30772 { ac_try='test -s conftest$ac_exeext'
30773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30774 (eval $ac_try) 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); }; }; then
30778 eval "$as_ac_var=yes"
30780 echo "$as_me: failed program was:" >&5
30781 sed 's/^/| /' conftest.$ac_ext >&5
30783 eval "$as_ac_var=no"
30785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30789 if test `eval echo '${'$as_ac_var'}'` = yes; then
30790 cat >>confdefs.h <<_ACEOF
30791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30800 echo "$as_me:$LINENO: checking for float round functions" >&5
30801 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30802 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30803 echo $ECHO_N "(cached) $ECHO_C" >&6
30809 ac_cpp='$CXXCPP $CPPFLAGS'
30810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30814 cat >conftest.$ac_ext <<_ACEOF
30815 #line $LINENO "configure"
30818 cat confdefs.h >>conftest.$ac_ext
30819 cat >>conftest.$ac_ext <<_ACEOF
30820 /* end confdefs.h. */
30825 `for x in ceilf floorf; do echo "$x (0);"; done`
30830 rm -f conftest.$ac_objext
30831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30832 (eval $ac_compile) 2>&5
30834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30835 (exit $ac_status); } &&
30836 { ac_try='test -s conftest.$ac_objext'
30837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30838 (eval $ac_try) 2>&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); }; }; then
30842 glibcxx_cv_func_float_round_use=yes
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30847 glibcxx_cv_func_float_round_use=no
30849 rm -f conftest.$ac_objext conftest.$ac_ext
30851 ac_cpp='$CPP $CPPFLAGS'
30852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30859 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30860 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30863 for ac_func in ceilf floorf
30865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30866 echo "$as_me:$LINENO: checking for $ac_func" >&5
30867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30868 if eval "test \"\${$as_ac_var+set}\" = set"; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30871 if test x$gcc_no_link = xyes; then
30872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30874 { (exit 1); exit 1; }; }
30876 cat >conftest.$ac_ext <<_ACEOF
30877 #line $LINENO "configure"
30880 cat confdefs.h >>conftest.$ac_ext
30881 cat >>conftest.$ac_ext <<_ACEOF
30882 /* end confdefs.h. */
30883 /* System header to define __stub macros and hopefully few prototypes,
30884 which can conflict with char $ac_func (); below.
30885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30886 <limits.h> exists even on freestanding compilers. */
30888 # include <limits.h>
30890 # include <assert.h>
30892 /* Override any gcc2 internal prototype to avoid an error. */
30897 /* We use char because int might match the return type of a gcc2
30898 builtin and then its argument prototype would still apply. */
30900 /* The GNU C library defines this for functions which it implements
30901 to always fail with ENOSYS. Some functions are actually named
30902 something starting with __ and the normal name is an alias. */
30903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30906 char (*f) () = $ac_func;
30915 return f != $ac_func;
30920 rm -f conftest.$ac_objext conftest$ac_exeext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30922 (eval $ac_link) 2>&5
30924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30925 (exit $ac_status); } &&
30926 { ac_try='test -s conftest$ac_exeext'
30927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30928 (eval $ac_try) 2>&5
30930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30931 (exit $ac_status); }; }; then
30932 eval "$as_ac_var=yes"
30934 echo "$as_me: failed program was:" >&5
30935 sed 's/^/| /' conftest.$ac_ext >&5
30937 eval "$as_ac_var=no"
30939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30943 if test `eval echo '${'$as_ac_var'}'` = yes; then
30944 cat >>confdefs.h <<_ACEOF
30945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30955 echo "$as_me:$LINENO: checking for expf declaration" >&5
30956 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30957 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30958 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30959 echo $ECHO_N "(cached) $ECHO_C" >&6
30965 ac_cpp='$CXXCPP $CPPFLAGS'
30966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30970 cat >conftest.$ac_ext <<_ACEOF
30971 #line $LINENO "configure"
30974 cat confdefs.h >>conftest.$ac_ext
30975 cat >>conftest.$ac_ext <<_ACEOF
30976 /* end confdefs.h. */
30978 #ifdef HAVE_IEEEFP_H
30979 #include <ieeefp.h>
30990 rm -f conftest.$ac_objext
30991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30992 (eval $ac_compile) 2>&5
30994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995 (exit $ac_status); } &&
30996 { ac_try='test -s conftest.$ac_objext'
30997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998 (eval $ac_try) 2>&5
31000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001 (exit $ac_status); }; }; then
31002 glibcxx_cv_func_expf_use=yes
31004 echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31007 glibcxx_cv_func_expf_use=no
31009 rm -f conftest.$ac_objext conftest.$ac_ext
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31020 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
31021 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
31023 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31025 for ac_func in expf
31027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31028 echo "$as_me:$LINENO: checking for $ac_func" >&5
31029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31030 if eval "test \"\${$as_ac_var+set}\" = set"; then
31031 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 if test x$gcc_no_link = xyes; then
31034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31036 { (exit 1); exit 1; }; }
31038 cat >conftest.$ac_ext <<_ACEOF
31039 #line $LINENO "configure"
31042 cat confdefs.h >>conftest.$ac_ext
31043 cat >>conftest.$ac_ext <<_ACEOF
31044 /* end confdefs.h. */
31045 /* System header to define __stub macros and hopefully few prototypes,
31046 which can conflict with char $ac_func (); below.
31047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31048 <limits.h> exists even on freestanding compilers. */
31050 # include <limits.h>
31052 # include <assert.h>
31054 /* Override any gcc2 internal prototype to avoid an error. */
31059 /* We use char because int might match the return type of a gcc2
31060 builtin and then its argument prototype would still apply. */
31062 /* The GNU C library defines this for functions which it implements
31063 to always fail with ENOSYS. Some functions are actually named
31064 something starting with __ and the normal name is an alias. */
31065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31068 char (*f) () = $ac_func;
31077 return f != $ac_func;
31082 rm -f conftest.$ac_objext conftest$ac_exeext
31083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31084 (eval $ac_link) 2>&5
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); } &&
31088 { ac_try='test -s conftest$ac_exeext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094 eval "$as_ac_var=yes"
31096 echo "$as_me: failed program was:" >&5
31097 sed 's/^/| /' conftest.$ac_ext >&5
31099 eval "$as_ac_var=no"
31101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31105 if test `eval echo '${'$as_ac_var'}'` = yes; then
31106 cat >>confdefs.h <<_ACEOF
31107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31115 echo "$as_me:$LINENO: checking for _expf declaration" >&5
31116 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
31117 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31118 if test "${glibcxx_cv_func__expf_use+set}" = set; then
31119 echo $ECHO_N "(cached) $ECHO_C" >&6
31125 ac_cpp='$CXXCPP $CPPFLAGS'
31126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31130 cat >conftest.$ac_ext <<_ACEOF
31131 #line $LINENO "configure"
31134 cat confdefs.h >>conftest.$ac_ext
31135 cat >>conftest.$ac_ext <<_ACEOF
31136 /* end confdefs.h. */
31138 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31150 rm -f conftest.$ac_objext
31151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31152 (eval $ac_compile) 2>&5
31154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31155 (exit $ac_status); } &&
31156 { ac_try='test -s conftest.$ac_objext'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; }; then
31162 glibcxx_cv_func__expf_use=yes
31164 echo "$as_me: failed program was:" >&5
31165 sed 's/^/| /' conftest.$ac_ext >&5
31167 glibcxx_cv_func__expf_use=no
31169 rm -f conftest.$ac_objext conftest.$ac_ext
31171 ac_cpp='$CPP $CPPFLAGS'
31172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31180 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
31181 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
31183 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31185 for ac_func in _expf
31187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31188 echo "$as_me:$LINENO: checking for $ac_func" >&5
31189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31190 if eval "test \"\${$as_ac_var+set}\" = set"; then
31191 echo $ECHO_N "(cached) $ECHO_C" >&6
31193 if test x$gcc_no_link = xyes; then
31194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31196 { (exit 1); exit 1; }; }
31198 cat >conftest.$ac_ext <<_ACEOF
31199 #line $LINENO "configure"
31202 cat confdefs.h >>conftest.$ac_ext
31203 cat >>conftest.$ac_ext <<_ACEOF
31204 /* end confdefs.h. */
31205 /* System header to define __stub macros and hopefully few prototypes,
31206 which can conflict with char $ac_func (); below.
31207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31208 <limits.h> exists even on freestanding compilers. */
31210 # include <limits.h>
31212 # include <assert.h>
31214 /* Override any gcc2 internal prototype to avoid an error. */
31219 /* We use char because int might match the return type of a gcc2
31220 builtin and then its argument prototype would still apply. */
31222 /* The GNU C library defines this for functions which it implements
31223 to always fail with ENOSYS. Some functions are actually named
31224 something starting with __ and the normal name is an alias. */
31225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31228 char (*f) () = $ac_func;
31237 return f != $ac_func;
31242 rm -f conftest.$ac_objext conftest$ac_exeext
31243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31244 (eval $ac_link) 2>&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } &&
31248 { ac_try='test -s conftest$ac_exeext'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; }; then
31254 eval "$as_ac_var=yes"
31256 echo "$as_me: failed program was:" >&5
31257 sed 's/^/| /' conftest.$ac_ext >&5
31259 eval "$as_ac_var=no"
31261 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31265 if test `eval echo '${'$as_ac_var'}'` = yes; then
31266 cat >>confdefs.h <<_ACEOF
31267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31278 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31279 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31280 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31281 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31293 cat >conftest.$ac_ext <<_ACEOF
31294 #line $LINENO "configure"
31297 cat confdefs.h >>conftest.$ac_ext
31298 cat >>conftest.$ac_ext <<_ACEOF
31299 /* end confdefs.h. */
31301 #ifdef HAVE_IEEEFP_H
31302 #include <ieeefp.h>
31313 rm -f conftest.$ac_objext
31314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31315 (eval $ac_compile) 2>&5
31317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31318 (exit $ac_status); } &&
31319 { ac_try='test -s conftest.$ac_objext'
31320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31321 (eval $ac_try) 2>&5
31323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31324 (exit $ac_status); }; }; then
31325 glibcxx_cv_func_isnanf_use=yes
31327 echo "$as_me: failed program was:" >&5
31328 sed 's/^/| /' conftest.$ac_ext >&5
31330 glibcxx_cv_func_isnanf_use=no
31332 rm -f conftest.$ac_objext conftest.$ac_ext
31334 ac_cpp='$CPP $CPPFLAGS'
31335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31343 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31344 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31346 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31348 for ac_func in isnanf
31350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31351 echo "$as_me:$LINENO: checking for $ac_func" >&5
31352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31353 if eval "test \"\${$as_ac_var+set}\" = set"; then
31354 echo $ECHO_N "(cached) $ECHO_C" >&6
31356 if test x$gcc_no_link = xyes; then
31357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31359 { (exit 1); exit 1; }; }
31361 cat >conftest.$ac_ext <<_ACEOF
31362 #line $LINENO "configure"
31365 cat confdefs.h >>conftest.$ac_ext
31366 cat >>conftest.$ac_ext <<_ACEOF
31367 /* end confdefs.h. */
31368 /* System header to define __stub macros and hopefully few prototypes,
31369 which can conflict with char $ac_func (); below.
31370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31371 <limits.h> exists even on freestanding compilers. */
31373 # include <limits.h>
31375 # include <assert.h>
31377 /* Override any gcc2 internal prototype to avoid an error. */
31382 /* We use char because int might match the return type of a gcc2
31383 builtin and then its argument prototype would still apply. */
31385 /* The GNU C library defines this for functions which it implements
31386 to always fail with ENOSYS. Some functions are actually named
31387 something starting with __ and the normal name is an alias. */
31388 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31391 char (*f) () = $ac_func;
31400 return f != $ac_func;
31405 rm -f conftest.$ac_objext conftest$ac_exeext
31406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31407 (eval $ac_link) 2>&5
31409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31410 (exit $ac_status); } &&
31411 { ac_try='test -s conftest$ac_exeext'
31412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31413 (eval $ac_try) 2>&5
31415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31416 (exit $ac_status); }; }; then
31417 eval "$as_ac_var=yes"
31419 echo "$as_me: failed program was:" >&5
31420 sed 's/^/| /' conftest.$ac_ext >&5
31422 eval "$as_ac_var=no"
31424 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31428 if test `eval echo '${'$as_ac_var'}'` = yes; then
31429 cat >>confdefs.h <<_ACEOF
31430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31438 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
31439 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
31440 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31441 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
31442 echo $ECHO_N "(cached) $ECHO_C" >&6
31448 ac_cpp='$CXXCPP $CPPFLAGS'
31449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31453 cat >conftest.$ac_ext <<_ACEOF
31454 #line $LINENO "configure"
31457 cat confdefs.h >>conftest.$ac_ext
31458 cat >>conftest.$ac_ext <<_ACEOF
31459 /* end confdefs.h. */
31461 #ifdef HAVE_IEEEFP_H
31462 #include <ieeefp.h>
31473 rm -f conftest.$ac_objext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31475 (eval $ac_compile) 2>&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } &&
31479 { ac_try='test -s conftest.$ac_objext'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; }; then
31485 glibcxx_cv_func__isnanf_use=yes
31487 echo "$as_me: failed program was:" >&5
31488 sed 's/^/| /' conftest.$ac_ext >&5
31490 glibcxx_cv_func__isnanf_use=no
31492 rm -f conftest.$ac_objext conftest.$ac_ext
31494 ac_cpp='$CPP $CPPFLAGS'
31495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
31504 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
31506 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31508 for ac_func in _isnanf
31510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31511 echo "$as_me:$LINENO: checking for $ac_func" >&5
31512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31513 if eval "test \"\${$as_ac_var+set}\" = set"; then
31514 echo $ECHO_N "(cached) $ECHO_C" >&6
31516 if test x$gcc_no_link = xyes; then
31517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31519 { (exit 1); exit 1; }; }
31521 cat >conftest.$ac_ext <<_ACEOF
31522 #line $LINENO "configure"
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 /* System header to define __stub macros and hopefully few prototypes,
31529 which can conflict with char $ac_func (); below.
31530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31531 <limits.h> exists even on freestanding compilers. */
31533 # include <limits.h>
31535 # include <assert.h>
31537 /* Override any gcc2 internal prototype to avoid an error. */
31542 /* We use char because int might match the return type of a gcc2
31543 builtin and then its argument prototype would still apply. */
31545 /* The GNU C library defines this for functions which it implements
31546 to always fail with ENOSYS. Some functions are actually named
31547 something starting with __ and the normal name is an alias. */
31548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31551 char (*f) () = $ac_func;
31560 return f != $ac_func;
31565 rm -f conftest.$ac_objext conftest$ac_exeext
31566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31567 (eval $ac_link) 2>&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } &&
31571 { ac_try='test -s conftest$ac_exeext'
31572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31573 (eval $ac_try) 2>&5
31575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31576 (exit $ac_status); }; }; then
31577 eval "$as_ac_var=yes"
31579 echo "$as_me: failed program was:" >&5
31580 sed 's/^/| /' conftest.$ac_ext >&5
31582 eval "$as_ac_var=no"
31584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31588 if test `eval echo '${'$as_ac_var'}'` = yes; then
31589 cat >>confdefs.h <<_ACEOF
31590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31601 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31602 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31603 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31604 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31605 echo $ECHO_N "(cached) $ECHO_C" >&6
31611 ac_cpp='$CXXCPP $CPPFLAGS'
31612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616 cat >conftest.$ac_ext <<_ACEOF
31617 #line $LINENO "configure"
31620 cat confdefs.h >>conftest.$ac_ext
31621 cat >>conftest.$ac_ext <<_ACEOF
31622 /* end confdefs.h. */
31624 #ifdef HAVE_IEEEFP_H
31625 #include <ieeefp.h>
31636 rm -f conftest.$ac_objext
31637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31638 (eval $ac_compile) 2>&5
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); } &&
31642 { ac_try='test -s conftest.$ac_objext'
31643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31644 (eval $ac_try) 2>&5
31646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31647 (exit $ac_status); }; }; then
31648 glibcxx_cv_func_isinff_use=yes
31650 echo "$as_me: failed program was:" >&5
31651 sed 's/^/| /' conftest.$ac_ext >&5
31653 glibcxx_cv_func_isinff_use=no
31655 rm -f conftest.$ac_objext conftest.$ac_ext
31657 ac_cpp='$CPP $CPPFLAGS'
31658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31666 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31667 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31669 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31671 for ac_func in isinff
31673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31674 echo "$as_me:$LINENO: checking for $ac_func" >&5
31675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31676 if eval "test \"\${$as_ac_var+set}\" = set"; then
31677 echo $ECHO_N "(cached) $ECHO_C" >&6
31679 if test x$gcc_no_link = xyes; then
31680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31682 { (exit 1); exit 1; }; }
31684 cat >conftest.$ac_ext <<_ACEOF
31685 #line $LINENO "configure"
31688 cat confdefs.h >>conftest.$ac_ext
31689 cat >>conftest.$ac_ext <<_ACEOF
31690 /* end confdefs.h. */
31691 /* System header to define __stub macros and hopefully few prototypes,
31692 which can conflict with char $ac_func (); below.
31693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31694 <limits.h> exists even on freestanding compilers. */
31696 # include <limits.h>
31698 # include <assert.h>
31700 /* Override any gcc2 internal prototype to avoid an error. */
31705 /* We use char because int might match the return type of a gcc2
31706 builtin and then its argument prototype would still apply. */
31708 /* The GNU C library defines this for functions which it implements
31709 to always fail with ENOSYS. Some functions are actually named
31710 something starting with __ and the normal name is an alias. */
31711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31714 char (*f) () = $ac_func;
31723 return f != $ac_func;
31728 rm -f conftest.$ac_objext conftest$ac_exeext
31729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31730 (eval $ac_link) 2>&5
31732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31733 (exit $ac_status); } &&
31734 { ac_try='test -s conftest$ac_exeext'
31735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31736 (eval $ac_try) 2>&5
31738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31739 (exit $ac_status); }; }; then
31740 eval "$as_ac_var=yes"
31742 echo "$as_me: failed program was:" >&5
31743 sed 's/^/| /' conftest.$ac_ext >&5
31745 eval "$as_ac_var=no"
31747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31751 if test `eval echo '${'$as_ac_var'}'` = yes; then
31752 cat >>confdefs.h <<_ACEOF
31753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31761 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
31762 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
31763 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31764 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
31765 echo $ECHO_N "(cached) $ECHO_C" >&6
31771 ac_cpp='$CXXCPP $CPPFLAGS'
31772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31776 cat >conftest.$ac_ext <<_ACEOF
31777 #line $LINENO "configure"
31780 cat confdefs.h >>conftest.$ac_ext
31781 cat >>conftest.$ac_ext <<_ACEOF
31782 /* end confdefs.h. */
31784 #ifdef HAVE_IEEEFP_H
31785 #include <ieeefp.h>
31796 rm -f conftest.$ac_objext
31797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31798 (eval $ac_compile) 2>&5
31800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31801 (exit $ac_status); } &&
31802 { ac_try='test -s conftest.$ac_objext'
31803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31804 (eval $ac_try) 2>&5
31806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31807 (exit $ac_status); }; }; then
31808 glibcxx_cv_func__isinff_use=yes
31810 echo "$as_me: failed program was:" >&5
31811 sed 's/^/| /' conftest.$ac_ext >&5
31813 glibcxx_cv_func__isinff_use=no
31815 rm -f conftest.$ac_objext conftest.$ac_ext
31817 ac_cpp='$CPP $CPPFLAGS'
31818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
31827 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
31829 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31831 for ac_func in _isinff
31833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31834 echo "$as_me:$LINENO: checking for $ac_func" >&5
31835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31836 if eval "test \"\${$as_ac_var+set}\" = set"; then
31837 echo $ECHO_N "(cached) $ECHO_C" >&6
31839 if test x$gcc_no_link = xyes; then
31840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31842 { (exit 1); exit 1; }; }
31844 cat >conftest.$ac_ext <<_ACEOF
31845 #line $LINENO "configure"
31848 cat confdefs.h >>conftest.$ac_ext
31849 cat >>conftest.$ac_ext <<_ACEOF
31850 /* end confdefs.h. */
31851 /* System header to define __stub macros and hopefully few prototypes,
31852 which can conflict with char $ac_func (); below.
31853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31854 <limits.h> exists even on freestanding compilers. */
31856 # include <limits.h>
31858 # include <assert.h>
31860 /* Override any gcc2 internal prototype to avoid an error. */
31865 /* We use char because int might match the return type of a gcc2
31866 builtin and then its argument prototype would still apply. */
31868 /* The GNU C library defines this for functions which it implements
31869 to always fail with ENOSYS. Some functions are actually named
31870 something starting with __ and the normal name is an alias. */
31871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31874 char (*f) () = $ac_func;
31883 return f != $ac_func;
31888 rm -f conftest.$ac_objext conftest$ac_exeext
31889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31890 (eval $ac_link) 2>&5
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); } &&
31894 { ac_try='test -s conftest$ac_exeext'
31895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896 (eval $ac_try) 2>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; }; then
31900 eval "$as_ac_var=yes"
31902 echo "$as_me: failed program was:" >&5
31903 sed 's/^/| /' conftest.$ac_ext >&5
31905 eval "$as_ac_var=no"
31907 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31911 if test `eval echo '${'$as_ac_var'}'` = yes; then
31912 cat >>confdefs.h <<_ACEOF
31913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31924 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31925 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31926 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31927 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31934 ac_cpp='$CXXCPP $CPPFLAGS'
31935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31939 cat >conftest.$ac_ext <<_ACEOF
31940 #line $LINENO "configure"
31943 cat confdefs.h >>conftest.$ac_ext
31944 cat >>conftest.$ac_ext <<_ACEOF
31945 /* end confdefs.h. */
31955 rm -f conftest.$ac_objext
31956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31957 (eval $ac_compile) 2>&5
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); } &&
31961 { ac_try='test -s conftest.$ac_objext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 glibcxx_cv_func_atan2f_use=yes
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31972 glibcxx_cv_func_atan2f_use=no
31974 rm -f conftest.$ac_objext conftest.$ac_ext
31976 ac_cpp='$CPP $CPPFLAGS'
31977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31985 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31986 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31988 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31990 for ac_func in atan2f
31992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31993 echo "$as_me:$LINENO: checking for $ac_func" >&5
31994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31995 if eval "test \"\${$as_ac_var+set}\" = set"; then
31996 echo $ECHO_N "(cached) $ECHO_C" >&6
31998 if test x$gcc_no_link = xyes; then
31999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32001 { (exit 1); exit 1; }; }
32003 cat >conftest.$ac_ext <<_ACEOF
32004 #line $LINENO "configure"
32007 cat confdefs.h >>conftest.$ac_ext
32008 cat >>conftest.$ac_ext <<_ACEOF
32009 /* end confdefs.h. */
32010 /* System header to define __stub macros and hopefully few prototypes,
32011 which can conflict with char $ac_func (); below.
32012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32013 <limits.h> exists even on freestanding compilers. */
32015 # include <limits.h>
32017 # include <assert.h>
32019 /* Override any gcc2 internal prototype to avoid an error. */
32024 /* We use char because int might match the return type of a gcc2
32025 builtin and then its argument prototype would still apply. */
32027 /* The GNU C library defines this for functions which it implements
32028 to always fail with ENOSYS. Some functions are actually named
32029 something starting with __ and the normal name is an alias. */
32030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32033 char (*f) () = $ac_func;
32042 return f != $ac_func;
32047 rm -f conftest.$ac_objext conftest$ac_exeext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32049 (eval $ac_link) 2>&5
32051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32052 (exit $ac_status); } &&
32053 { ac_try='test -s conftest$ac_exeext'
32054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32055 (eval $ac_try) 2>&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); }; }; then
32059 eval "$as_ac_var=yes"
32061 echo "$as_me: failed program was:" >&5
32062 sed 's/^/| /' conftest.$ac_ext >&5
32064 eval "$as_ac_var=no"
32066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32070 if test `eval echo '${'$as_ac_var'}'` = yes; then
32071 cat >>confdefs.h <<_ACEOF
32072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32080 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
32081 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
32082 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
32083 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32090 ac_cpp='$CXXCPP $CPPFLAGS'
32091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32095 cat >conftest.$ac_ext <<_ACEOF
32096 #line $LINENO "configure"
32099 cat confdefs.h >>conftest.$ac_ext
32100 cat >>conftest.$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32111 rm -f conftest.$ac_objext
32112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32113 (eval $ac_compile) 2>&5
32115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32116 (exit $ac_status); } &&
32117 { ac_try='test -s conftest.$ac_objext'
32118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32119 (eval $ac_try) 2>&5
32121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32122 (exit $ac_status); }; }; then
32123 glibcxx_cv_func__atan2f_use=yes
32125 echo "$as_me: failed program was:" >&5
32126 sed 's/^/| /' conftest.$ac_ext >&5
32128 glibcxx_cv_func__atan2f_use=no
32130 rm -f conftest.$ac_objext conftest.$ac_ext
32132 ac_cpp='$CPP $CPPFLAGS'
32133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32141 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
32142 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
32144 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
32146 for ac_func in _atan2f
32148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32149 echo "$as_me:$LINENO: checking for $ac_func" >&5
32150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32151 if eval "test \"\${$as_ac_var+set}\" = set"; then
32152 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 if test x$gcc_no_link = xyes; then
32155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32157 { (exit 1); exit 1; }; }
32159 cat >conftest.$ac_ext <<_ACEOF
32160 #line $LINENO "configure"
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32166 /* System header to define __stub macros and hopefully few prototypes,
32167 which can conflict with char $ac_func (); below.
32168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32169 <limits.h> exists even on freestanding compilers. */
32171 # include <limits.h>
32173 # include <assert.h>
32175 /* Override any gcc2 internal prototype to avoid an error. */
32180 /* We use char because int might match the return type of a gcc2
32181 builtin and then its argument prototype would still apply. */
32183 /* The GNU C library defines this for functions which it implements
32184 to always fail with ENOSYS. Some functions are actually named
32185 something starting with __ and the normal name is an alias. */
32186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32189 char (*f) () = $ac_func;
32198 return f != $ac_func;
32203 rm -f conftest.$ac_objext conftest$ac_exeext
32204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32205 (eval $ac_link) 2>&5
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); } &&
32209 { ac_try='test -s conftest$ac_exeext'
32210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32211 (eval $ac_try) 2>&5
32213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32214 (exit $ac_status); }; }; then
32215 eval "$as_ac_var=yes"
32217 echo "$as_me: failed program was:" >&5
32218 sed 's/^/| /' conftest.$ac_ext >&5
32220 eval "$as_ac_var=no"
32222 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32226 if test `eval echo '${'$as_ac_var'}'` = yes; then
32227 cat >>confdefs.h <<_ACEOF
32228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32239 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32240 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32241 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32242 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32249 ac_cpp='$CXXCPP $CPPFLAGS'
32250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254 cat >conftest.$ac_ext <<_ACEOF
32255 #line $LINENO "configure"
32258 cat confdefs.h >>conftest.$ac_ext
32259 cat >>conftest.$ac_ext <<_ACEOF
32260 /* end confdefs.h. */
32262 #ifdef HAVE_IEEEFP_H
32263 #include <ieeefp.h>
32274 rm -f conftest.$ac_objext
32275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32276 (eval $ac_compile) 2>&5
32278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32279 (exit $ac_status); } &&
32280 { ac_try='test -s conftest.$ac_objext'
32281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32282 (eval $ac_try) 2>&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); }; }; then
32286 glibcxx_cv_func_fabsf_use=yes
32288 echo "$as_me: failed program was:" >&5
32289 sed 's/^/| /' conftest.$ac_ext >&5
32291 glibcxx_cv_func_fabsf_use=no
32293 rm -f conftest.$ac_objext conftest.$ac_ext
32295 ac_cpp='$CPP $CPPFLAGS'
32296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32304 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32305 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32307 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32309 for ac_func in fabsf
32311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32312 echo "$as_me:$LINENO: checking for $ac_func" >&5
32313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32314 if eval "test \"\${$as_ac_var+set}\" = set"; then
32315 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 if test x$gcc_no_link = xyes; then
32318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32320 { (exit 1); exit 1; }; }
32322 cat >conftest.$ac_ext <<_ACEOF
32323 #line $LINENO "configure"
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329 /* System header to define __stub macros and hopefully few prototypes,
32330 which can conflict with char $ac_func (); below.
32331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32332 <limits.h> exists even on freestanding compilers. */
32334 # include <limits.h>
32336 # include <assert.h>
32338 /* Override any gcc2 internal prototype to avoid an error. */
32343 /* We use char because int might match the return type of a gcc2
32344 builtin and then its argument prototype would still apply. */
32346 /* The GNU C library defines this for functions which it implements
32347 to always fail with ENOSYS. Some functions are actually named
32348 something starting with __ and the normal name is an alias. */
32349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32352 char (*f) () = $ac_func;
32361 return f != $ac_func;
32366 rm -f conftest.$ac_objext conftest$ac_exeext
32367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32368 (eval $ac_link) 2>&5
32370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32371 (exit $ac_status); } &&
32372 { ac_try='test -s conftest$ac_exeext'
32373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32374 (eval $ac_try) 2>&5
32376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32377 (exit $ac_status); }; }; then
32378 eval "$as_ac_var=yes"
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.$ac_ext >&5
32383 eval "$as_ac_var=no"
32385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32389 if test `eval echo '${'$as_ac_var'}'` = yes; then
32390 cat >>confdefs.h <<_ACEOF
32391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32399 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
32400 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
32401 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
32402 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
32403 echo $ECHO_N "(cached) $ECHO_C" >&6
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32414 cat >conftest.$ac_ext <<_ACEOF
32415 #line $LINENO "configure"
32418 cat confdefs.h >>conftest.$ac_ext
32419 cat >>conftest.$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32422 #ifdef HAVE_IEEEFP_H
32423 #include <ieeefp.h>
32434 rm -f conftest.$ac_objext
32435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32436 (eval $ac_compile) 2>&5
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); } &&
32440 { ac_try='test -s conftest.$ac_objext'
32441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32442 (eval $ac_try) 2>&5
32444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32445 (exit $ac_status); }; }; then
32446 glibcxx_cv_func__fabsf_use=yes
32448 echo "$as_me: failed program was:" >&5
32449 sed 's/^/| /' conftest.$ac_ext >&5
32451 glibcxx_cv_func__fabsf_use=no
32453 rm -f conftest.$ac_objext conftest.$ac_ext
32455 ac_cpp='$CPP $CPPFLAGS'
32456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
32465 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
32467 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
32469 for ac_func in _fabsf
32471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32472 echo "$as_me:$LINENO: checking for $ac_func" >&5
32473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32474 if eval "test \"\${$as_ac_var+set}\" = set"; then
32475 echo $ECHO_N "(cached) $ECHO_C" >&6
32477 if test x$gcc_no_link = xyes; then
32478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32480 { (exit 1); exit 1; }; }
32482 cat >conftest.$ac_ext <<_ACEOF
32483 #line $LINENO "configure"
32486 cat confdefs.h >>conftest.$ac_ext
32487 cat >>conftest.$ac_ext <<_ACEOF
32488 /* end confdefs.h. */
32489 /* System header to define __stub macros and hopefully few prototypes,
32490 which can conflict with char $ac_func (); below.
32491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32492 <limits.h> exists even on freestanding compilers. */
32494 # include <limits.h>
32496 # include <assert.h>
32498 /* Override any gcc2 internal prototype to avoid an error. */
32503 /* We use char because int might match the return type of a gcc2
32504 builtin and then its argument prototype would still apply. */
32506 /* The GNU C library defines this for functions which it implements
32507 to always fail with ENOSYS. Some functions are actually named
32508 something starting with __ and the normal name is an alias. */
32509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32512 char (*f) () = $ac_func;
32521 return f != $ac_func;
32526 rm -f conftest.$ac_objext conftest$ac_exeext
32527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32528 (eval $ac_link) 2>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } &&
32532 { ac_try='test -s conftest$ac_exeext'
32533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32534 (eval $ac_try) 2>&5
32536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32537 (exit $ac_status); }; }; then
32538 eval "$as_ac_var=yes"
32540 echo "$as_me: failed program was:" >&5
32541 sed 's/^/| /' conftest.$ac_ext >&5
32543 eval "$as_ac_var=no"
32545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32549 if test `eval echo '${'$as_ac_var'}'` = yes; then
32550 cat >>confdefs.h <<_ACEOF
32551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32562 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32563 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32564 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32565 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32566 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 ac_cpp='$CXXCPP $CPPFLAGS'
32573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32577 cat >conftest.$ac_ext <<_ACEOF
32578 #line $LINENO "configure"
32581 cat confdefs.h >>conftest.$ac_ext
32582 cat >>conftest.$ac_ext <<_ACEOF
32583 /* end confdefs.h. */
32593 rm -f conftest.$ac_objext
32594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32595 (eval $ac_compile) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); } &&
32599 { ac_try='test -s conftest.$ac_objext'
32600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32601 (eval $ac_try) 2>&5
32603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32604 (exit $ac_status); }; }; then
32605 glibcxx_cv_func_fmodf_use=yes
32607 echo "$as_me: failed program was:" >&5
32608 sed 's/^/| /' conftest.$ac_ext >&5
32610 glibcxx_cv_func_fmodf_use=no
32612 rm -f conftest.$ac_objext conftest.$ac_ext
32614 ac_cpp='$CPP $CPPFLAGS'
32615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32624 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32626 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32628 for ac_func in fmodf
32630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32631 echo "$as_me:$LINENO: checking for $ac_func" >&5
32632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32633 if eval "test \"\${$as_ac_var+set}\" = set"; then
32634 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 if test x$gcc_no_link = xyes; then
32637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32639 { (exit 1); exit 1; }; }
32641 cat >conftest.$ac_ext <<_ACEOF
32642 #line $LINENO "configure"
32645 cat confdefs.h >>conftest.$ac_ext
32646 cat >>conftest.$ac_ext <<_ACEOF
32647 /* end confdefs.h. */
32648 /* System header to define __stub macros and hopefully few prototypes,
32649 which can conflict with char $ac_func (); below.
32650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32651 <limits.h> exists even on freestanding compilers. */
32653 # include <limits.h>
32655 # include <assert.h>
32657 /* Override any gcc2 internal prototype to avoid an error. */
32662 /* We use char because int might match the return type of a gcc2
32663 builtin and then its argument prototype would still apply. */
32665 /* The GNU C library defines this for functions which it implements
32666 to always fail with ENOSYS. Some functions are actually named
32667 something starting with __ and the normal name is an alias. */
32668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32671 char (*f) () = $ac_func;
32680 return f != $ac_func;
32685 rm -f conftest.$ac_objext conftest$ac_exeext
32686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32687 (eval $ac_link) 2>&5
32689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32690 (exit $ac_status); } &&
32691 { ac_try='test -s conftest$ac_exeext'
32692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32693 (eval $ac_try) 2>&5
32695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32696 (exit $ac_status); }; }; then
32697 eval "$as_ac_var=yes"
32699 echo "$as_me: failed program was:" >&5
32700 sed 's/^/| /' conftest.$ac_ext >&5
32702 eval "$as_ac_var=no"
32704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32708 if test `eval echo '${'$as_ac_var'}'` = yes; then
32709 cat >>confdefs.h <<_ACEOF
32710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32718 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32719 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32720 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32721 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32722 echo $ECHO_N "(cached) $ECHO_C" >&6
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32733 cat >conftest.$ac_ext <<_ACEOF
32734 #line $LINENO "configure"
32737 cat confdefs.h >>conftest.$ac_ext
32738 cat >>conftest.$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32749 rm -f conftest.$ac_objext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32751 (eval $ac_compile) 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); } &&
32755 { ac_try='test -s conftest.$ac_objext'
32756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32757 (eval $ac_try) 2>&5
32759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32760 (exit $ac_status); }; }; then
32761 glibcxx_cv_func__fmodf_use=yes
32763 echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32766 glibcxx_cv_func__fmodf_use=no
32768 rm -f conftest.$ac_objext conftest.$ac_ext
32770 ac_cpp='$CPP $CPPFLAGS'
32771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32779 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32780 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32782 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32784 for ac_func in _fmodf
32786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32787 echo "$as_me:$LINENO: checking for $ac_func" >&5
32788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32789 if eval "test \"\${$as_ac_var+set}\" = set"; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 if test x$gcc_no_link = xyes; then
32793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32795 { (exit 1); exit 1; }; }
32797 cat >conftest.$ac_ext <<_ACEOF
32798 #line $LINENO "configure"
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 /* System header to define __stub macros and hopefully few prototypes,
32805 which can conflict with char $ac_func (); below.
32806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32807 <limits.h> exists even on freestanding compilers. */
32809 # include <limits.h>
32811 # include <assert.h>
32813 /* Override any gcc2 internal prototype to avoid an error. */
32818 /* We use char because int might match the return type of a gcc2
32819 builtin and then its argument prototype would still apply. */
32821 /* The GNU C library defines this for functions which it implements
32822 to always fail with ENOSYS. Some functions are actually named
32823 something starting with __ and the normal name is an alias. */
32824 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32827 char (*f) () = $ac_func;
32836 return f != $ac_func;
32841 rm -f conftest.$ac_objext conftest$ac_exeext
32842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32843 (eval $ac_link) 2>&5
32845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32846 (exit $ac_status); } &&
32847 { ac_try='test -s conftest$ac_exeext'
32848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32849 (eval $ac_try) 2>&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); }; }; then
32853 eval "$as_ac_var=yes"
32855 echo "$as_me: failed program was:" >&5
32856 sed 's/^/| /' conftest.$ac_ext >&5
32858 eval "$as_ac_var=no"
32860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32864 if test `eval echo '${'$as_ac_var'}'` = yes; then
32865 cat >>confdefs.h <<_ACEOF
32866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32877 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32878 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32879 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32880 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32881 echo $ECHO_N "(cached) $ECHO_C" >&6
32887 ac_cpp='$CXXCPP $CPPFLAGS'
32888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32892 cat >conftest.$ac_ext <<_ACEOF
32893 #line $LINENO "configure"
32896 cat confdefs.h >>conftest.$ac_ext
32897 cat >>conftest.$ac_ext <<_ACEOF
32898 /* end confdefs.h. */
32908 rm -f conftest.$ac_objext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32910 (eval $ac_compile) 2>&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } &&
32914 { ac_try='test -s conftest.$ac_objext'
32915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32916 (eval $ac_try) 2>&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); }; }; then
32920 glibcxx_cv_func_frexpf_use=yes
32922 echo "$as_me: failed program was:" >&5
32923 sed 's/^/| /' conftest.$ac_ext >&5
32925 glibcxx_cv_func_frexpf_use=no
32927 rm -f conftest.$ac_objext conftest.$ac_ext
32929 ac_cpp='$CPP $CPPFLAGS'
32930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32938 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32939 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32941 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32943 for ac_func in frexpf
32945 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32946 echo "$as_me:$LINENO: checking for $ac_func" >&5
32947 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32948 if eval "test \"\${$as_ac_var+set}\" = set"; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32951 if test x$gcc_no_link = xyes; then
32952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32954 { (exit 1); exit 1; }; }
32956 cat >conftest.$ac_ext <<_ACEOF
32957 #line $LINENO "configure"
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 /* System header to define __stub macros and hopefully few prototypes,
32964 which can conflict with char $ac_func (); below.
32965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32966 <limits.h> exists even on freestanding compilers. */
32968 # include <limits.h>
32970 # include <assert.h>
32972 /* Override any gcc2 internal prototype to avoid an error. */
32977 /* We use char because int might match the return type of a gcc2
32978 builtin and then its argument prototype would still apply. */
32980 /* The GNU C library defines this for functions which it implements
32981 to always fail with ENOSYS. Some functions are actually named
32982 something starting with __ and the normal name is an alias. */
32983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32986 char (*f) () = $ac_func;
32995 return f != $ac_func;
33000 rm -f conftest.$ac_objext conftest$ac_exeext
33001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33002 (eval $ac_link) 2>&5
33004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33005 (exit $ac_status); } &&
33006 { ac_try='test -s conftest$ac_exeext'
33007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33008 (eval $ac_try) 2>&5
33010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33011 (exit $ac_status); }; }; then
33012 eval "$as_ac_var=yes"
33014 echo "$as_me: failed program was:" >&5
33015 sed 's/^/| /' conftest.$ac_ext >&5
33017 eval "$as_ac_var=no"
33019 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33023 if test `eval echo '${'$as_ac_var'}'` = yes; then
33024 cat >>confdefs.h <<_ACEOF
33025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33033 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
33034 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
33035 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
33036 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
33037 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 ac_cpp='$CXXCPP $CPPFLAGS'
33044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33048 cat >conftest.$ac_ext <<_ACEOF
33049 #line $LINENO "configure"
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33064 rm -f conftest.$ac_objext
33065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33066 (eval $ac_compile) 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); } &&
33070 { ac_try='test -s conftest.$ac_objext'
33071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33072 (eval $ac_try) 2>&5
33074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33075 (exit $ac_status); }; }; then
33076 glibcxx_cv_func__frexpf_use=yes
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33081 glibcxx_cv_func__frexpf_use=no
33083 rm -f conftest.$ac_objext conftest.$ac_ext
33085 ac_cpp='$CPP $CPPFLAGS'
33086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33094 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
33095 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
33097 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
33099 for ac_func in _frexpf
33101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33102 echo "$as_me:$LINENO: checking for $ac_func" >&5
33103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33104 if eval "test \"\${$as_ac_var+set}\" = set"; then
33105 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 if test x$gcc_no_link = xyes; then
33108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33110 { (exit 1); exit 1; }; }
33112 cat >conftest.$ac_ext <<_ACEOF
33113 #line $LINENO "configure"
33116 cat confdefs.h >>conftest.$ac_ext
33117 cat >>conftest.$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33119 /* System header to define __stub macros and hopefully few prototypes,
33120 which can conflict with char $ac_func (); below.
33121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33122 <limits.h> exists even on freestanding compilers. */
33124 # include <limits.h>
33126 # include <assert.h>
33128 /* Override any gcc2 internal prototype to avoid an error. */
33133 /* We use char because int might match the return type of a gcc2
33134 builtin and then its argument prototype would still apply. */
33136 /* The GNU C library defines this for functions which it implements
33137 to always fail with ENOSYS. Some functions are actually named
33138 something starting with __ and the normal name is an alias. */
33139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33142 char (*f) () = $ac_func;
33151 return f != $ac_func;
33156 rm -f conftest.$ac_objext conftest$ac_exeext
33157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33158 (eval $ac_link) 2>&5
33160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33161 (exit $ac_status); } &&
33162 { ac_try='test -s conftest$ac_exeext'
33163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33164 (eval $ac_try) 2>&5
33166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33167 (exit $ac_status); }; }; then
33168 eval "$as_ac_var=yes"
33170 echo "$as_me: failed program was:" >&5
33171 sed 's/^/| /' conftest.$ac_ext >&5
33173 eval "$as_ac_var=no"
33175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33179 if test `eval echo '${'$as_ac_var'}'` = yes; then
33180 cat >>confdefs.h <<_ACEOF
33181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33192 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33193 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33194 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33195 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33196 echo $ECHO_N "(cached) $ECHO_C" >&6
33202 ac_cpp='$CXXCPP $CPPFLAGS'
33203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33207 cat >conftest.$ac_ext <<_ACEOF
33208 #line $LINENO "configure"
33211 cat confdefs.h >>conftest.$ac_ext
33212 cat >>conftest.$ac_ext <<_ACEOF
33213 /* end confdefs.h. */
33223 rm -f conftest.$ac_objext
33224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33225 (eval $ac_compile) 2>&5
33227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33228 (exit $ac_status); } &&
33229 { ac_try='test -s conftest.$ac_objext'
33230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33231 (eval $ac_try) 2>&5
33233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33234 (exit $ac_status); }; }; then
33235 glibcxx_cv_func_hypotf_use=yes
33237 echo "$as_me: failed program was:" >&5
33238 sed 's/^/| /' conftest.$ac_ext >&5
33240 glibcxx_cv_func_hypotf_use=no
33242 rm -f conftest.$ac_objext conftest.$ac_ext
33244 ac_cpp='$CPP $CPPFLAGS'
33245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33253 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33254 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33256 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33258 for ac_func in hypotf
33260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33261 echo "$as_me:$LINENO: checking for $ac_func" >&5
33262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33263 if eval "test \"\${$as_ac_var+set}\" = set"; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33266 if test x$gcc_no_link = xyes; then
33267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33269 { (exit 1); exit 1; }; }
33271 cat >conftest.$ac_ext <<_ACEOF
33272 #line $LINENO "configure"
33275 cat confdefs.h >>conftest.$ac_ext
33276 cat >>conftest.$ac_ext <<_ACEOF
33277 /* end confdefs.h. */
33278 /* System header to define __stub macros and hopefully few prototypes,
33279 which can conflict with char $ac_func (); below.
33280 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33281 <limits.h> exists even on freestanding compilers. */
33283 # include <limits.h>
33285 # include <assert.h>
33287 /* Override any gcc2 internal prototype to avoid an error. */
33292 /* We use char because int might match the return type of a gcc2
33293 builtin and then its argument prototype would still apply. */
33295 /* The GNU C library defines this for functions which it implements
33296 to always fail with ENOSYS. Some functions are actually named
33297 something starting with __ and the normal name is an alias. */
33298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33301 char (*f) () = $ac_func;
33310 return f != $ac_func;
33315 rm -f conftest.$ac_objext conftest$ac_exeext
33316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33317 (eval $ac_link) 2>&5
33319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33320 (exit $ac_status); } &&
33321 { ac_try='test -s conftest$ac_exeext'
33322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33323 (eval $ac_try) 2>&5
33325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33326 (exit $ac_status); }; }; then
33327 eval "$as_ac_var=yes"
33329 echo "$as_me: failed program was:" >&5
33330 sed 's/^/| /' conftest.$ac_ext >&5
33332 eval "$as_ac_var=no"
33334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33338 if test `eval echo '${'$as_ac_var'}'` = yes; then
33339 cat >>confdefs.h <<_ACEOF
33340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33348 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33349 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33350 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33351 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33358 ac_cpp='$CXXCPP $CPPFLAGS'
33359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33363 cat >conftest.$ac_ext <<_ACEOF
33364 #line $LINENO "configure"
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h. */
33379 rm -f conftest.$ac_objext
33380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33381 (eval $ac_compile) 2>&5
33383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33384 (exit $ac_status); } &&
33385 { ac_try='test -s conftest.$ac_objext'
33386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387 (eval $ac_try) 2>&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); }; }; then
33391 glibcxx_cv_func__hypotf_use=yes
33393 echo "$as_me: failed program was:" >&5
33394 sed 's/^/| /' conftest.$ac_ext >&5
33396 glibcxx_cv_func__hypotf_use=no
33398 rm -f conftest.$ac_objext conftest.$ac_ext
33400 ac_cpp='$CPP $CPPFLAGS'
33401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33410 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33412 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33414 for ac_func in _hypotf
33416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33417 echo "$as_me:$LINENO: checking for $ac_func" >&5
33418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33419 if eval "test \"\${$as_ac_var+set}\" = set"; then
33420 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 if test x$gcc_no_link = xyes; then
33423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33425 { (exit 1); exit 1; }; }
33427 cat >conftest.$ac_ext <<_ACEOF
33428 #line $LINENO "configure"
33431 cat confdefs.h >>conftest.$ac_ext
33432 cat >>conftest.$ac_ext <<_ACEOF
33433 /* end confdefs.h. */
33434 /* System header to define __stub macros and hopefully few prototypes,
33435 which can conflict with char $ac_func (); below.
33436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33437 <limits.h> exists even on freestanding compilers. */
33439 # include <limits.h>
33441 # include <assert.h>
33443 /* Override any gcc2 internal prototype to avoid an error. */
33448 /* We use char because int might match the return type of a gcc2
33449 builtin and then its argument prototype would still apply. */
33451 /* The GNU C library defines this for functions which it implements
33452 to always fail with ENOSYS. Some functions are actually named
33453 something starting with __ and the normal name is an alias. */
33454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33457 char (*f) () = $ac_func;
33466 return f != $ac_func;
33471 rm -f conftest.$ac_objext conftest$ac_exeext
33472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33473 (eval $ac_link) 2>&5
33475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33476 (exit $ac_status); } &&
33477 { ac_try='test -s conftest$ac_exeext'
33478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33479 (eval $ac_try) 2>&5
33481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482 (exit $ac_status); }; }; then
33483 eval "$as_ac_var=yes"
33485 echo "$as_me: failed program was:" >&5
33486 sed 's/^/| /' conftest.$ac_ext >&5
33488 eval "$as_ac_var=no"
33490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33494 if test `eval echo '${'$as_ac_var'}'` = yes; then
33495 cat >>confdefs.h <<_ACEOF
33496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33507 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33508 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33509 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33510 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33511 echo $ECHO_N "(cached) $ECHO_C" >&6
33517 ac_cpp='$CXXCPP $CPPFLAGS'
33518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33522 cat >conftest.$ac_ext <<_ACEOF
33523 #line $LINENO "configure"
33526 cat confdefs.h >>conftest.$ac_ext
33527 cat >>conftest.$ac_ext <<_ACEOF
33528 /* end confdefs.h. */
33538 rm -f conftest.$ac_objext
33539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33540 (eval $ac_compile) 2>&5
33542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33543 (exit $ac_status); } &&
33544 { ac_try='test -s conftest.$ac_objext'
33545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33546 (eval $ac_try) 2>&5
33548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33549 (exit $ac_status); }; }; then
33550 glibcxx_cv_func_ldexpf_use=yes
33552 echo "$as_me: failed program was:" >&5
33553 sed 's/^/| /' conftest.$ac_ext >&5
33555 glibcxx_cv_func_ldexpf_use=no
33557 rm -f conftest.$ac_objext conftest.$ac_ext
33559 ac_cpp='$CPP $CPPFLAGS'
33560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33568 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33569 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33571 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33573 for ac_func in ldexpf
33575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33576 echo "$as_me:$LINENO: checking for $ac_func" >&5
33577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33578 if eval "test \"\${$as_ac_var+set}\" = set"; then
33579 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 if test x$gcc_no_link = xyes; then
33582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33584 { (exit 1); exit 1; }; }
33586 cat >conftest.$ac_ext <<_ACEOF
33587 #line $LINENO "configure"
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33593 /* System header to define __stub macros and hopefully few prototypes,
33594 which can conflict with char $ac_func (); below.
33595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33596 <limits.h> exists even on freestanding compilers. */
33598 # include <limits.h>
33600 # include <assert.h>
33602 /* Override any gcc2 internal prototype to avoid an error. */
33607 /* We use char because int might match the return type of a gcc2
33608 builtin and then its argument prototype would still apply. */
33610 /* The GNU C library defines this for functions which it implements
33611 to always fail with ENOSYS. Some functions are actually named
33612 something starting with __ and the normal name is an alias. */
33613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33616 char (*f) () = $ac_func;
33625 return f != $ac_func;
33630 rm -f conftest.$ac_objext conftest$ac_exeext
33631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33632 (eval $ac_link) 2>&5
33634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33635 (exit $ac_status); } &&
33636 { ac_try='test -s conftest$ac_exeext'
33637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33638 (eval $ac_try) 2>&5
33640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33641 (exit $ac_status); }; }; then
33642 eval "$as_ac_var=yes"
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33647 eval "$as_ac_var=no"
33649 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33653 if test `eval echo '${'$as_ac_var'}'` = yes; then
33654 cat >>confdefs.h <<_ACEOF
33655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33663 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33664 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33665 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33666 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33667 echo $ECHO_N "(cached) $ECHO_C" >&6
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33678 cat >conftest.$ac_ext <<_ACEOF
33679 #line $LINENO "configure"
33682 cat confdefs.h >>conftest.$ac_ext
33683 cat >>conftest.$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33694 rm -f conftest.$ac_objext
33695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33696 (eval $ac_compile) 2>&5
33698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33699 (exit $ac_status); } &&
33700 { ac_try='test -s conftest.$ac_objext'
33701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33702 (eval $ac_try) 2>&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); }; }; then
33706 glibcxx_cv_func__ldexpf_use=yes
33708 echo "$as_me: failed program was:" >&5
33709 sed 's/^/| /' conftest.$ac_ext >&5
33711 glibcxx_cv_func__ldexpf_use=no
33713 rm -f conftest.$ac_objext conftest.$ac_ext
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33725 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33727 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33729 for ac_func in _ldexpf
33731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33732 echo "$as_me:$LINENO: checking for $ac_func" >&5
33733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33734 if eval "test \"\${$as_ac_var+set}\" = set"; then
33735 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 if test x$gcc_no_link = xyes; then
33738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33740 { (exit 1); exit 1; }; }
33742 cat >conftest.$ac_ext <<_ACEOF
33743 #line $LINENO "configure"
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 /* System header to define __stub macros and hopefully few prototypes,
33750 which can conflict with char $ac_func (); below.
33751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33752 <limits.h> exists even on freestanding compilers. */
33754 # include <limits.h>
33756 # include <assert.h>
33758 /* Override any gcc2 internal prototype to avoid an error. */
33763 /* We use char because int might match the return type of a gcc2
33764 builtin and then its argument prototype would still apply. */
33766 /* The GNU C library defines this for functions which it implements
33767 to always fail with ENOSYS. Some functions are actually named
33768 something starting with __ and the normal name is an alias. */
33769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33772 char (*f) () = $ac_func;
33781 return f != $ac_func;
33786 rm -f conftest.$ac_objext conftest$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788 (eval $ac_link) 2>&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); } &&
33792 { ac_try='test -s conftest$ac_exeext'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; }; then
33798 eval "$as_ac_var=yes"
33800 echo "$as_me: failed program was:" >&5
33801 sed 's/^/| /' conftest.$ac_ext >&5
33803 eval "$as_ac_var=no"
33805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33809 if test `eval echo '${'$as_ac_var'}'` = yes; then
33810 cat >>confdefs.h <<_ACEOF
33811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33822 echo "$as_me:$LINENO: checking for logf declaration" >&5
33823 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33824 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33825 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33826 echo $ECHO_N "(cached) $ECHO_C" >&6
33832 ac_cpp='$CXXCPP $CPPFLAGS'
33833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837 cat >conftest.$ac_ext <<_ACEOF
33838 #line $LINENO "configure"
33841 cat confdefs.h >>conftest.$ac_ext
33842 cat >>conftest.$ac_ext <<_ACEOF
33843 /* end confdefs.h. */
33845 #ifdef HAVE_IEEEFP_H
33846 #include <ieeefp.h>
33857 rm -f conftest.$ac_objext
33858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33859 (eval $ac_compile) 2>&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); } &&
33863 { ac_try='test -s conftest.$ac_objext'
33864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865 (eval $ac_try) 2>&5
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); }; }; then
33869 glibcxx_cv_func_logf_use=yes
33871 echo "$as_me: failed program was:" >&5
33872 sed 's/^/| /' conftest.$ac_ext >&5
33874 glibcxx_cv_func_logf_use=no
33876 rm -f conftest.$ac_objext conftest.$ac_ext
33878 ac_cpp='$CPP $CPPFLAGS'
33879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33888 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33890 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33892 for ac_func in logf
33894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33895 echo "$as_me:$LINENO: checking for $ac_func" >&5
33896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33897 if eval "test \"\${$as_ac_var+set}\" = set"; then
33898 echo $ECHO_N "(cached) $ECHO_C" >&6
33900 if test x$gcc_no_link = xyes; then
33901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33903 { (exit 1); exit 1; }; }
33905 cat >conftest.$ac_ext <<_ACEOF
33906 #line $LINENO "configure"
33909 cat confdefs.h >>conftest.$ac_ext
33910 cat >>conftest.$ac_ext <<_ACEOF
33911 /* end confdefs.h. */
33912 /* System header to define __stub macros and hopefully few prototypes,
33913 which can conflict with char $ac_func (); below.
33914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33915 <limits.h> exists even on freestanding compilers. */
33917 # include <limits.h>
33919 # include <assert.h>
33921 /* Override any gcc2 internal prototype to avoid an error. */
33926 /* We use char because int might match the return type of a gcc2
33927 builtin and then its argument prototype would still apply. */
33929 /* The GNU C library defines this for functions which it implements
33930 to always fail with ENOSYS. Some functions are actually named
33931 something starting with __ and the normal name is an alias. */
33932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33935 char (*f) () = $ac_func;
33944 return f != $ac_func;
33949 rm -f conftest.$ac_objext conftest$ac_exeext
33950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33951 (eval $ac_link) 2>&5
33953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33954 (exit $ac_status); } &&
33955 { ac_try='test -s conftest$ac_exeext'
33956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33957 (eval $ac_try) 2>&5
33959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33960 (exit $ac_status); }; }; then
33961 eval "$as_ac_var=yes"
33963 echo "$as_me: failed program was:" >&5
33964 sed 's/^/| /' conftest.$ac_ext >&5
33966 eval "$as_ac_var=no"
33968 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33972 if test `eval echo '${'$as_ac_var'}'` = yes; then
33973 cat >>confdefs.h <<_ACEOF
33974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33982 echo "$as_me:$LINENO: checking for _logf declaration" >&5
33983 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
33984 if test x${glibcxx_cv_func__logf_use+set} != xset; then
33985 if test "${glibcxx_cv_func__logf_use+set}" = set; then
33986 echo $ECHO_N "(cached) $ECHO_C" >&6
33992 ac_cpp='$CXXCPP $CPPFLAGS'
33993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33997 cat >conftest.$ac_ext <<_ACEOF
33998 #line $LINENO "configure"
34001 cat confdefs.h >>conftest.$ac_ext
34002 cat >>conftest.$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34005 #ifdef HAVE_IEEEFP_H
34006 #include <ieeefp.h>
34017 rm -f conftest.$ac_objext
34018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34019 (eval $ac_compile) 2>&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); } &&
34023 { ac_try='test -s conftest.$ac_objext'
34024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34025 (eval $ac_try) 2>&5
34027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34028 (exit $ac_status); }; }; then
34029 glibcxx_cv_func__logf_use=yes
34031 echo "$as_me: failed program was:" >&5
34032 sed 's/^/| /' conftest.$ac_ext >&5
34034 glibcxx_cv_func__logf_use=no
34036 rm -f conftest.$ac_objext conftest.$ac_ext
34038 ac_cpp='$CPP $CPPFLAGS'
34039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
34048 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
34050 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34052 for ac_func in _logf
34054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34055 echo "$as_me:$LINENO: checking for $ac_func" >&5
34056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34057 if eval "test \"\${$as_ac_var+set}\" = set"; then
34058 echo $ECHO_N "(cached) $ECHO_C" >&6
34060 if test x$gcc_no_link = xyes; then
34061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34063 { (exit 1); exit 1; }; }
34065 cat >conftest.$ac_ext <<_ACEOF
34066 #line $LINENO "configure"
34069 cat confdefs.h >>conftest.$ac_ext
34070 cat >>conftest.$ac_ext <<_ACEOF
34071 /* end confdefs.h. */
34072 /* System header to define __stub macros and hopefully few prototypes,
34073 which can conflict with char $ac_func (); below.
34074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34075 <limits.h> exists even on freestanding compilers. */
34077 # include <limits.h>
34079 # include <assert.h>
34081 /* Override any gcc2 internal prototype to avoid an error. */
34086 /* We use char because int might match the return type of a gcc2
34087 builtin and then its argument prototype would still apply. */
34089 /* The GNU C library defines this for functions which it implements
34090 to always fail with ENOSYS. Some functions are actually named
34091 something starting with __ and the normal name is an alias. */
34092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34095 char (*f) () = $ac_func;
34104 return f != $ac_func;
34109 rm -f conftest.$ac_objext conftest$ac_exeext
34110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34111 (eval $ac_link) 2>&5
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); } &&
34115 { ac_try='test -s conftest$ac_exeext'
34116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34117 (eval $ac_try) 2>&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); }; }; then
34121 eval "$as_ac_var=yes"
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34126 eval "$as_ac_var=no"
34128 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34132 if test `eval echo '${'$as_ac_var'}'` = yes; then
34133 cat >>confdefs.h <<_ACEOF
34134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34145 echo "$as_me:$LINENO: checking for log10f declaration" >&5
34146 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
34147 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34148 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34155 ac_cpp='$CXXCPP $CPPFLAGS'
34156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34160 cat >conftest.$ac_ext <<_ACEOF
34161 #line $LINENO "configure"
34164 cat confdefs.h >>conftest.$ac_ext
34165 cat >>conftest.$ac_ext <<_ACEOF
34166 /* end confdefs.h. */
34168 #ifdef HAVE_IEEEFP_H
34169 #include <ieeefp.h>
34180 rm -f conftest.$ac_objext
34181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34182 (eval $ac_compile) 2>&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try='test -s conftest.$ac_objext'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; }; then
34192 glibcxx_cv_func_log10f_use=yes
34194 echo "$as_me: failed program was:" >&5
34195 sed 's/^/| /' conftest.$ac_ext >&5
34197 glibcxx_cv_func_log10f_use=no
34199 rm -f conftest.$ac_objext conftest.$ac_ext
34201 ac_cpp='$CPP $CPPFLAGS'
34202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34211 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34213 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34215 for ac_func in log10f
34217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34218 echo "$as_me:$LINENO: checking for $ac_func" >&5
34219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34220 if eval "test \"\${$as_ac_var+set}\" = set"; then
34221 echo $ECHO_N "(cached) $ECHO_C" >&6
34223 if test x$gcc_no_link = xyes; then
34224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34226 { (exit 1); exit 1; }; }
34228 cat >conftest.$ac_ext <<_ACEOF
34229 #line $LINENO "configure"
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 /* System header to define __stub macros and hopefully few prototypes,
34236 which can conflict with char $ac_func (); below.
34237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34238 <limits.h> exists even on freestanding compilers. */
34240 # include <limits.h>
34242 # include <assert.h>
34244 /* Override any gcc2 internal prototype to avoid an error. */
34249 /* We use char because int might match the return type of a gcc2
34250 builtin and then its argument prototype would still apply. */
34252 /* The GNU C library defines this for functions which it implements
34253 to always fail with ENOSYS. Some functions are actually named
34254 something starting with __ and the normal name is an alias. */
34255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34258 char (*f) () = $ac_func;
34267 return f != $ac_func;
34272 rm -f conftest.$ac_objext conftest$ac_exeext
34273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34274 (eval $ac_link) 2>&5
34276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34277 (exit $ac_status); } &&
34278 { ac_try='test -s conftest$ac_exeext'
34279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34280 (eval $ac_try) 2>&5
34282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34283 (exit $ac_status); }; }; then
34284 eval "$as_ac_var=yes"
34286 echo "$as_me: failed program was:" >&5
34287 sed 's/^/| /' conftest.$ac_ext >&5
34289 eval "$as_ac_var=no"
34291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34294 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34295 if test `eval echo '${'$as_ac_var'}'` = yes; then
34296 cat >>confdefs.h <<_ACEOF
34297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34305 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
34306 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
34307 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34308 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
34309 echo $ECHO_N "(cached) $ECHO_C" >&6
34315 ac_cpp='$CXXCPP $CPPFLAGS'
34316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34320 cat >conftest.$ac_ext <<_ACEOF
34321 #line $LINENO "configure"
34324 cat confdefs.h >>conftest.$ac_ext
34325 cat >>conftest.$ac_ext <<_ACEOF
34326 /* end confdefs.h. */
34328 #ifdef HAVE_IEEEFP_H
34329 #include <ieeefp.h>
34340 rm -f conftest.$ac_objext
34341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34342 (eval $ac_compile) 2>&5
34344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34345 (exit $ac_status); } &&
34346 { ac_try='test -s conftest.$ac_objext'
34347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34348 (eval $ac_try) 2>&5
34350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34351 (exit $ac_status); }; }; then
34352 glibcxx_cv_func__log10f_use=yes
34354 echo "$as_me: failed program was:" >&5
34355 sed 's/^/| /' conftest.$ac_ext >&5
34357 glibcxx_cv_func__log10f_use=no
34359 rm -f conftest.$ac_objext conftest.$ac_ext
34361 ac_cpp='$CPP $CPPFLAGS'
34362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
34371 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
34373 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34375 for ac_func in _log10f
34377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34378 echo "$as_me:$LINENO: checking for $ac_func" >&5
34379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34380 if eval "test \"\${$as_ac_var+set}\" = set"; then
34381 echo $ECHO_N "(cached) $ECHO_C" >&6
34383 if test x$gcc_no_link = xyes; then
34384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34386 { (exit 1); exit 1; }; }
34388 cat >conftest.$ac_ext <<_ACEOF
34389 #line $LINENO "configure"
34392 cat confdefs.h >>conftest.$ac_ext
34393 cat >>conftest.$ac_ext <<_ACEOF
34394 /* end confdefs.h. */
34395 /* System header to define __stub macros and hopefully few prototypes,
34396 which can conflict with char $ac_func (); below.
34397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34398 <limits.h> exists even on freestanding compilers. */
34400 # include <limits.h>
34402 # include <assert.h>
34404 /* Override any gcc2 internal prototype to avoid an error. */
34409 /* We use char because int might match the return type of a gcc2
34410 builtin and then its argument prototype would still apply. */
34412 /* The GNU C library defines this for functions which it implements
34413 to always fail with ENOSYS. Some functions are actually named
34414 something starting with __ and the normal name is an alias. */
34415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34418 char (*f) () = $ac_func;
34427 return f != $ac_func;
34432 rm -f conftest.$ac_objext conftest$ac_exeext
34433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34434 (eval $ac_link) 2>&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); } &&
34438 { ac_try='test -s conftest$ac_exeext'
34439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34440 (eval $ac_try) 2>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); }; }; then
34444 eval "$as_ac_var=yes"
34446 echo "$as_me: failed program was:" >&5
34447 sed 's/^/| /' conftest.$ac_ext >&5
34449 eval "$as_ac_var=no"
34451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34455 if test `eval echo '${'$as_ac_var'}'` = yes; then
34456 cat >>confdefs.h <<_ACEOF
34457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 echo "$as_me:$LINENO: checking for modff declaration" >&5
34469 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34470 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34471 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34472 echo $ECHO_N "(cached) $ECHO_C" >&6
34478 ac_cpp='$CXXCPP $CPPFLAGS'
34479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34483 cat >conftest.$ac_ext <<_ACEOF
34484 #line $LINENO "configure"
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34499 rm -f conftest.$ac_objext
34500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34501 (eval $ac_compile) 2>&5
34503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34504 (exit $ac_status); } &&
34505 { ac_try='test -s conftest.$ac_objext'
34506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34507 (eval $ac_try) 2>&5
34509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34510 (exit $ac_status); }; }; then
34511 glibcxx_cv_func_modff_use=yes
34513 echo "$as_me: failed program was:" >&5
34514 sed 's/^/| /' conftest.$ac_ext >&5
34516 glibcxx_cv_func_modff_use=no
34518 rm -f conftest.$ac_objext conftest.$ac_ext
34520 ac_cpp='$CPP $CPPFLAGS'
34521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34529 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34530 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34532 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34534 for ac_func in modff
34536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34537 echo "$as_me:$LINENO: checking for $ac_func" >&5
34538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34539 if eval "test \"\${$as_ac_var+set}\" = set"; then
34540 echo $ECHO_N "(cached) $ECHO_C" >&6
34542 if test x$gcc_no_link = xyes; then
34543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34545 { (exit 1); exit 1; }; }
34547 cat >conftest.$ac_ext <<_ACEOF
34548 #line $LINENO "configure"
34551 cat confdefs.h >>conftest.$ac_ext
34552 cat >>conftest.$ac_ext <<_ACEOF
34553 /* end confdefs.h. */
34554 /* System header to define __stub macros and hopefully few prototypes,
34555 which can conflict with char $ac_func (); below.
34556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34557 <limits.h> exists even on freestanding compilers. */
34559 # include <limits.h>
34561 # include <assert.h>
34563 /* Override any gcc2 internal prototype to avoid an error. */
34568 /* We use char because int might match the return type of a gcc2
34569 builtin and then its argument prototype would still apply. */
34571 /* The GNU C library defines this for functions which it implements
34572 to always fail with ENOSYS. Some functions are actually named
34573 something starting with __ and the normal name is an alias. */
34574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34577 char (*f) () = $ac_func;
34586 return f != $ac_func;
34591 rm -f conftest.$ac_objext conftest$ac_exeext
34592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34593 (eval $ac_link) 2>&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } &&
34597 { ac_try='test -s conftest$ac_exeext'
34598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34599 (eval $ac_try) 2>&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); }; }; then
34603 eval "$as_ac_var=yes"
34605 echo "$as_me: failed program was:" >&5
34606 sed 's/^/| /' conftest.$ac_ext >&5
34608 eval "$as_ac_var=no"
34610 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34614 if test `eval echo '${'$as_ac_var'}'` = yes; then
34615 cat >>confdefs.h <<_ACEOF
34616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34624 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34625 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34626 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34627 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34634 ac_cpp='$CXXCPP $CPPFLAGS'
34635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639 cat >conftest.$ac_ext <<_ACEOF
34640 #line $LINENO "configure"
34643 cat confdefs.h >>conftest.$ac_ext
34644 cat >>conftest.$ac_ext <<_ACEOF
34645 /* end confdefs.h. */
34655 rm -f conftest.$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>&5
34659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34660 (exit $ac_status); } &&
34661 { ac_try='test -s conftest.$ac_objext'
34662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34663 (eval $ac_try) 2>&5
34665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34666 (exit $ac_status); }; }; then
34667 glibcxx_cv_func__modff_use=yes
34669 echo "$as_me: failed program was:" >&5
34670 sed 's/^/| /' conftest.$ac_ext >&5
34672 glibcxx_cv_func__modff_use=no
34674 rm -f conftest.$ac_objext conftest.$ac_ext
34676 ac_cpp='$CPP $CPPFLAGS'
34677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34686 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34688 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34690 for ac_func in _modff
34692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34693 echo "$as_me:$LINENO: checking for $ac_func" >&5
34694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34695 if eval "test \"\${$as_ac_var+set}\" = set"; then
34696 echo $ECHO_N "(cached) $ECHO_C" >&6
34698 if test x$gcc_no_link = xyes; then
34699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34701 { (exit 1); exit 1; }; }
34703 cat >conftest.$ac_ext <<_ACEOF
34704 #line $LINENO "configure"
34707 cat confdefs.h >>conftest.$ac_ext
34708 cat >>conftest.$ac_ext <<_ACEOF
34709 /* end confdefs.h. */
34710 /* System header to define __stub macros and hopefully few prototypes,
34711 which can conflict with char $ac_func (); below.
34712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34713 <limits.h> exists even on freestanding compilers. */
34715 # include <limits.h>
34717 # include <assert.h>
34719 /* Override any gcc2 internal prototype to avoid an error. */
34724 /* We use char because int might match the return type of a gcc2
34725 builtin and then its argument prototype would still apply. */
34727 /* The GNU C library defines this for functions which it implements
34728 to always fail with ENOSYS. Some functions are actually named
34729 something starting with __ and the normal name is an alias. */
34730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34733 char (*f) () = $ac_func;
34742 return f != $ac_func;
34747 rm -f conftest.$ac_objext conftest$ac_exeext
34748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34749 (eval $ac_link) 2>&5
34751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34752 (exit $ac_status); } &&
34753 { ac_try='test -s conftest$ac_exeext'
34754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34755 (eval $ac_try) 2>&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); }; }; then
34759 eval "$as_ac_var=yes"
34761 echo "$as_me: failed program was:" >&5
34762 sed 's/^/| /' conftest.$ac_ext >&5
34764 eval "$as_ac_var=no"
34766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34770 if test `eval echo '${'$as_ac_var'}'` = yes; then
34771 cat >>confdefs.h <<_ACEOF
34772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34783 echo "$as_me:$LINENO: checking for powf declaration" >&5
34784 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34785 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34786 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34787 echo $ECHO_N "(cached) $ECHO_C" >&6
34793 ac_cpp='$CXXCPP $CPPFLAGS'
34794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34798 cat >conftest.$ac_ext <<_ACEOF
34799 #line $LINENO "configure"
34802 cat confdefs.h >>conftest.$ac_ext
34803 cat >>conftest.$ac_ext <<_ACEOF
34804 /* end confdefs.h. */
34814 rm -f conftest.$ac_objext
34815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34816 (eval $ac_compile) 2>&5
34818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34819 (exit $ac_status); } &&
34820 { ac_try='test -s conftest.$ac_objext'
34821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34822 (eval $ac_try) 2>&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); }; }; then
34826 glibcxx_cv_func_powf_use=yes
34828 echo "$as_me: failed program was:" >&5
34829 sed 's/^/| /' conftest.$ac_ext >&5
34831 glibcxx_cv_func_powf_use=no
34833 rm -f conftest.$ac_objext conftest.$ac_ext
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34844 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34845 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34847 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34849 for ac_func in powf
34851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34852 echo "$as_me:$LINENO: checking for $ac_func" >&5
34853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34854 if eval "test \"\${$as_ac_var+set}\" = set"; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 if test x$gcc_no_link = xyes; then
34858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34860 { (exit 1); exit 1; }; }
34862 cat >conftest.$ac_ext <<_ACEOF
34863 #line $LINENO "configure"
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34869 /* System header to define __stub macros and hopefully few prototypes,
34870 which can conflict with char $ac_func (); below.
34871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34872 <limits.h> exists even on freestanding compilers. */
34874 # include <limits.h>
34876 # include <assert.h>
34878 /* Override any gcc2 internal prototype to avoid an error. */
34883 /* We use char because int might match the return type of a gcc2
34884 builtin and then its argument prototype would still apply. */
34886 /* The GNU C library defines this for functions which it implements
34887 to always fail with ENOSYS. Some functions are actually named
34888 something starting with __ and the normal name is an alias. */
34889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34892 char (*f) () = $ac_func;
34901 return f != $ac_func;
34906 rm -f conftest.$ac_objext conftest$ac_exeext
34907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34908 (eval $ac_link) 2>&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); } &&
34912 { ac_try='test -s conftest$ac_exeext'
34913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34914 (eval $ac_try) 2>&5
34916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34917 (exit $ac_status); }; }; then
34918 eval "$as_ac_var=yes"
34920 echo "$as_me: failed program was:" >&5
34921 sed 's/^/| /' conftest.$ac_ext >&5
34923 eval "$as_ac_var=no"
34925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34929 if test `eval echo '${'$as_ac_var'}'` = yes; then
34930 cat >>confdefs.h <<_ACEOF
34931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34939 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34940 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34941 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34942 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34949 ac_cpp='$CXXCPP $CPPFLAGS'
34950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34954 cat >conftest.$ac_ext <<_ACEOF
34955 #line $LINENO "configure"
34958 cat confdefs.h >>conftest.$ac_ext
34959 cat >>conftest.$ac_ext <<_ACEOF
34960 /* end confdefs.h. */
34970 rm -f conftest.$ac_objext
34971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34972 (eval $ac_compile) 2>&5
34974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34975 (exit $ac_status); } &&
34976 { ac_try='test -s conftest.$ac_objext'
34977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34978 (eval $ac_try) 2>&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); }; }; then
34982 glibcxx_cv_func__powf_use=yes
34984 echo "$as_me: failed program was:" >&5
34985 sed 's/^/| /' conftest.$ac_ext >&5
34987 glibcxx_cv_func__powf_use=no
34989 rm -f conftest.$ac_objext conftest.$ac_ext
34991 ac_cpp='$CPP $CPPFLAGS'
34992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
35001 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
35003 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35005 for ac_func in _powf
35007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35008 echo "$as_me:$LINENO: checking for $ac_func" >&5
35009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35010 if eval "test \"\${$as_ac_var+set}\" = set"; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 if test x$gcc_no_link = xyes; then
35014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35016 { (exit 1); exit 1; }; }
35018 cat >conftest.$ac_ext <<_ACEOF
35019 #line $LINENO "configure"
35022 cat confdefs.h >>conftest.$ac_ext
35023 cat >>conftest.$ac_ext <<_ACEOF
35024 /* end confdefs.h. */
35025 /* System header to define __stub macros and hopefully few prototypes,
35026 which can conflict with char $ac_func (); below.
35027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35028 <limits.h> exists even on freestanding compilers. */
35030 # include <limits.h>
35032 # include <assert.h>
35034 /* Override any gcc2 internal prototype to avoid an error. */
35039 /* We use char because int might match the return type of a gcc2
35040 builtin and then its argument prototype would still apply. */
35042 /* The GNU C library defines this for functions which it implements
35043 to always fail with ENOSYS. Some functions are actually named
35044 something starting with __ and the normal name is an alias. */
35045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35048 char (*f) () = $ac_func;
35057 return f != $ac_func;
35062 rm -f conftest.$ac_objext conftest$ac_exeext
35063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35064 (eval $ac_link) 2>&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); } &&
35068 { ac_try='test -s conftest$ac_exeext'
35069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35070 (eval $ac_try) 2>&5
35072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35073 (exit $ac_status); }; }; then
35074 eval "$as_ac_var=yes"
35076 echo "$as_me: failed program was:" >&5
35077 sed 's/^/| /' conftest.$ac_ext >&5
35079 eval "$as_ac_var=no"
35081 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35085 if test `eval echo '${'$as_ac_var'}'` = yes; then
35086 cat >>confdefs.h <<_ACEOF
35087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35098 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
35099 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
35100 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35101 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
35102 echo $ECHO_N "(cached) $ECHO_C" >&6
35108 ac_cpp='$CXXCPP $CPPFLAGS'
35109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35113 cat >conftest.$ac_ext <<_ACEOF
35114 #line $LINENO "configure"
35117 cat confdefs.h >>conftest.$ac_ext
35118 cat >>conftest.$ac_ext <<_ACEOF
35119 /* end confdefs.h. */
35121 #ifdef HAVE_IEEEFP_H
35122 #include <ieeefp.h>
35133 rm -f conftest.$ac_objext
35134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35135 (eval $ac_compile) 2>&5
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); } &&
35139 { ac_try='test -s conftest.$ac_objext'
35140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35141 (eval $ac_try) 2>&5
35143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35144 (exit $ac_status); }; }; then
35145 glibcxx_cv_func_sqrtf_use=yes
35147 echo "$as_me: failed program was:" >&5
35148 sed 's/^/| /' conftest.$ac_ext >&5
35150 glibcxx_cv_func_sqrtf_use=no
35152 rm -f conftest.$ac_objext conftest.$ac_ext
35154 ac_cpp='$CPP $CPPFLAGS'
35155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35163 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35164 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35166 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35168 for ac_func in sqrtf
35170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35171 echo "$as_me:$LINENO: checking for $ac_func" >&5
35172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35173 if eval "test \"\${$as_ac_var+set}\" = set"; then
35174 echo $ECHO_N "(cached) $ECHO_C" >&6
35176 if test x$gcc_no_link = xyes; then
35177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35179 { (exit 1); exit 1; }; }
35181 cat >conftest.$ac_ext <<_ACEOF
35182 #line $LINENO "configure"
35185 cat confdefs.h >>conftest.$ac_ext
35186 cat >>conftest.$ac_ext <<_ACEOF
35187 /* end confdefs.h. */
35188 /* System header to define __stub macros and hopefully few prototypes,
35189 which can conflict with char $ac_func (); below.
35190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35191 <limits.h> exists even on freestanding compilers. */
35193 # include <limits.h>
35195 # include <assert.h>
35197 /* Override any gcc2 internal prototype to avoid an error. */
35202 /* We use char because int might match the return type of a gcc2
35203 builtin and then its argument prototype would still apply. */
35205 /* The GNU C library defines this for functions which it implements
35206 to always fail with ENOSYS. Some functions are actually named
35207 something starting with __ and the normal name is an alias. */
35208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35211 char (*f) () = $ac_func;
35220 return f != $ac_func;
35225 rm -f conftest.$ac_objext conftest$ac_exeext
35226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35227 (eval $ac_link) 2>&5
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); } &&
35231 { ac_try='test -s conftest$ac_exeext'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; }; then
35237 eval "$as_ac_var=yes"
35239 echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35242 eval "$as_ac_var=no"
35244 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35248 if test `eval echo '${'$as_ac_var'}'` = yes; then
35249 cat >>confdefs.h <<_ACEOF
35250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35258 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
35259 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
35260 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35261 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
35262 echo $ECHO_N "(cached) $ECHO_C" >&6
35268 ac_cpp='$CXXCPP $CPPFLAGS'
35269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35273 cat >conftest.$ac_ext <<_ACEOF
35274 #line $LINENO "configure"
35277 cat confdefs.h >>conftest.$ac_ext
35278 cat >>conftest.$ac_ext <<_ACEOF
35279 /* end confdefs.h. */
35281 #ifdef HAVE_IEEEFP_H
35282 #include <ieeefp.h>
35293 rm -f conftest.$ac_objext
35294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35295 (eval $ac_compile) 2>&5
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); } &&
35299 { ac_try='test -s conftest.$ac_objext'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; }; then
35305 glibcxx_cv_func__sqrtf_use=yes
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35310 glibcxx_cv_func__sqrtf_use=no
35312 rm -f conftest.$ac_objext conftest.$ac_ext
35314 ac_cpp='$CPP $CPPFLAGS'
35315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
35324 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
35326 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35328 for ac_func in _sqrtf
35330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35331 echo "$as_me:$LINENO: checking for $ac_func" >&5
35332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35333 if eval "test \"\${$as_ac_var+set}\" = set"; then
35334 echo $ECHO_N "(cached) $ECHO_C" >&6
35336 if test x$gcc_no_link = xyes; then
35337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35339 { (exit 1); exit 1; }; }
35341 cat >conftest.$ac_ext <<_ACEOF
35342 #line $LINENO "configure"
35345 cat confdefs.h >>conftest.$ac_ext
35346 cat >>conftest.$ac_ext <<_ACEOF
35347 /* end confdefs.h. */
35348 /* System header to define __stub macros and hopefully few prototypes,
35349 which can conflict with char $ac_func (); below.
35350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35351 <limits.h> exists even on freestanding compilers. */
35353 # include <limits.h>
35355 # include <assert.h>
35357 /* Override any gcc2 internal prototype to avoid an error. */
35362 /* We use char because int might match the return type of a gcc2
35363 builtin and then its argument prototype would still apply. */
35365 /* The GNU C library defines this for functions which it implements
35366 to always fail with ENOSYS. Some functions are actually named
35367 something starting with __ and the normal name is an alias. */
35368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35371 char (*f) () = $ac_func;
35380 return f != $ac_func;
35385 rm -f conftest.$ac_objext conftest$ac_exeext
35386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35387 (eval $ac_link) 2>&5
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); } &&
35391 { ac_try='test -s conftest$ac_exeext'
35392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35393 (eval $ac_try) 2>&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); }; }; then
35397 eval "$as_ac_var=yes"
35399 echo "$as_me: failed program was:" >&5
35400 sed 's/^/| /' conftest.$ac_ext >&5
35402 eval "$as_ac_var=no"
35404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35408 if test `eval echo '${'$as_ac_var'}'` = yes; then
35409 cat >>confdefs.h <<_ACEOF
35410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35421 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35422 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35423 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35424 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35425 echo $ECHO_N "(cached) $ECHO_C" >&6
35431 ac_cpp='$CXXCPP $CPPFLAGS'
35432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35436 cat >conftest.$ac_ext <<_ACEOF
35437 #line $LINENO "configure"
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35452 rm -f conftest.$ac_objext
35453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35454 (eval $ac_compile) 2>&5
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); } &&
35458 { ac_try='test -s conftest.$ac_objext'
35459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35460 (eval $ac_try) 2>&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); }; }; then
35464 glibcxx_cv_func_sincosf_use=yes
35466 echo "$as_me: failed program was:" >&5
35467 sed 's/^/| /' conftest.$ac_ext >&5
35469 glibcxx_cv_func_sincosf_use=no
35471 rm -f conftest.$ac_objext conftest.$ac_ext
35473 ac_cpp='$CPP $CPPFLAGS'
35474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35482 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35483 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35485 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35487 for ac_func in sincosf
35489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35490 echo "$as_me:$LINENO: checking for $ac_func" >&5
35491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35492 if eval "test \"\${$as_ac_var+set}\" = set"; then
35493 echo $ECHO_N "(cached) $ECHO_C" >&6
35495 if test x$gcc_no_link = xyes; then
35496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35498 { (exit 1); exit 1; }; }
35500 cat >conftest.$ac_ext <<_ACEOF
35501 #line $LINENO "configure"
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 /* System header to define __stub macros and hopefully few prototypes,
35508 which can conflict with char $ac_func (); below.
35509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35510 <limits.h> exists even on freestanding compilers. */
35512 # include <limits.h>
35514 # include <assert.h>
35516 /* Override any gcc2 internal prototype to avoid an error. */
35521 /* We use char because int might match the return type of a gcc2
35522 builtin and then its argument prototype would still apply. */
35524 /* The GNU C library defines this for functions which it implements
35525 to always fail with ENOSYS. Some functions are actually named
35526 something starting with __ and the normal name is an alias. */
35527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35530 char (*f) () = $ac_func;
35539 return f != $ac_func;
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546 (eval $ac_link) 2>&5
35548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35549 (exit $ac_status); } &&
35550 { ac_try='test -s conftest$ac_exeext'
35551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35552 (eval $ac_try) 2>&5
35554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35555 (exit $ac_status); }; }; then
35556 eval "$as_ac_var=yes"
35558 echo "$as_me: failed program was:" >&5
35559 sed 's/^/| /' conftest.$ac_ext >&5
35561 eval "$as_ac_var=no"
35563 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35567 if test `eval echo '${'$as_ac_var'}'` = yes; then
35568 cat >>confdefs.h <<_ACEOF
35569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35577 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35578 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35579 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35580 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35581 echo $ECHO_N "(cached) $ECHO_C" >&6
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592 cat >conftest.$ac_ext <<_ACEOF
35593 #line $LINENO "configure"
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35608 rm -f conftest.$ac_objext
35609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35610 (eval $ac_compile) 2>&5
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); } &&
35614 { ac_try='test -s conftest.$ac_objext'
35615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35616 (eval $ac_try) 2>&5
35618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35619 (exit $ac_status); }; }; then
35620 glibcxx_cv_func__sincosf_use=yes
35622 echo "$as_me: failed program was:" >&5
35623 sed 's/^/| /' conftest.$ac_ext >&5
35625 glibcxx_cv_func__sincosf_use=no
35627 rm -f conftest.$ac_objext conftest.$ac_ext
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35639 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35641 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35643 for ac_func in _sincosf
35645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35646 echo "$as_me:$LINENO: checking for $ac_func" >&5
35647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35648 if eval "test \"\${$as_ac_var+set}\" = set"; then
35649 echo $ECHO_N "(cached) $ECHO_C" >&6
35651 if test x$gcc_no_link = xyes; then
35652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35654 { (exit 1); exit 1; }; }
35656 cat >conftest.$ac_ext <<_ACEOF
35657 #line $LINENO "configure"
35660 cat confdefs.h >>conftest.$ac_ext
35661 cat >>conftest.$ac_ext <<_ACEOF
35662 /* end confdefs.h. */
35663 /* System header to define __stub macros and hopefully few prototypes,
35664 which can conflict with char $ac_func (); below.
35665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35666 <limits.h> exists even on freestanding compilers. */
35668 # include <limits.h>
35670 # include <assert.h>
35672 /* Override any gcc2 internal prototype to avoid an error. */
35677 /* We use char because int might match the return type of a gcc2
35678 builtin and then its argument prototype would still apply. */
35680 /* The GNU C library defines this for functions which it implements
35681 to always fail with ENOSYS. Some functions are actually named
35682 something starting with __ and the normal name is an alias. */
35683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35686 char (*f) () = $ac_func;
35695 return f != $ac_func;
35700 rm -f conftest.$ac_objext conftest$ac_exeext
35701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35702 (eval $ac_link) 2>&5
35704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35705 (exit $ac_status); } &&
35706 { ac_try='test -s conftest$ac_exeext'
35707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35708 (eval $ac_try) 2>&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); }; }; then
35712 eval "$as_ac_var=yes"
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35717 eval "$as_ac_var=no"
35719 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35723 if test `eval echo '${'$as_ac_var'}'` = yes; then
35724 cat >>confdefs.h <<_ACEOF
35725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35736 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35737 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35738 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35739 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35740 echo $ECHO_N "(cached) $ECHO_C" >&6
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35751 cat >conftest.$ac_ext <<_ACEOF
35752 #line $LINENO "configure"
35755 cat confdefs.h >>conftest.$ac_ext
35756 cat >>conftest.$ac_ext <<_ACEOF
35757 /* end confdefs.h. */
35759 #ifdef HAVE_IEEEFP_H
35760 #include <ieeefp.h>
35771 rm -f conftest.$ac_objext
35772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35773 (eval $ac_compile) 2>&5
35775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35776 (exit $ac_status); } &&
35777 { ac_try='test -s conftest.$ac_objext'
35778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35779 (eval $ac_try) 2>&5
35781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35782 (exit $ac_status); }; }; then
35783 glibcxx_cv_func_finitef_use=yes
35785 echo "$as_me: failed program was:" >&5
35786 sed 's/^/| /' conftest.$ac_ext >&5
35788 glibcxx_cv_func_finitef_use=no
35790 rm -f conftest.$ac_objext conftest.$ac_ext
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35802 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35804 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35806 for ac_func in finitef
35808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35809 echo "$as_me:$LINENO: checking for $ac_func" >&5
35810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35811 if eval "test \"\${$as_ac_var+set}\" = set"; then
35812 echo $ECHO_N "(cached) $ECHO_C" >&6
35814 if test x$gcc_no_link = xyes; then
35815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35817 { (exit 1); exit 1; }; }
35819 cat >conftest.$ac_ext <<_ACEOF
35820 #line $LINENO "configure"
35823 cat confdefs.h >>conftest.$ac_ext
35824 cat >>conftest.$ac_ext <<_ACEOF
35825 /* end confdefs.h. */
35826 /* System header to define __stub macros and hopefully few prototypes,
35827 which can conflict with char $ac_func (); below.
35828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35829 <limits.h> exists even on freestanding compilers. */
35831 # include <limits.h>
35833 # include <assert.h>
35835 /* Override any gcc2 internal prototype to avoid an error. */
35840 /* We use char because int might match the return type of a gcc2
35841 builtin and then its argument prototype would still apply. */
35843 /* The GNU C library defines this for functions which it implements
35844 to always fail with ENOSYS. Some functions are actually named
35845 something starting with __ and the normal name is an alias. */
35846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35849 char (*f) () = $ac_func;
35858 return f != $ac_func;
35863 rm -f conftest.$ac_objext conftest$ac_exeext
35864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35865 (eval $ac_link) 2>&5
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); } &&
35869 { ac_try='test -s conftest$ac_exeext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 eval "$as_ac_var=yes"
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 eval "$as_ac_var=no"
35882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35886 if test `eval echo '${'$as_ac_var'}'` = yes; then
35887 cat >>confdefs.h <<_ACEOF
35888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35896 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
35897 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
35898 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35899 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
35900 echo $ECHO_N "(cached) $ECHO_C" >&6
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35911 cat >conftest.$ac_ext <<_ACEOF
35912 #line $LINENO "configure"
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35919 #ifdef HAVE_IEEEFP_H
35920 #include <ieeefp.h>
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933 (eval $ac_compile) 2>&5
35935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936 (exit $ac_status); } &&
35937 { ac_try='test -s conftest.$ac_objext'
35938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35939 (eval $ac_try) 2>&5
35941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35942 (exit $ac_status); }; }; then
35943 glibcxx_cv_func__finitef_use=yes
35945 echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35948 glibcxx_cv_func__finitef_use=no
35950 rm -f conftest.$ac_objext conftest.$ac_ext
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
35962 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
35964 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35966 for ac_func in _finitef
35968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35974 if test x$gcc_no_link = xyes; then
35975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35977 { (exit 1); exit 1; }; }
35979 cat >conftest.$ac_ext <<_ACEOF
35980 #line $LINENO "configure"
35983 cat confdefs.h >>conftest.$ac_ext
35984 cat >>conftest.$ac_ext <<_ACEOF
35985 /* end confdefs.h. */
35986 /* System header to define __stub macros and hopefully few prototypes,
35987 which can conflict with char $ac_func (); below.
35988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35989 <limits.h> exists even on freestanding compilers. */
35991 # include <limits.h>
35993 # include <assert.h>
35995 /* Override any gcc2 internal prototype to avoid an error. */
36000 /* We use char because int might match the return type of a gcc2
36001 builtin and then its argument prototype would still apply. */
36003 /* The GNU C library defines this for functions which it implements
36004 to always fail with ENOSYS. Some functions are actually named
36005 something starting with __ and the normal name is an alias. */
36006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36009 char (*f) () = $ac_func;
36018 return f != $ac_func;
36023 rm -f conftest.$ac_objext conftest$ac_exeext
36024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36025 (eval $ac_link) 2>&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } &&
36029 { ac_try='test -s conftest$ac_exeext'
36030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36031 (eval $ac_try) 2>&5
36033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36034 (exit $ac_status); }; }; then
36035 eval "$as_ac_var=yes"
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36040 eval "$as_ac_var=no"
36042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36046 if test `eval echo '${'$as_ac_var'}'` = yes; then
36047 cat >>confdefs.h <<_ACEOF
36048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36059 echo "$as_me:$LINENO: checking for long double trig functions" >&5
36060 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
36061 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
36062 echo $ECHO_N "(cached) $ECHO_C" >&6
36068 ac_cpp='$CXXCPP $CPPFLAGS'
36069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36073 cat >conftest.$ac_ext <<_ACEOF
36074 #line $LINENO "configure"
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36084 `for x in acosl asinl atanl \
36086 coshl sinhl tanhl; do echo "$x (0);"; done`
36091 rm -f conftest.$ac_objext
36092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36093 (eval $ac_compile) 2>&5
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); } &&
36097 { ac_try='test -s conftest.$ac_objext'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; }; then
36103 glibcxx_cv_func_long_double_trig_use=yes
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36108 glibcxx_cv_func_long_double_trig_use=no
36110 rm -f conftest.$ac_objext conftest.$ac_ext
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36119 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
36120 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
36121 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36131 for ac_func in acosl asinl atanl \
36135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36136 echo "$as_me:$LINENO: checking for $ac_func" >&5
36137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36138 if eval "test \"\${$as_ac_var+set}\" = set"; then
36139 echo $ECHO_N "(cached) $ECHO_C" >&6
36141 if test x$gcc_no_link = xyes; then
36142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36144 { (exit 1); exit 1; }; }
36146 cat >conftest.$ac_ext <<_ACEOF
36147 #line $LINENO "configure"
36150 cat confdefs.h >>conftest.$ac_ext
36151 cat >>conftest.$ac_ext <<_ACEOF
36152 /* end confdefs.h. */
36153 /* System header to define __stub macros and hopefully few prototypes,
36154 which can conflict with char $ac_func (); below.
36155 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36156 <limits.h> exists even on freestanding compilers. */
36158 # include <limits.h>
36160 # include <assert.h>
36162 /* Override any gcc2 internal prototype to avoid an error. */
36167 /* We use char because int might match the return type of a gcc2
36168 builtin and then its argument prototype would still apply. */
36170 /* The GNU C library defines this for functions which it implements
36171 to always fail with ENOSYS. Some functions are actually named
36172 something starting with __ and the normal name is an alias. */
36173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36176 char (*f) () = $ac_func;
36185 return f != $ac_func;
36190 rm -f conftest.$ac_objext conftest$ac_exeext
36191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36192 (eval $ac_link) 2>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try='test -s conftest$ac_exeext'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; }; then
36202 eval "$as_ac_var=yes"
36204 echo "$as_me: failed program was:" >&5
36205 sed 's/^/| /' conftest.$ac_ext >&5
36207 eval "$as_ac_var=no"
36209 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36213 if test `eval echo '${'$as_ac_var'}'` = yes; then
36214 cat >>confdefs.h <<_ACEOF
36215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36224 echo "$as_me:$LINENO: checking for long double round functions" >&5
36225 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36226 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36227 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36238 cat >conftest.$ac_ext <<_ACEOF
36239 #line $LINENO "configure"
36242 cat confdefs.h >>conftest.$ac_ext
36243 cat >>conftest.$ac_ext <<_ACEOF
36244 /* end confdefs.h. */
36249 `for x in ceill floorl; do echo "$x (0);"; done`
36254 rm -f conftest.$ac_objext
36255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36256 (eval $ac_compile) 2>&5
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); } &&
36260 { ac_try='test -s conftest.$ac_objext'
36261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36262 (eval $ac_try) 2>&5
36264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36265 (exit $ac_status); }; }; then
36266 glibcxx_cv_func_long_double_round_use=yes
36268 echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.$ac_ext >&5
36271 glibcxx_cv_func_long_double_round_use=no
36273 rm -f conftest.$ac_objext conftest.$ac_ext
36275 ac_cpp='$CPP $CPPFLAGS'
36276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36282 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36283 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36284 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36287 for ac_func in ceill floorl
36289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36290 echo "$as_me:$LINENO: checking for $ac_func" >&5
36291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36292 if eval "test \"\${$as_ac_var+set}\" = set"; then
36293 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 if test x$gcc_no_link = xyes; then
36296 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36298 { (exit 1); exit 1; }; }
36300 cat >conftest.$ac_ext <<_ACEOF
36301 #line $LINENO "configure"
36304 cat confdefs.h >>conftest.$ac_ext
36305 cat >>conftest.$ac_ext <<_ACEOF
36306 /* end confdefs.h. */
36307 /* System header to define __stub macros and hopefully few prototypes,
36308 which can conflict with char $ac_func (); below.
36309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36310 <limits.h> exists even on freestanding compilers. */
36312 # include <limits.h>
36314 # include <assert.h>
36316 /* Override any gcc2 internal prototype to avoid an error. */
36321 /* We use char because int might match the return type of a gcc2
36322 builtin and then its argument prototype would still apply. */
36324 /* The GNU C library defines this for functions which it implements
36325 to always fail with ENOSYS. Some functions are actually named
36326 something starting with __ and the normal name is an alias. */
36327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36330 char (*f) () = $ac_func;
36339 return f != $ac_func;
36344 rm -f conftest.$ac_objext conftest$ac_exeext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36346 (eval $ac_link) 2>&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } &&
36350 { ac_try='test -s conftest$ac_exeext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 eval "$as_ac_var=yes"
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36361 eval "$as_ac_var=no"
36363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36367 if test `eval echo '${'$as_ac_var'}'` = yes; then
36368 cat >>confdefs.h <<_ACEOF
36369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36379 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36380 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36381 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36382 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36383 echo $ECHO_N "(cached) $ECHO_C" >&6
36389 ac_cpp='$CXXCPP $CPPFLAGS'
36390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36394 cat >conftest.$ac_ext <<_ACEOF
36395 #line $LINENO "configure"
36398 cat confdefs.h >>conftest.$ac_ext
36399 cat >>conftest.$ac_ext <<_ACEOF
36400 /* end confdefs.h. */
36402 #ifdef HAVE_IEEEFP_H
36403 #include <ieeefp.h>
36414 rm -f conftest.$ac_objext
36415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36416 (eval $ac_compile) 2>&5
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); } &&
36420 { ac_try='test -s conftest.$ac_objext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 glibcxx_cv_func_isnanl_use=yes
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36431 glibcxx_cv_func_isnanl_use=no
36433 rm -f conftest.$ac_objext conftest.$ac_ext
36435 ac_cpp='$CPP $CPPFLAGS'
36436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36445 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36447 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36449 for ac_func in isnanl
36451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36452 echo "$as_me:$LINENO: checking for $ac_func" >&5
36453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36454 if eval "test \"\${$as_ac_var+set}\" = set"; then
36455 echo $ECHO_N "(cached) $ECHO_C" >&6
36457 if test x$gcc_no_link = xyes; then
36458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36460 { (exit 1); exit 1; }; }
36462 cat >conftest.$ac_ext <<_ACEOF
36463 #line $LINENO "configure"
36466 cat confdefs.h >>conftest.$ac_ext
36467 cat >>conftest.$ac_ext <<_ACEOF
36468 /* end confdefs.h. */
36469 /* System header to define __stub macros and hopefully few prototypes,
36470 which can conflict with char $ac_func (); below.
36471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36472 <limits.h> exists even on freestanding compilers. */
36474 # include <limits.h>
36476 # include <assert.h>
36478 /* Override any gcc2 internal prototype to avoid an error. */
36483 /* We use char because int might match the return type of a gcc2
36484 builtin and then its argument prototype would still apply. */
36486 /* The GNU C library defines this for functions which it implements
36487 to always fail with ENOSYS. Some functions are actually named
36488 something starting with __ and the normal name is an alias. */
36489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36492 char (*f) () = $ac_func;
36501 return f != $ac_func;
36506 rm -f conftest.$ac_objext conftest$ac_exeext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36508 (eval $ac_link) 2>&5
36510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36511 (exit $ac_status); } &&
36512 { ac_try='test -s conftest$ac_exeext'
36513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36514 (eval $ac_try) 2>&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); }; }; then
36518 eval "$as_ac_var=yes"
36520 echo "$as_me: failed program was:" >&5
36521 sed 's/^/| /' conftest.$ac_ext >&5
36523 eval "$as_ac_var=no"
36525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36529 if test `eval echo '${'$as_ac_var'}'` = yes; then
36530 cat >>confdefs.h <<_ACEOF
36531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36539 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
36540 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
36541 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36542 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
36543 echo $ECHO_N "(cached) $ECHO_C" >&6
36549 ac_cpp='$CXXCPP $CPPFLAGS'
36550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36554 cat >conftest.$ac_ext <<_ACEOF
36555 #line $LINENO "configure"
36558 cat confdefs.h >>conftest.$ac_ext
36559 cat >>conftest.$ac_ext <<_ACEOF
36560 /* end confdefs.h. */
36562 #ifdef HAVE_IEEEFP_H
36563 #include <ieeefp.h>
36574 rm -f conftest.$ac_objext
36575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36576 (eval $ac_compile) 2>&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } &&
36580 { ac_try='test -s conftest.$ac_objext'
36581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36582 (eval $ac_try) 2>&5
36584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36585 (exit $ac_status); }; }; then
36586 glibcxx_cv_func__isnanl_use=yes
36588 echo "$as_me: failed program was:" >&5
36589 sed 's/^/| /' conftest.$ac_ext >&5
36591 glibcxx_cv_func__isnanl_use=no
36593 rm -f conftest.$ac_objext conftest.$ac_ext
36595 ac_cpp='$CPP $CPPFLAGS'
36596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36604 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
36605 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
36607 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36609 for ac_func in _isnanl
36611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36612 echo "$as_me:$LINENO: checking for $ac_func" >&5
36613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36614 if eval "test \"\${$as_ac_var+set}\" = set"; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36617 if test x$gcc_no_link = xyes; then
36618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36620 { (exit 1); exit 1; }; }
36622 cat >conftest.$ac_ext <<_ACEOF
36623 #line $LINENO "configure"
36626 cat confdefs.h >>conftest.$ac_ext
36627 cat >>conftest.$ac_ext <<_ACEOF
36628 /* end confdefs.h. */
36629 /* System header to define __stub macros and hopefully few prototypes,
36630 which can conflict with char $ac_func (); below.
36631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36632 <limits.h> exists even on freestanding compilers. */
36634 # include <limits.h>
36636 # include <assert.h>
36638 /* Override any gcc2 internal prototype to avoid an error. */
36643 /* We use char because int might match the return type of a gcc2
36644 builtin and then its argument prototype would still apply. */
36646 /* The GNU C library defines this for functions which it implements
36647 to always fail with ENOSYS. Some functions are actually named
36648 something starting with __ and the normal name is an alias. */
36649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36652 char (*f) () = $ac_func;
36661 return f != $ac_func;
36666 rm -f conftest.$ac_objext conftest$ac_exeext
36667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36668 (eval $ac_link) 2>&5
36670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671 (exit $ac_status); } &&
36672 { ac_try='test -s conftest$ac_exeext'
36673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36674 (eval $ac_try) 2>&5
36676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36677 (exit $ac_status); }; }; then
36678 eval "$as_ac_var=yes"
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.$ac_ext >&5
36683 eval "$as_ac_var=no"
36685 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36689 if test `eval echo '${'$as_ac_var'}'` = yes; then
36690 cat >>confdefs.h <<_ACEOF
36691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36702 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36703 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36704 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36705 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36706 echo $ECHO_N "(cached) $ECHO_C" >&6
36712 ac_cpp='$CXXCPP $CPPFLAGS'
36713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36717 cat >conftest.$ac_ext <<_ACEOF
36718 #line $LINENO "configure"
36721 cat confdefs.h >>conftest.$ac_ext
36722 cat >>conftest.$ac_ext <<_ACEOF
36723 /* end confdefs.h. */
36725 #ifdef HAVE_IEEEFP_H
36726 #include <ieeefp.h>
36737 rm -f conftest.$ac_objext
36738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36739 (eval $ac_compile) 2>&5
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); } &&
36743 { ac_try='test -s conftest.$ac_objext'
36744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745 (eval $ac_try) 2>&5
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); }; }; then
36749 glibcxx_cv_func_isinfl_use=yes
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36754 glibcxx_cv_func_isinfl_use=no
36756 rm -f conftest.$ac_objext conftest.$ac_ext
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36768 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36770 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36772 for ac_func in isinfl
36774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36780 if test x$gcc_no_link = xyes; then
36781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36783 { (exit 1); exit 1; }; }
36785 cat >conftest.$ac_ext <<_ACEOF
36786 #line $LINENO "configure"
36789 cat confdefs.h >>conftest.$ac_ext
36790 cat >>conftest.$ac_ext <<_ACEOF
36791 /* end confdefs.h. */
36792 /* System header to define __stub macros and hopefully few prototypes,
36793 which can conflict with char $ac_func (); below.
36794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36795 <limits.h> exists even on freestanding compilers. */
36797 # include <limits.h>
36799 # include <assert.h>
36801 /* Override any gcc2 internal prototype to avoid an error. */
36806 /* We use char because int might match the return type of a gcc2
36807 builtin and then its argument prototype would still apply. */
36809 /* The GNU C library defines this for functions which it implements
36810 to always fail with ENOSYS. Some functions are actually named
36811 something starting with __ and the normal name is an alias. */
36812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36815 char (*f) () = $ac_func;
36824 return f != $ac_func;
36829 rm -f conftest.$ac_objext conftest$ac_exeext
36830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36831 (eval $ac_link) 2>&5
36833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36834 (exit $ac_status); } &&
36835 { ac_try='test -s conftest$ac_exeext'
36836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36837 (eval $ac_try) 2>&5
36839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840 (exit $ac_status); }; }; then
36841 eval "$as_ac_var=yes"
36843 echo "$as_me: failed program was:" >&5
36844 sed 's/^/| /' conftest.$ac_ext >&5
36846 eval "$as_ac_var=no"
36848 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36852 if test `eval echo '${'$as_ac_var'}'` = yes; then
36853 cat >>confdefs.h <<_ACEOF
36854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36862 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
36863 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
36864 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36865 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
36866 echo $ECHO_N "(cached) $ECHO_C" >&6
36872 ac_cpp='$CXXCPP $CPPFLAGS'
36873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36877 cat >conftest.$ac_ext <<_ACEOF
36878 #line $LINENO "configure"
36881 cat confdefs.h >>conftest.$ac_ext
36882 cat >>conftest.$ac_ext <<_ACEOF
36883 /* end confdefs.h. */
36885 #ifdef HAVE_IEEEFP_H
36886 #include <ieeefp.h>
36897 rm -f conftest.$ac_objext
36898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36899 (eval $ac_compile) 2>&5
36901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36902 (exit $ac_status); } &&
36903 { ac_try='test -s conftest.$ac_objext'
36904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36905 (eval $ac_try) 2>&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); }; }; then
36909 glibcxx_cv_func__isinfl_use=yes
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36914 glibcxx_cv_func__isinfl_use=no
36916 rm -f conftest.$ac_objext conftest.$ac_ext
36918 ac_cpp='$CPP $CPPFLAGS'
36919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36927 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
36928 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
36930 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36932 for ac_func in _isinfl
36934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36935 echo "$as_me:$LINENO: checking for $ac_func" >&5
36936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36937 if eval "test \"\${$as_ac_var+set}\" = set"; then
36938 echo $ECHO_N "(cached) $ECHO_C" >&6
36940 if test x$gcc_no_link = xyes; then
36941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36943 { (exit 1); exit 1; }; }
36945 cat >conftest.$ac_ext <<_ACEOF
36946 #line $LINENO "configure"
36949 cat confdefs.h >>conftest.$ac_ext
36950 cat >>conftest.$ac_ext <<_ACEOF
36951 /* end confdefs.h. */
36952 /* System header to define __stub macros and hopefully few prototypes,
36953 which can conflict with char $ac_func (); below.
36954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36955 <limits.h> exists even on freestanding compilers. */
36957 # include <limits.h>
36959 # include <assert.h>
36961 /* Override any gcc2 internal prototype to avoid an error. */
36966 /* We use char because int might match the return type of a gcc2
36967 builtin and then its argument prototype would still apply. */
36969 /* The GNU C library defines this for functions which it implements
36970 to always fail with ENOSYS. Some functions are actually named
36971 something starting with __ and the normal name is an alias. */
36972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36975 char (*f) () = $ac_func;
36984 return f != $ac_func;
36989 rm -f conftest.$ac_objext conftest$ac_exeext
36990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36991 (eval $ac_link) 2>&5
36993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36994 (exit $ac_status); } &&
36995 { ac_try='test -s conftest$ac_exeext'
36996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36997 (eval $ac_try) 2>&5
36999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37000 (exit $ac_status); }; }; then
37001 eval "$as_ac_var=yes"
37003 echo "$as_me: failed program was:" >&5
37004 sed 's/^/| /' conftest.$ac_ext >&5
37006 eval "$as_ac_var=no"
37008 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37012 if test `eval echo '${'$as_ac_var'}'` = yes; then
37013 cat >>confdefs.h <<_ACEOF
37014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37025 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
37026 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
37027 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
37028 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
37029 echo $ECHO_N "(cached) $ECHO_C" >&6
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040 cat >conftest.$ac_ext <<_ACEOF
37041 #line $LINENO "configure"
37044 cat confdefs.h >>conftest.$ac_ext
37045 cat >>conftest.$ac_ext <<_ACEOF
37046 /* end confdefs.h. */
37056 rm -f conftest.$ac_objext
37057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37058 (eval $ac_compile) 2>&5
37060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061 (exit $ac_status); } &&
37062 { ac_try='test -s conftest.$ac_objext'
37063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37064 (eval $ac_try) 2>&5
37066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37067 (exit $ac_status); }; }; then
37068 glibcxx_cv_func_copysignl_use=yes
37070 echo "$as_me: failed program was:" >&5
37071 sed 's/^/| /' conftest.$ac_ext >&5
37073 glibcxx_cv_func_copysignl_use=no
37075 rm -f conftest.$ac_objext conftest.$ac_ext
37077 ac_cpp='$CPP $CPPFLAGS'
37078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37086 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
37087 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
37089 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
37091 for ac_func in copysignl
37093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37094 echo "$as_me:$LINENO: checking for $ac_func" >&5
37095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37096 if eval "test \"\${$as_ac_var+set}\" = set"; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37099 if test x$gcc_no_link = xyes; then
37100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37102 { (exit 1); exit 1; }; }
37104 cat >conftest.$ac_ext <<_ACEOF
37105 #line $LINENO "configure"
37108 cat confdefs.h >>conftest.$ac_ext
37109 cat >>conftest.$ac_ext <<_ACEOF
37110 /* end confdefs.h. */
37111 /* System header to define __stub macros and hopefully few prototypes,
37112 which can conflict with char $ac_func (); below.
37113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37114 <limits.h> exists even on freestanding compilers. */
37116 # include <limits.h>
37118 # include <assert.h>
37120 /* Override any gcc2 internal prototype to avoid an error. */
37125 /* We use char because int might match the return type of a gcc2
37126 builtin and then its argument prototype would still apply. */
37128 /* The GNU C library defines this for functions which it implements
37129 to always fail with ENOSYS. Some functions are actually named
37130 something starting with __ and the normal name is an alias. */
37131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37134 char (*f) () = $ac_func;
37143 return f != $ac_func;
37148 rm -f conftest.$ac_objext conftest$ac_exeext
37149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37150 (eval $ac_link) 2>&5
37152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37153 (exit $ac_status); } &&
37154 { ac_try='test -s conftest$ac_exeext'
37155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37156 (eval $ac_try) 2>&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); }; }; then
37160 eval "$as_ac_var=yes"
37162 echo "$as_me: failed program was:" >&5
37163 sed 's/^/| /' conftest.$ac_ext >&5
37165 eval "$as_ac_var=no"
37167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37171 if test `eval echo '${'$as_ac_var'}'` = yes; then
37172 cat >>confdefs.h <<_ACEOF
37173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37181 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37182 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37183 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37184 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
37185 echo $ECHO_N "(cached) $ECHO_C" >&6
37191 ac_cpp='$CXXCPP $CPPFLAGS'
37192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37196 cat >conftest.$ac_ext <<_ACEOF
37197 #line $LINENO "configure"
37200 cat confdefs.h >>conftest.$ac_ext
37201 cat >>conftest.$ac_ext <<_ACEOF
37202 /* end confdefs.h. */
37212 rm -f conftest.$ac_objext
37213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37214 (eval $ac_compile) 2>&5
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); } &&
37218 { ac_try='test -s conftest.$ac_objext'
37219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37220 (eval $ac_try) 2>&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); }; }; then
37224 glibcxx_cv_func__copysignl_use=yes
37226 echo "$as_me: failed program was:" >&5
37227 sed 's/^/| /' conftest.$ac_ext >&5
37229 glibcxx_cv_func__copysignl_use=no
37231 rm -f conftest.$ac_objext conftest.$ac_ext
37233 ac_cpp='$CPP $CPPFLAGS'
37234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37242 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37243 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37245 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37247 for ac_func in _copysignl
37249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37250 echo "$as_me:$LINENO: checking for $ac_func" >&5
37251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37252 if eval "test \"\${$as_ac_var+set}\" = set"; then
37253 echo $ECHO_N "(cached) $ECHO_C" >&6
37255 if test x$gcc_no_link = xyes; then
37256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37258 { (exit 1); exit 1; }; }
37260 cat >conftest.$ac_ext <<_ACEOF
37261 #line $LINENO "configure"
37264 cat confdefs.h >>conftest.$ac_ext
37265 cat >>conftest.$ac_ext <<_ACEOF
37266 /* end confdefs.h. */
37267 /* System header to define __stub macros and hopefully few prototypes,
37268 which can conflict with char $ac_func (); below.
37269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37270 <limits.h> exists even on freestanding compilers. */
37272 # include <limits.h>
37274 # include <assert.h>
37276 /* Override any gcc2 internal prototype to avoid an error. */
37281 /* We use char because int might match the return type of a gcc2
37282 builtin and then its argument prototype would still apply. */
37284 /* The GNU C library defines this for functions which it implements
37285 to always fail with ENOSYS. Some functions are actually named
37286 something starting with __ and the normal name is an alias. */
37287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37290 char (*f) () = $ac_func;
37299 return f != $ac_func;
37304 rm -f conftest.$ac_objext conftest$ac_exeext
37305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37306 (eval $ac_link) 2>&5
37308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37309 (exit $ac_status); } &&
37310 { ac_try='test -s conftest$ac_exeext'
37311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37312 (eval $ac_try) 2>&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); }; }; then
37316 eval "$as_ac_var=yes"
37318 echo "$as_me: failed program was:" >&5
37319 sed 's/^/| /' conftest.$ac_ext >&5
37321 eval "$as_ac_var=no"
37323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37327 if test `eval echo '${'$as_ac_var'}'` = yes; then
37328 cat >>confdefs.h <<_ACEOF
37329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37340 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37341 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37342 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37343 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37344 echo $ECHO_N "(cached) $ECHO_C" >&6
37350 ac_cpp='$CXXCPP $CPPFLAGS'
37351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37355 cat >conftest.$ac_ext <<_ACEOF
37356 #line $LINENO "configure"
37359 cat confdefs.h >>conftest.$ac_ext
37360 cat >>conftest.$ac_ext <<_ACEOF
37361 /* end confdefs.h. */
37371 rm -f conftest.$ac_objext
37372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37373 (eval $ac_compile) 2>&5
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); } &&
37377 { ac_try='test -s conftest.$ac_objext'
37378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37379 (eval $ac_try) 2>&5
37381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37382 (exit $ac_status); }; }; then
37383 glibcxx_cv_func_atan2l_use=yes
37385 echo "$as_me: failed program was:" >&5
37386 sed 's/^/| /' conftest.$ac_ext >&5
37388 glibcxx_cv_func_atan2l_use=no
37390 rm -f conftest.$ac_objext conftest.$ac_ext
37392 ac_cpp='$CPP $CPPFLAGS'
37393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37401 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37402 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37404 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37406 for ac_func in atan2l
37408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37409 echo "$as_me:$LINENO: checking for $ac_func" >&5
37410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37411 if eval "test \"\${$as_ac_var+set}\" = set"; then
37412 echo $ECHO_N "(cached) $ECHO_C" >&6
37414 if test x$gcc_no_link = xyes; then
37415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37417 { (exit 1); exit 1; }; }
37419 cat >conftest.$ac_ext <<_ACEOF
37420 #line $LINENO "configure"
37423 cat confdefs.h >>conftest.$ac_ext
37424 cat >>conftest.$ac_ext <<_ACEOF
37425 /* end confdefs.h. */
37426 /* System header to define __stub macros and hopefully few prototypes,
37427 which can conflict with char $ac_func (); below.
37428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37429 <limits.h> exists even on freestanding compilers. */
37431 # include <limits.h>
37433 # include <assert.h>
37435 /* Override any gcc2 internal prototype to avoid an error. */
37440 /* We use char because int might match the return type of a gcc2
37441 builtin and then its argument prototype would still apply. */
37443 /* The GNU C library defines this for functions which it implements
37444 to always fail with ENOSYS. Some functions are actually named
37445 something starting with __ and the normal name is an alias. */
37446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37449 char (*f) () = $ac_func;
37458 return f != $ac_func;
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37465 (eval $ac_link) 2>&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } &&
37469 { ac_try='test -s conftest$ac_exeext'
37470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37471 (eval $ac_try) 2>&5
37473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37474 (exit $ac_status); }; }; then
37475 eval "$as_ac_var=yes"
37477 echo "$as_me: failed program was:" >&5
37478 sed 's/^/| /' conftest.$ac_ext >&5
37480 eval "$as_ac_var=no"
37482 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37486 if test `eval echo '${'$as_ac_var'}'` = yes; then
37487 cat >>confdefs.h <<_ACEOF
37488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37496 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37497 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37498 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37499 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 ac_cpp='$CXXCPP $CPPFLAGS'
37507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37511 cat >conftest.$ac_ext <<_ACEOF
37512 #line $LINENO "configure"
37515 cat confdefs.h >>conftest.$ac_ext
37516 cat >>conftest.$ac_ext <<_ACEOF
37517 /* end confdefs.h. */
37527 rm -f conftest.$ac_objext
37528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37529 (eval $ac_compile) 2>&5
37531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37532 (exit $ac_status); } &&
37533 { ac_try='test -s conftest.$ac_objext'
37534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37535 (eval $ac_try) 2>&5
37537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37538 (exit $ac_status); }; }; then
37539 glibcxx_cv_func__atan2l_use=yes
37541 echo "$as_me: failed program was:" >&5
37542 sed 's/^/| /' conftest.$ac_ext >&5
37544 glibcxx_cv_func__atan2l_use=no
37546 rm -f conftest.$ac_objext conftest.$ac_ext
37548 ac_cpp='$CPP $CPPFLAGS'
37549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37558 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37560 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37562 for ac_func in _atan2l
37564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37565 echo "$as_me:$LINENO: checking for $ac_func" >&5
37566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37567 if eval "test \"\${$as_ac_var+set}\" = set"; then
37568 echo $ECHO_N "(cached) $ECHO_C" >&6
37570 if test x$gcc_no_link = xyes; then
37571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37573 { (exit 1); exit 1; }; }
37575 cat >conftest.$ac_ext <<_ACEOF
37576 #line $LINENO "configure"
37579 cat confdefs.h >>conftest.$ac_ext
37580 cat >>conftest.$ac_ext <<_ACEOF
37581 /* end confdefs.h. */
37582 /* System header to define __stub macros and hopefully few prototypes,
37583 which can conflict with char $ac_func (); below.
37584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37585 <limits.h> exists even on freestanding compilers. */
37587 # include <limits.h>
37589 # include <assert.h>
37591 /* Override any gcc2 internal prototype to avoid an error. */
37596 /* We use char because int might match the return type of a gcc2
37597 builtin and then its argument prototype would still apply. */
37599 /* The GNU C library defines this for functions which it implements
37600 to always fail with ENOSYS. Some functions are actually named
37601 something starting with __ and the normal name is an alias. */
37602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37605 char (*f) () = $ac_func;
37614 return f != $ac_func;
37619 rm -f conftest.$ac_objext conftest$ac_exeext
37620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37621 (eval $ac_link) 2>&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -s conftest$ac_exeext'
37626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37627 (eval $ac_try) 2>&5
37629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37630 (exit $ac_status); }; }; then
37631 eval "$as_ac_var=yes"
37633 echo "$as_me: failed program was:" >&5
37634 sed 's/^/| /' conftest.$ac_ext >&5
37636 eval "$as_ac_var=no"
37638 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37642 if test `eval echo '${'$as_ac_var'}'` = yes; then
37643 cat >>confdefs.h <<_ACEOF
37644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37655 echo "$as_me:$LINENO: checking for expl declaration" >&5
37656 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37657 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37658 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37659 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 ac_cpp='$CXXCPP $CPPFLAGS'
37666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37670 cat >conftest.$ac_ext <<_ACEOF
37671 #line $LINENO "configure"
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37678 #ifdef HAVE_IEEEFP_H
37679 #include <ieeefp.h>
37690 rm -f conftest.$ac_objext
37691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37692 (eval $ac_compile) 2>&5
37694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37695 (exit $ac_status); } &&
37696 { ac_try='test -s conftest.$ac_objext'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; }; then
37702 glibcxx_cv_func_expl_use=yes
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37707 glibcxx_cv_func_expl_use=no
37709 rm -f conftest.$ac_objext conftest.$ac_ext
37711 ac_cpp='$CPP $CPPFLAGS'
37712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37720 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37721 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37723 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37725 for ac_func in expl
37727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37728 echo "$as_me:$LINENO: checking for $ac_func" >&5
37729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37730 if eval "test \"\${$as_ac_var+set}\" = set"; then
37731 echo $ECHO_N "(cached) $ECHO_C" >&6
37733 if test x$gcc_no_link = xyes; then
37734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37736 { (exit 1); exit 1; }; }
37738 cat >conftest.$ac_ext <<_ACEOF
37739 #line $LINENO "configure"
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* System header to define __stub macros and hopefully few prototypes,
37746 which can conflict with char $ac_func (); below.
37747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37748 <limits.h> exists even on freestanding compilers. */
37750 # include <limits.h>
37752 # include <assert.h>
37754 /* Override any gcc2 internal prototype to avoid an error. */
37759 /* We use char because int might match the return type of a gcc2
37760 builtin and then its argument prototype would still apply. */
37762 /* The GNU C library defines this for functions which it implements
37763 to always fail with ENOSYS. Some functions are actually named
37764 something starting with __ and the normal name is an alias. */
37765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37768 char (*f) () = $ac_func;
37777 return f != $ac_func;
37782 rm -f conftest.$ac_objext conftest$ac_exeext
37783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37784 (eval $ac_link) 2>&5
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); } &&
37788 { ac_try='test -s conftest$ac_exeext'
37789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37790 (eval $ac_try) 2>&5
37792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37793 (exit $ac_status); }; }; then
37794 eval "$as_ac_var=yes"
37796 echo "$as_me: failed program was:" >&5
37797 sed 's/^/| /' conftest.$ac_ext >&5
37799 eval "$as_ac_var=no"
37801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37805 if test `eval echo '${'$as_ac_var'}'` = yes; then
37806 cat >>confdefs.h <<_ACEOF
37807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37815 echo "$as_me:$LINENO: checking for _expl declaration" >&5
37816 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
37817 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37818 if test "${glibcxx_cv_func__expl_use+set}" = set; then
37819 echo $ECHO_N "(cached) $ECHO_C" >&6
37825 ac_cpp='$CXXCPP $CPPFLAGS'
37826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37830 cat >conftest.$ac_ext <<_ACEOF
37831 #line $LINENO "configure"
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37838 #ifdef HAVE_IEEEFP_H
37839 #include <ieeefp.h>
37850 rm -f conftest.$ac_objext
37851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37852 (eval $ac_compile) 2>&5
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); } &&
37856 { ac_try='test -s conftest.$ac_objext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 glibcxx_cv_func__expl_use=yes
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 glibcxx_cv_func__expl_use=no
37869 rm -f conftest.$ac_objext conftest.$ac_ext
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
37881 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
37883 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37885 for ac_func in _expl
37887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37888 echo "$as_me:$LINENO: checking for $ac_func" >&5
37889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37890 if eval "test \"\${$as_ac_var+set}\" = set"; then
37891 echo $ECHO_N "(cached) $ECHO_C" >&6
37893 if test x$gcc_no_link = xyes; then
37894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37896 { (exit 1); exit 1; }; }
37898 cat >conftest.$ac_ext <<_ACEOF
37899 #line $LINENO "configure"
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37905 /* System header to define __stub macros and hopefully few prototypes,
37906 which can conflict with char $ac_func (); below.
37907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37908 <limits.h> exists even on freestanding compilers. */
37910 # include <limits.h>
37912 # include <assert.h>
37914 /* Override any gcc2 internal prototype to avoid an error. */
37919 /* We use char because int might match the return type of a gcc2
37920 builtin and then its argument prototype would still apply. */
37922 /* The GNU C library defines this for functions which it implements
37923 to always fail with ENOSYS. Some functions are actually named
37924 something starting with __ and the normal name is an alias. */
37925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37928 char (*f) () = $ac_func;
37937 return f != $ac_func;
37942 rm -f conftest.$ac_objext conftest$ac_exeext
37943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37944 (eval $ac_link) 2>&5
37946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37947 (exit $ac_status); } &&
37948 { ac_try='test -s conftest$ac_exeext'
37949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37950 (eval $ac_try) 2>&5
37952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37953 (exit $ac_status); }; }; then
37954 eval "$as_ac_var=yes"
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37959 eval "$as_ac_var=no"
37961 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37965 if test `eval echo '${'$as_ac_var'}'` = yes; then
37966 cat >>confdefs.h <<_ACEOF
37967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37978 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37979 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37980 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37981 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37988 ac_cpp='$CXXCPP $CPPFLAGS'
37989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37993 cat >conftest.$ac_ext <<_ACEOF
37994 #line $LINENO "configure"
37997 cat confdefs.h >>conftest.$ac_ext
37998 cat >>conftest.$ac_ext <<_ACEOF
37999 /* end confdefs.h. */
38001 #ifdef HAVE_IEEEFP_H
38002 #include <ieeefp.h>
38013 rm -f conftest.$ac_objext
38014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38015 (eval $ac_compile) 2>&5
38017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38018 (exit $ac_status); } &&
38019 { ac_try='test -s conftest.$ac_objext'
38020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38021 (eval $ac_try) 2>&5
38023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024 (exit $ac_status); }; }; then
38025 glibcxx_cv_func_fabsl_use=yes
38027 echo "$as_me: failed program was:" >&5
38028 sed 's/^/| /' conftest.$ac_ext >&5
38030 glibcxx_cv_func_fabsl_use=no
38032 rm -f conftest.$ac_objext conftest.$ac_ext
38034 ac_cpp='$CPP $CPPFLAGS'
38035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38043 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
38044 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
38046 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38048 for ac_func in fabsl
38050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38051 echo "$as_me:$LINENO: checking for $ac_func" >&5
38052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38053 if eval "test \"\${$as_ac_var+set}\" = set"; then
38054 echo $ECHO_N "(cached) $ECHO_C" >&6
38056 if test x$gcc_no_link = xyes; then
38057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38059 { (exit 1); exit 1; }; }
38061 cat >conftest.$ac_ext <<_ACEOF
38062 #line $LINENO "configure"
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h. */
38068 /* System header to define __stub macros and hopefully few prototypes,
38069 which can conflict with char $ac_func (); below.
38070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38071 <limits.h> exists even on freestanding compilers. */
38073 # include <limits.h>
38075 # include <assert.h>
38077 /* Override any gcc2 internal prototype to avoid an error. */
38082 /* We use char because int might match the return type of a gcc2
38083 builtin and then its argument prototype would still apply. */
38085 /* The GNU C library defines this for functions which it implements
38086 to always fail with ENOSYS. Some functions are actually named
38087 something starting with __ and the normal name is an alias. */
38088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38091 char (*f) () = $ac_func;
38100 return f != $ac_func;
38105 rm -f conftest.$ac_objext conftest$ac_exeext
38106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38107 (eval $ac_link) 2>&5
38109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38110 (exit $ac_status); } &&
38111 { ac_try='test -s conftest$ac_exeext'
38112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38113 (eval $ac_try) 2>&5
38115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38116 (exit $ac_status); }; }; then
38117 eval "$as_ac_var=yes"
38119 echo "$as_me: failed program was:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38122 eval "$as_ac_var=no"
38124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38128 if test `eval echo '${'$as_ac_var'}'` = yes; then
38129 cat >>confdefs.h <<_ACEOF
38130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38138 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
38139 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
38140 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38141 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 ac_cpp='$CXXCPP $CPPFLAGS'
38149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38153 cat >conftest.$ac_ext <<_ACEOF
38154 #line $LINENO "configure"
38157 cat confdefs.h >>conftest.$ac_ext
38158 cat >>conftest.$ac_ext <<_ACEOF
38159 /* end confdefs.h. */
38161 #ifdef HAVE_IEEEFP_H
38162 #include <ieeefp.h>
38173 rm -f conftest.$ac_objext
38174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38175 (eval $ac_compile) 2>&5
38177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178 (exit $ac_status); } &&
38179 { ac_try='test -s conftest.$ac_objext'
38180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38181 (eval $ac_try) 2>&5
38183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184 (exit $ac_status); }; }; then
38185 glibcxx_cv_func__fabsl_use=yes
38187 echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38190 glibcxx_cv_func__fabsl_use=no
38192 rm -f conftest.$ac_objext conftest.$ac_ext
38194 ac_cpp='$CPP $CPPFLAGS'
38195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38203 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
38204 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
38206 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38208 for ac_func in _fabsl
38210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38211 echo "$as_me:$LINENO: checking for $ac_func" >&5
38212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38213 if eval "test \"\${$as_ac_var+set}\" = set"; then
38214 echo $ECHO_N "(cached) $ECHO_C" >&6
38216 if test x$gcc_no_link = xyes; then
38217 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38219 { (exit 1); exit 1; }; }
38221 cat >conftest.$ac_ext <<_ACEOF
38222 #line $LINENO "configure"
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h. */
38228 /* System header to define __stub macros and hopefully few prototypes,
38229 which can conflict with char $ac_func (); below.
38230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38231 <limits.h> exists even on freestanding compilers. */
38233 # include <limits.h>
38235 # include <assert.h>
38237 /* Override any gcc2 internal prototype to avoid an error. */
38242 /* We use char because int might match the return type of a gcc2
38243 builtin and then its argument prototype would still apply. */
38245 /* The GNU C library defines this for functions which it implements
38246 to always fail with ENOSYS. Some functions are actually named
38247 something starting with __ and the normal name is an alias. */
38248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38251 char (*f) () = $ac_func;
38260 return f != $ac_func;
38265 rm -f conftest.$ac_objext conftest$ac_exeext
38266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38267 (eval $ac_link) 2>&5
38269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38270 (exit $ac_status); } &&
38271 { ac_try='test -s conftest$ac_exeext'
38272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38273 (eval $ac_try) 2>&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); }; }; then
38277 eval "$as_ac_var=yes"
38279 echo "$as_me: failed program was:" >&5
38280 sed 's/^/| /' conftest.$ac_ext >&5
38282 eval "$as_ac_var=no"
38284 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38288 if test `eval echo '${'$as_ac_var'}'` = yes; then
38289 cat >>confdefs.h <<_ACEOF
38290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38301 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38302 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38303 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38304 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38311 ac_cpp='$CXXCPP $CPPFLAGS'
38312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38316 cat >conftest.$ac_ext <<_ACEOF
38317 #line $LINENO "configure"
38320 cat confdefs.h >>conftest.$ac_ext
38321 cat >>conftest.$ac_ext <<_ACEOF
38322 /* end confdefs.h. */
38332 rm -f conftest.$ac_objext
38333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38334 (eval $ac_compile) 2>&5
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); } &&
38338 { ac_try='test -s conftest.$ac_objext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 glibcxx_cv_func_fmodl_use=yes
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38349 glibcxx_cv_func_fmodl_use=no
38351 rm -f conftest.$ac_objext conftest.$ac_ext
38353 ac_cpp='$CPP $CPPFLAGS'
38354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38363 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38365 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38367 for ac_func in fmodl
38369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38370 echo "$as_me:$LINENO: checking for $ac_func" >&5
38371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38372 if eval "test \"\${$as_ac_var+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 if test x$gcc_no_link = xyes; then
38376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38378 { (exit 1); exit 1; }; }
38380 cat >conftest.$ac_ext <<_ACEOF
38381 #line $LINENO "configure"
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387 /* System header to define __stub macros and hopefully few prototypes,
38388 which can conflict with char $ac_func (); below.
38389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38390 <limits.h> exists even on freestanding compilers. */
38392 # include <limits.h>
38394 # include <assert.h>
38396 /* Override any gcc2 internal prototype to avoid an error. */
38401 /* We use char because int might match the return type of a gcc2
38402 builtin and then its argument prototype would still apply. */
38404 /* The GNU C library defines this for functions which it implements
38405 to always fail with ENOSYS. Some functions are actually named
38406 something starting with __ and the normal name is an alias. */
38407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38410 char (*f) () = $ac_func;
38419 return f != $ac_func;
38424 rm -f conftest.$ac_objext conftest$ac_exeext
38425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38426 (eval $ac_link) 2>&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } &&
38430 { ac_try='test -s conftest$ac_exeext'
38431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38432 (eval $ac_try) 2>&5
38434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435 (exit $ac_status); }; }; then
38436 eval "$as_ac_var=yes"
38438 echo "$as_me: failed program was:" >&5
38439 sed 's/^/| /' conftest.$ac_ext >&5
38441 eval "$as_ac_var=no"
38443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38447 if test `eval echo '${'$as_ac_var'}'` = yes; then
38448 cat >>confdefs.h <<_ACEOF
38449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38457 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38458 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38459 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38460 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38461 echo $ECHO_N "(cached) $ECHO_C" >&6
38467 ac_cpp='$CXXCPP $CPPFLAGS'
38468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38472 cat >conftest.$ac_ext <<_ACEOF
38473 #line $LINENO "configure"
38476 cat confdefs.h >>conftest.$ac_ext
38477 cat >>conftest.$ac_ext <<_ACEOF
38478 /* end confdefs.h. */
38488 rm -f conftest.$ac_objext
38489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38490 (eval $ac_compile) 2>&5
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); } &&
38494 { ac_try='test -s conftest.$ac_objext'
38495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38496 (eval $ac_try) 2>&5
38498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38499 (exit $ac_status); }; }; then
38500 glibcxx_cv_func__fmodl_use=yes
38502 echo "$as_me: failed program was:" >&5
38503 sed 's/^/| /' conftest.$ac_ext >&5
38505 glibcxx_cv_func__fmodl_use=no
38507 rm -f conftest.$ac_objext conftest.$ac_ext
38509 ac_cpp='$CPP $CPPFLAGS'
38510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38518 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38519 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38521 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38523 for ac_func in _fmodl
38525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38526 echo "$as_me:$LINENO: checking for $ac_func" >&5
38527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38528 if eval "test \"\${$as_ac_var+set}\" = set"; then
38529 echo $ECHO_N "(cached) $ECHO_C" >&6
38531 if test x$gcc_no_link = xyes; then
38532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38534 { (exit 1); exit 1; }; }
38536 cat >conftest.$ac_ext <<_ACEOF
38537 #line $LINENO "configure"
38540 cat confdefs.h >>conftest.$ac_ext
38541 cat >>conftest.$ac_ext <<_ACEOF
38542 /* end confdefs.h. */
38543 /* System header to define __stub macros and hopefully few prototypes,
38544 which can conflict with char $ac_func (); below.
38545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38546 <limits.h> exists even on freestanding compilers. */
38548 # include <limits.h>
38550 # include <assert.h>
38552 /* Override any gcc2 internal prototype to avoid an error. */
38557 /* We use char because int might match the return type of a gcc2
38558 builtin and then its argument prototype would still apply. */
38560 /* The GNU C library defines this for functions which it implements
38561 to always fail with ENOSYS. Some functions are actually named
38562 something starting with __ and the normal name is an alias. */
38563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38566 char (*f) () = $ac_func;
38575 return f != $ac_func;
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>&5
38584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38585 (exit $ac_status); } &&
38586 { ac_try='test -s conftest$ac_exeext'
38587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38588 (eval $ac_try) 2>&5
38590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38591 (exit $ac_status); }; }; then
38592 eval "$as_ac_var=yes"
38594 echo "$as_me: failed program was:" >&5
38595 sed 's/^/| /' conftest.$ac_ext >&5
38597 eval "$as_ac_var=no"
38599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38603 if test `eval echo '${'$as_ac_var'}'` = yes; then
38604 cat >>confdefs.h <<_ACEOF
38605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38616 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38617 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38618 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38619 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38626 ac_cpp='$CXXCPP $CPPFLAGS'
38627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38631 cat >conftest.$ac_ext <<_ACEOF
38632 #line $LINENO "configure"
38635 cat confdefs.h >>conftest.$ac_ext
38636 cat >>conftest.$ac_ext <<_ACEOF
38637 /* end confdefs.h. */
38647 rm -f conftest.$ac_objext
38648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38649 (eval $ac_compile) 2>&5
38651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38652 (exit $ac_status); } &&
38653 { ac_try='test -s conftest.$ac_objext'
38654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38655 (eval $ac_try) 2>&5
38657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658 (exit $ac_status); }; }; then
38659 glibcxx_cv_func_frexpl_use=yes
38661 echo "$as_me: failed program was:" >&5
38662 sed 's/^/| /' conftest.$ac_ext >&5
38664 glibcxx_cv_func_frexpl_use=no
38666 rm -f conftest.$ac_objext conftest.$ac_ext
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38678 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38680 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38682 for ac_func in frexpl
38684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38685 echo "$as_me:$LINENO: checking for $ac_func" >&5
38686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38687 if eval "test \"\${$as_ac_var+set}\" = set"; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38690 if test x$gcc_no_link = xyes; then
38691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38693 { (exit 1); exit 1; }; }
38695 cat >conftest.$ac_ext <<_ACEOF
38696 #line $LINENO "configure"
38699 cat confdefs.h >>conftest.$ac_ext
38700 cat >>conftest.$ac_ext <<_ACEOF
38701 /* end confdefs.h. */
38702 /* System header to define __stub macros and hopefully few prototypes,
38703 which can conflict with char $ac_func (); below.
38704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38705 <limits.h> exists even on freestanding compilers. */
38707 # include <limits.h>
38709 # include <assert.h>
38711 /* Override any gcc2 internal prototype to avoid an error. */
38716 /* We use char because int might match the return type of a gcc2
38717 builtin and then its argument prototype would still apply. */
38719 /* The GNU C library defines this for functions which it implements
38720 to always fail with ENOSYS. Some functions are actually named
38721 something starting with __ and the normal name is an alias. */
38722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38725 char (*f) () = $ac_func;
38734 return f != $ac_func;
38739 rm -f conftest.$ac_objext conftest$ac_exeext
38740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38741 (eval $ac_link) 2>&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); } &&
38745 { ac_try='test -s conftest$ac_exeext'
38746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38747 (eval $ac_try) 2>&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); }; }; then
38751 eval "$as_ac_var=yes"
38753 echo "$as_me: failed program was:" >&5
38754 sed 's/^/| /' conftest.$ac_ext >&5
38756 eval "$as_ac_var=no"
38758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38762 if test `eval echo '${'$as_ac_var'}'` = yes; then
38763 cat >>confdefs.h <<_ACEOF
38764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38772 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38773 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38774 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38775 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38776 echo $ECHO_N "(cached) $ECHO_C" >&6
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38787 cat >conftest.$ac_ext <<_ACEOF
38788 #line $LINENO "configure"
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38803 rm -f conftest.$ac_objext
38804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38805 (eval $ac_compile) 2>&5
38807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38808 (exit $ac_status); } &&
38809 { ac_try='test -s conftest.$ac_objext'
38810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38811 (eval $ac_try) 2>&5
38813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38814 (exit $ac_status); }; }; then
38815 glibcxx_cv_func__frexpl_use=yes
38817 echo "$as_me: failed program was:" >&5
38818 sed 's/^/| /' conftest.$ac_ext >&5
38820 glibcxx_cv_func__frexpl_use=no
38822 rm -f conftest.$ac_objext conftest.$ac_ext
38824 ac_cpp='$CPP $CPPFLAGS'
38825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38834 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38836 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38838 for ac_func in _frexpl
38840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38841 echo "$as_me:$LINENO: checking for $ac_func" >&5
38842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38843 if eval "test \"\${$as_ac_var+set}\" = set"; then
38844 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 if test x$gcc_no_link = xyes; then
38847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38849 { (exit 1); exit 1; }; }
38851 cat >conftest.$ac_ext <<_ACEOF
38852 #line $LINENO "configure"
38855 cat confdefs.h >>conftest.$ac_ext
38856 cat >>conftest.$ac_ext <<_ACEOF
38857 /* end confdefs.h. */
38858 /* System header to define __stub macros and hopefully few prototypes,
38859 which can conflict with char $ac_func (); below.
38860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38861 <limits.h> exists even on freestanding compilers. */
38863 # include <limits.h>
38865 # include <assert.h>
38867 /* Override any gcc2 internal prototype to avoid an error. */
38872 /* We use char because int might match the return type of a gcc2
38873 builtin and then its argument prototype would still apply. */
38875 /* The GNU C library defines this for functions which it implements
38876 to always fail with ENOSYS. Some functions are actually named
38877 something starting with __ and the normal name is an alias. */
38878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38881 char (*f) () = $ac_func;
38890 return f != $ac_func;
38895 rm -f conftest.$ac_objext conftest$ac_exeext
38896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38897 (eval $ac_link) 2>&5
38899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38900 (exit $ac_status); } &&
38901 { ac_try='test -s conftest$ac_exeext'
38902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38903 (eval $ac_try) 2>&5
38905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38906 (exit $ac_status); }; }; then
38907 eval "$as_ac_var=yes"
38909 echo "$as_me: failed program was:" >&5
38910 sed 's/^/| /' conftest.$ac_ext >&5
38912 eval "$as_ac_var=no"
38914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38918 if test `eval echo '${'$as_ac_var'}'` = yes; then
38919 cat >>confdefs.h <<_ACEOF
38920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38931 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38932 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38933 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38934 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38935 echo $ECHO_N "(cached) $ECHO_C" >&6
38941 ac_cpp='$CXXCPP $CPPFLAGS'
38942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38946 cat >conftest.$ac_ext <<_ACEOF
38947 #line $LINENO "configure"
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38962 rm -f conftest.$ac_objext
38963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38964 (eval $ac_compile) 2>&5
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); } &&
38968 { ac_try='test -s conftest.$ac_objext'
38969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970 (eval $ac_try) 2>&5
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); }; }; then
38974 glibcxx_cv_func_hypotl_use=yes
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38979 glibcxx_cv_func_hypotl_use=no
38981 rm -f conftest.$ac_objext conftest.$ac_ext
38983 ac_cpp='$CPP $CPPFLAGS'
38984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38992 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38993 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38995 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38997 for ac_func in hypotl
38999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39000 echo "$as_me:$LINENO: checking for $ac_func" >&5
39001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39002 if eval "test \"\${$as_ac_var+set}\" = set"; then
39003 echo $ECHO_N "(cached) $ECHO_C" >&6
39005 if test x$gcc_no_link = xyes; then
39006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39008 { (exit 1); exit 1; }; }
39010 cat >conftest.$ac_ext <<_ACEOF
39011 #line $LINENO "configure"
39014 cat confdefs.h >>conftest.$ac_ext
39015 cat >>conftest.$ac_ext <<_ACEOF
39016 /* end confdefs.h. */
39017 /* System header to define __stub macros and hopefully few prototypes,
39018 which can conflict with char $ac_func (); below.
39019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39020 <limits.h> exists even on freestanding compilers. */
39022 # include <limits.h>
39024 # include <assert.h>
39026 /* Override any gcc2 internal prototype to avoid an error. */
39031 /* We use char because int might match the return type of a gcc2
39032 builtin and then its argument prototype would still apply. */
39034 /* The GNU C library defines this for functions which it implements
39035 to always fail with ENOSYS. Some functions are actually named
39036 something starting with __ and the normal name is an alias. */
39037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39040 char (*f) () = $ac_func;
39049 return f != $ac_func;
39054 rm -f conftest.$ac_objext conftest$ac_exeext
39055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39056 (eval $ac_link) 2>&5
39058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39059 (exit $ac_status); } &&
39060 { ac_try='test -s conftest$ac_exeext'
39061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39062 (eval $ac_try) 2>&5
39064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39065 (exit $ac_status); }; }; then
39066 eval "$as_ac_var=yes"
39068 echo "$as_me: failed program was:" >&5
39069 sed 's/^/| /' conftest.$ac_ext >&5
39071 eval "$as_ac_var=no"
39073 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39077 if test `eval echo '${'$as_ac_var'}'` = yes; then
39078 cat >>confdefs.h <<_ACEOF
39079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39087 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
39088 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
39089 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39090 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
39091 echo $ECHO_N "(cached) $ECHO_C" >&6
39097 ac_cpp='$CXXCPP $CPPFLAGS'
39098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39102 cat >conftest.$ac_ext <<_ACEOF
39103 #line $LINENO "configure"
39106 cat confdefs.h >>conftest.$ac_ext
39107 cat >>conftest.$ac_ext <<_ACEOF
39108 /* end confdefs.h. */
39118 rm -f conftest.$ac_objext
39119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39120 (eval $ac_compile) 2>&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } &&
39124 { ac_try='test -s conftest.$ac_objext'
39125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39126 (eval $ac_try) 2>&5
39128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39129 (exit $ac_status); }; }; then
39130 glibcxx_cv_func__hypotl_use=yes
39132 echo "$as_me: failed program was:" >&5
39133 sed 's/^/| /' conftest.$ac_ext >&5
39135 glibcxx_cv_func__hypotl_use=no
39137 rm -f conftest.$ac_objext conftest.$ac_ext
39139 ac_cpp='$CPP $CPPFLAGS'
39140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39148 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
39149 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
39151 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39153 for ac_func in _hypotl
39155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39156 echo "$as_me:$LINENO: checking for $ac_func" >&5
39157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39158 if eval "test \"\${$as_ac_var+set}\" = set"; then
39159 echo $ECHO_N "(cached) $ECHO_C" >&6
39161 if test x$gcc_no_link = xyes; then
39162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39164 { (exit 1); exit 1; }; }
39166 cat >conftest.$ac_ext <<_ACEOF
39167 #line $LINENO "configure"
39170 cat confdefs.h >>conftest.$ac_ext
39171 cat >>conftest.$ac_ext <<_ACEOF
39172 /* end confdefs.h. */
39173 /* System header to define __stub macros and hopefully few prototypes,
39174 which can conflict with char $ac_func (); below.
39175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39176 <limits.h> exists even on freestanding compilers. */
39178 # include <limits.h>
39180 # include <assert.h>
39182 /* Override any gcc2 internal prototype to avoid an error. */
39187 /* We use char because int might match the return type of a gcc2
39188 builtin and then its argument prototype would still apply. */
39190 /* The GNU C library defines this for functions which it implements
39191 to always fail with ENOSYS. Some functions are actually named
39192 something starting with __ and the normal name is an alias. */
39193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39196 char (*f) () = $ac_func;
39205 return f != $ac_func;
39210 rm -f conftest.$ac_objext conftest$ac_exeext
39211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39212 (eval $ac_link) 2>&5
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); } &&
39216 { ac_try='test -s conftest$ac_exeext'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; }; then
39222 eval "$as_ac_var=yes"
39224 echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.$ac_ext >&5
39227 eval "$as_ac_var=no"
39229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39233 if test `eval echo '${'$as_ac_var'}'` = yes; then
39234 cat >>confdefs.h <<_ACEOF
39235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39246 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39247 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39248 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39249 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39250 echo $ECHO_N "(cached) $ECHO_C" >&6
39256 ac_cpp='$CXXCPP $CPPFLAGS'
39257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261 cat >conftest.$ac_ext <<_ACEOF
39262 #line $LINENO "configure"
39265 cat confdefs.h >>conftest.$ac_ext
39266 cat >>conftest.$ac_ext <<_ACEOF
39267 /* end confdefs.h. */
39277 rm -f conftest.$ac_objext
39278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39279 (eval $ac_compile) 2>&5
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); } &&
39283 { ac_try='test -s conftest.$ac_objext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 glibcxx_cv_func_ldexpl_use=yes
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39294 glibcxx_cv_func_ldexpl_use=no
39296 rm -f conftest.$ac_objext conftest.$ac_ext
39298 ac_cpp='$CPP $CPPFLAGS'
39299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39308 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39310 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39312 for ac_func in ldexpl
39314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39315 echo "$as_me:$LINENO: checking for $ac_func" >&5
39316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39317 if eval "test \"\${$as_ac_var+set}\" = set"; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39320 if test x$gcc_no_link = xyes; then
39321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39323 { (exit 1); exit 1; }; }
39325 cat >conftest.$ac_ext <<_ACEOF
39326 #line $LINENO "configure"
39329 cat confdefs.h >>conftest.$ac_ext
39330 cat >>conftest.$ac_ext <<_ACEOF
39331 /* end confdefs.h. */
39332 /* System header to define __stub macros and hopefully few prototypes,
39333 which can conflict with char $ac_func (); below.
39334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39335 <limits.h> exists even on freestanding compilers. */
39337 # include <limits.h>
39339 # include <assert.h>
39341 /* Override any gcc2 internal prototype to avoid an error. */
39346 /* We use char because int might match the return type of a gcc2
39347 builtin and then its argument prototype would still apply. */
39349 /* The GNU C library defines this for functions which it implements
39350 to always fail with ENOSYS. Some functions are actually named
39351 something starting with __ and the normal name is an alias. */
39352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39355 char (*f) () = $ac_func;
39364 return f != $ac_func;
39369 rm -f conftest.$ac_objext conftest$ac_exeext
39370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39371 (eval $ac_link) 2>&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } &&
39375 { ac_try='test -s conftest$ac_exeext'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; }; then
39381 eval "$as_ac_var=yes"
39383 echo "$as_me: failed program was:" >&5
39384 sed 's/^/| /' conftest.$ac_ext >&5
39386 eval "$as_ac_var=no"
39388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39392 if test `eval echo '${'$as_ac_var'}'` = yes; then
39393 cat >>confdefs.h <<_ACEOF
39394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39402 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39403 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39404 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39405 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39406 echo $ECHO_N "(cached) $ECHO_C" >&6
39412 ac_cpp='$CXXCPP $CPPFLAGS'
39413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39417 cat >conftest.$ac_ext <<_ACEOF
39418 #line $LINENO "configure"
39421 cat confdefs.h >>conftest.$ac_ext
39422 cat >>conftest.$ac_ext <<_ACEOF
39423 /* end confdefs.h. */
39433 rm -f conftest.$ac_objext
39434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39435 (eval $ac_compile) 2>&5
39437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39438 (exit $ac_status); } &&
39439 { ac_try='test -s conftest.$ac_objext'
39440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39441 (eval $ac_try) 2>&5
39443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39444 (exit $ac_status); }; }; then
39445 glibcxx_cv_func__ldexpl_use=yes
39447 echo "$as_me: failed program was:" >&5
39448 sed 's/^/| /' conftest.$ac_ext >&5
39450 glibcxx_cv_func__ldexpl_use=no
39452 rm -f conftest.$ac_objext conftest.$ac_ext
39454 ac_cpp='$CPP $CPPFLAGS'
39455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39464 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39466 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39468 for ac_func in _ldexpl
39470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39471 echo "$as_me:$LINENO: checking for $ac_func" >&5
39472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39473 if eval "test \"\${$as_ac_var+set}\" = set"; then
39474 echo $ECHO_N "(cached) $ECHO_C" >&6
39476 if test x$gcc_no_link = xyes; then
39477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39479 { (exit 1); exit 1; }; }
39481 cat >conftest.$ac_ext <<_ACEOF
39482 #line $LINENO "configure"
39485 cat confdefs.h >>conftest.$ac_ext
39486 cat >>conftest.$ac_ext <<_ACEOF
39487 /* end confdefs.h. */
39488 /* System header to define __stub macros and hopefully few prototypes,
39489 which can conflict with char $ac_func (); below.
39490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39491 <limits.h> exists even on freestanding compilers. */
39493 # include <limits.h>
39495 # include <assert.h>
39497 /* Override any gcc2 internal prototype to avoid an error. */
39502 /* We use char because int might match the return type of a gcc2
39503 builtin and then its argument prototype would still apply. */
39505 /* The GNU C library defines this for functions which it implements
39506 to always fail with ENOSYS. Some functions are actually named
39507 something starting with __ and the normal name is an alias. */
39508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39511 char (*f) () = $ac_func;
39520 return f != $ac_func;
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39527 (eval $ac_link) 2>&5
39529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39530 (exit $ac_status); } &&
39531 { ac_try='test -s conftest$ac_exeext'
39532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39533 (eval $ac_try) 2>&5
39535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39536 (exit $ac_status); }; }; then
39537 eval "$as_ac_var=yes"
39539 echo "$as_me: failed program was:" >&5
39540 sed 's/^/| /' conftest.$ac_ext >&5
39542 eval "$as_ac_var=no"
39544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39548 if test `eval echo '${'$as_ac_var'}'` = yes; then
39549 cat >>confdefs.h <<_ACEOF
39550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39561 echo "$as_me:$LINENO: checking for logl declaration" >&5
39562 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39563 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39564 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39565 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 ac_cpp='$CXXCPP $CPPFLAGS'
39572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39576 cat >conftest.$ac_ext <<_ACEOF
39577 #line $LINENO "configure"
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39584 #ifdef HAVE_IEEEFP_H
39585 #include <ieeefp.h>
39596 rm -f conftest.$ac_objext
39597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39598 (eval $ac_compile) 2>&5
39600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39601 (exit $ac_status); } &&
39602 { ac_try='test -s conftest.$ac_objext'
39603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39604 (eval $ac_try) 2>&5
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); }; }; then
39608 glibcxx_cv_func_logl_use=yes
39610 echo "$as_me: failed program was:" >&5
39611 sed 's/^/| /' conftest.$ac_ext >&5
39613 glibcxx_cv_func_logl_use=no
39615 rm -f conftest.$ac_objext conftest.$ac_ext
39617 ac_cpp='$CPP $CPPFLAGS'
39618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39627 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39629 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39631 for ac_func in logl
39633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39634 echo "$as_me:$LINENO: checking for $ac_func" >&5
39635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39636 if eval "test \"\${$as_ac_var+set}\" = set"; then
39637 echo $ECHO_N "(cached) $ECHO_C" >&6
39639 if test x$gcc_no_link = xyes; then
39640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39642 { (exit 1); exit 1; }; }
39644 cat >conftest.$ac_ext <<_ACEOF
39645 #line $LINENO "configure"
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651 /* System header to define __stub macros and hopefully few prototypes,
39652 which can conflict with char $ac_func (); below.
39653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654 <limits.h> exists even on freestanding compilers. */
39656 # include <limits.h>
39658 # include <assert.h>
39660 /* Override any gcc2 internal prototype to avoid an error. */
39665 /* We use char because int might match the return type of a gcc2
39666 builtin and then its argument prototype would still apply. */
39668 /* The GNU C library defines this for functions which it implements
39669 to always fail with ENOSYS. Some functions are actually named
39670 something starting with __ and the normal name is an alias. */
39671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39674 char (*f) () = $ac_func;
39683 return f != $ac_func;
39688 rm -f conftest.$ac_objext conftest$ac_exeext
39689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39690 (eval $ac_link) 2>&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } &&
39694 { ac_try='test -s conftest$ac_exeext'
39695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696 (eval $ac_try) 2>&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); }; }; then
39700 eval "$as_ac_var=yes"
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39705 eval "$as_ac_var=no"
39707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39711 if test `eval echo '${'$as_ac_var'}'` = yes; then
39712 cat >>confdefs.h <<_ACEOF
39713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39721 echo "$as_me:$LINENO: checking for _logl declaration" >&5
39722 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
39723 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39724 if test "${glibcxx_cv_func__logl_use+set}" = set; then
39725 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 ac_cpp='$CXXCPP $CPPFLAGS'
39732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39736 cat >conftest.$ac_ext <<_ACEOF
39737 #line $LINENO "configure"
39740 cat confdefs.h >>conftest.$ac_ext
39741 cat >>conftest.$ac_ext <<_ACEOF
39742 /* end confdefs.h. */
39744 #ifdef HAVE_IEEEFP_H
39745 #include <ieeefp.h>
39756 rm -f conftest.$ac_objext
39757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39758 (eval $ac_compile) 2>&5
39760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39761 (exit $ac_status); } &&
39762 { ac_try='test -s conftest.$ac_objext'
39763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39764 (eval $ac_try) 2>&5
39766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39767 (exit $ac_status); }; }; then
39768 glibcxx_cv_func__logl_use=yes
39770 echo "$as_me: failed program was:" >&5
39771 sed 's/^/| /' conftest.$ac_ext >&5
39773 glibcxx_cv_func__logl_use=no
39775 rm -f conftest.$ac_objext conftest.$ac_ext
39777 ac_cpp='$CPP $CPPFLAGS'
39778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39786 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
39787 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
39789 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39791 for ac_func in _logl
39793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39794 echo "$as_me:$LINENO: checking for $ac_func" >&5
39795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39796 if eval "test \"\${$as_ac_var+set}\" = set"; then
39797 echo $ECHO_N "(cached) $ECHO_C" >&6
39799 if test x$gcc_no_link = xyes; then
39800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39802 { (exit 1); exit 1; }; }
39804 cat >conftest.$ac_ext <<_ACEOF
39805 #line $LINENO "configure"
39808 cat confdefs.h >>conftest.$ac_ext
39809 cat >>conftest.$ac_ext <<_ACEOF
39810 /* end confdefs.h. */
39811 /* System header to define __stub macros and hopefully few prototypes,
39812 which can conflict with char $ac_func (); below.
39813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39814 <limits.h> exists even on freestanding compilers. */
39816 # include <limits.h>
39818 # include <assert.h>
39820 /* Override any gcc2 internal prototype to avoid an error. */
39825 /* We use char because int might match the return type of a gcc2
39826 builtin and then its argument prototype would still apply. */
39828 /* The GNU C library defines this for functions which it implements
39829 to always fail with ENOSYS. Some functions are actually named
39830 something starting with __ and the normal name is an alias. */
39831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39834 char (*f) () = $ac_func;
39843 return f != $ac_func;
39848 rm -f conftest.$ac_objext conftest$ac_exeext
39849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39850 (eval $ac_link) 2>&5
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); } &&
39854 { ac_try='test -s conftest$ac_exeext'
39855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39856 (eval $ac_try) 2>&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); }; }; then
39860 eval "$as_ac_var=yes"
39862 echo "$as_me: failed program was:" >&5
39863 sed 's/^/| /' conftest.$ac_ext >&5
39865 eval "$as_ac_var=no"
39867 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39871 if test `eval echo '${'$as_ac_var'}'` = yes; then
39872 cat >>confdefs.h <<_ACEOF
39873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39884 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39885 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39886 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39887 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39888 echo $ECHO_N "(cached) $ECHO_C" >&6
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39899 cat >conftest.$ac_ext <<_ACEOF
39900 #line $LINENO "configure"
39903 cat confdefs.h >>conftest.$ac_ext
39904 cat >>conftest.$ac_ext <<_ACEOF
39905 /* end confdefs.h. */
39907 #ifdef HAVE_IEEEFP_H
39908 #include <ieeefp.h>
39919 rm -f conftest.$ac_objext
39920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39921 (eval $ac_compile) 2>&5
39923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39924 (exit $ac_status); } &&
39925 { ac_try='test -s conftest.$ac_objext'
39926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39927 (eval $ac_try) 2>&5
39929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39930 (exit $ac_status); }; }; then
39931 glibcxx_cv_func_log10l_use=yes
39933 echo "$as_me: failed program was:" >&5
39934 sed 's/^/| /' conftest.$ac_ext >&5
39936 glibcxx_cv_func_log10l_use=no
39938 rm -f conftest.$ac_objext conftest.$ac_ext
39940 ac_cpp='$CPP $CPPFLAGS'
39941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39950 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39954 for ac_func in log10l
39956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39957 echo "$as_me:$LINENO: checking for $ac_func" >&5
39958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39959 if eval "test \"\${$as_ac_var+set}\" = set"; then
39960 echo $ECHO_N "(cached) $ECHO_C" >&6
39962 if test x$gcc_no_link = xyes; then
39963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39965 { (exit 1); exit 1; }; }
39967 cat >conftest.$ac_ext <<_ACEOF
39968 #line $LINENO "configure"
39971 cat confdefs.h >>conftest.$ac_ext
39972 cat >>conftest.$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* System header to define __stub macros and hopefully few prototypes,
39975 which can conflict with char $ac_func (); below.
39976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39977 <limits.h> exists even on freestanding compilers. */
39979 # include <limits.h>
39981 # include <assert.h>
39983 /* Override any gcc2 internal prototype to avoid an error. */
39988 /* We use char because int might match the return type of a gcc2
39989 builtin and then its argument prototype would still apply. */
39991 /* The GNU C library defines this for functions which it implements
39992 to always fail with ENOSYS. Some functions are actually named
39993 something starting with __ and the normal name is an alias. */
39994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39997 char (*f) () = $ac_func;
40006 return f != $ac_func;
40011 rm -f conftest.$ac_objext conftest$ac_exeext
40012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40013 (eval $ac_link) 2>&5
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); } &&
40017 { ac_try='test -s conftest$ac_exeext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 eval "$as_ac_var=yes"
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40028 eval "$as_ac_var=no"
40030 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40034 if test `eval echo '${'$as_ac_var'}'` = yes; then
40035 cat >>confdefs.h <<_ACEOF
40036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40044 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
40045 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
40046 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40047 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
40048 echo $ECHO_N "(cached) $ECHO_C" >&6
40054 ac_cpp='$CXXCPP $CPPFLAGS'
40055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40059 cat >conftest.$ac_ext <<_ACEOF
40060 #line $LINENO "configure"
40063 cat confdefs.h >>conftest.$ac_ext
40064 cat >>conftest.$ac_ext <<_ACEOF
40065 /* end confdefs.h. */
40067 #ifdef HAVE_IEEEFP_H
40068 #include <ieeefp.h>
40079 rm -f conftest.$ac_objext
40080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40081 (eval $ac_compile) 2>&5
40083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40084 (exit $ac_status); } &&
40085 { ac_try='test -s conftest.$ac_objext'
40086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40087 (eval $ac_try) 2>&5
40089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40090 (exit $ac_status); }; }; then
40091 glibcxx_cv_func__log10l_use=yes
40093 echo "$as_me: failed program was:" >&5
40094 sed 's/^/| /' conftest.$ac_ext >&5
40096 glibcxx_cv_func__log10l_use=no
40098 rm -f conftest.$ac_objext conftest.$ac_ext
40100 ac_cpp='$CPP $CPPFLAGS'
40101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40109 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
40110 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
40112 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40114 for ac_func in _log10l
40116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40117 echo "$as_me:$LINENO: checking for $ac_func" >&5
40118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40119 if eval "test \"\${$as_ac_var+set}\" = set"; then
40120 echo $ECHO_N "(cached) $ECHO_C" >&6
40122 if test x$gcc_no_link = xyes; then
40123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40125 { (exit 1); exit 1; }; }
40127 cat >conftest.$ac_ext <<_ACEOF
40128 #line $LINENO "configure"
40131 cat confdefs.h >>conftest.$ac_ext
40132 cat >>conftest.$ac_ext <<_ACEOF
40133 /* end confdefs.h. */
40134 /* System header to define __stub macros and hopefully few prototypes,
40135 which can conflict with char $ac_func (); below.
40136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40137 <limits.h> exists even on freestanding compilers. */
40139 # include <limits.h>
40141 # include <assert.h>
40143 /* Override any gcc2 internal prototype to avoid an error. */
40148 /* We use char because int might match the return type of a gcc2
40149 builtin and then its argument prototype would still apply. */
40151 /* The GNU C library defines this for functions which it implements
40152 to always fail with ENOSYS. Some functions are actually named
40153 something starting with __ and the normal name is an alias. */
40154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40157 char (*f) () = $ac_func;
40166 return f != $ac_func;
40171 rm -f conftest.$ac_objext conftest$ac_exeext
40172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40173 (eval $ac_link) 2>&5
40175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40176 (exit $ac_status); } &&
40177 { ac_try='test -s conftest$ac_exeext'
40178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40179 (eval $ac_try) 2>&5
40181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40182 (exit $ac_status); }; }; then
40183 eval "$as_ac_var=yes"
40185 echo "$as_me: failed program was:" >&5
40186 sed 's/^/| /' conftest.$ac_ext >&5
40188 eval "$as_ac_var=no"
40190 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40194 if test `eval echo '${'$as_ac_var'}'` = yes; then
40195 cat >>confdefs.h <<_ACEOF
40196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40207 echo "$as_me:$LINENO: checking for modfl declaration" >&5
40208 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40209 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40210 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40211 echo $ECHO_N "(cached) $ECHO_C" >&6
40217 ac_cpp='$CXXCPP $CPPFLAGS'
40218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40222 cat >conftest.$ac_ext <<_ACEOF
40223 #line $LINENO "configure"
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40238 rm -f conftest.$ac_objext
40239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40240 (eval $ac_compile) 2>&5
40242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40243 (exit $ac_status); } &&
40244 { ac_try='test -s conftest.$ac_objext'
40245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40246 (eval $ac_try) 2>&5
40248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40249 (exit $ac_status); }; }; then
40250 glibcxx_cv_func_modfl_use=yes
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40255 glibcxx_cv_func_modfl_use=no
40257 rm -f conftest.$ac_objext conftest.$ac_ext
40259 ac_cpp='$CPP $CPPFLAGS'
40260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40268 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40269 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40271 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40273 for ac_func in modfl
40275 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40276 echo "$as_me:$LINENO: checking for $ac_func" >&5
40277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40278 if eval "test \"\${$as_ac_var+set}\" = set"; then
40279 echo $ECHO_N "(cached) $ECHO_C" >&6
40281 if test x$gcc_no_link = xyes; then
40282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40284 { (exit 1); exit 1; }; }
40286 cat >conftest.$ac_ext <<_ACEOF
40287 #line $LINENO "configure"
40290 cat confdefs.h >>conftest.$ac_ext
40291 cat >>conftest.$ac_ext <<_ACEOF
40292 /* end confdefs.h. */
40293 /* System header to define __stub macros and hopefully few prototypes,
40294 which can conflict with char $ac_func (); below.
40295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40296 <limits.h> exists even on freestanding compilers. */
40298 # include <limits.h>
40300 # include <assert.h>
40302 /* Override any gcc2 internal prototype to avoid an error. */
40307 /* We use char because int might match the return type of a gcc2
40308 builtin and then its argument prototype would still apply. */
40310 /* The GNU C library defines this for functions which it implements
40311 to always fail with ENOSYS. Some functions are actually named
40312 something starting with __ and the normal name is an alias. */
40313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40316 char (*f) () = $ac_func;
40325 return f != $ac_func;
40330 rm -f conftest.$ac_objext conftest$ac_exeext
40331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40332 (eval $ac_link) 2>&5
40334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40335 (exit $ac_status); } &&
40336 { ac_try='test -s conftest$ac_exeext'
40337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40338 (eval $ac_try) 2>&5
40340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40341 (exit $ac_status); }; }; then
40342 eval "$as_ac_var=yes"
40344 echo "$as_me: failed program was:" >&5
40345 sed 's/^/| /' conftest.$ac_ext >&5
40347 eval "$as_ac_var=no"
40349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40353 if test `eval echo '${'$as_ac_var'}'` = yes; then
40354 cat >>confdefs.h <<_ACEOF
40355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40363 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40364 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40365 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40366 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40367 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 ac_cpp='$CXXCPP $CPPFLAGS'
40374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40378 cat >conftest.$ac_ext <<_ACEOF
40379 #line $LINENO "configure"
40382 cat confdefs.h >>conftest.$ac_ext
40383 cat >>conftest.$ac_ext <<_ACEOF
40384 /* end confdefs.h. */
40394 rm -f conftest.$ac_objext
40395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40396 (eval $ac_compile) 2>&5
40398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40399 (exit $ac_status); } &&
40400 { ac_try='test -s conftest.$ac_objext'
40401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40402 (eval $ac_try) 2>&5
40404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40405 (exit $ac_status); }; }; then
40406 glibcxx_cv_func__modfl_use=yes
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40411 glibcxx_cv_func__modfl_use=no
40413 rm -f conftest.$ac_objext conftest.$ac_ext
40415 ac_cpp='$CPP $CPPFLAGS'
40416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40425 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40427 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40429 for ac_func in _modfl
40431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40432 echo "$as_me:$LINENO: checking for $ac_func" >&5
40433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40434 if eval "test \"\${$as_ac_var+set}\" = set"; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40437 if test x$gcc_no_link = xyes; then
40438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40440 { (exit 1); exit 1; }; }
40442 cat >conftest.$ac_ext <<_ACEOF
40443 #line $LINENO "configure"
40446 cat confdefs.h >>conftest.$ac_ext
40447 cat >>conftest.$ac_ext <<_ACEOF
40448 /* end confdefs.h. */
40449 /* System header to define __stub macros and hopefully few prototypes,
40450 which can conflict with char $ac_func (); below.
40451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40452 <limits.h> exists even on freestanding compilers. */
40454 # include <limits.h>
40456 # include <assert.h>
40458 /* Override any gcc2 internal prototype to avoid an error. */
40463 /* We use char because int might match the return type of a gcc2
40464 builtin and then its argument prototype would still apply. */
40466 /* The GNU C library defines this for functions which it implements
40467 to always fail with ENOSYS. Some functions are actually named
40468 something starting with __ and the normal name is an alias. */
40469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40472 char (*f) () = $ac_func;
40481 return f != $ac_func;
40486 rm -f conftest.$ac_objext conftest$ac_exeext
40487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40488 (eval $ac_link) 2>&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } &&
40492 { ac_try='test -s conftest$ac_exeext'
40493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40494 (eval $ac_try) 2>&5
40496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40497 (exit $ac_status); }; }; then
40498 eval "$as_ac_var=yes"
40500 echo "$as_me: failed program was:" >&5
40501 sed 's/^/| /' conftest.$ac_ext >&5
40503 eval "$as_ac_var=no"
40505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40509 if test `eval echo '${'$as_ac_var'}'` = yes; then
40510 cat >>confdefs.h <<_ACEOF
40511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40522 echo "$as_me:$LINENO: checking for powl declaration" >&5
40523 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40524 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40525 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40526 echo $ECHO_N "(cached) $ECHO_C" >&6
40532 ac_cpp='$CXXCPP $CPPFLAGS'
40533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40537 cat >conftest.$ac_ext <<_ACEOF
40538 #line $LINENO "configure"
40541 cat confdefs.h >>conftest.$ac_ext
40542 cat >>conftest.$ac_ext <<_ACEOF
40543 /* end confdefs.h. */
40553 rm -f conftest.$ac_objext
40554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40555 (eval $ac_compile) 2>&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try='test -s conftest.$ac_objext'
40560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40561 (eval $ac_try) 2>&5
40563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40564 (exit $ac_status); }; }; then
40565 glibcxx_cv_func_powl_use=yes
40567 echo "$as_me: failed program was:" >&5
40568 sed 's/^/| /' conftest.$ac_ext >&5
40570 glibcxx_cv_func_powl_use=no
40572 rm -f conftest.$ac_objext conftest.$ac_ext
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40584 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40586 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40588 for ac_func in powl
40590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40591 echo "$as_me:$LINENO: checking for $ac_func" >&5
40592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40593 if eval "test \"\${$as_ac_var+set}\" = set"; then
40594 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 if test x$gcc_no_link = xyes; then
40597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40599 { (exit 1); exit 1; }; }
40601 cat >conftest.$ac_ext <<_ACEOF
40602 #line $LINENO "configure"
40605 cat confdefs.h >>conftest.$ac_ext
40606 cat >>conftest.$ac_ext <<_ACEOF
40607 /* end confdefs.h. */
40608 /* System header to define __stub macros and hopefully few prototypes,
40609 which can conflict with char $ac_func (); below.
40610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40611 <limits.h> exists even on freestanding compilers. */
40613 # include <limits.h>
40615 # include <assert.h>
40617 /* Override any gcc2 internal prototype to avoid an error. */
40622 /* We use char because int might match the return type of a gcc2
40623 builtin and then its argument prototype would still apply. */
40625 /* The GNU C library defines this for functions which it implements
40626 to always fail with ENOSYS. Some functions are actually named
40627 something starting with __ and the normal name is an alias. */
40628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40631 char (*f) () = $ac_func;
40640 return f != $ac_func;
40645 rm -f conftest.$ac_objext conftest$ac_exeext
40646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40647 (eval $ac_link) 2>&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); } &&
40651 { ac_try='test -s conftest$ac_exeext'
40652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40653 (eval $ac_try) 2>&5
40655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656 (exit $ac_status); }; }; then
40657 eval "$as_ac_var=yes"
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.$ac_ext >&5
40662 eval "$as_ac_var=no"
40664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40668 if test `eval echo '${'$as_ac_var'}'` = yes; then
40669 cat >>confdefs.h <<_ACEOF
40670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40678 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40679 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40680 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40681 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40688 ac_cpp='$CXXCPP $CPPFLAGS'
40689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40693 cat >conftest.$ac_ext <<_ACEOF
40694 #line $LINENO "configure"
40697 cat confdefs.h >>conftest.$ac_ext
40698 cat >>conftest.$ac_ext <<_ACEOF
40699 /* end confdefs.h. */
40709 rm -f conftest.$ac_objext
40710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40711 (eval $ac_compile) 2>&5
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); } &&
40715 { ac_try='test -s conftest.$ac_objext'
40716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717 (eval $ac_try) 2>&5
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); }; }; then
40721 glibcxx_cv_func__powl_use=yes
40723 echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40726 glibcxx_cv_func__powl_use=no
40728 rm -f conftest.$ac_objext conftest.$ac_ext
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40740 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40742 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40744 for ac_func in _powl
40746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40747 echo "$as_me:$LINENO: checking for $ac_func" >&5
40748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40749 if eval "test \"\${$as_ac_var+set}\" = set"; then
40750 echo $ECHO_N "(cached) $ECHO_C" >&6
40752 if test x$gcc_no_link = xyes; then
40753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40755 { (exit 1); exit 1; }; }
40757 cat >conftest.$ac_ext <<_ACEOF
40758 #line $LINENO "configure"
40761 cat confdefs.h >>conftest.$ac_ext
40762 cat >>conftest.$ac_ext <<_ACEOF
40763 /* end confdefs.h. */
40764 /* System header to define __stub macros and hopefully few prototypes,
40765 which can conflict with char $ac_func (); below.
40766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40767 <limits.h> exists even on freestanding compilers. */
40769 # include <limits.h>
40771 # include <assert.h>
40773 /* Override any gcc2 internal prototype to avoid an error. */
40778 /* We use char because int might match the return type of a gcc2
40779 builtin and then its argument prototype would still apply. */
40781 /* The GNU C library defines this for functions which it implements
40782 to always fail with ENOSYS. Some functions are actually named
40783 something starting with __ and the normal name is an alias. */
40784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40787 char (*f) () = $ac_func;
40796 return f != $ac_func;
40801 rm -f conftest.$ac_objext conftest$ac_exeext
40802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40803 (eval $ac_link) 2>&5
40805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40806 (exit $ac_status); } &&
40807 { ac_try='test -s conftest$ac_exeext'
40808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40809 (eval $ac_try) 2>&5
40811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40812 (exit $ac_status); }; }; then
40813 eval "$as_ac_var=yes"
40815 echo "$as_me: failed program was:" >&5
40816 sed 's/^/| /' conftest.$ac_ext >&5
40818 eval "$as_ac_var=no"
40820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40824 if test `eval echo '${'$as_ac_var'}'` = yes; then
40825 cat >>confdefs.h <<_ACEOF
40826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40837 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40838 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40839 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40840 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40841 echo $ECHO_N "(cached) $ECHO_C" >&6
40847 ac_cpp='$CXXCPP $CPPFLAGS'
40848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40852 cat >conftest.$ac_ext <<_ACEOF
40853 #line $LINENO "configure"
40856 cat confdefs.h >>conftest.$ac_ext
40857 cat >>conftest.$ac_ext <<_ACEOF
40858 /* end confdefs.h. */
40860 #ifdef HAVE_IEEEFP_H
40861 #include <ieeefp.h>
40872 rm -f conftest.$ac_objext
40873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40874 (eval $ac_compile) 2>&5
40876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40877 (exit $ac_status); } &&
40878 { ac_try='test -s conftest.$ac_objext'
40879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40880 (eval $ac_try) 2>&5
40882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40883 (exit $ac_status); }; }; then
40884 glibcxx_cv_func_sqrtl_use=yes
40886 echo "$as_me: failed program was:" >&5
40887 sed 's/^/| /' conftest.$ac_ext >&5
40889 glibcxx_cv_func_sqrtl_use=no
40891 rm -f conftest.$ac_objext conftest.$ac_ext
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40903 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40905 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40907 for ac_func in sqrtl
40909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40910 echo "$as_me:$LINENO: checking for $ac_func" >&5
40911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40912 if eval "test \"\${$as_ac_var+set}\" = set"; then
40913 echo $ECHO_N "(cached) $ECHO_C" >&6
40915 if test x$gcc_no_link = xyes; then
40916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40918 { (exit 1); exit 1; }; }
40920 cat >conftest.$ac_ext <<_ACEOF
40921 #line $LINENO "configure"
40924 cat confdefs.h >>conftest.$ac_ext
40925 cat >>conftest.$ac_ext <<_ACEOF
40926 /* end confdefs.h. */
40927 /* System header to define __stub macros and hopefully few prototypes,
40928 which can conflict with char $ac_func (); below.
40929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40930 <limits.h> exists even on freestanding compilers. */
40932 # include <limits.h>
40934 # include <assert.h>
40936 /* Override any gcc2 internal prototype to avoid an error. */
40941 /* We use char because int might match the return type of a gcc2
40942 builtin and then its argument prototype would still apply. */
40944 /* The GNU C library defines this for functions which it implements
40945 to always fail with ENOSYS. Some functions are actually named
40946 something starting with __ and the normal name is an alias. */
40947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40950 char (*f) () = $ac_func;
40959 return f != $ac_func;
40964 rm -f conftest.$ac_objext conftest$ac_exeext
40965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40966 (eval $ac_link) 2>&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } &&
40970 { ac_try='test -s conftest$ac_exeext'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; }; then
40976 eval "$as_ac_var=yes"
40978 echo "$as_me: failed program was:" >&5
40979 sed 's/^/| /' conftest.$ac_ext >&5
40981 eval "$as_ac_var=no"
40983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40987 if test `eval echo '${'$as_ac_var'}'` = yes; then
40988 cat >>confdefs.h <<_ACEOF
40989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40997 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
40998 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
40999 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41000 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
41001 echo $ECHO_N "(cached) $ECHO_C" >&6
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41012 cat >conftest.$ac_ext <<_ACEOF
41013 #line $LINENO "configure"
41016 cat confdefs.h >>conftest.$ac_ext
41017 cat >>conftest.$ac_ext <<_ACEOF
41018 /* end confdefs.h. */
41020 #ifdef HAVE_IEEEFP_H
41021 #include <ieeefp.h>
41032 rm -f conftest.$ac_objext
41033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41034 (eval $ac_compile) 2>&5
41036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41037 (exit $ac_status); } &&
41038 { ac_try='test -s conftest.$ac_objext'
41039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41040 (eval $ac_try) 2>&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); }; }; then
41044 glibcxx_cv_func__sqrtl_use=yes
41046 echo "$as_me: failed program was:" >&5
41047 sed 's/^/| /' conftest.$ac_ext >&5
41049 glibcxx_cv_func__sqrtl_use=no
41051 rm -f conftest.$ac_objext conftest.$ac_ext
41053 ac_cpp='$CPP $CPPFLAGS'
41054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
41063 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
41065 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41067 for ac_func in _sqrtl
41069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41070 echo "$as_me:$LINENO: checking for $ac_func" >&5
41071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41072 if eval "test \"\${$as_ac_var+set}\" = set"; then
41073 echo $ECHO_N "(cached) $ECHO_C" >&6
41075 if test x$gcc_no_link = xyes; then
41076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41078 { (exit 1); exit 1; }; }
41080 cat >conftest.$ac_ext <<_ACEOF
41081 #line $LINENO "configure"
41084 cat confdefs.h >>conftest.$ac_ext
41085 cat >>conftest.$ac_ext <<_ACEOF
41086 /* end confdefs.h. */
41087 /* System header to define __stub macros and hopefully few prototypes,
41088 which can conflict with char $ac_func (); below.
41089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41090 <limits.h> exists even on freestanding compilers. */
41092 # include <limits.h>
41094 # include <assert.h>
41096 /* Override any gcc2 internal prototype to avoid an error. */
41101 /* We use char because int might match the return type of a gcc2
41102 builtin and then its argument prototype would still apply. */
41104 /* The GNU C library defines this for functions which it implements
41105 to always fail with ENOSYS. Some functions are actually named
41106 something starting with __ and the normal name is an alias. */
41107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41110 char (*f) () = $ac_func;
41119 return f != $ac_func;
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41126 (eval $ac_link) 2>&5
41128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41129 (exit $ac_status); } &&
41130 { ac_try='test -s conftest$ac_exeext'
41131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41132 (eval $ac_try) 2>&5
41134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41135 (exit $ac_status); }; }; then
41136 eval "$as_ac_var=yes"
41138 echo "$as_me: failed program was:" >&5
41139 sed 's/^/| /' conftest.$ac_ext >&5
41141 eval "$as_ac_var=no"
41143 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41147 if test `eval echo '${'$as_ac_var'}'` = yes; then
41148 cat >>confdefs.h <<_ACEOF
41149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41160 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41161 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41162 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41163 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41164 echo $ECHO_N "(cached) $ECHO_C" >&6
41170 ac_cpp='$CXXCPP $CPPFLAGS'
41171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41175 cat >conftest.$ac_ext <<_ACEOF
41176 #line $LINENO "configure"
41179 cat confdefs.h >>conftest.$ac_ext
41180 cat >>conftest.$ac_ext <<_ACEOF
41181 /* end confdefs.h. */
41191 rm -f conftest.$ac_objext
41192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41193 (eval $ac_compile) 2>&5
41195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41196 (exit $ac_status); } &&
41197 { ac_try='test -s conftest.$ac_objext'
41198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41199 (eval $ac_try) 2>&5
41201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41202 (exit $ac_status); }; }; then
41203 glibcxx_cv_func_sincosl_use=yes
41205 echo "$as_me: failed program was:" >&5
41206 sed 's/^/| /' conftest.$ac_ext >&5
41208 glibcxx_cv_func_sincosl_use=no
41210 rm -f conftest.$ac_objext conftest.$ac_ext
41212 ac_cpp='$CPP $CPPFLAGS'
41213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41222 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41224 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41226 for ac_func in sincosl
41228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41229 echo "$as_me:$LINENO: checking for $ac_func" >&5
41230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41231 if eval "test \"\${$as_ac_var+set}\" = set"; then
41232 echo $ECHO_N "(cached) $ECHO_C" >&6
41234 if test x$gcc_no_link = xyes; then
41235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41237 { (exit 1); exit 1; }; }
41239 cat >conftest.$ac_ext <<_ACEOF
41240 #line $LINENO "configure"
41243 cat confdefs.h >>conftest.$ac_ext
41244 cat >>conftest.$ac_ext <<_ACEOF
41245 /* end confdefs.h. */
41246 /* System header to define __stub macros and hopefully few prototypes,
41247 which can conflict with char $ac_func (); below.
41248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41249 <limits.h> exists even on freestanding compilers. */
41251 # include <limits.h>
41253 # include <assert.h>
41255 /* Override any gcc2 internal prototype to avoid an error. */
41260 /* We use char because int might match the return type of a gcc2
41261 builtin and then its argument prototype would still apply. */
41263 /* The GNU C library defines this for functions which it implements
41264 to always fail with ENOSYS. Some functions are actually named
41265 something starting with __ and the normal name is an alias. */
41266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41269 char (*f) () = $ac_func;
41278 return f != $ac_func;
41283 rm -f conftest.$ac_objext conftest$ac_exeext
41284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41285 (eval $ac_link) 2>&5
41287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41288 (exit $ac_status); } &&
41289 { ac_try='test -s conftest$ac_exeext'
41290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41291 (eval $ac_try) 2>&5
41293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294 (exit $ac_status); }; }; then
41295 eval "$as_ac_var=yes"
41297 echo "$as_me: failed program was:" >&5
41298 sed 's/^/| /' conftest.$ac_ext >&5
41300 eval "$as_ac_var=no"
41302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41306 if test `eval echo '${'$as_ac_var'}'` = yes; then
41307 cat >>confdefs.h <<_ACEOF
41308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41316 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41317 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41318 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41319 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41320 echo $ECHO_N "(cached) $ECHO_C" >&6
41326 ac_cpp='$CXXCPP $CPPFLAGS'
41327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41331 cat >conftest.$ac_ext <<_ACEOF
41332 #line $LINENO "configure"
41335 cat confdefs.h >>conftest.$ac_ext
41336 cat >>conftest.$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41347 rm -f conftest.$ac_objext
41348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41349 (eval $ac_compile) 2>&5
41351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41352 (exit $ac_status); } &&
41353 { ac_try='test -s conftest.$ac_objext'
41354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41355 (eval $ac_try) 2>&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); }; }; then
41359 glibcxx_cv_func__sincosl_use=yes
41361 echo "$as_me: failed program was:" >&5
41362 sed 's/^/| /' conftest.$ac_ext >&5
41364 glibcxx_cv_func__sincosl_use=no
41366 rm -f conftest.$ac_objext conftest.$ac_ext
41368 ac_cpp='$CPP $CPPFLAGS'
41369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41378 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41380 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41382 for ac_func in _sincosl
41384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41385 echo "$as_me:$LINENO: checking for $ac_func" >&5
41386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41387 if eval "test \"\${$as_ac_var+set}\" = set"; then
41388 echo $ECHO_N "(cached) $ECHO_C" >&6
41390 if test x$gcc_no_link = xyes; then
41391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41393 { (exit 1); exit 1; }; }
41395 cat >conftest.$ac_ext <<_ACEOF
41396 #line $LINENO "configure"
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h. */
41402 /* System header to define __stub macros and hopefully few prototypes,
41403 which can conflict with char $ac_func (); below.
41404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41405 <limits.h> exists even on freestanding compilers. */
41407 # include <limits.h>
41409 # include <assert.h>
41411 /* Override any gcc2 internal prototype to avoid an error. */
41416 /* We use char because int might match the return type of a gcc2
41417 builtin and then its argument prototype would still apply. */
41419 /* The GNU C library defines this for functions which it implements
41420 to always fail with ENOSYS. Some functions are actually named
41421 something starting with __ and the normal name is an alias. */
41422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41425 char (*f) () = $ac_func;
41434 return f != $ac_func;
41439 rm -f conftest.$ac_objext conftest$ac_exeext
41440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41441 (eval $ac_link) 2>&5
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); } &&
41445 { ac_try='test -s conftest$ac_exeext'
41446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41447 (eval $ac_try) 2>&5
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); }; }; then
41451 eval "$as_ac_var=yes"
41453 echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41456 eval "$as_ac_var=no"
41458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41462 if test `eval echo '${'$as_ac_var'}'` = yes; then
41463 cat >>confdefs.h <<_ACEOF
41464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41475 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41476 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41477 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41478 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41479 echo $ECHO_N "(cached) $ECHO_C" >&6
41485 ac_cpp='$CXXCPP $CPPFLAGS'
41486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41490 cat >conftest.$ac_ext <<_ACEOF
41491 #line $LINENO "configure"
41494 cat confdefs.h >>conftest.$ac_ext
41495 cat >>conftest.$ac_ext <<_ACEOF
41496 /* end confdefs.h. */
41498 #ifdef HAVE_IEEEFP_H
41499 #include <ieeefp.h>
41510 rm -f conftest.$ac_objext
41511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41512 (eval $ac_compile) 2>&5
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); } &&
41516 { ac_try='test -s conftest.$ac_objext'
41517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41518 (eval $ac_try) 2>&5
41520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41521 (exit $ac_status); }; }; then
41522 glibcxx_cv_func_finitel_use=yes
41524 echo "$as_me: failed program was:" >&5
41525 sed 's/^/| /' conftest.$ac_ext >&5
41527 glibcxx_cv_func_finitel_use=no
41529 rm -f conftest.$ac_objext conftest.$ac_ext
41531 ac_cpp='$CPP $CPPFLAGS'
41532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41541 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41543 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41545 for ac_func in finitel
41547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41548 echo "$as_me:$LINENO: checking for $ac_func" >&5
41549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41550 if eval "test \"\${$as_ac_var+set}\" = set"; then
41551 echo $ECHO_N "(cached) $ECHO_C" >&6
41553 if test x$gcc_no_link = xyes; then
41554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41556 { (exit 1); exit 1; }; }
41558 cat >conftest.$ac_ext <<_ACEOF
41559 #line $LINENO "configure"
41562 cat confdefs.h >>conftest.$ac_ext
41563 cat >>conftest.$ac_ext <<_ACEOF
41564 /* end confdefs.h. */
41565 /* System header to define __stub macros and hopefully few prototypes,
41566 which can conflict with char $ac_func (); below.
41567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41568 <limits.h> exists even on freestanding compilers. */
41570 # include <limits.h>
41572 # include <assert.h>
41574 /* Override any gcc2 internal prototype to avoid an error. */
41579 /* We use char because int might match the return type of a gcc2
41580 builtin and then its argument prototype would still apply. */
41582 /* The GNU C library defines this for functions which it implements
41583 to always fail with ENOSYS. Some functions are actually named
41584 something starting with __ and the normal name is an alias. */
41585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41588 char (*f) () = $ac_func;
41597 return f != $ac_func;
41602 rm -f conftest.$ac_objext conftest$ac_exeext
41603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41604 (eval $ac_link) 2>&5
41606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607 (exit $ac_status); } &&
41608 { ac_try='test -s conftest$ac_exeext'
41609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41610 (eval $ac_try) 2>&5
41612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41613 (exit $ac_status); }; }; then
41614 eval "$as_ac_var=yes"
41616 echo "$as_me: failed program was:" >&5
41617 sed 's/^/| /' conftest.$ac_ext >&5
41619 eval "$as_ac_var=no"
41621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41625 if test `eval echo '${'$as_ac_var'}'` = yes; then
41626 cat >>confdefs.h <<_ACEOF
41627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41635 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
41636 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
41637 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41638 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
41639 echo $ECHO_N "(cached) $ECHO_C" >&6
41645 ac_cpp='$CXXCPP $CPPFLAGS'
41646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41650 cat >conftest.$ac_ext <<_ACEOF
41651 #line $LINENO "configure"
41654 cat confdefs.h >>conftest.$ac_ext
41655 cat >>conftest.$ac_ext <<_ACEOF
41656 /* end confdefs.h. */
41658 #ifdef HAVE_IEEEFP_H
41659 #include <ieeefp.h>
41670 rm -f conftest.$ac_objext
41671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41672 (eval $ac_compile) 2>&5
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); } &&
41676 { ac_try='test -s conftest.$ac_objext'
41677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678 (eval $ac_try) 2>&5
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); }; }; then
41682 glibcxx_cv_func__finitel_use=yes
41684 echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41687 glibcxx_cv_func__finitel_use=no
41689 rm -f conftest.$ac_objext conftest.$ac_ext
41691 ac_cpp='$CPP $CPPFLAGS'
41692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
41701 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
41703 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41705 for ac_func in _finitel
41707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41708 echo "$as_me:$LINENO: checking for $ac_func" >&5
41709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41710 if eval "test \"\${$as_ac_var+set}\" = set"; then
41711 echo $ECHO_N "(cached) $ECHO_C" >&6
41713 if test x$gcc_no_link = xyes; then
41714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41716 { (exit 1); exit 1; }; }
41718 cat >conftest.$ac_ext <<_ACEOF
41719 #line $LINENO "configure"
41722 cat confdefs.h >>conftest.$ac_ext
41723 cat >>conftest.$ac_ext <<_ACEOF
41724 /* end confdefs.h. */
41725 /* System header to define __stub macros and hopefully few prototypes,
41726 which can conflict with char $ac_func (); below.
41727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41728 <limits.h> exists even on freestanding compilers. */
41730 # include <limits.h>
41732 # include <assert.h>
41734 /* Override any gcc2 internal prototype to avoid an error. */
41739 /* We use char because int might match the return type of a gcc2
41740 builtin and then its argument prototype would still apply. */
41742 /* The GNU C library defines this for functions which it implements
41743 to always fail with ENOSYS. Some functions are actually named
41744 something starting with __ and the normal name is an alias. */
41745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41748 char (*f) () = $ac_func;
41757 return f != $ac_func;
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41764 (eval $ac_link) 2>&5
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); } &&
41768 { ac_try='test -s conftest$ac_exeext'
41769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41770 (eval $ac_try) 2>&5
41772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41773 (exit $ac_status); }; }; then
41774 eval "$as_ac_var=yes"
41776 echo "$as_me: failed program was:" >&5
41777 sed 's/^/| /' conftest.$ac_ext >&5
41779 eval "$as_ac_var=no"
41781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41785 if test `eval echo '${'$as_ac_var'}'` = yes; then
41786 cat >>confdefs.h <<_ACEOF
41787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41799 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41800 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41801 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41802 echo $ECHO_N "(cached) $ECHO_C" >&6
41808 ac_cpp='$CXXCPP $CPPFLAGS'
41809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41813 cat >conftest.$ac_ext <<_ACEOF
41814 #line $LINENO "configure"
41817 cat confdefs.h >>conftest.$ac_ext
41818 cat >>conftest.$ac_ext <<_ACEOF
41819 /* end confdefs.h. */
41824 `for x in _acosf _asinf _atanf \
41825 _cosf _sinf _tanf \
41826 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41831 rm -f conftest.$ac_objext
41832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41833 (eval $ac_compile) 2>&5
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); } &&
41837 { ac_try='test -s conftest.$ac_objext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 glibcxx_cv_func__float_trig_use=yes
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41848 glibcxx_cv_func__float_trig_use=no
41850 rm -f conftest.$ac_objext conftest.$ac_ext
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41859 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41860 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41861 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41871 for ac_func in _acosf _asinf _atanf \
41872 _cosf _sinf _tanf \
41873 _coshf _sinhf _tanhf
41875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41876 echo "$as_me:$LINENO: checking for $ac_func" >&5
41877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41878 if eval "test \"\${$as_ac_var+set}\" = set"; then
41879 echo $ECHO_N "(cached) $ECHO_C" >&6
41881 if test x$gcc_no_link = xyes; then
41882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41884 { (exit 1); exit 1; }; }
41886 cat >conftest.$ac_ext <<_ACEOF
41887 #line $LINENO "configure"
41890 cat confdefs.h >>conftest.$ac_ext
41891 cat >>conftest.$ac_ext <<_ACEOF
41892 /* end confdefs.h. */
41893 /* System header to define __stub macros and hopefully few prototypes,
41894 which can conflict with char $ac_func (); below.
41895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41896 <limits.h> exists even on freestanding compilers. */
41898 # include <limits.h>
41900 # include <assert.h>
41902 /* Override any gcc2 internal prototype to avoid an error. */
41907 /* We use char because int might match the return type of a gcc2
41908 builtin and then its argument prototype would still apply. */
41910 /* The GNU C library defines this for functions which it implements
41911 to always fail with ENOSYS. Some functions are actually named
41912 something starting with __ and the normal name is an alias. */
41913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41916 char (*f) () = $ac_func;
41925 return f != $ac_func;
41930 rm -f conftest.$ac_objext conftest$ac_exeext
41931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41932 (eval $ac_link) 2>&5
41934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935 (exit $ac_status); } &&
41936 { ac_try='test -s conftest$ac_exeext'
41937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41938 (eval $ac_try) 2>&5
41940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41941 (exit $ac_status); }; }; then
41942 eval "$as_ac_var=yes"
41944 echo "$as_me: failed program was:" >&5
41945 sed 's/^/| /' conftest.$ac_ext >&5
41947 eval "$as_ac_var=no"
41949 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41953 if test `eval echo '${'$as_ac_var'}'` = yes; then
41954 cat >>confdefs.h <<_ACEOF
41955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41964 echo "$as_me:$LINENO: checking for _float round functions" >&5
41965 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41966 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41967 echo $ECHO_N "(cached) $ECHO_C" >&6
41973 ac_cpp='$CXXCPP $CPPFLAGS'
41974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41978 cat >conftest.$ac_ext <<_ACEOF
41979 #line $LINENO "configure"
41982 cat confdefs.h >>conftest.$ac_ext
41983 cat >>conftest.$ac_ext <<_ACEOF
41984 /* end confdefs.h. */
41989 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41994 rm -f conftest.$ac_objext
41995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41996 (eval $ac_compile) 2>&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); } &&
42000 { ac_try='test -s conftest.$ac_objext'
42001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002 (eval $ac_try) 2>&5
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); }; }; then
42006 glibcxx_cv_func__float_round_use=yes
42008 echo "$as_me: failed program was:" >&5
42009 sed 's/^/| /' conftest.$ac_ext >&5
42011 glibcxx_cv_func__float_round_use=no
42013 rm -f conftest.$ac_objext conftest.$ac_ext
42015 ac_cpp='$CPP $CPPFLAGS'
42016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
42023 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
42024 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42027 for ac_func in _ceilf _floorf
42029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42030 echo "$as_me:$LINENO: checking for $ac_func" >&5
42031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42032 if eval "test \"\${$as_ac_var+set}\" = set"; then
42033 echo $ECHO_N "(cached) $ECHO_C" >&6
42035 if test x$gcc_no_link = xyes; then
42036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42038 { (exit 1); exit 1; }; }
42040 cat >conftest.$ac_ext <<_ACEOF
42041 #line $LINENO "configure"
42044 cat confdefs.h >>conftest.$ac_ext
42045 cat >>conftest.$ac_ext <<_ACEOF
42046 /* end confdefs.h. */
42047 /* System header to define __stub macros and hopefully few prototypes,
42048 which can conflict with char $ac_func (); below.
42049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42050 <limits.h> exists even on freestanding compilers. */
42052 # include <limits.h>
42054 # include <assert.h>
42056 /* Override any gcc2 internal prototype to avoid an error. */
42061 /* We use char because int might match the return type of a gcc2
42062 builtin and then its argument prototype would still apply. */
42064 /* The GNU C library defines this for functions which it implements
42065 to always fail with ENOSYS. Some functions are actually named
42066 something starting with __ and the normal name is an alias. */
42067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42070 char (*f) () = $ac_func;
42079 return f != $ac_func;
42084 rm -f conftest.$ac_objext conftest$ac_exeext
42085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42086 (eval $ac_link) 2>&5
42088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42089 (exit $ac_status); } &&
42090 { ac_try='test -s conftest$ac_exeext'
42091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42092 (eval $ac_try) 2>&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); }; }; then
42096 eval "$as_ac_var=yes"
42098 echo "$as_me: failed program was:" >&5
42099 sed 's/^/| /' conftest.$ac_ext >&5
42101 eval "$as_ac_var=no"
42103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42107 if test `eval echo '${'$as_ac_var'}'` = yes; then
42108 cat >>confdefs.h <<_ACEOF
42109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42119 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
42120 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
42121 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
42122 echo $ECHO_N "(cached) $ECHO_C" >&6
42128 ac_cpp='$CXXCPP $CPPFLAGS'
42129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42133 cat >conftest.$ac_ext <<_ACEOF
42134 #line $LINENO "configure"
42137 cat confdefs.h >>conftest.$ac_ext
42138 cat >>conftest.$ac_ext <<_ACEOF
42139 /* end confdefs.h. */
42144 `for x in _acosl _asinl _atanl \
42145 _cosl _sinl _tanl \
42146 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
42151 rm -f conftest.$ac_objext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42153 (eval $ac_compile) 2>&5
42155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42156 (exit $ac_status); } &&
42157 { ac_try='test -s conftest.$ac_objext'
42158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42159 (eval $ac_try) 2>&5
42161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42162 (exit $ac_status); }; }; then
42163 glibcxx_cv_func__long_double_trig_use=yes
42165 echo "$as_me: failed program was:" >&5
42166 sed 's/^/| /' conftest.$ac_ext >&5
42168 glibcxx_cv_func__long_double_trig_use=no
42170 rm -f conftest.$ac_objext conftest.$ac_ext
42172 ac_cpp='$CPP $CPPFLAGS'
42173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42180 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42181 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42191 for ac_func in _acosl _asinl _atanl \
42192 _cosl _sinl _tanl \
42193 _coshl _sinhl _tanhl
42195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42196 echo "$as_me:$LINENO: checking for $ac_func" >&5
42197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42198 if eval "test \"\${$as_ac_var+set}\" = set"; then
42199 echo $ECHO_N "(cached) $ECHO_C" >&6
42201 if test x$gcc_no_link = xyes; then
42202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42204 { (exit 1); exit 1; }; }
42206 cat >conftest.$ac_ext <<_ACEOF
42207 #line $LINENO "configure"
42210 cat confdefs.h >>conftest.$ac_ext
42211 cat >>conftest.$ac_ext <<_ACEOF
42212 /* end confdefs.h. */
42213 /* System header to define __stub macros and hopefully few prototypes,
42214 which can conflict with char $ac_func (); below.
42215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42216 <limits.h> exists even on freestanding compilers. */
42218 # include <limits.h>
42220 # include <assert.h>
42222 /* Override any gcc2 internal prototype to avoid an error. */
42227 /* We use char because int might match the return type of a gcc2
42228 builtin and then its argument prototype would still apply. */
42230 /* The GNU C library defines this for functions which it implements
42231 to always fail with ENOSYS. Some functions are actually named
42232 something starting with __ and the normal name is an alias. */
42233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42236 char (*f) () = $ac_func;
42245 return f != $ac_func;
42250 rm -f conftest.$ac_objext conftest$ac_exeext
42251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42252 (eval $ac_link) 2>&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); } &&
42256 { ac_try='test -s conftest$ac_exeext'
42257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258 (eval $ac_try) 2>&5
42260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261 (exit $ac_status); }; }; then
42262 eval "$as_ac_var=yes"
42264 echo "$as_me: failed program was:" >&5
42265 sed 's/^/| /' conftest.$ac_ext >&5
42267 eval "$as_ac_var=no"
42269 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42273 if test `eval echo '${'$as_ac_var'}'` = yes; then
42274 cat >>confdefs.h <<_ACEOF
42275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42284 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42285 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42286 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42287 echo $ECHO_N "(cached) $ECHO_C" >&6
42293 ac_cpp='$CXXCPP $CPPFLAGS'
42294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42298 cat >conftest.$ac_ext <<_ACEOF
42299 #line $LINENO "configure"
42302 cat confdefs.h >>conftest.$ac_ext
42303 cat >>conftest.$ac_ext <<_ACEOF
42304 /* end confdefs.h. */
42309 `for x in _ceill _floorl; do echo "$x (0);"; done`
42314 rm -f conftest.$ac_objext
42315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42316 (eval $ac_compile) 2>&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -s conftest.$ac_objext'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; }; then
42326 glibcxx_cv_func__long_double_round_use=yes
42328 echo "$as_me: failed program was:" >&5
42329 sed 's/^/| /' conftest.$ac_ext >&5
42331 glibcxx_cv_func__long_double_round_use=no
42333 rm -f conftest.$ac_objext conftest.$ac_ext
42335 ac_cpp='$CPP $CPPFLAGS'
42336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42342 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42343 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42344 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42347 for ac_func in _ceill _floorl
42349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42350 echo "$as_me:$LINENO: checking for $ac_func" >&5
42351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42352 if eval "test \"\${$as_ac_var+set}\" = set"; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42355 if test x$gcc_no_link = xyes; then
42356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42358 { (exit 1); exit 1; }; }
42360 cat >conftest.$ac_ext <<_ACEOF
42361 #line $LINENO "configure"
42364 cat confdefs.h >>conftest.$ac_ext
42365 cat >>conftest.$ac_ext <<_ACEOF
42366 /* end confdefs.h. */
42367 /* System header to define __stub macros and hopefully few prototypes,
42368 which can conflict with char $ac_func (); below.
42369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42370 <limits.h> exists even on freestanding compilers. */
42372 # include <limits.h>
42374 # include <assert.h>
42376 /* Override any gcc2 internal prototype to avoid an error. */
42381 /* We use char because int might match the return type of a gcc2
42382 builtin and then its argument prototype would still apply. */
42384 /* The GNU C library defines this for functions which it implements
42385 to always fail with ENOSYS. Some functions are actually named
42386 something starting with __ and the normal name is an alias. */
42387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42390 char (*f) () = $ac_func;
42399 return f != $ac_func;
42404 rm -f conftest.$ac_objext conftest$ac_exeext
42405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42406 (eval $ac_link) 2>&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); } &&
42410 { ac_try='test -s conftest$ac_exeext'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; }; then
42416 eval "$as_ac_var=yes"
42418 echo "$as_me: failed program was:" >&5
42419 sed 's/^/| /' conftest.$ac_ext >&5
42421 eval "$as_ac_var=no"
42423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42427 if test `eval echo '${'$as_ac_var'}'` = yes; then
42428 cat >>confdefs.h <<_ACEOF
42429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42438 LIBS="$ac_save_LIBS"
42439 CXXFLAGS="$ac_save_CXXFLAGS"
42443 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42444 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42445 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42446 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42453 ac_cpp='$CXXCPP $CPPFLAGS'
42454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42458 cat >conftest.$ac_ext <<_ACEOF
42459 #line $LINENO "configure"
42462 cat confdefs.h >>conftest.$ac_ext
42463 cat >>conftest.$ac_ext <<_ACEOF
42464 /* end confdefs.h. */
42474 rm -f conftest.$ac_objext
42475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42476 (eval $ac_compile) 2>&5
42478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42479 (exit $ac_status); } &&
42480 { ac_try='test -s conftest.$ac_objext'
42481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42482 (eval $ac_try) 2>&5
42484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42485 (exit $ac_status); }; }; then
42486 glibcxx_cv_func___builtin_abs_use=yes
42488 echo "$as_me: failed program was:" >&5
42489 sed 's/^/| /' conftest.$ac_ext >&5
42491 glibcxx_cv_func___builtin_abs_use=no
42493 rm -f conftest.$ac_objext conftest.$ac_ext
42495 ac_cpp='$CPP $CPPFLAGS'
42496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42505 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42506 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42507 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42508 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42509 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42510 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42511 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 if test x$gcc_no_link = xyes; then
42515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42517 { (exit 1); exit 1; }; }
42519 cat >conftest.$ac_ext <<_ACEOF
42520 #line $LINENO "configure"
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42535 rm -f conftest.$ac_objext conftest$ac_exeext
42536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42537 (eval $ac_link) 2>&5
42539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540 (exit $ac_status); } &&
42541 { ac_try='test -s conftest$ac_exeext'
42542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42543 (eval $ac_try) 2>&5
42545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42546 (exit $ac_status); }; }; then
42547 glibcxx_cv_func___builtin_abs_link=yes
42549 echo "$as_me: failed program was:" >&5
42550 sed 's/^/| /' conftest.$ac_ext >&5
42552 glibcxx_cv_func___builtin_abs_link=no
42554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42559 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42560 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42561 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42562 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42563 cat >>confdefs.h <<_ACEOF
42564 #define ${ac_tr_func} 1
42571 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42572 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42573 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42574 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42575 echo $ECHO_N "(cached) $ECHO_C" >&6
42581 ac_cpp='$CXXCPP $CPPFLAGS'
42582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42586 cat >conftest.$ac_ext <<_ACEOF
42587 #line $LINENO "configure"
42590 cat confdefs.h >>conftest.$ac_ext
42591 cat >>conftest.$ac_ext <<_ACEOF
42592 /* end confdefs.h. */
42597 __builtin_fabsf(0);
42602 rm -f conftest.$ac_objext
42603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42604 (eval $ac_compile) 2>&5
42606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42607 (exit $ac_status); } &&
42608 { ac_try='test -s conftest.$ac_objext'
42609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42610 (eval $ac_try) 2>&5
42612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42613 (exit $ac_status); }; }; then
42614 glibcxx_cv_func___builtin_fabsf_use=yes
42616 echo "$as_me: failed program was:" >&5
42617 sed 's/^/| /' conftest.$ac_ext >&5
42619 glibcxx_cv_func___builtin_fabsf_use=no
42621 rm -f conftest.$ac_objext conftest.$ac_ext
42623 ac_cpp='$CPP $CPPFLAGS'
42624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42633 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42634 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42635 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42636 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42637 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42638 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42642 if test x$gcc_no_link = xyes; then
42643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42645 { (exit 1); exit 1; }; }
42647 cat >conftest.$ac_ext <<_ACEOF
42648 #line $LINENO "configure"
42651 cat confdefs.h >>conftest.$ac_ext
42652 cat >>conftest.$ac_ext <<_ACEOF
42653 /* end confdefs.h. */
42658 __builtin_fabsf(0);
42663 rm -f conftest.$ac_objext conftest$ac_exeext
42664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42665 (eval $ac_link) 2>&5
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); } &&
42669 { ac_try='test -s conftest$ac_exeext'
42670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42671 (eval $ac_try) 2>&5
42673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42674 (exit $ac_status); }; }; then
42675 glibcxx_cv_func___builtin_fabsf_link=yes
42677 echo "$as_me: failed program was:" >&5
42678 sed 's/^/| /' conftest.$ac_ext >&5
42680 glibcxx_cv_func___builtin_fabsf_link=no
42682 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42687 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42688 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42689 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42690 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42691 cat >>confdefs.h <<_ACEOF
42692 #define ${ac_tr_func} 1
42699 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42700 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42701 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42702 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42703 echo $ECHO_N "(cached) $ECHO_C" >&6
42709 ac_cpp='$CXXCPP $CPPFLAGS'
42710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42714 cat >conftest.$ac_ext <<_ACEOF
42715 #line $LINENO "configure"
42718 cat confdefs.h >>conftest.$ac_ext
42719 cat >>conftest.$ac_ext <<_ACEOF
42720 /* end confdefs.h. */
42730 rm -f conftest.$ac_objext
42731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42732 (eval $ac_compile) 2>&5
42734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42735 (exit $ac_status); } &&
42736 { ac_try='test -s conftest.$ac_objext'
42737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42738 (eval $ac_try) 2>&5
42740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42741 (exit $ac_status); }; }; then
42742 glibcxx_cv_func___builtin_fabs_use=yes
42744 echo "$as_me: failed program was:" >&5
42745 sed 's/^/| /' conftest.$ac_ext >&5
42747 glibcxx_cv_func___builtin_fabs_use=no
42749 rm -f conftest.$ac_objext conftest.$ac_ext
42751 ac_cpp='$CPP $CPPFLAGS'
42752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42761 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42762 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42763 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42764 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42765 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42766 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42767 echo $ECHO_N "(cached) $ECHO_C" >&6
42770 if test x$gcc_no_link = xyes; then
42771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42773 { (exit 1); exit 1; }; }
42775 cat >conftest.$ac_ext <<_ACEOF
42776 #line $LINENO "configure"
42779 cat confdefs.h >>conftest.$ac_ext
42780 cat >>conftest.$ac_ext <<_ACEOF
42781 /* end confdefs.h. */
42791 rm -f conftest.$ac_objext conftest$ac_exeext
42792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42793 (eval $ac_link) 2>&5
42795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42796 (exit $ac_status); } &&
42797 { ac_try='test -s conftest$ac_exeext'
42798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42799 (eval $ac_try) 2>&5
42801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42802 (exit $ac_status); }; }; then
42803 glibcxx_cv_func___builtin_fabs_link=yes
42805 echo "$as_me: failed program was:" >&5
42806 sed 's/^/| /' conftest.$ac_ext >&5
42808 glibcxx_cv_func___builtin_fabs_link=no
42810 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42816 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42817 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42818 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42819 cat >>confdefs.h <<_ACEOF
42820 #define ${ac_tr_func} 1
42827 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42828 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42829 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42830 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42831 echo $ECHO_N "(cached) $ECHO_C" >&6
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42842 cat >conftest.$ac_ext <<_ACEOF
42843 #line $LINENO "configure"
42846 cat confdefs.h >>conftest.$ac_ext
42847 cat >>conftest.$ac_ext <<_ACEOF
42848 /* end confdefs.h. */
42853 __builtin_fabsl(0);
42858 rm -f conftest.$ac_objext
42859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42860 (eval $ac_compile) 2>&5
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); } &&
42864 { ac_try='test -s conftest.$ac_objext'
42865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42866 (eval $ac_try) 2>&5
42868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42869 (exit $ac_status); }; }; then
42870 glibcxx_cv_func___builtin_fabsl_use=yes
42872 echo "$as_me: failed program was:" >&5
42873 sed 's/^/| /' conftest.$ac_ext >&5
42875 glibcxx_cv_func___builtin_fabsl_use=no
42877 rm -f conftest.$ac_objext conftest.$ac_ext
42879 ac_cpp='$CPP $CPPFLAGS'
42880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42889 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42890 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42891 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42892 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42893 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42894 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42895 echo $ECHO_N "(cached) $ECHO_C" >&6
42898 if test x$gcc_no_link = xyes; then
42899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42901 { (exit 1); exit 1; }; }
42903 cat >conftest.$ac_ext <<_ACEOF
42904 #line $LINENO "configure"
42907 cat confdefs.h >>conftest.$ac_ext
42908 cat >>conftest.$ac_ext <<_ACEOF
42909 /* end confdefs.h. */
42914 __builtin_fabsl(0);
42919 rm -f conftest.$ac_objext conftest$ac_exeext
42920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42921 (eval $ac_link) 2>&5
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); } &&
42925 { ac_try='test -s conftest$ac_exeext'
42926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42927 (eval $ac_try) 2>&5
42929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42930 (exit $ac_status); }; }; then
42931 glibcxx_cv_func___builtin_fabsl_link=yes
42933 echo "$as_me: failed program was:" >&5
42934 sed 's/^/| /' conftest.$ac_ext >&5
42936 glibcxx_cv_func___builtin_fabsl_link=no
42938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42943 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42944 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42945 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42946 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42947 cat >>confdefs.h <<_ACEOF
42948 #define ${ac_tr_func} 1
42955 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42956 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42957 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42958 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42959 echo $ECHO_N "(cached) $ECHO_C" >&6
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42970 cat >conftest.$ac_ext <<_ACEOF
42971 #line $LINENO "configure"
42974 cat confdefs.h >>conftest.$ac_ext
42975 cat >>conftest.$ac_ext <<_ACEOF
42976 /* end confdefs.h. */
42986 rm -f conftest.$ac_objext
42987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42988 (eval $ac_compile) 2>&5
42990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42991 (exit $ac_status); } &&
42992 { ac_try='test -s conftest.$ac_objext'
42993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42994 (eval $ac_try) 2>&5
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; }; then
42998 glibcxx_cv_func___builtin_labs_use=yes
43000 echo "$as_me: failed program was:" >&5
43001 sed 's/^/| /' conftest.$ac_ext >&5
43003 glibcxx_cv_func___builtin_labs_use=no
43005 rm -f conftest.$ac_objext conftest.$ac_ext
43007 ac_cpp='$CPP $CPPFLAGS'
43008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43016 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
43017 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
43018 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
43019 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
43020 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
43021 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
43022 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
43023 echo $ECHO_N "(cached) $ECHO_C" >&6
43026 if test x$gcc_no_link = xyes; then
43027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43029 { (exit 1); exit 1; }; }
43031 cat >conftest.$ac_ext <<_ACEOF
43032 #line $LINENO "configure"
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43047 rm -f conftest.$ac_objext conftest$ac_exeext
43048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43049 (eval $ac_link) 2>&5
43051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43052 (exit $ac_status); } &&
43053 { ac_try='test -s conftest$ac_exeext'
43054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43055 (eval $ac_try) 2>&5
43057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43058 (exit $ac_status); }; }; then
43059 glibcxx_cv_func___builtin_labs_link=yes
43061 echo "$as_me: failed program was:" >&5
43062 sed 's/^/| /' conftest.$ac_ext >&5
43064 glibcxx_cv_func___builtin_labs_link=no
43066 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43071 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
43072 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
43073 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
43074 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43075 cat >>confdefs.h <<_ACEOF
43076 #define ${ac_tr_func} 1
43084 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
43085 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
43086 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
43087 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
43088 echo $ECHO_N "(cached) $ECHO_C" >&6
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43099 cat >conftest.$ac_ext <<_ACEOF
43100 #line $LINENO "configure"
43103 cat confdefs.h >>conftest.$ac_ext
43104 cat >>conftest.$ac_ext <<_ACEOF
43105 /* end confdefs.h. */
43110 __builtin_sqrtf(0);
43115 rm -f conftest.$ac_objext
43116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43117 (eval $ac_compile) 2>&5
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); } &&
43121 { ac_try='test -s conftest.$ac_objext'
43122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43123 (eval $ac_try) 2>&5
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); }; }; then
43127 glibcxx_cv_func___builtin_sqrtf_use=yes
43129 echo "$as_me: failed program was:" >&5
43130 sed 's/^/| /' conftest.$ac_ext >&5
43132 glibcxx_cv_func___builtin_sqrtf_use=no
43134 rm -f conftest.$ac_objext conftest.$ac_ext
43136 ac_cpp='$CPP $CPPFLAGS'
43137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
43146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
43147 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
43148 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
43149 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
43150 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
43151 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
43152 echo $ECHO_N "(cached) $ECHO_C" >&6
43155 if test x$gcc_no_link = xyes; then
43156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43158 { (exit 1); exit 1; }; }
43160 cat >conftest.$ac_ext <<_ACEOF
43161 #line $LINENO "configure"
43164 cat confdefs.h >>conftest.$ac_ext
43165 cat >>conftest.$ac_ext <<_ACEOF
43166 /* end confdefs.h. */
43171 __builtin_sqrtf(0);
43176 rm -f conftest.$ac_objext conftest$ac_exeext
43177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43178 (eval $ac_link) 2>&5
43180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43181 (exit $ac_status); } &&
43182 { ac_try='test -s conftest$ac_exeext'
43183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43184 (eval $ac_try) 2>&5
43186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43187 (exit $ac_status); }; }; then
43188 glibcxx_cv_func___builtin_sqrtf_link=yes
43190 echo "$as_me: failed program was:" >&5
43191 sed 's/^/| /' conftest.$ac_ext >&5
43193 glibcxx_cv_func___builtin_sqrtf_link=no
43195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43200 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43201 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43202 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43203 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43204 cat >>confdefs.h <<_ACEOF
43205 #define ${ac_tr_func} 1
43212 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43213 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43214 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43215 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43216 echo $ECHO_N "(cached) $ECHO_C" >&6
43222 ac_cpp='$CXXCPP $CPPFLAGS'
43223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43227 cat >conftest.$ac_ext <<_ACEOF
43228 #line $LINENO "configure"
43231 cat confdefs.h >>conftest.$ac_ext
43232 cat >>conftest.$ac_ext <<_ACEOF
43233 /* end confdefs.h. */
43243 rm -f conftest.$ac_objext
43244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43245 (eval $ac_compile) 2>&5
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); } &&
43249 { ac_try='test -s conftest.$ac_objext'
43250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251 (eval $ac_try) 2>&5
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); }; }; then
43255 glibcxx_cv_func___builtin_sqrt_use=yes
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43260 glibcxx_cv_func___builtin_sqrt_use=no
43262 rm -f conftest.$ac_objext conftest.$ac_ext
43264 ac_cpp='$CPP $CPPFLAGS'
43265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43275 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43276 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43277 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43278 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43279 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43280 echo $ECHO_N "(cached) $ECHO_C" >&6
43283 if test x$gcc_no_link = xyes; then
43284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43286 { (exit 1); exit 1; }; }
43288 cat >conftest.$ac_ext <<_ACEOF
43289 #line $LINENO "configure"
43292 cat confdefs.h >>conftest.$ac_ext
43293 cat >>conftest.$ac_ext <<_ACEOF
43294 /* end confdefs.h. */
43304 rm -f conftest.$ac_objext conftest$ac_exeext
43305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43306 (eval $ac_link) 2>&5
43308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43309 (exit $ac_status); } &&
43310 { ac_try='test -s conftest$ac_exeext'
43311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43312 (eval $ac_try) 2>&5
43314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43315 (exit $ac_status); }; }; then
43316 glibcxx_cv_func___builtin_sqrt_link=yes
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.$ac_ext >&5
43321 glibcxx_cv_func___builtin_sqrt_link=no
43323 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43329 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43330 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43331 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43332 cat >>confdefs.h <<_ACEOF
43333 #define ${ac_tr_func} 1
43340 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43341 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43342 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43343 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43344 echo $ECHO_N "(cached) $ECHO_C" >&6
43350 ac_cpp='$CXXCPP $CPPFLAGS'
43351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43355 cat >conftest.$ac_ext <<_ACEOF
43356 #line $LINENO "configure"
43359 cat confdefs.h >>conftest.$ac_ext
43360 cat >>conftest.$ac_ext <<_ACEOF
43361 /* end confdefs.h. */
43366 __builtin_sqrtl(0);
43371 rm -f conftest.$ac_objext
43372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43373 (eval $ac_compile) 2>&5
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); } &&
43377 { ac_try='test -s conftest.$ac_objext'
43378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43379 (eval $ac_try) 2>&5
43381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43382 (exit $ac_status); }; }; then
43383 glibcxx_cv_func___builtin_sqrtl_use=yes
43385 echo "$as_me: failed program was:" >&5
43386 sed 's/^/| /' conftest.$ac_ext >&5
43388 glibcxx_cv_func___builtin_sqrtl_use=no
43390 rm -f conftest.$ac_objext conftest.$ac_ext
43392 ac_cpp='$CPP $CPPFLAGS'
43393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43403 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43404 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43405 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43406 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43407 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43408 echo $ECHO_N "(cached) $ECHO_C" >&6
43411 if test x$gcc_no_link = xyes; then
43412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43414 { (exit 1); exit 1; }; }
43416 cat >conftest.$ac_ext <<_ACEOF
43417 #line $LINENO "configure"
43420 cat confdefs.h >>conftest.$ac_ext
43421 cat >>conftest.$ac_ext <<_ACEOF
43422 /* end confdefs.h. */
43427 __builtin_sqrtl(0);
43432 rm -f conftest.$ac_objext conftest$ac_exeext
43433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43434 (eval $ac_link) 2>&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try='test -s conftest$ac_exeext'
43439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43440 (eval $ac_try) 2>&5
43442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43443 (exit $ac_status); }; }; then
43444 glibcxx_cv_func___builtin_sqrtl_link=yes
43446 echo "$as_me: failed program was:" >&5
43447 sed 's/^/| /' conftest.$ac_ext >&5
43449 glibcxx_cv_func___builtin_sqrtl_link=no
43451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43458 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43459 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43460 cat >>confdefs.h <<_ACEOF
43461 #define ${ac_tr_func} 1
43469 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43470 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43471 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43472 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43473 echo $ECHO_N "(cached) $ECHO_C" >&6
43479 ac_cpp='$CXXCPP $CPPFLAGS'
43480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43484 cat >conftest.$ac_ext <<_ACEOF
43485 #line $LINENO "configure"
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43500 rm -f conftest.$ac_objext
43501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43502 (eval $ac_compile) 2>&5
43504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43505 (exit $ac_status); } &&
43506 { ac_try='test -s conftest.$ac_objext'
43507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43508 (eval $ac_try) 2>&5
43510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43511 (exit $ac_status); }; }; then
43512 glibcxx_cv_func___builtin_sinf_use=yes
43514 echo "$as_me: failed program was:" >&5
43515 sed 's/^/| /' conftest.$ac_ext >&5
43517 glibcxx_cv_func___builtin_sinf_use=no
43519 rm -f conftest.$ac_objext conftest.$ac_ext
43521 ac_cpp='$CPP $CPPFLAGS'
43522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43530 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43531 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43532 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43533 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43534 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43535 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43536 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43537 echo $ECHO_N "(cached) $ECHO_C" >&6
43540 if test x$gcc_no_link = xyes; then
43541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43543 { (exit 1); exit 1; }; }
43545 cat >conftest.$ac_ext <<_ACEOF
43546 #line $LINENO "configure"
43549 cat confdefs.h >>conftest.$ac_ext
43550 cat >>conftest.$ac_ext <<_ACEOF
43551 /* end confdefs.h. */
43561 rm -f conftest.$ac_objext conftest$ac_exeext
43562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43563 (eval $ac_link) 2>&5
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); } &&
43567 { ac_try='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 glibcxx_cv_func___builtin_sinf_link=yes
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43578 glibcxx_cv_func___builtin_sinf_link=no
43580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43585 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43586 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43587 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43588 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43589 cat >>confdefs.h <<_ACEOF
43590 #define ${ac_tr_func} 1
43597 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43598 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43599 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43600 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43601 echo $ECHO_N "(cached) $ECHO_C" >&6
43607 ac_cpp='$CXXCPP $CPPFLAGS'
43608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43612 cat >conftest.$ac_ext <<_ACEOF
43613 #line $LINENO "configure"
43616 cat confdefs.h >>conftest.$ac_ext
43617 cat >>conftest.$ac_ext <<_ACEOF
43618 /* end confdefs.h. */
43628 rm -f conftest.$ac_objext
43629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43630 (eval $ac_compile) 2>&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); } &&
43634 { ac_try='test -s conftest.$ac_objext'
43635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43636 (eval $ac_try) 2>&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); }; }; then
43640 glibcxx_cv_func___builtin_sin_use=yes
43642 echo "$as_me: failed program was:" >&5
43643 sed 's/^/| /' conftest.$ac_ext >&5
43645 glibcxx_cv_func___builtin_sin_use=no
43647 rm -f conftest.$ac_objext conftest.$ac_ext
43649 ac_cpp='$CPP $CPPFLAGS'
43650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43660 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43661 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43662 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43663 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43664 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43665 echo $ECHO_N "(cached) $ECHO_C" >&6
43668 if test x$gcc_no_link = xyes; then
43669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43671 { (exit 1); exit 1; }; }
43673 cat >conftest.$ac_ext <<_ACEOF
43674 #line $LINENO "configure"
43677 cat confdefs.h >>conftest.$ac_ext
43678 cat >>conftest.$ac_ext <<_ACEOF
43679 /* end confdefs.h. */
43689 rm -f conftest.$ac_objext conftest$ac_exeext
43690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43691 (eval $ac_link) 2>&5
43693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43694 (exit $ac_status); } &&
43695 { ac_try='test -s conftest$ac_exeext'
43696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43697 (eval $ac_try) 2>&5
43699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43700 (exit $ac_status); }; }; then
43701 glibcxx_cv_func___builtin_sin_link=yes
43703 echo "$as_me: failed program was:" >&5
43704 sed 's/^/| /' conftest.$ac_ext >&5
43706 glibcxx_cv_func___builtin_sin_link=no
43708 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43713 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43714 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43715 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43716 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43717 cat >>confdefs.h <<_ACEOF
43718 #define ${ac_tr_func} 1
43725 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43726 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43727 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43728 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43729 echo $ECHO_N "(cached) $ECHO_C" >&6
43735 ac_cpp='$CXXCPP $CPPFLAGS'
43736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43740 cat >conftest.$ac_ext <<_ACEOF
43741 #line $LINENO "configure"
43744 cat confdefs.h >>conftest.$ac_ext
43745 cat >>conftest.$ac_ext <<_ACEOF
43746 /* end confdefs.h. */
43756 rm -f conftest.$ac_objext
43757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43758 (eval $ac_compile) 2>&5
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); } &&
43762 { ac_try='test -s conftest.$ac_objext'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; }; then
43768 glibcxx_cv_func___builtin_sinl_use=yes
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43773 glibcxx_cv_func___builtin_sinl_use=no
43775 rm -f conftest.$ac_objext conftest.$ac_ext
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43786 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43787 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43788 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43789 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43790 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43791 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43792 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43796 if test x$gcc_no_link = xyes; then
43797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43799 { (exit 1); exit 1; }; }
43801 cat >conftest.$ac_ext <<_ACEOF
43802 #line $LINENO "configure"
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43817 rm -f conftest.$ac_objext conftest$ac_exeext
43818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43819 (eval $ac_link) 2>&5
43821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43822 (exit $ac_status); } &&
43823 { ac_try='test -s conftest$ac_exeext'
43824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43825 (eval $ac_try) 2>&5
43827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43828 (exit $ac_status); }; }; then
43829 glibcxx_cv_func___builtin_sinl_link=yes
43831 echo "$as_me: failed program was:" >&5
43832 sed 's/^/| /' conftest.$ac_ext >&5
43834 glibcxx_cv_func___builtin_sinl_link=no
43836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43842 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43843 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43844 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43845 cat >>confdefs.h <<_ACEOF
43846 #define ${ac_tr_func} 1
43854 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43855 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43856 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43857 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43864 ac_cpp='$CXXCPP $CPPFLAGS'
43865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43869 cat >conftest.$ac_ext <<_ACEOF
43870 #line $LINENO "configure"
43873 cat confdefs.h >>conftest.$ac_ext
43874 cat >>conftest.$ac_ext <<_ACEOF
43875 /* end confdefs.h. */
43885 rm -f conftest.$ac_objext
43886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43887 (eval $ac_compile) 2>&5
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); } &&
43891 { ac_try='test -s conftest.$ac_objext'
43892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893 (eval $ac_try) 2>&5
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); }; }; then
43897 glibcxx_cv_func___builtin_cosf_use=yes
43899 echo "$as_me: failed program was:" >&5
43900 sed 's/^/| /' conftest.$ac_ext >&5
43902 glibcxx_cv_func___builtin_cosf_use=no
43904 rm -f conftest.$ac_objext conftest.$ac_ext
43906 ac_cpp='$CPP $CPPFLAGS'
43907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43915 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43916 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43917 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43918 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43919 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43920 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43921 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43922 echo $ECHO_N "(cached) $ECHO_C" >&6
43925 if test x$gcc_no_link = xyes; then
43926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43928 { (exit 1); exit 1; }; }
43930 cat >conftest.$ac_ext <<_ACEOF
43931 #line $LINENO "configure"
43934 cat confdefs.h >>conftest.$ac_ext
43935 cat >>conftest.$ac_ext <<_ACEOF
43936 /* end confdefs.h. */
43946 rm -f conftest.$ac_objext conftest$ac_exeext
43947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43948 (eval $ac_link) 2>&5
43950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43951 (exit $ac_status); } &&
43952 { ac_try='test -s conftest$ac_exeext'
43953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43954 (eval $ac_try) 2>&5
43956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43957 (exit $ac_status); }; }; then
43958 glibcxx_cv_func___builtin_cosf_link=yes
43960 echo "$as_me: failed program was:" >&5
43961 sed 's/^/| /' conftest.$ac_ext >&5
43963 glibcxx_cv_func___builtin_cosf_link=no
43965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43970 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43971 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43972 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43973 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43974 cat >>confdefs.h <<_ACEOF
43975 #define ${ac_tr_func} 1
43982 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43983 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43984 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43985 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43986 echo $ECHO_N "(cached) $ECHO_C" >&6
43992 ac_cpp='$CXXCPP $CPPFLAGS'
43993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997 cat >conftest.$ac_ext <<_ACEOF
43998 #line $LINENO "configure"
44001 cat confdefs.h >>conftest.$ac_ext
44002 cat >>conftest.$ac_ext <<_ACEOF
44003 /* end confdefs.h. */
44013 rm -f conftest.$ac_objext
44014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44015 (eval $ac_compile) 2>&5
44017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44018 (exit $ac_status); } &&
44019 { ac_try='test -s conftest.$ac_objext'
44020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44021 (eval $ac_try) 2>&5
44023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44024 (exit $ac_status); }; }; then
44025 glibcxx_cv_func___builtin_cos_use=yes
44027 echo "$as_me: failed program was:" >&5
44028 sed 's/^/| /' conftest.$ac_ext >&5
44030 glibcxx_cv_func___builtin_cos_use=no
44032 rm -f conftest.$ac_objext conftest.$ac_ext
44034 ac_cpp='$CPP $CPPFLAGS'
44035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
44044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
44045 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
44046 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
44047 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
44048 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
44049 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
44050 echo $ECHO_N "(cached) $ECHO_C" >&6
44053 if test x$gcc_no_link = xyes; then
44054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44056 { (exit 1); exit 1; }; }
44058 cat >conftest.$ac_ext <<_ACEOF
44059 #line $LINENO "configure"
44062 cat confdefs.h >>conftest.$ac_ext
44063 cat >>conftest.$ac_ext <<_ACEOF
44064 /* end confdefs.h. */
44074 rm -f conftest.$ac_objext conftest$ac_exeext
44075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44076 (eval $ac_link) 2>&5
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); } &&
44080 { ac_try='test -s conftest$ac_exeext'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; }; then
44086 glibcxx_cv_func___builtin_cos_link=yes
44088 echo "$as_me: failed program was:" >&5
44089 sed 's/^/| /' conftest.$ac_ext >&5
44091 glibcxx_cv_func___builtin_cos_link=no
44093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
44099 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
44100 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
44101 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44102 cat >>confdefs.h <<_ACEOF
44103 #define ${ac_tr_func} 1
44110 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
44111 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
44112 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
44113 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
44114 echo $ECHO_N "(cached) $ECHO_C" >&6
44120 ac_cpp='$CXXCPP $CPPFLAGS'
44121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44125 cat >conftest.$ac_ext <<_ACEOF
44126 #line $LINENO "configure"
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44141 rm -f conftest.$ac_objext
44142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44143 (eval $ac_compile) 2>&5
44145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44146 (exit $ac_status); } &&
44147 { ac_try='test -s conftest.$ac_objext'
44148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44149 (eval $ac_try) 2>&5
44151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44152 (exit $ac_status); }; }; then
44153 glibcxx_cv_func___builtin_cosl_use=yes
44155 echo "$as_me: failed program was:" >&5
44156 sed 's/^/| /' conftest.$ac_ext >&5
44158 glibcxx_cv_func___builtin_cosl_use=no
44160 rm -f conftest.$ac_objext conftest.$ac_ext
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44171 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44172 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44173 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44174 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44175 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44176 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44177 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44178 echo $ECHO_N "(cached) $ECHO_C" >&6
44181 if test x$gcc_no_link = xyes; then
44182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44184 { (exit 1); exit 1; }; }
44186 cat >conftest.$ac_ext <<_ACEOF
44187 #line $LINENO "configure"
44190 cat confdefs.h >>conftest.$ac_ext
44191 cat >>conftest.$ac_ext <<_ACEOF
44192 /* end confdefs.h. */
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44204 (eval $ac_link) 2>&5
44206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207 (exit $ac_status); } &&
44208 { ac_try='test -s conftest$ac_exeext'
44209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44210 (eval $ac_try) 2>&5
44212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213 (exit $ac_status); }; }; then
44214 glibcxx_cv_func___builtin_cosl_link=yes
44216 echo "$as_me: failed program was:" >&5
44217 sed 's/^/| /' conftest.$ac_ext >&5
44219 glibcxx_cv_func___builtin_cosl_link=no
44221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44227 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44228 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44229 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44230 cat >>confdefs.h <<_ACEOF
44231 #define ${ac_tr_func} 1
44239 if test x$dummyvar = x"yes"; then
44240 cat >>confdefs.h <<\_ACEOF
44241 #define HAVE___BUILTIN_ABS 1
44244 cat >>confdefs.h <<\_ACEOF
44245 #define HAVE___BUILTIN_LABS 1
44248 cat >>confdefs.h <<\_ACEOF
44249 #define HAVE___BUILTIN_COS 1
44252 cat >>confdefs.h <<\_ACEOF
44253 #define HAVE___BUILTIN_COSF 1
44256 cat >>confdefs.h <<\_ACEOF
44257 #define HAVE___BUILTIN_COSL 1
44260 cat >>confdefs.h <<\_ACEOF
44261 #define HAVE___BUILTIN_FABS 1
44264 cat >>confdefs.h <<\_ACEOF
44265 #define HAVE___BUILTIN_FABSF 1
44268 cat >>confdefs.h <<\_ACEOF
44269 #define HAVE___BUILTIN_FABSL 1
44272 cat >>confdefs.h <<\_ACEOF
44273 #define HAVE___BUILTIN_SIN 1
44276 cat >>confdefs.h <<\_ACEOF
44277 #define HAVE___BUILTIN_SINF 1
44280 cat >>confdefs.h <<\_ACEOF
44281 #define HAVE___BUILTIN_SINL 1
44284 cat >>confdefs.h <<\_ACEOF
44285 #define HAVE___BUILTIN_SQRT 1
44288 cat >>confdefs.h <<\_ACEOF
44289 #define HAVE___BUILTIN_SQRTF 1
44292 cat >>confdefs.h <<\_ACEOF
44293 #define HAVE___BUILTIN_SQRTL 1
44300 echo "$as_me:$LINENO: checking for main in -lm" >&5
44301 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44302 if test "${ac_cv_lib_m_main+set}" = set; then
44303 echo $ECHO_N "(cached) $ECHO_C" >&6
44305 ac_check_lib_save_LIBS=$LIBS
44307 if test x$gcc_no_link = xyes; then
44308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44310 { (exit 1); exit 1; }; }
44312 cat >conftest.$ac_ext <<_ACEOF
44313 #line $LINENO "configure"
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44329 rm -f conftest.$ac_objext conftest$ac_exeext
44330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44331 (eval $ac_link) 2>&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); } &&
44335 { ac_try='test -s conftest$ac_exeext'
44336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44337 (eval $ac_try) 2>&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); }; }; then
44341 ac_cv_lib_m_main=yes
44343 echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44346 ac_cv_lib_m_main=no
44348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44349 LIBS=$ac_check_lib_save_LIBS
44351 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44352 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44353 if test $ac_cv_lib_m_main = yes; then
44354 cat >>confdefs.h <<_ACEOF
44355 #define HAVE_LIBM 1
44364 for ac_func in nan copysignf
44366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44367 echo "$as_me:$LINENO: checking for $ac_func" >&5
44368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44369 if eval "test \"\${$as_ac_var+set}\" = set"; then
44370 echo $ECHO_N "(cached) $ECHO_C" >&6
44372 if test x$gcc_no_link = xyes; then
44373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44375 { (exit 1); exit 1; }; }
44377 cat >conftest.$ac_ext <<_ACEOF
44378 #line $LINENO "configure"
44381 cat confdefs.h >>conftest.$ac_ext
44382 cat >>conftest.$ac_ext <<_ACEOF
44383 /* end confdefs.h. */
44384 /* System header to define __stub macros and hopefully few prototypes,
44385 which can conflict with char $ac_func (); below.
44386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44387 <limits.h> exists even on freestanding compilers. */
44389 # include <limits.h>
44391 # include <assert.h>
44393 /* Override any gcc2 internal prototype to avoid an error. */
44398 /* We use char because int might match the return type of a gcc2
44399 builtin and then its argument prototype would still apply. */
44401 /* The GNU C library defines this for functions which it implements
44402 to always fail with ENOSYS. Some functions are actually named
44403 something starting with __ and the normal name is an alias. */
44404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44407 char (*f) () = $ac_func;
44416 return f != $ac_func;
44421 rm -f conftest.$ac_objext conftest$ac_exeext
44422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44423 (eval $ac_link) 2>&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } &&
44427 { ac_try='test -s conftest$ac_exeext'
44428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429 (eval $ac_try) 2>&5
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); }; }; then
44433 eval "$as_ac_var=yes"
44435 echo "$as_me: failed program was:" >&5
44436 sed 's/^/| /' conftest.$ac_ext >&5
44438 eval "$as_ac_var=no"
44440 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44442 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44443 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44444 if test `eval echo '${'$as_ac_var'}'` = yes; then
44445 cat >>confdefs.h <<_ACEOF
44446 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44450 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44456 for ac_func in __signbit
44458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44459 echo "$as_me:$LINENO: checking for $ac_func" >&5
44460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44461 if eval "test \"\${$as_ac_var+set}\" = set"; then
44462 echo $ECHO_N "(cached) $ECHO_C" >&6
44464 if test x$gcc_no_link = xyes; then
44465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44467 { (exit 1); exit 1; }; }
44469 cat >conftest.$ac_ext <<_ACEOF
44470 #line $LINENO "configure"
44473 cat confdefs.h >>conftest.$ac_ext
44474 cat >>conftest.$ac_ext <<_ACEOF
44475 /* end confdefs.h. */
44476 /* System header to define __stub macros and hopefully few prototypes,
44477 which can conflict with char $ac_func (); below.
44478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44479 <limits.h> exists even on freestanding compilers. */
44481 # include <limits.h>
44483 # include <assert.h>
44485 /* Override any gcc2 internal prototype to avoid an error. */
44490 /* We use char because int might match the return type of a gcc2
44491 builtin and then its argument prototype would still apply. */
44493 /* The GNU C library defines this for functions which it implements
44494 to always fail with ENOSYS. Some functions are actually named
44495 something starting with __ and the normal name is an alias. */
44496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44499 char (*f) () = $ac_func;
44508 return f != $ac_func;
44513 rm -f conftest.$ac_objext conftest$ac_exeext
44514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44515 (eval $ac_link) 2>&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -s conftest$ac_exeext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525 eval "$as_ac_var=yes"
44527 echo "$as_me: failed program was:" >&5
44528 sed 's/^/| /' conftest.$ac_ext >&5
44530 eval "$as_ac_var=no"
44532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44536 if test `eval echo '${'$as_ac_var'}'` = yes; then
44537 cat >>confdefs.h <<_ACEOF
44538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44542 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44547 for ac_func in __signbitf
44549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44550 echo "$as_me:$LINENO: checking for $ac_func" >&5
44551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44552 if eval "test \"\${$as_ac_var+set}\" = set"; then
44553 echo $ECHO_N "(cached) $ECHO_C" >&6
44555 if test x$gcc_no_link = xyes; then
44556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44558 { (exit 1); exit 1; }; }
44560 cat >conftest.$ac_ext <<_ACEOF
44561 #line $LINENO "configure"
44564 cat confdefs.h >>conftest.$ac_ext
44565 cat >>conftest.$ac_ext <<_ACEOF
44566 /* end confdefs.h. */
44567 /* System header to define __stub macros and hopefully few prototypes,
44568 which can conflict with char $ac_func (); below.
44569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44570 <limits.h> exists even on freestanding compilers. */
44572 # include <limits.h>
44574 # include <assert.h>
44576 /* Override any gcc2 internal prototype to avoid an error. */
44581 /* We use char because int might match the return type of a gcc2
44582 builtin and then its argument prototype would still apply. */
44584 /* The GNU C library defines this for functions which it implements
44585 to always fail with ENOSYS. Some functions are actually named
44586 something starting with __ and the normal name is an alias. */
44587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44590 char (*f) () = $ac_func;
44599 return f != $ac_func;
44604 rm -f conftest.$ac_objext conftest$ac_exeext
44605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606 (eval $ac_link) 2>&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); } &&
44610 { ac_try='test -s conftest$ac_exeext'
44611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44612 (eval $ac_try) 2>&5
44614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44615 (exit $ac_status); }; }; then
44616 eval "$as_ac_var=yes"
44618 echo "$as_me: failed program was:" >&5
44619 sed 's/^/| /' conftest.$ac_ext >&5
44621 eval "$as_ac_var=no"
44623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44627 if test `eval echo '${'$as_ac_var'}'` = yes; then
44628 cat >>confdefs.h <<_ACEOF
44629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44633 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44638 if test x$ac_cv_func_copysignl = x"yes"; then
44640 for ac_func in __signbitl
44642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44643 echo "$as_me:$LINENO: checking for $ac_func" >&5
44644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44645 if eval "test \"\${$as_ac_var+set}\" = set"; then
44646 echo $ECHO_N "(cached) $ECHO_C" >&6
44648 if test x$gcc_no_link = xyes; then
44649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44651 { (exit 1); exit 1; }; }
44653 cat >conftest.$ac_ext <<_ACEOF
44654 #line $LINENO "configure"
44657 cat confdefs.h >>conftest.$ac_ext
44658 cat >>conftest.$ac_ext <<_ACEOF
44659 /* end confdefs.h. */
44660 /* System header to define __stub macros and hopefully few prototypes,
44661 which can conflict with char $ac_func (); below.
44662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44663 <limits.h> exists even on freestanding compilers. */
44665 # include <limits.h>
44667 # include <assert.h>
44669 /* Override any gcc2 internal prototype to avoid an error. */
44674 /* We use char because int might match the return type of a gcc2
44675 builtin and then its argument prototype would still apply. */
44677 /* The GNU C library defines this for functions which it implements
44678 to always fail with ENOSYS. Some functions are actually named
44679 something starting with __ and the normal name is an alias. */
44680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44683 char (*f) () = $ac_func;
44692 return f != $ac_func;
44697 rm -f conftest.$ac_objext conftest$ac_exeext
44698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44699 (eval $ac_link) 2>&5
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); } &&
44703 { ac_try='test -s conftest$ac_exeext'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; }; then
44709 eval "$as_ac_var=yes"
44711 echo "$as_me: failed program was:" >&5
44712 sed 's/^/| /' conftest.$ac_ext >&5
44714 eval "$as_ac_var=no"
44716 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44720 if test `eval echo '${'$as_ac_var'}'` = yes; then
44721 cat >>confdefs.h <<_ACEOF
44722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44726 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44732 # XXX Review this. Nothing uses it.
44733 if test -n "$LIBMATHOBJS"; then
44739 # Test wchar.h for mbstate_t, which is needed for char_traits and
44740 # others even if wchar_t support is not on.
44741 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44742 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44743 cat >conftest.$ac_ext <<_ACEOF
44744 #line $LINENO "configure"
44747 cat confdefs.h >>conftest.$ac_ext
44748 cat >>conftest.$ac_ext <<_ACEOF
44749 /* end confdefs.h. */
44754 mbstate_t teststate;
44759 rm -f conftest.$ac_objext
44760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44761 (eval $ac_compile) 2>&5
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); } &&
44765 { ac_try='test -s conftest.$ac_objext'
44766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44767 (eval $ac_try) 2>&5
44769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44770 (exit $ac_status); }; }; then
44773 echo "$as_me: failed program was:" >&5
44774 sed 's/^/| /' conftest.$ac_ext >&5
44778 rm -f conftest.$ac_objext conftest.$ac_ext
44779 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44780 echo "${ECHO_T}$have_mbstate_t" >&6
44781 if test x"$have_mbstate_t" = xyes; then
44782 cat >>confdefs.h <<\_ACEOF
44783 #define HAVE_MBSTATE_T 1
44788 # Sanity check for existence of ISO C99 headers for extended encoding.
44790 for ac_header in wchar.h
44792 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44794 echo "$as_me:$LINENO: checking for $ac_header" >&5
44795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44797 echo $ECHO_N "(cached) $ECHO_C" >&6
44799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44802 # Is the header compilable?
44803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44805 cat >conftest.$ac_ext <<_ACEOF
44806 #line $LINENO "configure"
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44812 $ac_includes_default
44813 #include <$ac_header>
44815 rm -f conftest.$ac_objext
44816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44817 (eval $ac_compile) 2>&5
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); } &&
44821 { ac_try='test -s conftest.$ac_objext'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; }; then
44827 ac_header_compiler=yes
44829 echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.$ac_ext >&5
44832 ac_header_compiler=no
44834 rm -f conftest.$ac_objext conftest.$ac_ext
44835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44836 echo "${ECHO_T}$ac_header_compiler" >&6
44838 # Is the header present?
44839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44841 cat >conftest.$ac_ext <<_ACEOF
44842 #line $LINENO "configure"
44845 cat confdefs.h >>conftest.$ac_ext
44846 cat >>conftest.$ac_ext <<_ACEOF
44847 /* end confdefs.h. */
44848 #include <$ac_header>
44850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44853 grep -v '^ *+' conftest.er1 >conftest.err
44855 cat conftest.err >&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } >/dev/null; then
44858 if test -s conftest.err; then
44859 ac_cpp_err=$ac_c_preproc_warn_flag
44866 if test -z "$ac_cpp_err"; then
44867 ac_header_preproc=yes
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44872 ac_header_preproc=no
44874 rm -f conftest.err conftest.$ac_ext
44875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44876 echo "${ECHO_T}$ac_header_preproc" >&6
44878 # So? What about this header?
44879 case $ac_header_compiler:$ac_header_preproc in
44881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44887 ## ------------------------------------ ##
44888 ## Report this to bug-autoconf@gnu.org. ##
44889 ## ------------------------------------ ##
44892 sed "s/^/$as_me: WARNING: /" >&2
44895 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44896 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44897 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44898 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44899 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44900 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44903 ## ------------------------------------ ##
44904 ## Report this to bug-autoconf@gnu.org. ##
44905 ## ------------------------------------ ##
44908 sed "s/^/$as_me: WARNING: /" >&2
44911 echo "$as_me:$LINENO: checking for $ac_header" >&5
44912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44914 echo $ECHO_N "(cached) $ECHO_C" >&6
44916 eval "$as_ac_Header=$ac_header_preproc"
44918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44923 cat >>confdefs.h <<_ACEOF
44924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44934 for ac_header in wctype.h
44936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44938 echo "$as_me:$LINENO: checking for $ac_header" >&5
44939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44941 echo $ECHO_N "(cached) $ECHO_C" >&6
44943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44944 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44946 # Is the header compilable?
44947 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44949 cat >conftest.$ac_ext <<_ACEOF
44950 #line $LINENO "configure"
44953 cat confdefs.h >>conftest.$ac_ext
44954 cat >>conftest.$ac_ext <<_ACEOF
44955 /* end confdefs.h. */
44956 $ac_includes_default
44957 #include <$ac_header>
44959 rm -f conftest.$ac_objext
44960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44961 (eval $ac_compile) 2>&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } &&
44965 { ac_try='test -s conftest.$ac_objext'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; }; then
44971 ac_header_compiler=yes
44973 echo "$as_me: failed program was:" >&5
44974 sed 's/^/| /' conftest.$ac_ext >&5
44976 ac_header_compiler=no
44978 rm -f conftest.$ac_objext conftest.$ac_ext
44979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44980 echo "${ECHO_T}$ac_header_compiler" >&6
44982 # Is the header present?
44983 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44984 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44985 cat >conftest.$ac_ext <<_ACEOF
44986 #line $LINENO "configure"
44989 cat confdefs.h >>conftest.$ac_ext
44990 cat >>conftest.$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 #include <$ac_header>
44994 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44995 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44997 grep -v '^ *+' conftest.er1 >conftest.err
44999 cat conftest.err >&5
45000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45001 (exit $ac_status); } >/dev/null; then
45002 if test -s conftest.err; then
45003 ac_cpp_err=$ac_c_preproc_warn_flag
45010 if test -z "$ac_cpp_err"; then
45011 ac_header_preproc=yes
45013 echo "$as_me: failed program was:" >&5
45014 sed 's/^/| /' conftest.$ac_ext >&5
45016 ac_header_preproc=no
45018 rm -f conftest.err conftest.$ac_ext
45019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45020 echo "${ECHO_T}$ac_header_preproc" >&6
45022 # So? What about this header?
45023 case $ac_header_compiler:$ac_header_preproc in
45025 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45026 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45031 ## ------------------------------------ ##
45032 ## Report this to bug-autoconf@gnu.org. ##
45033 ## ------------------------------------ ##
45036 sed "s/^/$as_me: WARNING: /" >&2
45039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45047 ## ------------------------------------ ##
45048 ## Report this to bug-autoconf@gnu.org. ##
45049 ## ------------------------------------ ##
45052 sed "s/^/$as_me: WARNING: /" >&2
45055 echo "$as_me:$LINENO: checking for $ac_header" >&5
45056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45058 echo $ECHO_N "(cached) $ECHO_C" >&6
45060 eval "$as_ac_Header=$ac_header_preproc"
45062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45063 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45067 cat >>confdefs.h <<_ACEOF
45068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45070 ac_has_wctype_h=yes
45078 # Only continue checking if the ISO C99 headers exist and support is on.
45079 if test x"$ac_has_wchar_h" = xyes &&
45080 test x"$ac_has_wctype_h" = xyes &&
45081 test x"$enable_c_mbchar" != xno; then
45083 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
45084 # numeric_limits can instantiate type_traits<wchar_t>
45085 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
45086 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
45087 cat >conftest.$ac_ext <<_ACEOF
45088 #line $LINENO "configure"
45091 cat confdefs.h >>conftest.$ac_ext
45092 cat >>conftest.$ac_ext <<_ACEOF
45093 /* end confdefs.h. */
45098 int i = WCHAR_MIN; int j = WCHAR_MAX;
45103 rm -f conftest.$ac_objext
45104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45105 (eval $ac_compile) 2>&5
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); } &&
45109 { ac_try='test -s conftest.$ac_objext'
45110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45111 (eval $ac_try) 2>&5
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); }; }; then
45115 has_wchar_minmax=yes
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.$ac_ext >&5
45120 has_wchar_minmax=no
45122 rm -f conftest.$ac_objext conftest.$ac_ext
45123 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
45124 echo "${ECHO_T}$has_wchar_minmax" >&6
45126 # Test wchar.h for WEOF, which is what we use to determine whether
45127 # to specialize for char_traits<wchar_t> or not.
45128 echo "$as_me:$LINENO: checking for WEOF" >&5
45129 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
45130 cat >conftest.$ac_ext <<_ACEOF
45131 #line $LINENO "configure"
45134 cat confdefs.h >>conftest.$ac_ext
45135 cat >>conftest.$ac_ext <<_ACEOF
45136 /* end confdefs.h. */
45139 #include <stddef.h>
45148 rm -f conftest.$ac_objext
45149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45150 (eval $ac_compile) 2>&5
45152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153 (exit $ac_status); } &&
45154 { ac_try='test -s conftest.$ac_objext'
45155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45156 (eval $ac_try) 2>&5
45158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159 (exit $ac_status); }; }; then
45162 echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45167 rm -f conftest.$ac_objext conftest.$ac_ext
45168 echo "$as_me:$LINENO: result: $has_weof" >&5
45169 echo "${ECHO_T}$has_weof" >&6
45171 # Tests for wide character functions used in char_traits<wchar_t>.
45179 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45182 echo "$as_me:$LINENO: checking for $ac_func" >&5
45183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45184 if eval "test \"\${$as_ac_var+set}\" = set"; then
45185 echo $ECHO_N "(cached) $ECHO_C" >&6
45187 if test x$gcc_no_link = xyes; then
45188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45190 { (exit 1); exit 1; }; }
45192 cat >conftest.$ac_ext <<_ACEOF
45193 #line $LINENO "configure"
45196 cat confdefs.h >>conftest.$ac_ext
45197 cat >>conftest.$ac_ext <<_ACEOF
45198 /* end confdefs.h. */
45199 /* System header to define __stub macros and hopefully few prototypes,
45200 which can conflict with char $ac_func (); below.
45201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45202 <limits.h> exists even on freestanding compilers. */
45204 # include <limits.h>
45206 # include <assert.h>
45208 /* Override any gcc2 internal prototype to avoid an error. */
45213 /* We use char because int might match the return type of a gcc2
45214 builtin and then its argument prototype would still apply. */
45216 /* The GNU C library defines this for functions which it implements
45217 to always fail with ENOSYS. Some functions are actually named
45218 something starting with __ and the normal name is an alias. */
45219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45222 char (*f) () = $ac_func;
45231 return f != $ac_func;
45236 rm -f conftest.$ac_objext conftest$ac_exeext
45237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45238 (eval $ac_link) 2>&5
45240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45241 (exit $ac_status); } &&
45242 { ac_try='test -s conftest$ac_exeext'
45243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45244 (eval $ac_try) 2>&5
45246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45247 (exit $ac_status); }; }; then
45248 eval "$as_ac_var=yes"
45250 echo "$as_me: failed program was:" >&5
45251 sed 's/^/| /' conftest.$ac_ext >&5
45253 eval "$as_ac_var=no"
45255 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45259 if test `eval echo '${'$as_ac_var'}'` = yes; then
45260 cat >>confdefs.h <<_ACEOF
45261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45270 # Checks for names injected into std:: by the c_std headers.
45317 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45318 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45319 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45320 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45321 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45322 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45325 echo "$as_me:$LINENO: checking for $ac_func" >&5
45326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45327 if eval "test \"\${$as_ac_var+set}\" = set"; then
45328 echo $ECHO_N "(cached) $ECHO_C" >&6
45330 if test x$gcc_no_link = xyes; then
45331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45333 { (exit 1); exit 1; }; }
45335 cat >conftest.$ac_ext <<_ACEOF
45336 #line $LINENO "configure"
45339 cat confdefs.h >>conftest.$ac_ext
45340 cat >>conftest.$ac_ext <<_ACEOF
45341 /* end confdefs.h. */
45342 /* System header to define __stub macros and hopefully few prototypes,
45343 which can conflict with char $ac_func (); below.
45344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45345 <limits.h> exists even on freestanding compilers. */
45347 # include <limits.h>
45349 # include <assert.h>
45351 /* Override any gcc2 internal prototype to avoid an error. */
45356 /* We use char because int might match the return type of a gcc2
45357 builtin and then its argument prototype would still apply. */
45359 /* The GNU C library defines this for functions which it implements
45360 to always fail with ENOSYS. Some functions are actually named
45361 something starting with __ and the normal name is an alias. */
45362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45365 char (*f) () = $ac_func;
45374 return f != $ac_func;
45379 rm -f conftest.$ac_objext conftest$ac_exeext
45380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45381 (eval $ac_link) 2>&5
45383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384 (exit $ac_status); } &&
45385 { ac_try='test -s conftest$ac_exeext'
45386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45387 (eval $ac_try) 2>&5
45389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45390 (exit $ac_status); }; }; then
45391 eval "$as_ac_var=yes"
45393 echo "$as_me: failed program was:" >&5
45394 sed 's/^/| /' conftest.$ac_ext >&5
45396 eval "$as_ac_var=no"
45398 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45402 if test `eval echo '${'$as_ac_var'}'` = yes; then
45403 cat >>confdefs.h <<_ACEOF
45404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45413 # Checks for wide character functions that are not required
45414 # for basic wchar_t support. Don't disable support if they are missing.
45415 # Injection of these is wrapped with guard macros.
45421 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45424 echo "$as_me:$LINENO: checking for $ac_func" >&5
45425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45426 if eval "test \"\${$as_ac_var+set}\" = set"; then
45427 echo $ECHO_N "(cached) $ECHO_C" >&6
45429 if test x$gcc_no_link = xyes; then
45430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45432 { (exit 1); exit 1; }; }
45434 cat >conftest.$ac_ext <<_ACEOF
45435 #line $LINENO "configure"
45438 cat confdefs.h >>conftest.$ac_ext
45439 cat >>conftest.$ac_ext <<_ACEOF
45440 /* end confdefs.h. */
45441 /* System header to define __stub macros and hopefully few prototypes,
45442 which can conflict with char $ac_func (); below.
45443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45444 <limits.h> exists even on freestanding compilers. */
45446 # include <limits.h>
45448 # include <assert.h>
45450 /* Override any gcc2 internal prototype to avoid an error. */
45455 /* We use char because int might match the return type of a gcc2
45456 builtin and then its argument prototype would still apply. */
45458 /* The GNU C library defines this for functions which it implements
45459 to always fail with ENOSYS. Some functions are actually named
45460 something starting with __ and the normal name is an alias. */
45461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45464 char (*f) () = $ac_func;
45473 return f != $ac_func;
45478 rm -f conftest.$ac_objext conftest$ac_exeext
45479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45480 (eval $ac_link) 2>&5
45482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45483 (exit $ac_status); } &&
45484 { ac_try='test -s conftest$ac_exeext'
45485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45486 (eval $ac_try) 2>&5
45488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489 (exit $ac_status); }; }; then
45490 eval "$as_ac_var=yes"
45492 echo "$as_me: failed program was:" >&5
45493 sed 's/^/| /' conftest.$ac_ext >&5
45495 eval "$as_ac_var=no"
45497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45501 if test `eval echo '${'$as_ac_var'}'` = yes; then
45502 cat >>confdefs.h <<_ACEOF
45503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45510 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45511 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45512 if test x"$has_weof" = xyes &&
45513 test x"$has_wchar_minmax" = xyes &&
45514 test x"$ac_wfuncs" = xyes;
45516 ac_isoC99_wchar_t=yes
45518 ac_isoC99_wchar_t=no
45520 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45521 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45523 # Use iconv for wchar_t to char conversions. As such, check for
45524 # X/Open Portability Guide, version 2 features (XPG2).
45525 if test "${ac_cv_header_iconv_h+set}" = set; then
45526 echo "$as_me:$LINENO: checking for iconv.h" >&5
45527 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45528 if test "${ac_cv_header_iconv_h+set}" = set; then
45529 echo $ECHO_N "(cached) $ECHO_C" >&6
45531 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45532 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45534 # Is the header compilable?
45535 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45536 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45537 cat >conftest.$ac_ext <<_ACEOF
45538 #line $LINENO "configure"
45541 cat confdefs.h >>conftest.$ac_ext
45542 cat >>conftest.$ac_ext <<_ACEOF
45543 /* end confdefs.h. */
45544 $ac_includes_default
45547 rm -f conftest.$ac_objext
45548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45549 (eval $ac_compile) 2>&5
45551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45552 (exit $ac_status); } &&
45553 { ac_try='test -s conftest.$ac_objext'
45554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45555 (eval $ac_try) 2>&5
45557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45558 (exit $ac_status); }; }; then
45559 ac_header_compiler=yes
45561 echo "$as_me: failed program was:" >&5
45562 sed 's/^/| /' conftest.$ac_ext >&5
45564 ac_header_compiler=no
45566 rm -f conftest.$ac_objext conftest.$ac_ext
45567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45568 echo "${ECHO_T}$ac_header_compiler" >&6
45570 # Is the header present?
45571 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45572 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45573 cat >conftest.$ac_ext <<_ACEOF
45574 #line $LINENO "configure"
45577 cat confdefs.h >>conftest.$ac_ext
45578 cat >>conftest.$ac_ext <<_ACEOF
45579 /* end confdefs.h. */
45582 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45583 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45585 grep -v '^ *+' conftest.er1 >conftest.err
45587 cat conftest.err >&5
45588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45589 (exit $ac_status); } >/dev/null; then
45590 if test -s conftest.err; then
45591 ac_cpp_err=$ac_c_preproc_warn_flag
45598 if test -z "$ac_cpp_err"; then
45599 ac_header_preproc=yes
45601 echo "$as_me: failed program was:" >&5
45602 sed 's/^/| /' conftest.$ac_ext >&5
45604 ac_header_preproc=no
45606 rm -f conftest.err conftest.$ac_ext
45607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45608 echo "${ECHO_T}$ac_header_preproc" >&6
45610 # So? What about this header?
45611 case $ac_header_compiler:$ac_header_preproc in
45613 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45614 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45615 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45616 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45619 ## ------------------------------------ ##
45620 ## Report this to bug-autoconf@gnu.org. ##
45621 ## ------------------------------------ ##
45624 sed "s/^/$as_me: WARNING: /" >&2
45627 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45628 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45629 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45630 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45631 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45632 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45635 ## ------------------------------------ ##
45636 ## Report this to bug-autoconf@gnu.org. ##
45637 ## ------------------------------------ ##
45640 sed "s/^/$as_me: WARNING: /" >&2
45643 echo "$as_me:$LINENO: checking for iconv.h" >&5
45644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45645 if test "${ac_cv_header_iconv_h+set}" = set; then
45646 echo $ECHO_N "(cached) $ECHO_C" >&6
45648 ac_cv_header_iconv_h=$ac_header_preproc
45650 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45651 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45654 if test $ac_cv_header_iconv_h = yes; then
45661 if test "${ac_cv_header_langinfo_h+set}" = set; then
45662 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45663 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45664 if test "${ac_cv_header_langinfo_h+set}" = set; then
45665 echo $ECHO_N "(cached) $ECHO_C" >&6
45667 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45668 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45670 # Is the header compilable?
45671 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45672 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45673 cat >conftest.$ac_ext <<_ACEOF
45674 #line $LINENO "configure"
45677 cat confdefs.h >>conftest.$ac_ext
45678 cat >>conftest.$ac_ext <<_ACEOF
45679 /* end confdefs.h. */
45680 $ac_includes_default
45681 #include <langinfo.h>
45683 rm -f conftest.$ac_objext
45684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45685 (eval $ac_compile) 2>&5
45687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45688 (exit $ac_status); } &&
45689 { ac_try='test -s conftest.$ac_objext'
45690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45691 (eval $ac_try) 2>&5
45693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45694 (exit $ac_status); }; }; then
45695 ac_header_compiler=yes
45697 echo "$as_me: failed program was:" >&5
45698 sed 's/^/| /' conftest.$ac_ext >&5
45700 ac_header_compiler=no
45702 rm -f conftest.$ac_objext conftest.$ac_ext
45703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45704 echo "${ECHO_T}$ac_header_compiler" >&6
45706 # Is the header present?
45707 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45708 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45709 cat >conftest.$ac_ext <<_ACEOF
45710 #line $LINENO "configure"
45713 cat confdefs.h >>conftest.$ac_ext
45714 cat >>conftest.$ac_ext <<_ACEOF
45715 /* end confdefs.h. */
45716 #include <langinfo.h>
45718 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45719 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45721 grep -v '^ *+' conftest.er1 >conftest.err
45723 cat conftest.err >&5
45724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45725 (exit $ac_status); } >/dev/null; then
45726 if test -s conftest.err; then
45727 ac_cpp_err=$ac_c_preproc_warn_flag
45734 if test -z "$ac_cpp_err"; then
45735 ac_header_preproc=yes
45737 echo "$as_me: failed program was:" >&5
45738 sed 's/^/| /' conftest.$ac_ext >&5
45740 ac_header_preproc=no
45742 rm -f conftest.err conftest.$ac_ext
45743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45744 echo "${ECHO_T}$ac_header_preproc" >&6
45746 # So? What about this header?
45747 case $ac_header_compiler:$ac_header_preproc in
45749 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45750 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45751 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45752 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45755 ## ------------------------------------ ##
45756 ## Report this to bug-autoconf@gnu.org. ##
45757 ## ------------------------------------ ##
45760 sed "s/^/$as_me: WARNING: /" >&2
45763 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45764 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45765 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45766 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45767 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45768 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45771 ## ------------------------------------ ##
45772 ## Report this to bug-autoconf@gnu.org. ##
45773 ## ------------------------------------ ##
45776 sed "s/^/$as_me: WARNING: /" >&2
45779 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45780 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45781 if test "${ac_cv_header_langinfo_h+set}" = set; then
45782 echo $ECHO_N "(cached) $ECHO_C" >&6
45784 ac_cv_header_langinfo_h=$ac_header_preproc
45786 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45787 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45790 if test $ac_cv_header_langinfo_h = yes; then
45791 ac_has_langinfo_h=yes
45793 ac_has_langinfo_h=no
45798 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45799 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45800 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45801 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45802 echo $ECHO_N "(cached) $ECHO_C" >&6
45804 ac_check_lib_save_LIBS=$LIBS
45805 LIBS="-liconv $LIBS"
45806 if test x$gcc_no_link = xyes; then
45807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45809 { (exit 1); exit 1; }; }
45811 cat >conftest.$ac_ext <<_ACEOF
45812 #line $LINENO "configure"
45815 cat confdefs.h >>conftest.$ac_ext
45816 cat >>conftest.$ac_ext <<_ACEOF
45817 /* end confdefs.h. */
45819 /* Override any gcc2 internal prototype to avoid an error. */
45823 /* We use char because int might match the return type of a gcc2
45824 builtin and then its argument prototype would still apply. */
45834 rm -f conftest.$ac_objext conftest$ac_exeext
45835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45836 (eval $ac_link) 2>&5
45838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45839 (exit $ac_status); } &&
45840 { ac_try='test -s conftest$ac_exeext'
45841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45842 (eval $ac_try) 2>&5
45844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45845 (exit $ac_status); }; }; then
45846 ac_cv_lib_iconv_iconv=yes
45848 echo "$as_me: failed program was:" >&5
45849 sed 's/^/| /' conftest.$ac_ext >&5
45851 ac_cv_lib_iconv_iconv=no
45853 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45854 LIBS=$ac_check_lib_save_LIBS
45856 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45857 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45858 if test $ac_cv_lib_iconv_iconv = yes; then
45862 ac_save_LIBS="$LIBS"
45863 LIBS="$LIBS $libiconv"
45869 for ac_func in iconv_open iconv_close iconv nl_langinfo
45871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45872 echo "$as_me:$LINENO: checking for $ac_func" >&5
45873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45874 if eval "test \"\${$as_ac_var+set}\" = set"; then
45875 echo $ECHO_N "(cached) $ECHO_C" >&6
45877 if test x$gcc_no_link = xyes; then
45878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45880 { (exit 1); exit 1; }; }
45882 cat >conftest.$ac_ext <<_ACEOF
45883 #line $LINENO "configure"
45886 cat confdefs.h >>conftest.$ac_ext
45887 cat >>conftest.$ac_ext <<_ACEOF
45888 /* end confdefs.h. */
45889 /* System header to define __stub macros and hopefully few prototypes,
45890 which can conflict with char $ac_func (); below.
45891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45892 <limits.h> exists even on freestanding compilers. */
45894 # include <limits.h>
45896 # include <assert.h>
45898 /* Override any gcc2 internal prototype to avoid an error. */
45903 /* We use char because int might match the return type of a gcc2
45904 builtin and then its argument prototype would still apply. */
45906 /* The GNU C library defines this for functions which it implements
45907 to always fail with ENOSYS. Some functions are actually named
45908 something starting with __ and the normal name is an alias. */
45909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45912 char (*f) () = $ac_func;
45921 return f != $ac_func;
45926 rm -f conftest.$ac_objext conftest$ac_exeext
45927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45928 (eval $ac_link) 2>&5
45930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45931 (exit $ac_status); } &&
45932 { ac_try='test -s conftest$ac_exeext'
45933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45934 (eval $ac_try) 2>&5
45936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45937 (exit $ac_status); }; }; then
45938 eval "$as_ac_var=yes"
45940 echo "$as_me: failed program was:" >&5
45941 sed 's/^/| /' conftest.$ac_ext >&5
45943 eval "$as_ac_var=no"
45945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45949 if test `eval echo '${'$as_ac_var'}'` = yes; then
45950 cat >>confdefs.h <<_ACEOF
45951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45960 LIBS="$ac_save_LIBS"
45962 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45963 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45964 if test x"$ac_has_iconv_h" = xyes &&
45965 test x"$ac_has_langinfo_h" = xyes &&
45966 test x"$ac_XPG2funcs" = xyes;
45968 ac_XPG2_wchar_t=yes
45972 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45973 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45975 # At the moment, only enable wchar_t specializations if all the
45976 # above support is present.
45977 if test x"$ac_isoC99_wchar_t" = xyes &&
45978 test x"$ac_XPG2_wchar_t" = xyes;
45980 cat >>confdefs.h <<\_ACEOF
45981 #define _GLIBCXX_USE_WCHAR_T 1
45987 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45988 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45989 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45990 echo "${ECHO_T}$enable_wchar_t" >&6
45993 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45994 ac_save_CXXFLAGS="$CXXFLAGS"
45995 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45998 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45999 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
46000 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46001 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
46002 echo $ECHO_N "(cached) $ECHO_C" >&6
46008 ac_cpp='$CXXCPP $CPPFLAGS'
46009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46013 cat >conftest.$ac_ext <<_ACEOF
46014 #line $LINENO "configure"
46017 cat confdefs.h >>conftest.$ac_ext
46018 cat >>conftest.$ac_ext <<_ACEOF
46019 /* end confdefs.h. */
46020 #include <stdlib.h>
46029 rm -f conftest.$ac_objext
46030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46031 (eval $ac_compile) 2>&5
46033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46034 (exit $ac_status); } &&
46035 { ac_try='test -s conftest.$ac_objext'
46036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46037 (eval $ac_try) 2>&5
46039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46040 (exit $ac_status); }; }; then
46041 glibcxx_cv_func_strtold_use=yes
46043 echo "$as_me: failed program was:" >&5
46044 sed 's/^/| /' conftest.$ac_ext >&5
46046 glibcxx_cv_func_strtold_use=no
46048 rm -f conftest.$ac_objext conftest.$ac_ext
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
46060 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
46061 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46063 for ac_func in strtold
46065 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46066 echo "$as_me:$LINENO: checking for $ac_func" >&5
46067 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46068 if eval "test \"\${$as_ac_var+set}\" = set"; then
46069 echo $ECHO_N "(cached) $ECHO_C" >&6
46071 if test x$gcc_no_link = xyes; then
46072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46074 { (exit 1); exit 1; }; }
46076 cat >conftest.$ac_ext <<_ACEOF
46077 #line $LINENO "configure"
46080 cat confdefs.h >>conftest.$ac_ext
46081 cat >>conftest.$ac_ext <<_ACEOF
46082 /* end confdefs.h. */
46083 /* System header to define __stub macros and hopefully few prototypes,
46084 which can conflict with char $ac_func (); below.
46085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46086 <limits.h> exists even on freestanding compilers. */
46088 # include <limits.h>
46090 # include <assert.h>
46092 /* Override any gcc2 internal prototype to avoid an error. */
46097 /* We use char because int might match the return type of a gcc2
46098 builtin and then its argument prototype would still apply. */
46100 /* The GNU C library defines this for functions which it implements
46101 to always fail with ENOSYS. Some functions are actually named
46102 something starting with __ and the normal name is an alias. */
46103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46106 char (*f) () = $ac_func;
46115 return f != $ac_func;
46120 rm -f conftest.$ac_objext conftest$ac_exeext
46121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46122 (eval $ac_link) 2>&5
46124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46125 (exit $ac_status); } &&
46126 { ac_try='test -s conftest$ac_exeext'
46127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46128 (eval $ac_try) 2>&5
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); }; }; then
46132 eval "$as_ac_var=yes"
46134 echo "$as_me: failed program was:" >&5
46135 sed 's/^/| /' conftest.$ac_ext >&5
46137 eval "$as_ac_var=no"
46139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46143 if test `eval echo '${'$as_ac_var'}'` = yes; then
46144 cat >>confdefs.h <<_ACEOF
46145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46154 echo "$as_me:$LINENO: checking for strtof declaration" >&5
46155 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
46156 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46157 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
46158 echo $ECHO_N "(cached) $ECHO_C" >&6
46164 ac_cpp='$CXXCPP $CPPFLAGS'
46165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46169 cat >conftest.$ac_ext <<_ACEOF
46170 #line $LINENO "configure"
46173 cat confdefs.h >>conftest.$ac_ext
46174 cat >>conftest.$ac_ext <<_ACEOF
46175 /* end confdefs.h. */
46176 #include <stdlib.h>
46185 rm -f conftest.$ac_objext
46186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46187 (eval $ac_compile) 2>&5
46189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46190 (exit $ac_status); } &&
46191 { ac_try='test -s conftest.$ac_objext'
46192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46193 (eval $ac_try) 2>&5
46195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46196 (exit $ac_status); }; }; then
46197 glibcxx_cv_func_strtof_use=yes
46199 echo "$as_me: failed program was:" >&5
46200 sed 's/^/| /' conftest.$ac_ext >&5
46202 glibcxx_cv_func_strtof_use=no
46204 rm -f conftest.$ac_objext conftest.$ac_ext
46206 ac_cpp='$CPP $CPPFLAGS'
46207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46215 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46216 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46217 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46219 for ac_func in strtof
46221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46222 echo "$as_me:$LINENO: checking for $ac_func" >&5
46223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46224 if eval "test \"\${$as_ac_var+set}\" = set"; then
46225 echo $ECHO_N "(cached) $ECHO_C" >&6
46227 if test x$gcc_no_link = xyes; then
46228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46230 { (exit 1); exit 1; }; }
46232 cat >conftest.$ac_ext <<_ACEOF
46233 #line $LINENO "configure"
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* System header to define __stub macros and hopefully few prototypes,
46240 which can conflict with char $ac_func (); below.
46241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46242 <limits.h> exists even on freestanding compilers. */
46244 # include <limits.h>
46246 # include <assert.h>
46248 /* Override any gcc2 internal prototype to avoid an error. */
46253 /* We use char because int might match the return type of a gcc2
46254 builtin and then its argument prototype would still apply. */
46256 /* The GNU C library defines this for functions which it implements
46257 to always fail with ENOSYS. Some functions are actually named
46258 something starting with __ and the normal name is an alias. */
46259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46262 char (*f) () = $ac_func;
46271 return f != $ac_func;
46276 rm -f conftest.$ac_objext conftest$ac_exeext
46277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46278 (eval $ac_link) 2>&5
46280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46281 (exit $ac_status); } &&
46282 { ac_try='test -s conftest$ac_exeext'
46283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46284 (eval $ac_try) 2>&5
46286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46287 (exit $ac_status); }; }; then
46288 eval "$as_ac_var=yes"
46290 echo "$as_me: failed program was:" >&5
46291 sed 's/^/| /' conftest.$ac_ext >&5
46293 eval "$as_ac_var=no"
46295 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46299 if test `eval echo '${'$as_ac_var'}'` = yes; then
46300 cat >>confdefs.h <<_ACEOF
46301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46310 echo "$as_me:$LINENO: checking for lrand48 declaration" >&5
46311 echo $ECHO_N "checking for lrand48 declaration... $ECHO_C" >&6
46312 if test x${glibcxx_cv_func_lrand48_use+set} != xset; then
46313 if test "${glibcxx_cv_func_lrand48_use+set}" = set; then
46314 echo $ECHO_N "(cached) $ECHO_C" >&6
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46325 cat >conftest.$ac_ext <<_ACEOF
46326 #line $LINENO "configure"
46329 cat confdefs.h >>conftest.$ac_ext
46330 cat >>conftest.$ac_ext <<_ACEOF
46331 /* end confdefs.h. */
46332 #include <stdlib.h>
46341 rm -f conftest.$ac_objext
46342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46343 (eval $ac_compile) 2>&5
46345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46346 (exit $ac_status); } &&
46347 { ac_try='test -s conftest.$ac_objext'
46348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46349 (eval $ac_try) 2>&5
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); }; }; then
46353 glibcxx_cv_func_lrand48_use=yes
46355 echo "$as_me: failed program was:" >&5
46356 sed 's/^/| /' conftest.$ac_ext >&5
46358 glibcxx_cv_func_lrand48_use=no
46360 rm -f conftest.$ac_objext conftest.$ac_ext
46362 ac_cpp='$CPP $CPPFLAGS'
46363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46371 echo "$as_me:$LINENO: result: $glibcxx_cv_func_lrand48_use" >&5
46372 echo "${ECHO_T}$glibcxx_cv_func_lrand48_use" >&6
46373 if test x$glibcxx_cv_func_lrand48_use = x"yes"; then
46375 for ac_func in lrand48
46377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46378 echo "$as_me:$LINENO: checking for $ac_func" >&5
46379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46380 if eval "test \"\${$as_ac_var+set}\" = set"; then
46381 echo $ECHO_N "(cached) $ECHO_C" >&6
46383 if test x$gcc_no_link = xyes; then
46384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46386 { (exit 1); exit 1; }; }
46388 cat >conftest.$ac_ext <<_ACEOF
46389 #line $LINENO "configure"
46392 cat confdefs.h >>conftest.$ac_ext
46393 cat >>conftest.$ac_ext <<_ACEOF
46394 /* end confdefs.h. */
46395 /* System header to define __stub macros and hopefully few prototypes,
46396 which can conflict with char $ac_func (); below.
46397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46398 <limits.h> exists even on freestanding compilers. */
46400 # include <limits.h>
46402 # include <assert.h>
46404 /* Override any gcc2 internal prototype to avoid an error. */
46409 /* We use char because int might match the return type of a gcc2
46410 builtin and then its argument prototype would still apply. */
46412 /* The GNU C library defines this for functions which it implements
46413 to always fail with ENOSYS. Some functions are actually named
46414 something starting with __ and the normal name is an alias. */
46415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46418 char (*f) () = $ac_func;
46427 return f != $ac_func;
46432 rm -f conftest.$ac_objext conftest$ac_exeext
46433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46434 (eval $ac_link) 2>&5
46436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46437 (exit $ac_status); } &&
46438 { ac_try='test -s conftest$ac_exeext'
46439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46440 (eval $ac_try) 2>&5
46442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443 (exit $ac_status); }; }; then
46444 eval "$as_ac_var=yes"
46446 echo "$as_me: failed program was:" >&5
46447 sed 's/^/| /' conftest.$ac_ext >&5
46449 eval "$as_ac_var=no"
46451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46455 if test `eval echo '${'$as_ac_var'}'` = yes; then
46456 cat >>confdefs.h <<_ACEOF
46457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46466 CXXFLAGS="$ac_save_CXXFLAGS"
46469 # For showmanyc_helper().
46472 for ac_header in sys/ioctl.h sys/filio.h
46474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46476 echo "$as_me:$LINENO: checking for $ac_header" >&5
46477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46479 echo $ECHO_N "(cached) $ECHO_C" >&6
46481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46484 # Is the header compilable?
46485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46487 cat >conftest.$ac_ext <<_ACEOF
46488 #line $LINENO "configure"
46491 cat confdefs.h >>conftest.$ac_ext
46492 cat >>conftest.$ac_ext <<_ACEOF
46493 /* end confdefs.h. */
46494 $ac_includes_default
46495 #include <$ac_header>
46497 rm -f conftest.$ac_objext
46498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46499 (eval $ac_compile) 2>&5
46501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46502 (exit $ac_status); } &&
46503 { ac_try='test -s conftest.$ac_objext'
46504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46505 (eval $ac_try) 2>&5
46507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46508 (exit $ac_status); }; }; then
46509 ac_header_compiler=yes
46511 echo "$as_me: failed program was:" >&5
46512 sed 's/^/| /' conftest.$ac_ext >&5
46514 ac_header_compiler=no
46516 rm -f conftest.$ac_objext conftest.$ac_ext
46517 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46518 echo "${ECHO_T}$ac_header_compiler" >&6
46520 # Is the header present?
46521 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46522 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46523 cat >conftest.$ac_ext <<_ACEOF
46524 #line $LINENO "configure"
46527 cat confdefs.h >>conftest.$ac_ext
46528 cat >>conftest.$ac_ext <<_ACEOF
46529 /* end confdefs.h. */
46530 #include <$ac_header>
46532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46535 grep -v '^ *+' conftest.er1 >conftest.err
46537 cat conftest.err >&5
46538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46539 (exit $ac_status); } >/dev/null; then
46540 if test -s conftest.err; then
46541 ac_cpp_err=$ac_c_preproc_warn_flag
46548 if test -z "$ac_cpp_err"; then
46549 ac_header_preproc=yes
46551 echo "$as_me: failed program was:" >&5
46552 sed 's/^/| /' conftest.$ac_ext >&5
46554 ac_header_preproc=no
46556 rm -f conftest.err conftest.$ac_ext
46557 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46558 echo "${ECHO_T}$ac_header_preproc" >&6
46560 # So? What about this header?
46561 case $ac_header_compiler:$ac_header_preproc in
46563 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46564 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46569 ## ------------------------------------ ##
46570 ## Report this to bug-autoconf@gnu.org. ##
46571 ## ------------------------------------ ##
46574 sed "s/^/$as_me: WARNING: /" >&2
46577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46582 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46585 ## ------------------------------------ ##
46586 ## Report this to bug-autoconf@gnu.org. ##
46587 ## ------------------------------------ ##
46590 sed "s/^/$as_me: WARNING: /" >&2
46593 echo "$as_me:$LINENO: checking for $ac_header" >&5
46594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46596 echo $ECHO_N "(cached) $ECHO_C" >&6
46598 eval "$as_ac_Header=$ac_header_preproc"
46600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46605 cat >>confdefs.h <<_ACEOF
46606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46614 if test "${glibcxx_cv_POLL+set}" = set; then
46615 echo $ECHO_N "(cached) $ECHO_C" >&6
46618 if test x$gcc_no_link = xyes; then
46619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46621 { (exit 1); exit 1; }; }
46623 cat >conftest.$ac_ext <<_ACEOF
46624 #line $LINENO "configure"
46627 cat confdefs.h >>conftest.$ac_ext
46628 cat >>conftest.$ac_ext <<_ACEOF
46629 /* end confdefs.h. */
46634 struct pollfd pfd[1];
46635 pfd[0].events = POLLIN;
46641 rm -f conftest.$ac_objext conftest$ac_exeext
46642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46643 (eval $ac_link) 2>&5
46645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46646 (exit $ac_status); } &&
46647 { ac_try='test -s conftest$ac_exeext'
46648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46649 (eval $ac_try) 2>&5
46651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46652 (exit $ac_status); }; }; then
46653 glibcxx_cv_POLL=yes
46655 echo "$as_me: failed program was:" >&5
46656 sed 's/^/| /' conftest.$ac_ext >&5
46660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46664 if test $glibcxx_cv_POLL = yes; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define HAVE_POLL 1
46672 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46673 echo $ECHO_N "(cached) $ECHO_C" >&6
46676 if test x$gcc_no_link = xyes; then
46677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46679 { (exit 1); exit 1; }; }
46681 cat >conftest.$ac_ext <<_ACEOF
46682 #line $LINENO "configure"
46685 cat confdefs.h >>conftest.$ac_ext
46686 cat >>conftest.$ac_ext <<_ACEOF
46687 /* end confdefs.h. */
46688 #include <sys/stat.h>
46692 struct stat buffer;
46694 S_ISREG(buffer.st_mode);
46699 rm -f conftest.$ac_objext conftest$ac_exeext
46700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46701 (eval $ac_link) 2>&5
46703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46704 (exit $ac_status); } &&
46705 { ac_try='test -s conftest$ac_exeext'
46706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46707 (eval $ac_try) 2>&5
46709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46710 (exit $ac_status); }; }; then
46711 glibcxx_cv_S_ISREG=yes
46713 echo "$as_me: failed program was:" >&5
46714 sed 's/^/| /' conftest.$ac_ext >&5
46716 glibcxx_cv_S_ISREG=no
46718 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46722 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46723 echo $ECHO_N "(cached) $ECHO_C" >&6
46726 if test x$gcc_no_link = xyes; then
46727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46729 { (exit 1); exit 1; }; }
46731 cat >conftest.$ac_ext <<_ACEOF
46732 #line $LINENO "configure"
46735 cat confdefs.h >>conftest.$ac_ext
46736 cat >>conftest.$ac_ext <<_ACEOF
46737 /* end confdefs.h. */
46738 #include <sys/stat.h>
46742 struct stat buffer;
46744 S_IFREG & buffer.st_mode;
46749 rm -f conftest.$ac_objext conftest$ac_exeext
46750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46751 (eval $ac_link) 2>&5
46753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46754 (exit $ac_status); } &&
46755 { ac_try='test -s conftest$ac_exeext'
46756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46757 (eval $ac_try) 2>&5
46759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46760 (exit $ac_status); }; }; then
46761 glibcxx_cv_S_IFREG=yes
46763 echo "$as_me: failed program was:" >&5
46764 sed 's/^/| /' conftest.$ac_ext >&5
46766 glibcxx_cv_S_IFREG=no
46768 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46772 if test $glibcxx_cv_S_ISREG = yes; then
46773 cat >>confdefs.h <<\_ACEOF
46774 #define HAVE_S_ISREG 1
46777 elif test $glibcxx_cv_S_IFREG = yes; then
46778 cat >>confdefs.h <<\_ACEOF
46779 #define HAVE_S_IFREG 1
46787 for ac_header in sys/uio.h
46789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46790 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46791 echo "$as_me:$LINENO: checking for $ac_header" >&5
46792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46794 echo $ECHO_N "(cached) $ECHO_C" >&6
46796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46799 # Is the header compilable?
46800 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46801 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46802 cat >conftest.$ac_ext <<_ACEOF
46803 #line $LINENO "configure"
46806 cat confdefs.h >>conftest.$ac_ext
46807 cat >>conftest.$ac_ext <<_ACEOF
46808 /* end confdefs.h. */
46809 $ac_includes_default
46810 #include <$ac_header>
46812 rm -f conftest.$ac_objext
46813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46814 (eval $ac_compile) 2>&5
46816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46817 (exit $ac_status); } &&
46818 { ac_try='test -s conftest.$ac_objext'
46819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46820 (eval $ac_try) 2>&5
46822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46823 (exit $ac_status); }; }; then
46824 ac_header_compiler=yes
46826 echo "$as_me: failed program was:" >&5
46827 sed 's/^/| /' conftest.$ac_ext >&5
46829 ac_header_compiler=no
46831 rm -f conftest.$ac_objext conftest.$ac_ext
46832 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46833 echo "${ECHO_T}$ac_header_compiler" >&6
46835 # Is the header present?
46836 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46838 cat >conftest.$ac_ext <<_ACEOF
46839 #line $LINENO "configure"
46842 cat confdefs.h >>conftest.$ac_ext
46843 cat >>conftest.$ac_ext <<_ACEOF
46844 /* end confdefs.h. */
46845 #include <$ac_header>
46847 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46848 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46850 grep -v '^ *+' conftest.er1 >conftest.err
46852 cat conftest.err >&5
46853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46854 (exit $ac_status); } >/dev/null; then
46855 if test -s conftest.err; then
46856 ac_cpp_err=$ac_c_preproc_warn_flag
46863 if test -z "$ac_cpp_err"; then
46864 ac_header_preproc=yes
46866 echo "$as_me: failed program was:" >&5
46867 sed 's/^/| /' conftest.$ac_ext >&5
46869 ac_header_preproc=no
46871 rm -f conftest.err conftest.$ac_ext
46872 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46873 echo "${ECHO_T}$ac_header_preproc" >&6
46875 # So? What about this header?
46876 case $ac_header_compiler:$ac_header_preproc in
46878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46884 ## ------------------------------------ ##
46885 ## Report this to bug-autoconf@gnu.org. ##
46886 ## ------------------------------------ ##
46889 sed "s/^/$as_me: WARNING: /" >&2
46892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46900 ## ------------------------------------ ##
46901 ## Report this to bug-autoconf@gnu.org. ##
46902 ## ------------------------------------ ##
46905 sed "s/^/$as_me: WARNING: /" >&2
46908 echo "$as_me:$LINENO: checking for $ac_header" >&5
46909 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46910 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46911 echo $ECHO_N "(cached) $ECHO_C" >&6
46913 eval "$as_ac_Header=$ac_header_preproc"
46915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46919 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46920 cat >>confdefs.h <<_ACEOF
46921 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46929 if test "${glibcxx_cv_WRITEV+set}" = set; then
46930 echo $ECHO_N "(cached) $ECHO_C" >&6
46933 if test x$gcc_no_link = xyes; then
46934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46936 { (exit 1); exit 1; }; }
46938 cat >conftest.$ac_ext <<_ACEOF
46939 #line $LINENO "configure"
46942 cat confdefs.h >>conftest.$ac_ext
46943 cat >>conftest.$ac_ext <<_ACEOF
46944 /* end confdefs.h. */
46945 #include <sys/uio.h>
46949 struct iovec iov[2];
46955 rm -f conftest.$ac_objext conftest$ac_exeext
46956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46957 (eval $ac_link) 2>&5
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); } &&
46961 { ac_try='test -s conftest$ac_exeext'
46962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46963 (eval $ac_try) 2>&5
46965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46966 (exit $ac_status); }; }; then
46967 glibcxx_cv_WRITEV=yes
46969 echo "$as_me: failed program was:" >&5
46970 sed 's/^/| /' conftest.$ac_ext >&5
46972 glibcxx_cv_WRITEV=no
46974 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46978 if test $glibcxx_cv_WRITEV = yes; then
46979 cat >>confdefs.h <<\_ACEOF
46980 #define HAVE_WRITEV 1
46986 cat >>confdefs.h <<\_ACEOF
46987 #define HAVE_LC_MESSAGES 1
46991 cat >conftest.$ac_ext <<_ACEOF
46992 #line $LINENO "configure"
46995 cat confdefs.h >>conftest.$ac_ext
46996 cat >>conftest.$ac_ext <<_ACEOF
46997 /* end confdefs.h. */
46998 #include <setjmp.h>
47003 while (! sigsetjmp (env, 1))
47004 siglongjmp (env, 1);
47010 rm -f conftest.$ac_objext
47011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47012 (eval $ac_compile) 2>&5
47014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47015 (exit $ac_status); } &&
47016 { ac_try='test -s conftest.$ac_objext'
47017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47018 (eval $ac_try) 2>&5
47020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021 (exit $ac_status); }; }; then
47023 cat >>confdefs.h <<\_ACEOF
47024 #define HAVE_SIGSETJMP 1
47028 echo "$as_me: failed program was:" >&5
47029 sed 's/^/| /' conftest.$ac_ext >&5
47032 rm -f conftest.$ac_objext conftest.$ac_ext
47034 cat >>confdefs.h <<\_ACEOF
47035 #define HAVE_MMAP 1
47057 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
47058 machine/endian.h machine/param.h sys/machine.h sys/types.h \
47059 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
47060 sys/time.h unistd.h
47062 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47063 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47064 echo "$as_me:$LINENO: checking for $ac_header" >&5
47065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47067 echo $ECHO_N "(cached) $ECHO_C" >&6
47069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47072 # Is the header compilable?
47073 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47074 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47075 cat >conftest.$ac_ext <<_ACEOF
47076 #line $LINENO "configure"
47079 cat confdefs.h >>conftest.$ac_ext
47080 cat >>conftest.$ac_ext <<_ACEOF
47081 /* end confdefs.h. */
47082 $ac_includes_default
47083 #include <$ac_header>
47085 rm -f conftest.$ac_objext
47086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47087 (eval $ac_compile) 2>&5
47089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47090 (exit $ac_status); } &&
47091 { ac_try='test -s conftest.$ac_objext'
47092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47093 (eval $ac_try) 2>&5
47095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47096 (exit $ac_status); }; }; then
47097 ac_header_compiler=yes
47099 echo "$as_me: failed program was:" >&5
47100 sed 's/^/| /' conftest.$ac_ext >&5
47102 ac_header_compiler=no
47104 rm -f conftest.$ac_objext conftest.$ac_ext
47105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47106 echo "${ECHO_T}$ac_header_compiler" >&6
47108 # Is the header present?
47109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47111 cat >conftest.$ac_ext <<_ACEOF
47112 #line $LINENO "configure"
47115 cat confdefs.h >>conftest.$ac_ext
47116 cat >>conftest.$ac_ext <<_ACEOF
47117 /* end confdefs.h. */
47118 #include <$ac_header>
47120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47123 grep -v '^ *+' conftest.er1 >conftest.err
47125 cat conftest.err >&5
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); } >/dev/null; then
47128 if test -s conftest.err; then
47129 ac_cpp_err=$ac_c_preproc_warn_flag
47136 if test -z "$ac_cpp_err"; then
47137 ac_header_preproc=yes
47139 echo "$as_me: failed program was:" >&5
47140 sed 's/^/| /' conftest.$ac_ext >&5
47142 ac_header_preproc=no
47144 rm -f conftest.err conftest.$ac_ext
47145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47146 echo "${ECHO_T}$ac_header_preproc" >&6
47148 # So? What about this header?
47149 case $ac_header_compiler:$ac_header_preproc in
47151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47157 ## ------------------------------------ ##
47158 ## Report this to bug-autoconf@gnu.org. ##
47159 ## ------------------------------------ ##
47162 sed "s/^/$as_me: WARNING: /" >&2
47165 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47166 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47167 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47168 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47169 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47170 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47173 ## ------------------------------------ ##
47174 ## Report this to bug-autoconf@gnu.org. ##
47175 ## ------------------------------------ ##
47178 sed "s/^/$as_me: WARNING: /" >&2
47181 echo "$as_me:$LINENO: checking for $ac_header" >&5
47182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47184 echo $ECHO_N "(cached) $ECHO_C" >&6
47186 eval "$as_ac_Header=$ac_header_preproc"
47188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47193 cat >>confdefs.h <<_ACEOF
47194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47201 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47204 # If we're not using GNU ld, then there's no point in even trying these
47205 # tests. Check for that first. We should have already tested for gld
47206 # by now (in libtool), but require it now just to be safe...
47207 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47208 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47212 # The name set by libtool depends on the version of libtool. Shame on us
47213 # for depending on an impl detail, but c'est la vie. Older versions used
47214 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47215 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47216 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47217 # set (hence we're using an older libtool), then set it.
47218 if test x${with_gnu_ld+set} != xset; then
47219 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47220 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47223 with_gnu_ld=$ac_cv_prog_gnu_ld
47227 # Start by getting the version number. I think the libtool test already
47228 # does some of this, but throws away the result.
47230 ldver=`$LD --version 2>/dev/null | head -1 | \
47231 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
47233 glibcxx_gnu_ld_version=`echo $ldver | \
47234 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47236 # Set --gc-sections.
47237 if test "$with_gnu_ld" = "notbroken"; then
47238 # GNU ld it is! Joy and bunny rabbits!
47240 # All these tests are for C++; save the language and the compiler flags.
47241 # Need to do this so that g++ won't try to link in libstdc++
47242 ac_test_CFLAGS="${CFLAGS+set}"
47243 ac_save_CFLAGS="$CFLAGS"
47244 CFLAGS='-x c++ -Wl,--gc-sections'
47246 # Check for -Wl,--gc-sections
47247 # XXX This test is broken at the moment, as symbols required for linking
47248 # are now in libsupc++ (not built yet). In addition, this test has
47249 # cored on solaris in the past. In addition, --gc-sections doesn't
47250 # really work at the moment (keeps on discarding used sections, first
47251 # .eh_frame and now some of the glibc sections for iconv).
47252 # Bzzzzt. Thanks for playing, maybe next time.
47253 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
47254 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
47255 if test "$cross_compiling" = yes; then
47256 ac_sectionLDflags=yes
47258 cat >conftest.$ac_ext <<_ACEOF
47259 #line $LINENO "configure"
47262 cat confdefs.h >>conftest.$ac_ext
47263 cat >>conftest.$ac_ext <<_ACEOF
47264 /* end confdefs.h. */
47274 rm -f conftest$ac_exeext
47275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47276 (eval $ac_link) 2>&5
47278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
47280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47281 (eval $ac_try) 2>&5
47283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47284 (exit $ac_status); }; }; then
47285 ac_sectionLDflags=yes
47287 echo "$as_me: program exited with status $ac_status" >&5
47288 echo "$as_me: failed program was:" >&5
47289 sed 's/^/| /' conftest.$ac_ext >&5
47291 ( exit $ac_status )
47292 ac_sectionLDflags=no
47294 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
47296 if test "$ac_test_CFLAGS" = set; then
47297 CFLAGS="$ac_save_CFLAGS"
47299 # this is the suspicious part
47302 if test "$ac_sectionLDflags" = "yes"; then
47303 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47305 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
47306 echo "${ECHO_T}$ac_sectionLDflags" >&6
47309 # Set linker optimization flags.
47310 if test x"$with_gnu_ld" = x"yes"; then
47311 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47319 echo "$as_me:$LINENO: checking for main in -lm" >&5
47320 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47321 if test "${ac_cv_lib_m_main+set}" = set; then
47322 echo $ECHO_N "(cached) $ECHO_C" >&6
47324 ac_check_lib_save_LIBS=$LIBS
47326 if test x$gcc_no_link = xyes; then
47327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47329 { (exit 1); exit 1; }; }
47331 cat >conftest.$ac_ext <<_ACEOF
47332 #line $LINENO "configure"
47335 cat confdefs.h >>conftest.$ac_ext
47336 cat >>conftest.$ac_ext <<_ACEOF
47337 /* end confdefs.h. */
47348 rm -f conftest.$ac_objext conftest$ac_exeext
47349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47350 (eval $ac_link) 2>&5
47352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47353 (exit $ac_status); } &&
47354 { ac_try='test -s conftest$ac_exeext'
47355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47356 (eval $ac_try) 2>&5
47358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47359 (exit $ac_status); }; }; then
47360 ac_cv_lib_m_main=yes
47362 echo "$as_me: failed program was:" >&5
47363 sed 's/^/| /' conftest.$ac_ext >&5
47365 ac_cv_lib_m_main=no
47367 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47368 LIBS=$ac_check_lib_save_LIBS
47370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47371 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47372 if test $ac_cv_lib_m_main = yes; then
47373 cat >>confdefs.h <<_ACEOF
47374 #define HAVE_LIBM 1
47383 for ac_func in nan copysignf
47385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47386 echo "$as_me:$LINENO: checking for $ac_func" >&5
47387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47388 if eval "test \"\${$as_ac_var+set}\" = set"; then
47389 echo $ECHO_N "(cached) $ECHO_C" >&6
47391 if test x$gcc_no_link = xyes; then
47392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47394 { (exit 1); exit 1; }; }
47396 cat >conftest.$ac_ext <<_ACEOF
47397 #line $LINENO "configure"
47400 cat confdefs.h >>conftest.$ac_ext
47401 cat >>conftest.$ac_ext <<_ACEOF
47402 /* end confdefs.h. */
47403 /* System header to define __stub macros and hopefully few prototypes,
47404 which can conflict with char $ac_func (); below.
47405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47406 <limits.h> exists even on freestanding compilers. */
47408 # include <limits.h>
47410 # include <assert.h>
47412 /* Override any gcc2 internal prototype to avoid an error. */
47417 /* We use char because int might match the return type of a gcc2
47418 builtin and then its argument prototype would still apply. */
47420 /* The GNU C library defines this for functions which it implements
47421 to always fail with ENOSYS. Some functions are actually named
47422 something starting with __ and the normal name is an alias. */
47423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47426 char (*f) () = $ac_func;
47435 return f != $ac_func;
47440 rm -f conftest.$ac_objext conftest$ac_exeext
47441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47442 (eval $ac_link) 2>&5
47444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47445 (exit $ac_status); } &&
47446 { ac_try='test -s conftest$ac_exeext'
47447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47448 (eval $ac_try) 2>&5
47450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47451 (exit $ac_status); }; }; then
47452 eval "$as_ac_var=yes"
47454 echo "$as_me: failed program was:" >&5
47455 sed 's/^/| /' conftest.$ac_ext >&5
47457 eval "$as_ac_var=no"
47459 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47463 if test `eval echo '${'$as_ac_var'}'` = yes; then
47464 cat >>confdefs.h <<_ACEOF
47465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47469 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47475 for ac_func in __signbit
47477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47478 echo "$as_me:$LINENO: checking for $ac_func" >&5
47479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47480 if eval "test \"\${$as_ac_var+set}\" = set"; then
47481 echo $ECHO_N "(cached) $ECHO_C" >&6
47483 if test x$gcc_no_link = xyes; then
47484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47486 { (exit 1); exit 1; }; }
47488 cat >conftest.$ac_ext <<_ACEOF
47489 #line $LINENO "configure"
47492 cat confdefs.h >>conftest.$ac_ext
47493 cat >>conftest.$ac_ext <<_ACEOF
47494 /* end confdefs.h. */
47495 /* System header to define __stub macros and hopefully few prototypes,
47496 which can conflict with char $ac_func (); below.
47497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47498 <limits.h> exists even on freestanding compilers. */
47500 # include <limits.h>
47502 # include <assert.h>
47504 /* Override any gcc2 internal prototype to avoid an error. */
47509 /* We use char because int might match the return type of a gcc2
47510 builtin and then its argument prototype would still apply. */
47512 /* The GNU C library defines this for functions which it implements
47513 to always fail with ENOSYS. Some functions are actually named
47514 something starting with __ and the normal name is an alias. */
47515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47518 char (*f) () = $ac_func;
47527 return f != $ac_func;
47532 rm -f conftest.$ac_objext conftest$ac_exeext
47533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47534 (eval $ac_link) 2>&5
47536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537 (exit $ac_status); } &&
47538 { ac_try='test -s conftest$ac_exeext'
47539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47540 (eval $ac_try) 2>&5
47542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543 (exit $ac_status); }; }; then
47544 eval "$as_ac_var=yes"
47546 echo "$as_me: failed program was:" >&5
47547 sed 's/^/| /' conftest.$ac_ext >&5
47549 eval "$as_ac_var=no"
47551 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47555 if test `eval echo '${'$as_ac_var'}'` = yes; then
47556 cat >>confdefs.h <<_ACEOF
47557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47561 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47566 for ac_func in __signbitf
47568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47569 echo "$as_me:$LINENO: checking for $ac_func" >&5
47570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47571 if eval "test \"\${$as_ac_var+set}\" = set"; then
47572 echo $ECHO_N "(cached) $ECHO_C" >&6
47574 if test x$gcc_no_link = xyes; then
47575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47577 { (exit 1); exit 1; }; }
47579 cat >conftest.$ac_ext <<_ACEOF
47580 #line $LINENO "configure"
47583 cat confdefs.h >>conftest.$ac_ext
47584 cat >>conftest.$ac_ext <<_ACEOF
47585 /* end confdefs.h. */
47586 /* System header to define __stub macros and hopefully few prototypes,
47587 which can conflict with char $ac_func (); below.
47588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47589 <limits.h> exists even on freestanding compilers. */
47591 # include <limits.h>
47593 # include <assert.h>
47595 /* Override any gcc2 internal prototype to avoid an error. */
47600 /* We use char because int might match the return type of a gcc2
47601 builtin and then its argument prototype would still apply. */
47603 /* The GNU C library defines this for functions which it implements
47604 to always fail with ENOSYS. Some functions are actually named
47605 something starting with __ and the normal name is an alias. */
47606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47609 char (*f) () = $ac_func;
47618 return f != $ac_func;
47623 rm -f conftest.$ac_objext conftest$ac_exeext
47624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47625 (eval $ac_link) 2>&5
47627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47628 (exit $ac_status); } &&
47629 { ac_try='test -s conftest$ac_exeext'
47630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47631 (eval $ac_try) 2>&5
47633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47634 (exit $ac_status); }; }; then
47635 eval "$as_ac_var=yes"
47637 echo "$as_me: failed program was:" >&5
47638 sed 's/^/| /' conftest.$ac_ext >&5
47640 eval "$as_ac_var=no"
47642 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47646 if test `eval echo '${'$as_ac_var'}'` = yes; then
47647 cat >>confdefs.h <<_ACEOF
47648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47652 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47657 if test x$ac_cv_func_copysignl = x"yes"; then
47659 for ac_func in __signbitl
47661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47662 echo "$as_me:$LINENO: checking for $ac_func" >&5
47663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47664 if eval "test \"\${$as_ac_var+set}\" = set"; then
47665 echo $ECHO_N "(cached) $ECHO_C" >&6
47667 if test x$gcc_no_link = xyes; then
47668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47670 { (exit 1); exit 1; }; }
47672 cat >conftest.$ac_ext <<_ACEOF
47673 #line $LINENO "configure"
47676 cat confdefs.h >>conftest.$ac_ext
47677 cat >>conftest.$ac_ext <<_ACEOF
47678 /* end confdefs.h. */
47679 /* System header to define __stub macros and hopefully few prototypes,
47680 which can conflict with char $ac_func (); below.
47681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47682 <limits.h> exists even on freestanding compilers. */
47684 # include <limits.h>
47686 # include <assert.h>
47688 /* Override any gcc2 internal prototype to avoid an error. */
47693 /* We use char because int might match the return type of a gcc2
47694 builtin and then its argument prototype would still apply. */
47696 /* The GNU C library defines this for functions which it implements
47697 to always fail with ENOSYS. Some functions are actually named
47698 something starting with __ and the normal name is an alias. */
47699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47702 char (*f) () = $ac_func;
47711 return f != $ac_func;
47716 rm -f conftest.$ac_objext conftest$ac_exeext
47717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47718 (eval $ac_link) 2>&5
47720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47721 (exit $ac_status); } &&
47722 { ac_try='test -s conftest$ac_exeext'
47723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47724 (eval $ac_try) 2>&5
47726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47727 (exit $ac_status); }; }; then
47728 eval "$as_ac_var=yes"
47730 echo "$as_me: failed program was:" >&5
47731 sed 's/^/| /' conftest.$ac_ext >&5
47733 eval "$as_ac_var=no"
47735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47739 if test `eval echo '${'$as_ac_var'}'` = yes; then
47740 cat >>confdefs.h <<_ACEOF
47741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47745 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47751 # XXX Review this. Nothing uses it.
47752 if test -n "$LIBMATHOBJS"; then
47758 # Test wchar.h for mbstate_t, which is needed for char_traits and
47759 # others even if wchar_t support is not on.
47760 echo "$as_me:$LINENO: checking for mbstate_t" >&5
47761 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47762 cat >conftest.$ac_ext <<_ACEOF
47763 #line $LINENO "configure"
47766 cat confdefs.h >>conftest.$ac_ext
47767 cat >>conftest.$ac_ext <<_ACEOF
47768 /* end confdefs.h. */
47773 mbstate_t teststate;
47778 rm -f conftest.$ac_objext
47779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47780 (eval $ac_compile) 2>&5
47782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47783 (exit $ac_status); } &&
47784 { ac_try='test -s conftest.$ac_objext'
47785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47786 (eval $ac_try) 2>&5
47788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47789 (exit $ac_status); }; }; then
47792 echo "$as_me: failed program was:" >&5
47793 sed 's/^/| /' conftest.$ac_ext >&5
47797 rm -f conftest.$ac_objext conftest.$ac_ext
47798 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47799 echo "${ECHO_T}$have_mbstate_t" >&6
47800 if test x"$have_mbstate_t" = xyes; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define HAVE_MBSTATE_T 1
47807 # Sanity check for existence of ISO C99 headers for extended encoding.
47809 for ac_header in wchar.h
47811 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47812 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47813 echo "$as_me:$LINENO: checking for $ac_header" >&5
47814 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47816 echo $ECHO_N "(cached) $ECHO_C" >&6
47818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47821 # Is the header compilable?
47822 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47823 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47824 cat >conftest.$ac_ext <<_ACEOF
47825 #line $LINENO "configure"
47828 cat confdefs.h >>conftest.$ac_ext
47829 cat >>conftest.$ac_ext <<_ACEOF
47830 /* end confdefs.h. */
47831 $ac_includes_default
47832 #include <$ac_header>
47834 rm -f conftest.$ac_objext
47835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47836 (eval $ac_compile) 2>&5
47838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839 (exit $ac_status); } &&
47840 { ac_try='test -s conftest.$ac_objext'
47841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47842 (eval $ac_try) 2>&5
47844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845 (exit $ac_status); }; }; then
47846 ac_header_compiler=yes
47848 echo "$as_me: failed program was:" >&5
47849 sed 's/^/| /' conftest.$ac_ext >&5
47851 ac_header_compiler=no
47853 rm -f conftest.$ac_objext conftest.$ac_ext
47854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47855 echo "${ECHO_T}$ac_header_compiler" >&6
47857 # Is the header present?
47858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47860 cat >conftest.$ac_ext <<_ACEOF
47861 #line $LINENO "configure"
47864 cat confdefs.h >>conftest.$ac_ext
47865 cat >>conftest.$ac_ext <<_ACEOF
47866 /* end confdefs.h. */
47867 #include <$ac_header>
47869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47872 grep -v '^ *+' conftest.er1 >conftest.err
47874 cat conftest.err >&5
47875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47876 (exit $ac_status); } >/dev/null; then
47877 if test -s conftest.err; then
47878 ac_cpp_err=$ac_c_preproc_warn_flag
47885 if test -z "$ac_cpp_err"; then
47886 ac_header_preproc=yes
47888 echo "$as_me: failed program was:" >&5
47889 sed 's/^/| /' conftest.$ac_ext >&5
47891 ac_header_preproc=no
47893 rm -f conftest.err conftest.$ac_ext
47894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47895 echo "${ECHO_T}$ac_header_preproc" >&6
47897 # So? What about this header?
47898 case $ac_header_compiler:$ac_header_preproc in
47900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47906 ## ------------------------------------ ##
47907 ## Report this to bug-autoconf@gnu.org. ##
47908 ## ------------------------------------ ##
47911 sed "s/^/$as_me: WARNING: /" >&2
47914 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47915 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47916 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47917 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47922 ## ------------------------------------ ##
47923 ## Report this to bug-autoconf@gnu.org. ##
47924 ## ------------------------------------ ##
47927 sed "s/^/$as_me: WARNING: /" >&2
47930 echo "$as_me:$LINENO: checking for $ac_header" >&5
47931 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47933 echo $ECHO_N "(cached) $ECHO_C" >&6
47935 eval "$as_ac_Header=$ac_header_preproc"
47937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47941 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47942 cat >>confdefs.h <<_ACEOF
47943 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47953 for ac_header in wctype.h
47955 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47956 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47957 echo "$as_me:$LINENO: checking for $ac_header" >&5
47958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47960 echo $ECHO_N "(cached) $ECHO_C" >&6
47962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47965 # Is the header compilable?
47966 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47967 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47968 cat >conftest.$ac_ext <<_ACEOF
47969 #line $LINENO "configure"
47972 cat confdefs.h >>conftest.$ac_ext
47973 cat >>conftest.$ac_ext <<_ACEOF
47974 /* end confdefs.h. */
47975 $ac_includes_default
47976 #include <$ac_header>
47978 rm -f conftest.$ac_objext
47979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47980 (eval $ac_compile) 2>&5
47982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47983 (exit $ac_status); } &&
47984 { ac_try='test -s conftest.$ac_objext'
47985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47986 (eval $ac_try) 2>&5
47988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989 (exit $ac_status); }; }; then
47990 ac_header_compiler=yes
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47995 ac_header_compiler=no
47997 rm -f conftest.$ac_objext conftest.$ac_ext
47998 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47999 echo "${ECHO_T}$ac_header_compiler" >&6
48001 # Is the header present?
48002 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48003 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48004 cat >conftest.$ac_ext <<_ACEOF
48005 #line $LINENO "configure"
48008 cat confdefs.h >>conftest.$ac_ext
48009 cat >>conftest.$ac_ext <<_ACEOF
48010 /* end confdefs.h. */
48011 #include <$ac_header>
48013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48014 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48016 grep -v '^ *+' conftest.er1 >conftest.err
48018 cat conftest.err >&5
48019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020 (exit $ac_status); } >/dev/null; then
48021 if test -s conftest.err; then
48022 ac_cpp_err=$ac_c_preproc_warn_flag
48029 if test -z "$ac_cpp_err"; then
48030 ac_header_preproc=yes
48032 echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48035 ac_header_preproc=no
48037 rm -f conftest.err conftest.$ac_ext
48038 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48039 echo "${ECHO_T}$ac_header_preproc" >&6
48041 # So? What about this header?
48042 case $ac_header_compiler:$ac_header_preproc in
48044 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48045 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48050 ## ------------------------------------ ##
48051 ## Report this to bug-autoconf@gnu.org. ##
48052 ## ------------------------------------ ##
48055 sed "s/^/$as_me: WARNING: /" >&2
48058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48063 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48066 ## ------------------------------------ ##
48067 ## Report this to bug-autoconf@gnu.org. ##
48068 ## ------------------------------------ ##
48071 sed "s/^/$as_me: WARNING: /" >&2
48074 echo "$as_me:$LINENO: checking for $ac_header" >&5
48075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48077 echo $ECHO_N "(cached) $ECHO_C" >&6
48079 eval "$as_ac_Header=$ac_header_preproc"
48081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48086 cat >>confdefs.h <<_ACEOF
48087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48089 ac_has_wctype_h=yes
48097 # Only continue checking if the ISO C99 headers exist and support is on.
48098 if test x"$ac_has_wchar_h" = xyes &&
48099 test x"$ac_has_wctype_h" = xyes &&
48100 test x"$enable_c_mbchar" != xno; then
48102 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
48103 # numeric_limits can instantiate type_traits<wchar_t>
48104 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
48105 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
48106 cat >conftest.$ac_ext <<_ACEOF
48107 #line $LINENO "configure"
48110 cat confdefs.h >>conftest.$ac_ext
48111 cat >>conftest.$ac_ext <<_ACEOF
48112 /* end confdefs.h. */
48117 int i = WCHAR_MIN; int j = WCHAR_MAX;
48122 rm -f conftest.$ac_objext
48123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48124 (eval $ac_compile) 2>&5
48126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48127 (exit $ac_status); } &&
48128 { ac_try='test -s conftest.$ac_objext'
48129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48130 (eval $ac_try) 2>&5
48132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48133 (exit $ac_status); }; }; then
48134 has_wchar_minmax=yes
48136 echo "$as_me: failed program was:" >&5
48137 sed 's/^/| /' conftest.$ac_ext >&5
48139 has_wchar_minmax=no
48141 rm -f conftest.$ac_objext conftest.$ac_ext
48142 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
48143 echo "${ECHO_T}$has_wchar_minmax" >&6
48145 # Test wchar.h for WEOF, which is what we use to determine whether
48146 # to specialize for char_traits<wchar_t> or not.
48147 echo "$as_me:$LINENO: checking for WEOF" >&5
48148 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
48149 cat >conftest.$ac_ext <<_ACEOF
48150 #line $LINENO "configure"
48153 cat confdefs.h >>conftest.$ac_ext
48154 cat >>conftest.$ac_ext <<_ACEOF
48155 /* end confdefs.h. */
48158 #include <stddef.h>
48167 rm -f conftest.$ac_objext
48168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48169 (eval $ac_compile) 2>&5
48171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48172 (exit $ac_status); } &&
48173 { ac_try='test -s conftest.$ac_objext'
48174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48175 (eval $ac_try) 2>&5
48177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48178 (exit $ac_status); }; }; then
48181 echo "$as_me: failed program was:" >&5
48182 sed 's/^/| /' conftest.$ac_ext >&5
48186 rm -f conftest.$ac_objext conftest.$ac_ext
48187 echo "$as_me:$LINENO: result: $has_weof" >&5
48188 echo "${ECHO_T}$has_weof" >&6
48190 # Tests for wide character functions used in char_traits<wchar_t>.
48198 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
48200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48201 echo "$as_me:$LINENO: checking for $ac_func" >&5
48202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48203 if eval "test \"\${$as_ac_var+set}\" = set"; then
48204 echo $ECHO_N "(cached) $ECHO_C" >&6
48206 if test x$gcc_no_link = xyes; then
48207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48209 { (exit 1); exit 1; }; }
48211 cat >conftest.$ac_ext <<_ACEOF
48212 #line $LINENO "configure"
48215 cat confdefs.h >>conftest.$ac_ext
48216 cat >>conftest.$ac_ext <<_ACEOF
48217 /* end confdefs.h. */
48218 /* System header to define __stub macros and hopefully few prototypes,
48219 which can conflict with char $ac_func (); below.
48220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48221 <limits.h> exists even on freestanding compilers. */
48223 # include <limits.h>
48225 # include <assert.h>
48227 /* Override any gcc2 internal prototype to avoid an error. */
48232 /* We use char because int might match the return type of a gcc2
48233 builtin and then its argument prototype would still apply. */
48235 /* The GNU C library defines this for functions which it implements
48236 to always fail with ENOSYS. Some functions are actually named
48237 something starting with __ and the normal name is an alias. */
48238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48241 char (*f) () = $ac_func;
48250 return f != $ac_func;
48255 rm -f conftest.$ac_objext conftest$ac_exeext
48256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48257 (eval $ac_link) 2>&5
48259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48260 (exit $ac_status); } &&
48261 { ac_try='test -s conftest$ac_exeext'
48262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48263 (eval $ac_try) 2>&5
48265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48266 (exit $ac_status); }; }; then
48267 eval "$as_ac_var=yes"
48269 echo "$as_me: failed program was:" >&5
48270 sed 's/^/| /' conftest.$ac_ext >&5
48272 eval "$as_ac_var=no"
48274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48278 if test `eval echo '${'$as_ac_var'}'` = yes; then
48279 cat >>confdefs.h <<_ACEOF
48280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48289 # Checks for names injected into std:: by the c_std headers.
48336 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48337 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48338 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48339 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48340 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48341 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48344 echo "$as_me:$LINENO: checking for $ac_func" >&5
48345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48346 if eval "test \"\${$as_ac_var+set}\" = set"; then
48347 echo $ECHO_N "(cached) $ECHO_C" >&6
48349 if test x$gcc_no_link = xyes; then
48350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48352 { (exit 1); exit 1; }; }
48354 cat >conftest.$ac_ext <<_ACEOF
48355 #line $LINENO "configure"
48358 cat confdefs.h >>conftest.$ac_ext
48359 cat >>conftest.$ac_ext <<_ACEOF
48360 /* end confdefs.h. */
48361 /* System header to define __stub macros and hopefully few prototypes,
48362 which can conflict with char $ac_func (); below.
48363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48364 <limits.h> exists even on freestanding compilers. */
48366 # include <limits.h>
48368 # include <assert.h>
48370 /* Override any gcc2 internal prototype to avoid an error. */
48375 /* We use char because int might match the return type of a gcc2
48376 builtin and then its argument prototype would still apply. */
48378 /* The GNU C library defines this for functions which it implements
48379 to always fail with ENOSYS. Some functions are actually named
48380 something starting with __ and the normal name is an alias. */
48381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48384 char (*f) () = $ac_func;
48393 return f != $ac_func;
48398 rm -f conftest.$ac_objext conftest$ac_exeext
48399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48400 (eval $ac_link) 2>&5
48402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403 (exit $ac_status); } &&
48404 { ac_try='test -s conftest$ac_exeext'
48405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48406 (eval $ac_try) 2>&5
48408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48409 (exit $ac_status); }; }; then
48410 eval "$as_ac_var=yes"
48412 echo "$as_me: failed program was:" >&5
48413 sed 's/^/| /' conftest.$ac_ext >&5
48415 eval "$as_ac_var=no"
48417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48421 if test `eval echo '${'$as_ac_var'}'` = yes; then
48422 cat >>confdefs.h <<_ACEOF
48423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48432 # Checks for wide character functions that are not required
48433 # for basic wchar_t support. Don't disable support if they are missing.
48434 # Injection of these is wrapped with guard macros.
48440 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48443 echo "$as_me:$LINENO: checking for $ac_func" >&5
48444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48445 if eval "test \"\${$as_ac_var+set}\" = set"; then
48446 echo $ECHO_N "(cached) $ECHO_C" >&6
48448 if test x$gcc_no_link = xyes; then
48449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48451 { (exit 1); exit 1; }; }
48453 cat >conftest.$ac_ext <<_ACEOF
48454 #line $LINENO "configure"
48457 cat confdefs.h >>conftest.$ac_ext
48458 cat >>conftest.$ac_ext <<_ACEOF
48459 /* end confdefs.h. */
48460 /* System header to define __stub macros and hopefully few prototypes,
48461 which can conflict with char $ac_func (); below.
48462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48463 <limits.h> exists even on freestanding compilers. */
48465 # include <limits.h>
48467 # include <assert.h>
48469 /* Override any gcc2 internal prototype to avoid an error. */
48474 /* We use char because int might match the return type of a gcc2
48475 builtin and then its argument prototype would still apply. */
48477 /* The GNU C library defines this for functions which it implements
48478 to always fail with ENOSYS. Some functions are actually named
48479 something starting with __ and the normal name is an alias. */
48480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48483 char (*f) () = $ac_func;
48492 return f != $ac_func;
48497 rm -f conftest.$ac_objext conftest$ac_exeext
48498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48499 (eval $ac_link) 2>&5
48501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48502 (exit $ac_status); } &&
48503 { ac_try='test -s conftest$ac_exeext'
48504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48505 (eval $ac_try) 2>&5
48507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48508 (exit $ac_status); }; }; then
48509 eval "$as_ac_var=yes"
48511 echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.$ac_ext >&5
48514 eval "$as_ac_var=no"
48516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48520 if test `eval echo '${'$as_ac_var'}'` = yes; then
48521 cat >>confdefs.h <<_ACEOF
48522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48529 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48530 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48531 if test x"$has_weof" = xyes &&
48532 test x"$has_wchar_minmax" = xyes &&
48533 test x"$ac_wfuncs" = xyes;
48535 ac_isoC99_wchar_t=yes
48537 ac_isoC99_wchar_t=no
48539 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48540 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48542 # Use iconv for wchar_t to char conversions. As such, check for
48543 # X/Open Portability Guide, version 2 features (XPG2).
48544 if test "${ac_cv_header_iconv_h+set}" = set; then
48545 echo "$as_me:$LINENO: checking for iconv.h" >&5
48546 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48547 if test "${ac_cv_header_iconv_h+set}" = set; then
48548 echo $ECHO_N "(cached) $ECHO_C" >&6
48550 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48551 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48553 # Is the header compilable?
48554 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48555 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48556 cat >conftest.$ac_ext <<_ACEOF
48557 #line $LINENO "configure"
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48563 $ac_includes_default
48566 rm -f conftest.$ac_objext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48568 (eval $ac_compile) 2>&5
48570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48571 (exit $ac_status); } &&
48572 { ac_try='test -s conftest.$ac_objext'
48573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48574 (eval $ac_try) 2>&5
48576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48577 (exit $ac_status); }; }; then
48578 ac_header_compiler=yes
48580 echo "$as_me: failed program was:" >&5
48581 sed 's/^/| /' conftest.$ac_ext >&5
48583 ac_header_compiler=no
48585 rm -f conftest.$ac_objext conftest.$ac_ext
48586 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48587 echo "${ECHO_T}$ac_header_compiler" >&6
48589 # Is the header present?
48590 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48591 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48592 cat >conftest.$ac_ext <<_ACEOF
48593 #line $LINENO "configure"
48596 cat confdefs.h >>conftest.$ac_ext
48597 cat >>conftest.$ac_ext <<_ACEOF
48598 /* end confdefs.h. */
48601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48604 grep -v '^ *+' conftest.er1 >conftest.err
48606 cat conftest.err >&5
48607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48608 (exit $ac_status); } >/dev/null; then
48609 if test -s conftest.err; then
48610 ac_cpp_err=$ac_c_preproc_warn_flag
48617 if test -z "$ac_cpp_err"; then
48618 ac_header_preproc=yes
48620 echo "$as_me: failed program was:" >&5
48621 sed 's/^/| /' conftest.$ac_ext >&5
48623 ac_header_preproc=no
48625 rm -f conftest.err conftest.$ac_ext
48626 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48627 echo "${ECHO_T}$ac_header_preproc" >&6
48629 # So? What about this header?
48630 case $ac_header_compiler:$ac_header_preproc in
48632 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48633 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48634 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48635 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48638 ## ------------------------------------ ##
48639 ## Report this to bug-autoconf@gnu.org. ##
48640 ## ------------------------------------ ##
48643 sed "s/^/$as_me: WARNING: /" >&2
48646 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48647 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48648 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48649 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48650 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48651 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48654 ## ------------------------------------ ##
48655 ## Report this to bug-autoconf@gnu.org. ##
48656 ## ------------------------------------ ##
48659 sed "s/^/$as_me: WARNING: /" >&2
48662 echo "$as_me:$LINENO: checking for iconv.h" >&5
48663 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48664 if test "${ac_cv_header_iconv_h+set}" = set; then
48665 echo $ECHO_N "(cached) $ECHO_C" >&6
48667 ac_cv_header_iconv_h=$ac_header_preproc
48669 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48670 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48673 if test $ac_cv_header_iconv_h = yes; then
48680 if test "${ac_cv_header_langinfo_h+set}" = set; then
48681 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48682 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48683 if test "${ac_cv_header_langinfo_h+set}" = set; then
48684 echo $ECHO_N "(cached) $ECHO_C" >&6
48686 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48687 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48689 # Is the header compilable?
48690 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48691 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48692 cat >conftest.$ac_ext <<_ACEOF
48693 #line $LINENO "configure"
48696 cat confdefs.h >>conftest.$ac_ext
48697 cat >>conftest.$ac_ext <<_ACEOF
48698 /* end confdefs.h. */
48699 $ac_includes_default
48700 #include <langinfo.h>
48702 rm -f conftest.$ac_objext
48703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48704 (eval $ac_compile) 2>&5
48706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707 (exit $ac_status); } &&
48708 { ac_try='test -s conftest.$ac_objext'
48709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48710 (eval $ac_try) 2>&5
48712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48713 (exit $ac_status); }; }; then
48714 ac_header_compiler=yes
48716 echo "$as_me: failed program was:" >&5
48717 sed 's/^/| /' conftest.$ac_ext >&5
48719 ac_header_compiler=no
48721 rm -f conftest.$ac_objext conftest.$ac_ext
48722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48723 echo "${ECHO_T}$ac_header_compiler" >&6
48725 # Is the header present?
48726 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48727 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48728 cat >conftest.$ac_ext <<_ACEOF
48729 #line $LINENO "configure"
48732 cat confdefs.h >>conftest.$ac_ext
48733 cat >>conftest.$ac_ext <<_ACEOF
48734 /* end confdefs.h. */
48735 #include <langinfo.h>
48737 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48738 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48740 grep -v '^ *+' conftest.er1 >conftest.err
48742 cat conftest.err >&5
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); } >/dev/null; then
48745 if test -s conftest.err; then
48746 ac_cpp_err=$ac_c_preproc_warn_flag
48753 if test -z "$ac_cpp_err"; then
48754 ac_header_preproc=yes
48756 echo "$as_me: failed program was:" >&5
48757 sed 's/^/| /' conftest.$ac_ext >&5
48759 ac_header_preproc=no
48761 rm -f conftest.err conftest.$ac_ext
48762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48763 echo "${ECHO_T}$ac_header_preproc" >&6
48765 # So? What about this header?
48766 case $ac_header_compiler:$ac_header_preproc in
48768 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48769 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48770 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48771 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48774 ## ------------------------------------ ##
48775 ## Report this to bug-autoconf@gnu.org. ##
48776 ## ------------------------------------ ##
48779 sed "s/^/$as_me: WARNING: /" >&2
48782 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48783 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48784 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48785 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48786 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48787 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48790 ## ------------------------------------ ##
48791 ## Report this to bug-autoconf@gnu.org. ##
48792 ## ------------------------------------ ##
48795 sed "s/^/$as_me: WARNING: /" >&2
48798 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48799 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48800 if test "${ac_cv_header_langinfo_h+set}" = set; then
48801 echo $ECHO_N "(cached) $ECHO_C" >&6
48803 ac_cv_header_langinfo_h=$ac_header_preproc
48805 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48806 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48809 if test $ac_cv_header_langinfo_h = yes; then
48810 ac_has_langinfo_h=yes
48812 ac_has_langinfo_h=no
48817 # Check for existence of libiconv.a providing XPG2 wchar_t support.
48818 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48819 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48820 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48821 echo $ECHO_N "(cached) $ECHO_C" >&6
48823 ac_check_lib_save_LIBS=$LIBS
48824 LIBS="-liconv $LIBS"
48825 if test x$gcc_no_link = xyes; then
48826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48828 { (exit 1); exit 1; }; }
48830 cat >conftest.$ac_ext <<_ACEOF
48831 #line $LINENO "configure"
48834 cat confdefs.h >>conftest.$ac_ext
48835 cat >>conftest.$ac_ext <<_ACEOF
48836 /* end confdefs.h. */
48838 /* Override any gcc2 internal prototype to avoid an error. */
48842 /* We use char because int might match the return type of a gcc2
48843 builtin and then its argument prototype would still apply. */
48853 rm -f conftest.$ac_objext conftest$ac_exeext
48854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48855 (eval $ac_link) 2>&5
48857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48858 (exit $ac_status); } &&
48859 { ac_try='test -s conftest$ac_exeext'
48860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48861 (eval $ac_try) 2>&5
48863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864 (exit $ac_status); }; }; then
48865 ac_cv_lib_iconv_iconv=yes
48867 echo "$as_me: failed program was:" >&5
48868 sed 's/^/| /' conftest.$ac_ext >&5
48870 ac_cv_lib_iconv_iconv=no
48872 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48873 LIBS=$ac_check_lib_save_LIBS
48875 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48876 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48877 if test $ac_cv_lib_iconv_iconv = yes; then
48881 ac_save_LIBS="$LIBS"
48882 LIBS="$LIBS $libiconv"
48888 for ac_func in iconv_open iconv_close iconv nl_langinfo
48890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48891 echo "$as_me:$LINENO: checking for $ac_func" >&5
48892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48893 if eval "test \"\${$as_ac_var+set}\" = set"; then
48894 echo $ECHO_N "(cached) $ECHO_C" >&6
48896 if test x$gcc_no_link = xyes; then
48897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48899 { (exit 1); exit 1; }; }
48901 cat >conftest.$ac_ext <<_ACEOF
48902 #line $LINENO "configure"
48905 cat confdefs.h >>conftest.$ac_ext
48906 cat >>conftest.$ac_ext <<_ACEOF
48907 /* end confdefs.h. */
48908 /* System header to define __stub macros and hopefully few prototypes,
48909 which can conflict with char $ac_func (); below.
48910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48911 <limits.h> exists even on freestanding compilers. */
48913 # include <limits.h>
48915 # include <assert.h>
48917 /* Override any gcc2 internal prototype to avoid an error. */
48922 /* We use char because int might match the return type of a gcc2
48923 builtin and then its argument prototype would still apply. */
48925 /* The GNU C library defines this for functions which it implements
48926 to always fail with ENOSYS. Some functions are actually named
48927 something starting with __ and the normal name is an alias. */
48928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48931 char (*f) () = $ac_func;
48940 return f != $ac_func;
48945 rm -f conftest.$ac_objext conftest$ac_exeext
48946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48947 (eval $ac_link) 2>&5
48949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48950 (exit $ac_status); } &&
48951 { ac_try='test -s conftest$ac_exeext'
48952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48953 (eval $ac_try) 2>&5
48955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48956 (exit $ac_status); }; }; then
48957 eval "$as_ac_var=yes"
48959 echo "$as_me: failed program was:" >&5
48960 sed 's/^/| /' conftest.$ac_ext >&5
48962 eval "$as_ac_var=no"
48964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48968 if test `eval echo '${'$as_ac_var'}'` = yes; then
48969 cat >>confdefs.h <<_ACEOF
48970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48979 LIBS="$ac_save_LIBS"
48981 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48982 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48983 if test x"$ac_has_iconv_h" = xyes &&
48984 test x"$ac_has_langinfo_h" = xyes &&
48985 test x"$ac_XPG2funcs" = xyes;
48987 ac_XPG2_wchar_t=yes
48991 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48992 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48994 # At the moment, only enable wchar_t specializations if all the
48995 # above support is present.
48996 if test x"$ac_isoC99_wchar_t" = xyes &&
48997 test x"$ac_XPG2_wchar_t" = xyes;
48999 cat >>confdefs.h <<\_ACEOF
49000 #define _GLIBCXX_USE_WCHAR_T 1
49006 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
49007 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
49008 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
49009 echo "${ECHO_T}$enable_wchar_t" >&6
49011 cat >>confdefs.h <<\_ACEOF
49012 #define HAVE_LC_MESSAGES 1
49015 cat >>confdefs.h <<\_ACEOF
49016 #define HAVE_LRAND48 1
49019 cat >>confdefs.h <<\_ACEOF
49020 #define HAVE_GETPAGESIZE 1
49023 cat >>confdefs.h <<\_ACEOF
49024 #define HAVE_SETENV 1
49027 cat >>confdefs.h <<\_ACEOF
49028 #define HAVE_SIGSETJMP 1
49031 cat >>confdefs.h <<\_ACEOF
49032 #define HAVE_COPYSIGN 1
49035 cat >>confdefs.h <<\_ACEOF
49036 #define HAVE_COPYSIGNF 1
49039 cat >>confdefs.h <<\_ACEOF
49040 #define HAVE_FINITEF 1
49043 cat >>confdefs.h <<\_ACEOF
49044 #define HAVE_FINITE 1
49047 cat >>confdefs.h <<\_ACEOF
49048 #define HAVE_FREXPF 1
49051 cat >>confdefs.h <<\_ACEOF
49052 #define HAVE_HYPOT 1
49055 cat >>confdefs.h <<\_ACEOF
49056 #define HAVE_HYPOTF 1
49059 cat >>confdefs.h <<\_ACEOF
49060 #define HAVE_ISINF 1
49063 cat >>confdefs.h <<\_ACEOF
49064 #define HAVE_ISNAN 1
49067 cat >>confdefs.h <<\_ACEOF
49068 #define HAVE_ISNANF 1
49072 cat >>confdefs.h <<\_ACEOF
49073 #define HAVE_MMAP 1
49076 cat >>confdefs.h <<\_ACEOF
49077 #define HAVE_ACOSF 1
49080 cat >>confdefs.h <<\_ACEOF
49081 #define HAVE_ASINF 1
49084 cat >>confdefs.h <<\_ACEOF
49085 #define HAVE_ATAN2F 1
49088 cat >>confdefs.h <<\_ACEOF
49089 #define HAVE_ATANF 1
49092 cat >>confdefs.h <<\_ACEOF
49093 #define HAVE_CEILF 1
49096 cat >>confdefs.h <<\_ACEOF
49097 #define HAVE_COPYSIGN 1
49100 cat >>confdefs.h <<\_ACEOF
49101 #define HAVE_COPYSIGNF 1
49104 cat >>confdefs.h <<\_ACEOF
49105 #define HAVE_COSF 1
49108 cat >>confdefs.h <<\_ACEOF
49109 #define HAVE_COSHF 1
49112 cat >>confdefs.h <<\_ACEOF
49113 #define HAVE_EXPF 1
49116 cat >>confdefs.h <<\_ACEOF
49117 #define HAVE_FABSF 1
49120 cat >>confdefs.h <<\_ACEOF
49121 #define HAVE_FLOORF 1
49124 cat >>confdefs.h <<\_ACEOF
49125 #define HAVE_FMODF 1
49128 cat >>confdefs.h <<\_ACEOF
49129 #define HAVE_FREXPF 1
49132 cat >>confdefs.h <<\_ACEOF
49133 #define HAVE_LDEXPF 1
49136 cat >>confdefs.h <<\_ACEOF
49137 #define HAVE_LOG10F 1
49140 cat >>confdefs.h <<\_ACEOF
49141 #define HAVE_LOGF 1
49144 cat >>confdefs.h <<\_ACEOF
49145 #define HAVE_MODFF 1
49148 cat >>confdefs.h <<\_ACEOF
49149 #define HAVE_POWF 1
49152 cat >>confdefs.h <<\_ACEOF
49153 #define HAVE_SINF 1
49156 cat >>confdefs.h <<\_ACEOF
49157 #define HAVE_SINHF 1
49160 cat >>confdefs.h <<\_ACEOF
49161 #define HAVE_SQRTF 1
49164 cat >>confdefs.h <<\_ACEOF
49165 #define HAVE_TANF 1
49168 cat >>confdefs.h <<\_ACEOF
49169 #define HAVE_TANHF 1
49172 if test x"long_double_math_on_this_cpu" = x"yes"; then
49173 cat >>confdefs.h <<\_ACEOF
49174 #define HAVE_FINITEL 1
49177 cat >>confdefs.h <<\_ACEOF
49178 #define HAVE_ISINFL 1
49181 cat >>confdefs.h <<\_ACEOF
49182 #define HAVE_ISNANL 1
49200 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
49201 machine/endian.h machine/param.h sys/machine.h sys/types.h \
49202 fp.h locale.h float.h inttypes.h
49204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49206 echo "$as_me:$LINENO: checking for $ac_header" >&5
49207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49209 echo $ECHO_N "(cached) $ECHO_C" >&6
49211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49214 # Is the header compilable?
49215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49217 cat >conftest.$ac_ext <<_ACEOF
49218 #line $LINENO "configure"
49221 cat confdefs.h >>conftest.$ac_ext
49222 cat >>conftest.$ac_ext <<_ACEOF
49223 /* end confdefs.h. */
49224 $ac_includes_default
49225 #include <$ac_header>
49227 rm -f conftest.$ac_objext
49228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49229 (eval $ac_compile) 2>&5
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); } &&
49233 { ac_try='test -s conftest.$ac_objext'
49234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235 (eval $ac_try) 2>&5
49237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238 (exit $ac_status); }; }; then
49239 ac_header_compiler=yes
49241 echo "$as_me: failed program was:" >&5
49242 sed 's/^/| /' conftest.$ac_ext >&5
49244 ac_header_compiler=no
49246 rm -f conftest.$ac_objext conftest.$ac_ext
49247 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49248 echo "${ECHO_T}$ac_header_compiler" >&6
49250 # Is the header present?
49251 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49252 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49253 cat >conftest.$ac_ext <<_ACEOF
49254 #line $LINENO "configure"
49257 cat confdefs.h >>conftest.$ac_ext
49258 cat >>conftest.$ac_ext <<_ACEOF
49259 /* end confdefs.h. */
49260 #include <$ac_header>
49262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49265 grep -v '^ *+' conftest.er1 >conftest.err
49267 cat conftest.err >&5
49268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49269 (exit $ac_status); } >/dev/null; then
49270 if test -s conftest.err; then
49271 ac_cpp_err=$ac_c_preproc_warn_flag
49278 if test -z "$ac_cpp_err"; then
49279 ac_header_preproc=yes
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49284 ac_header_preproc=no
49286 rm -f conftest.err conftest.$ac_ext
49287 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49288 echo "${ECHO_T}$ac_header_preproc" >&6
49290 # So? What about this header?
49291 case $ac_header_compiler:$ac_header_preproc in
49293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49294 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49299 ## ------------------------------------ ##
49300 ## Report this to bug-autoconf@gnu.org. ##
49301 ## ------------------------------------ ##
49304 sed "s/^/$as_me: WARNING: /" >&2
49307 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49308 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49309 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49310 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49315 ## ------------------------------------ ##
49316 ## Report this to bug-autoconf@gnu.org. ##
49317 ## ------------------------------------ ##
49320 sed "s/^/$as_me: WARNING: /" >&2
49323 echo "$as_me:$LINENO: checking for $ac_header" >&5
49324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49326 echo $ECHO_N "(cached) $ECHO_C" >&6
49328 eval "$as_ac_Header=$ac_header_preproc"
49330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49335 cat >>confdefs.h <<_ACEOF
49336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49343 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49346 # If we're not using GNU ld, then there's no point in even trying these
49347 # tests. Check for that first. We should have already tested for gld
49348 # by now (in libtool), but require it now just to be safe...
49349 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49350 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49354 # The name set by libtool depends on the version of libtool. Shame on us
49355 # for depending on an impl detail, but c'est la vie. Older versions used
49356 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49357 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49358 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49359 # set (hence we're using an older libtool), then set it.
49360 if test x${with_gnu_ld+set} != xset; then
49361 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49362 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49365 with_gnu_ld=$ac_cv_prog_gnu_ld
49369 # Start by getting the version number. I think the libtool test already
49370 # does some of this, but throws away the result.
49372 ldver=`$LD --version 2>/dev/null | head -1 | \
49373 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49375 glibcxx_gnu_ld_version=`echo $ldver | \
49376 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49378 # Set --gc-sections.
49379 if test "$with_gnu_ld" = "notbroken"; then
49380 # GNU ld it is! Joy and bunny rabbits!
49382 # All these tests are for C++; save the language and the compiler flags.
49383 # Need to do this so that g++ won't try to link in libstdc++
49384 ac_test_CFLAGS="${CFLAGS+set}"
49385 ac_save_CFLAGS="$CFLAGS"
49386 CFLAGS='-x c++ -Wl,--gc-sections'
49388 # Check for -Wl,--gc-sections
49389 # XXX This test is broken at the moment, as symbols required for linking
49390 # are now in libsupc++ (not built yet). In addition, this test has
49391 # cored on solaris in the past. In addition, --gc-sections doesn't
49392 # really work at the moment (keeps on discarding used sections, first
49393 # .eh_frame and now some of the glibc sections for iconv).
49394 # Bzzzzt. Thanks for playing, maybe next time.
49395 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49396 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49397 if test "$cross_compiling" = yes; then
49398 ac_sectionLDflags=yes
49400 cat >conftest.$ac_ext <<_ACEOF
49401 #line $LINENO "configure"
49404 cat confdefs.h >>conftest.$ac_ext
49405 cat >>conftest.$ac_ext <<_ACEOF
49406 /* end confdefs.h. */
49416 rm -f conftest$ac_exeext
49417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49418 (eval $ac_link) 2>&5
49420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49423 (eval $ac_try) 2>&5
49425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426 (exit $ac_status); }; }; then
49427 ac_sectionLDflags=yes
49429 echo "$as_me: program exited with status $ac_status" >&5
49430 echo "$as_me: failed program was:" >&5
49431 sed 's/^/| /' conftest.$ac_ext >&5
49433 ( exit $ac_status )
49434 ac_sectionLDflags=no
49436 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49438 if test "$ac_test_CFLAGS" = set; then
49439 CFLAGS="$ac_save_CFLAGS"
49441 # this is the suspicious part
49444 if test "$ac_sectionLDflags" = "yes"; then
49445 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49447 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49448 echo "${ECHO_T}$ac_sectionLDflags" >&6
49451 # Set linker optimization flags.
49452 if test x"$with_gnu_ld" = x"yes"; then
49453 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49461 echo "$as_me:$LINENO: checking for main in -lm" >&5
49462 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49463 if test "${ac_cv_lib_m_main+set}" = set; then
49464 echo $ECHO_N "(cached) $ECHO_C" >&6
49466 ac_check_lib_save_LIBS=$LIBS
49468 if test x$gcc_no_link = xyes; then
49469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49471 { (exit 1); exit 1; }; }
49473 cat >conftest.$ac_ext <<_ACEOF
49474 #line $LINENO "configure"
49477 cat confdefs.h >>conftest.$ac_ext
49478 cat >>conftest.$ac_ext <<_ACEOF
49479 /* end confdefs.h. */
49490 rm -f conftest.$ac_objext conftest$ac_exeext
49491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49492 (eval $ac_link) 2>&5
49494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49495 (exit $ac_status); } &&
49496 { ac_try='test -s conftest$ac_exeext'
49497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49498 (eval $ac_try) 2>&5
49500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49501 (exit $ac_status); }; }; then
49502 ac_cv_lib_m_main=yes
49504 echo "$as_me: failed program was:" >&5
49505 sed 's/^/| /' conftest.$ac_ext >&5
49507 ac_cv_lib_m_main=no
49509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49510 LIBS=$ac_check_lib_save_LIBS
49512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49513 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49514 if test $ac_cv_lib_m_main = yes; then
49515 cat >>confdefs.h <<_ACEOF
49516 #define HAVE_LIBM 1
49525 for ac_func in nan copysignf
49527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49528 echo "$as_me:$LINENO: checking for $ac_func" >&5
49529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49530 if eval "test \"\${$as_ac_var+set}\" = set"; then
49531 echo $ECHO_N "(cached) $ECHO_C" >&6
49533 if test x$gcc_no_link = xyes; then
49534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49536 { (exit 1); exit 1; }; }
49538 cat >conftest.$ac_ext <<_ACEOF
49539 #line $LINENO "configure"
49542 cat confdefs.h >>conftest.$ac_ext
49543 cat >>conftest.$ac_ext <<_ACEOF
49544 /* end confdefs.h. */
49545 /* System header to define __stub macros and hopefully few prototypes,
49546 which can conflict with char $ac_func (); below.
49547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49548 <limits.h> exists even on freestanding compilers. */
49550 # include <limits.h>
49552 # include <assert.h>
49554 /* Override any gcc2 internal prototype to avoid an error. */
49559 /* We use char because int might match the return type of a gcc2
49560 builtin and then its argument prototype would still apply. */
49562 /* The GNU C library defines this for functions which it implements
49563 to always fail with ENOSYS. Some functions are actually named
49564 something starting with __ and the normal name is an alias. */
49565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49568 char (*f) () = $ac_func;
49577 return f != $ac_func;
49582 rm -f conftest.$ac_objext conftest$ac_exeext
49583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49584 (eval $ac_link) 2>&5
49586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49587 (exit $ac_status); } &&
49588 { ac_try='test -s conftest$ac_exeext'
49589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49590 (eval $ac_try) 2>&5
49592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49593 (exit $ac_status); }; }; then
49594 eval "$as_ac_var=yes"
49596 echo "$as_me: failed program was:" >&5
49597 sed 's/^/| /' conftest.$ac_ext >&5
49599 eval "$as_ac_var=no"
49601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49605 if test `eval echo '${'$as_ac_var'}'` = yes; then
49606 cat >>confdefs.h <<_ACEOF
49607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49611 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49617 for ac_func in __signbit
49619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49620 echo "$as_me:$LINENO: checking for $ac_func" >&5
49621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49622 if eval "test \"\${$as_ac_var+set}\" = set"; then
49623 echo $ECHO_N "(cached) $ECHO_C" >&6
49625 if test x$gcc_no_link = xyes; then
49626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49628 { (exit 1); exit 1; }; }
49630 cat >conftest.$ac_ext <<_ACEOF
49631 #line $LINENO "configure"
49634 cat confdefs.h >>conftest.$ac_ext
49635 cat >>conftest.$ac_ext <<_ACEOF
49636 /* end confdefs.h. */
49637 /* System header to define __stub macros and hopefully few prototypes,
49638 which can conflict with char $ac_func (); below.
49639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49640 <limits.h> exists even on freestanding compilers. */
49642 # include <limits.h>
49644 # include <assert.h>
49646 /* Override any gcc2 internal prototype to avoid an error. */
49651 /* We use char because int might match the return type of a gcc2
49652 builtin and then its argument prototype would still apply. */
49654 /* The GNU C library defines this for functions which it implements
49655 to always fail with ENOSYS. Some functions are actually named
49656 something starting with __ and the normal name is an alias. */
49657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49660 char (*f) () = $ac_func;
49669 return f != $ac_func;
49674 rm -f conftest.$ac_objext conftest$ac_exeext
49675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49676 (eval $ac_link) 2>&5
49678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49679 (exit $ac_status); } &&
49680 { ac_try='test -s conftest$ac_exeext'
49681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49682 (eval $ac_try) 2>&5
49684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49685 (exit $ac_status); }; }; then
49686 eval "$as_ac_var=yes"
49688 echo "$as_me: failed program was:" >&5
49689 sed 's/^/| /' conftest.$ac_ext >&5
49691 eval "$as_ac_var=no"
49693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49697 if test `eval echo '${'$as_ac_var'}'` = yes; then
49698 cat >>confdefs.h <<_ACEOF
49699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49703 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49708 for ac_func in __signbitf
49710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49711 echo "$as_me:$LINENO: checking for $ac_func" >&5
49712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49713 if eval "test \"\${$as_ac_var+set}\" = set"; then
49714 echo $ECHO_N "(cached) $ECHO_C" >&6
49716 if test x$gcc_no_link = xyes; then
49717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49719 { (exit 1); exit 1; }; }
49721 cat >conftest.$ac_ext <<_ACEOF
49722 #line $LINENO "configure"
49725 cat confdefs.h >>conftest.$ac_ext
49726 cat >>conftest.$ac_ext <<_ACEOF
49727 /* end confdefs.h. */
49728 /* System header to define __stub macros and hopefully few prototypes,
49729 which can conflict with char $ac_func (); below.
49730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49731 <limits.h> exists even on freestanding compilers. */
49733 # include <limits.h>
49735 # include <assert.h>
49737 /* Override any gcc2 internal prototype to avoid an error. */
49742 /* We use char because int might match the return type of a gcc2
49743 builtin and then its argument prototype would still apply. */
49745 /* The GNU C library defines this for functions which it implements
49746 to always fail with ENOSYS. Some functions are actually named
49747 something starting with __ and the normal name is an alias. */
49748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49751 char (*f) () = $ac_func;
49760 return f != $ac_func;
49765 rm -f conftest.$ac_objext conftest$ac_exeext
49766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49767 (eval $ac_link) 2>&5
49769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49770 (exit $ac_status); } &&
49771 { ac_try='test -s conftest$ac_exeext'
49772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49773 (eval $ac_try) 2>&5
49775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49776 (exit $ac_status); }; }; then
49777 eval "$as_ac_var=yes"
49779 echo "$as_me: failed program was:" >&5
49780 sed 's/^/| /' conftest.$ac_ext >&5
49782 eval "$as_ac_var=no"
49784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49788 if test `eval echo '${'$as_ac_var'}'` = yes; then
49789 cat >>confdefs.h <<_ACEOF
49790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49794 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49799 if test x$ac_cv_func_copysignl = x"yes"; then
49801 for ac_func in __signbitl
49803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49804 echo "$as_me:$LINENO: checking for $ac_func" >&5
49805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49806 if eval "test \"\${$as_ac_var+set}\" = set"; then
49807 echo $ECHO_N "(cached) $ECHO_C" >&6
49809 if test x$gcc_no_link = xyes; then
49810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49812 { (exit 1); exit 1; }; }
49814 cat >conftest.$ac_ext <<_ACEOF
49815 #line $LINENO "configure"
49818 cat confdefs.h >>conftest.$ac_ext
49819 cat >>conftest.$ac_ext <<_ACEOF
49820 /* end confdefs.h. */
49821 /* System header to define __stub macros and hopefully few prototypes,
49822 which can conflict with char $ac_func (); below.
49823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49824 <limits.h> exists even on freestanding compilers. */
49826 # include <limits.h>
49828 # include <assert.h>
49830 /* Override any gcc2 internal prototype to avoid an error. */
49835 /* We use char because int might match the return type of a gcc2
49836 builtin and then its argument prototype would still apply. */
49838 /* The GNU C library defines this for functions which it implements
49839 to always fail with ENOSYS. Some functions are actually named
49840 something starting with __ and the normal name is an alias. */
49841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49844 char (*f) () = $ac_func;
49853 return f != $ac_func;
49858 rm -f conftest.$ac_objext conftest$ac_exeext
49859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49860 (eval $ac_link) 2>&5
49862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49863 (exit $ac_status); } &&
49864 { ac_try='test -s conftest$ac_exeext'
49865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49866 (eval $ac_try) 2>&5
49868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49869 (exit $ac_status); }; }; then
49870 eval "$as_ac_var=yes"
49872 echo "$as_me: failed program was:" >&5
49873 sed 's/^/| /' conftest.$ac_ext >&5
49875 eval "$as_ac_var=no"
49877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49881 if test `eval echo '${'$as_ac_var'}'` = yes; then
49882 cat >>confdefs.h <<_ACEOF
49883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49887 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49893 # XXX Review this. Nothing uses it.
49894 if test -n "$LIBMATHOBJS"; then
49900 # Test wchar.h for mbstate_t, which is needed for char_traits and
49901 # others even if wchar_t support is not on.
49902 echo "$as_me:$LINENO: checking for mbstate_t" >&5
49903 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49904 cat >conftest.$ac_ext <<_ACEOF
49905 #line $LINENO "configure"
49908 cat confdefs.h >>conftest.$ac_ext
49909 cat >>conftest.$ac_ext <<_ACEOF
49910 /* end confdefs.h. */
49915 mbstate_t teststate;
49920 rm -f conftest.$ac_objext
49921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49922 (eval $ac_compile) 2>&5
49924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49925 (exit $ac_status); } &&
49926 { ac_try='test -s conftest.$ac_objext'
49927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49928 (eval $ac_try) 2>&5
49930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49931 (exit $ac_status); }; }; then
49934 echo "$as_me: failed program was:" >&5
49935 sed 's/^/| /' conftest.$ac_ext >&5
49939 rm -f conftest.$ac_objext conftest.$ac_ext
49940 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49941 echo "${ECHO_T}$have_mbstate_t" >&6
49942 if test x"$have_mbstate_t" = xyes; then
49943 cat >>confdefs.h <<\_ACEOF
49944 #define HAVE_MBSTATE_T 1
49949 # Sanity check for existence of ISO C99 headers for extended encoding.
49951 for ac_header in wchar.h
49953 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49955 echo "$as_me:$LINENO: checking for $ac_header" >&5
49956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49958 echo $ECHO_N "(cached) $ECHO_C" >&6
49960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49963 # Is the header compilable?
49964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49966 cat >conftest.$ac_ext <<_ACEOF
49967 #line $LINENO "configure"
49970 cat confdefs.h >>conftest.$ac_ext
49971 cat >>conftest.$ac_ext <<_ACEOF
49972 /* end confdefs.h. */
49973 $ac_includes_default
49974 #include <$ac_header>
49976 rm -f conftest.$ac_objext
49977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49978 (eval $ac_compile) 2>&5
49980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49981 (exit $ac_status); } &&
49982 { ac_try='test -s conftest.$ac_objext'
49983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49984 (eval $ac_try) 2>&5
49986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49987 (exit $ac_status); }; }; then
49988 ac_header_compiler=yes
49990 echo "$as_me: failed program was:" >&5
49991 sed 's/^/| /' conftest.$ac_ext >&5
49993 ac_header_compiler=no
49995 rm -f conftest.$ac_objext conftest.$ac_ext
49996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49997 echo "${ECHO_T}$ac_header_compiler" >&6
49999 # Is the header present?
50000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50002 cat >conftest.$ac_ext <<_ACEOF
50003 #line $LINENO "configure"
50006 cat confdefs.h >>conftest.$ac_ext
50007 cat >>conftest.$ac_ext <<_ACEOF
50008 /* end confdefs.h. */
50009 #include <$ac_header>
50011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50012 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50014 grep -v '^ *+' conftest.er1 >conftest.err
50016 cat conftest.err >&5
50017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50018 (exit $ac_status); } >/dev/null; then
50019 if test -s conftest.err; then
50020 ac_cpp_err=$ac_c_preproc_warn_flag
50027 if test -z "$ac_cpp_err"; then
50028 ac_header_preproc=yes
50030 echo "$as_me: failed program was:" >&5
50031 sed 's/^/| /' conftest.$ac_ext >&5
50033 ac_header_preproc=no
50035 rm -f conftest.err conftest.$ac_ext
50036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50037 echo "${ECHO_T}$ac_header_preproc" >&6
50039 # So? What about this header?
50040 case $ac_header_compiler:$ac_header_preproc in
50042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50048 ## ------------------------------------ ##
50049 ## Report this to bug-autoconf@gnu.org. ##
50050 ## ------------------------------------ ##
50053 sed "s/^/$as_me: WARNING: /" >&2
50056 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50058 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50059 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50064 ## ------------------------------------ ##
50065 ## Report this to bug-autoconf@gnu.org. ##
50066 ## ------------------------------------ ##
50069 sed "s/^/$as_me: WARNING: /" >&2
50072 echo "$as_me:$LINENO: checking for $ac_header" >&5
50073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50075 echo $ECHO_N "(cached) $ECHO_C" >&6
50077 eval "$as_ac_Header=$ac_header_preproc"
50079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50083 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50084 cat >>confdefs.h <<_ACEOF
50085 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50095 for ac_header in wctype.h
50097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50099 echo "$as_me:$LINENO: checking for $ac_header" >&5
50100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50102 echo $ECHO_N "(cached) $ECHO_C" >&6
50104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50107 # Is the header compilable?
50108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50110 cat >conftest.$ac_ext <<_ACEOF
50111 #line $LINENO "configure"
50114 cat confdefs.h >>conftest.$ac_ext
50115 cat >>conftest.$ac_ext <<_ACEOF
50116 /* end confdefs.h. */
50117 $ac_includes_default
50118 #include <$ac_header>
50120 rm -f conftest.$ac_objext
50121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50122 (eval $ac_compile) 2>&5
50124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50125 (exit $ac_status); } &&
50126 { ac_try='test -s conftest.$ac_objext'
50127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50128 (eval $ac_try) 2>&5
50130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50131 (exit $ac_status); }; }; then
50132 ac_header_compiler=yes
50134 echo "$as_me: failed program was:" >&5
50135 sed 's/^/| /' conftest.$ac_ext >&5
50137 ac_header_compiler=no
50139 rm -f conftest.$ac_objext conftest.$ac_ext
50140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50141 echo "${ECHO_T}$ac_header_compiler" >&6
50143 # Is the header present?
50144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50146 cat >conftest.$ac_ext <<_ACEOF
50147 #line $LINENO "configure"
50150 cat confdefs.h >>conftest.$ac_ext
50151 cat >>conftest.$ac_ext <<_ACEOF
50152 /* end confdefs.h. */
50153 #include <$ac_header>
50155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50158 grep -v '^ *+' conftest.er1 >conftest.err
50160 cat conftest.err >&5
50161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162 (exit $ac_status); } >/dev/null; then
50163 if test -s conftest.err; then
50164 ac_cpp_err=$ac_c_preproc_warn_flag
50171 if test -z "$ac_cpp_err"; then
50172 ac_header_preproc=yes
50174 echo "$as_me: failed program was:" >&5
50175 sed 's/^/| /' conftest.$ac_ext >&5
50177 ac_header_preproc=no
50179 rm -f conftest.err conftest.$ac_ext
50180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50181 echo "${ECHO_T}$ac_header_preproc" >&6
50183 # So? What about this header?
50184 case $ac_header_compiler:$ac_header_preproc in
50186 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50192 ## ------------------------------------ ##
50193 ## Report this to bug-autoconf@gnu.org. ##
50194 ## ------------------------------------ ##
50197 sed "s/^/$as_me: WARNING: /" >&2
50200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50208 ## ------------------------------------ ##
50209 ## Report this to bug-autoconf@gnu.org. ##
50210 ## ------------------------------------ ##
50213 sed "s/^/$as_me: WARNING: /" >&2
50216 echo "$as_me:$LINENO: checking for $ac_header" >&5
50217 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50219 echo $ECHO_N "(cached) $ECHO_C" >&6
50221 eval "$as_ac_Header=$ac_header_preproc"
50223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
50228 cat >>confdefs.h <<_ACEOF
50229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
50231 ac_has_wctype_h=yes
50239 # Only continue checking if the ISO C99 headers exist and support is on.
50240 if test x"$ac_has_wchar_h" = xyes &&
50241 test x"$ac_has_wctype_h" = xyes &&
50242 test x"$enable_c_mbchar" != xno; then
50244 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
50245 # numeric_limits can instantiate type_traits<wchar_t>
50246 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
50247 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
50248 cat >conftest.$ac_ext <<_ACEOF
50249 #line $LINENO "configure"
50252 cat confdefs.h >>conftest.$ac_ext
50253 cat >>conftest.$ac_ext <<_ACEOF
50254 /* end confdefs.h. */
50259 int i = WCHAR_MIN; int j = WCHAR_MAX;
50264 rm -f conftest.$ac_objext
50265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50266 (eval $ac_compile) 2>&5
50268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50269 (exit $ac_status); } &&
50270 { ac_try='test -s conftest.$ac_objext'
50271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50272 (eval $ac_try) 2>&5
50274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50275 (exit $ac_status); }; }; then
50276 has_wchar_minmax=yes
50278 echo "$as_me: failed program was:" >&5
50279 sed 's/^/| /' conftest.$ac_ext >&5
50281 has_wchar_minmax=no
50283 rm -f conftest.$ac_objext conftest.$ac_ext
50284 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
50285 echo "${ECHO_T}$has_wchar_minmax" >&6
50287 # Test wchar.h for WEOF, which is what we use to determine whether
50288 # to specialize for char_traits<wchar_t> or not.
50289 echo "$as_me:$LINENO: checking for WEOF" >&5
50290 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
50291 cat >conftest.$ac_ext <<_ACEOF
50292 #line $LINENO "configure"
50295 cat confdefs.h >>conftest.$ac_ext
50296 cat >>conftest.$ac_ext <<_ACEOF
50297 /* end confdefs.h. */
50300 #include <stddef.h>
50309 rm -f conftest.$ac_objext
50310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50311 (eval $ac_compile) 2>&5
50313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50314 (exit $ac_status); } &&
50315 { ac_try='test -s conftest.$ac_objext'
50316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50317 (eval $ac_try) 2>&5
50319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50320 (exit $ac_status); }; }; then
50323 echo "$as_me: failed program was:" >&5
50324 sed 's/^/| /' conftest.$ac_ext >&5
50328 rm -f conftest.$ac_objext conftest.$ac_ext
50329 echo "$as_me:$LINENO: result: $has_weof" >&5
50330 echo "${ECHO_T}$has_weof" >&6
50332 # Tests for wide character functions used in char_traits<wchar_t>.
50340 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50343 echo "$as_me:$LINENO: checking for $ac_func" >&5
50344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50345 if eval "test \"\${$as_ac_var+set}\" = set"; then
50346 echo $ECHO_N "(cached) $ECHO_C" >&6
50348 if test x$gcc_no_link = xyes; then
50349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50351 { (exit 1); exit 1; }; }
50353 cat >conftest.$ac_ext <<_ACEOF
50354 #line $LINENO "configure"
50357 cat confdefs.h >>conftest.$ac_ext
50358 cat >>conftest.$ac_ext <<_ACEOF
50359 /* end confdefs.h. */
50360 /* System header to define __stub macros and hopefully few prototypes,
50361 which can conflict with char $ac_func (); below.
50362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50363 <limits.h> exists even on freestanding compilers. */
50365 # include <limits.h>
50367 # include <assert.h>
50369 /* Override any gcc2 internal prototype to avoid an error. */
50374 /* We use char because int might match the return type of a gcc2
50375 builtin and then its argument prototype would still apply. */
50377 /* The GNU C library defines this for functions which it implements
50378 to always fail with ENOSYS. Some functions are actually named
50379 something starting with __ and the normal name is an alias. */
50380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50383 char (*f) () = $ac_func;
50392 return f != $ac_func;
50397 rm -f conftest.$ac_objext conftest$ac_exeext
50398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50399 (eval $ac_link) 2>&5
50401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402 (exit $ac_status); } &&
50403 { ac_try='test -s conftest$ac_exeext'
50404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50405 (eval $ac_try) 2>&5
50407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50408 (exit $ac_status); }; }; then
50409 eval "$as_ac_var=yes"
50411 echo "$as_me: failed program was:" >&5
50412 sed 's/^/| /' conftest.$ac_ext >&5
50414 eval "$as_ac_var=no"
50416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50420 if test `eval echo '${'$as_ac_var'}'` = yes; then
50421 cat >>confdefs.h <<_ACEOF
50422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50431 # Checks for names injected into std:: by the c_std headers.
50478 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50479 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50480 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50481 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50482 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50483 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50486 echo "$as_me:$LINENO: checking for $ac_func" >&5
50487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50488 if eval "test \"\${$as_ac_var+set}\" = set"; then
50489 echo $ECHO_N "(cached) $ECHO_C" >&6
50491 if test x$gcc_no_link = xyes; then
50492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50494 { (exit 1); exit 1; }; }
50496 cat >conftest.$ac_ext <<_ACEOF
50497 #line $LINENO "configure"
50500 cat confdefs.h >>conftest.$ac_ext
50501 cat >>conftest.$ac_ext <<_ACEOF
50502 /* end confdefs.h. */
50503 /* System header to define __stub macros and hopefully few prototypes,
50504 which can conflict with char $ac_func (); below.
50505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50506 <limits.h> exists even on freestanding compilers. */
50508 # include <limits.h>
50510 # include <assert.h>
50512 /* Override any gcc2 internal prototype to avoid an error. */
50517 /* We use char because int might match the return type of a gcc2
50518 builtin and then its argument prototype would still apply. */
50520 /* The GNU C library defines this for functions which it implements
50521 to always fail with ENOSYS. Some functions are actually named
50522 something starting with __ and the normal name is an alias. */
50523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50526 char (*f) () = $ac_func;
50535 return f != $ac_func;
50540 rm -f conftest.$ac_objext conftest$ac_exeext
50541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50542 (eval $ac_link) 2>&5
50544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50545 (exit $ac_status); } &&
50546 { ac_try='test -s conftest$ac_exeext'
50547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50548 (eval $ac_try) 2>&5
50550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50551 (exit $ac_status); }; }; then
50552 eval "$as_ac_var=yes"
50554 echo "$as_me: failed program was:" >&5
50555 sed 's/^/| /' conftest.$ac_ext >&5
50557 eval "$as_ac_var=no"
50559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50563 if test `eval echo '${'$as_ac_var'}'` = yes; then
50564 cat >>confdefs.h <<_ACEOF
50565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50574 # Checks for wide character functions that are not required
50575 # for basic wchar_t support. Don't disable support if they are missing.
50576 # Injection of these is wrapped with guard macros.
50582 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50585 echo "$as_me:$LINENO: checking for $ac_func" >&5
50586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50587 if eval "test \"\${$as_ac_var+set}\" = set"; then
50588 echo $ECHO_N "(cached) $ECHO_C" >&6
50590 if test x$gcc_no_link = xyes; then
50591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50593 { (exit 1); exit 1; }; }
50595 cat >conftest.$ac_ext <<_ACEOF
50596 #line $LINENO "configure"
50599 cat confdefs.h >>conftest.$ac_ext
50600 cat >>conftest.$ac_ext <<_ACEOF
50601 /* end confdefs.h. */
50602 /* System header to define __stub macros and hopefully few prototypes,
50603 which can conflict with char $ac_func (); below.
50604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50605 <limits.h> exists even on freestanding compilers. */
50607 # include <limits.h>
50609 # include <assert.h>
50611 /* Override any gcc2 internal prototype to avoid an error. */
50616 /* We use char because int might match the return type of a gcc2
50617 builtin and then its argument prototype would still apply. */
50619 /* The GNU C library defines this for functions which it implements
50620 to always fail with ENOSYS. Some functions are actually named
50621 something starting with __ and the normal name is an alias. */
50622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50625 char (*f) () = $ac_func;
50634 return f != $ac_func;
50639 rm -f conftest.$ac_objext conftest$ac_exeext
50640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50641 (eval $ac_link) 2>&5
50643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50644 (exit $ac_status); } &&
50645 { ac_try='test -s conftest$ac_exeext'
50646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50647 (eval $ac_try) 2>&5
50649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50650 (exit $ac_status); }; }; then
50651 eval "$as_ac_var=yes"
50653 echo "$as_me: failed program was:" >&5
50654 sed 's/^/| /' conftest.$ac_ext >&5
50656 eval "$as_ac_var=no"
50658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50662 if test `eval echo '${'$as_ac_var'}'` = yes; then
50663 cat >>confdefs.h <<_ACEOF
50664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50671 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50672 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50673 if test x"$has_weof" = xyes &&
50674 test x"$has_wchar_minmax" = xyes &&
50675 test x"$ac_wfuncs" = xyes;
50677 ac_isoC99_wchar_t=yes
50679 ac_isoC99_wchar_t=no
50681 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50682 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50684 # Use iconv for wchar_t to char conversions. As such, check for
50685 # X/Open Portability Guide, version 2 features (XPG2).
50686 if test "${ac_cv_header_iconv_h+set}" = set; then
50687 echo "$as_me:$LINENO: checking for iconv.h" >&5
50688 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50689 if test "${ac_cv_header_iconv_h+set}" = set; then
50690 echo $ECHO_N "(cached) $ECHO_C" >&6
50692 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50693 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50695 # Is the header compilable?
50696 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50697 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50698 cat >conftest.$ac_ext <<_ACEOF
50699 #line $LINENO "configure"
50702 cat confdefs.h >>conftest.$ac_ext
50703 cat >>conftest.$ac_ext <<_ACEOF
50704 /* end confdefs.h. */
50705 $ac_includes_default
50708 rm -f conftest.$ac_objext
50709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50710 (eval $ac_compile) 2>&5
50712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50713 (exit $ac_status); } &&
50714 { ac_try='test -s conftest.$ac_objext'
50715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50716 (eval $ac_try) 2>&5
50718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50719 (exit $ac_status); }; }; then
50720 ac_header_compiler=yes
50722 echo "$as_me: failed program was:" >&5
50723 sed 's/^/| /' conftest.$ac_ext >&5
50725 ac_header_compiler=no
50727 rm -f conftest.$ac_objext conftest.$ac_ext
50728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50729 echo "${ECHO_T}$ac_header_compiler" >&6
50731 # Is the header present?
50732 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50733 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50734 cat >conftest.$ac_ext <<_ACEOF
50735 #line $LINENO "configure"
50738 cat confdefs.h >>conftest.$ac_ext
50739 cat >>conftest.$ac_ext <<_ACEOF
50740 /* end confdefs.h. */
50743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50746 grep -v '^ *+' conftest.er1 >conftest.err
50748 cat conftest.err >&5
50749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50750 (exit $ac_status); } >/dev/null; then
50751 if test -s conftest.err; then
50752 ac_cpp_err=$ac_c_preproc_warn_flag
50759 if test -z "$ac_cpp_err"; then
50760 ac_header_preproc=yes
50762 echo "$as_me: failed program was:" >&5
50763 sed 's/^/| /' conftest.$ac_ext >&5
50765 ac_header_preproc=no
50767 rm -f conftest.err conftest.$ac_ext
50768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50769 echo "${ECHO_T}$ac_header_preproc" >&6
50771 # So? What about this header?
50772 case $ac_header_compiler:$ac_header_preproc in
50774 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50775 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50776 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50777 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50780 ## ------------------------------------ ##
50781 ## Report this to bug-autoconf@gnu.org. ##
50782 ## ------------------------------------ ##
50785 sed "s/^/$as_me: WARNING: /" >&2
50788 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50789 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50790 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50791 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50792 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50793 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50796 ## ------------------------------------ ##
50797 ## Report this to bug-autoconf@gnu.org. ##
50798 ## ------------------------------------ ##
50801 sed "s/^/$as_me: WARNING: /" >&2
50804 echo "$as_me:$LINENO: checking for iconv.h" >&5
50805 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50806 if test "${ac_cv_header_iconv_h+set}" = set; then
50807 echo $ECHO_N "(cached) $ECHO_C" >&6
50809 ac_cv_header_iconv_h=$ac_header_preproc
50811 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50812 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50815 if test $ac_cv_header_iconv_h = yes; then
50822 if test "${ac_cv_header_langinfo_h+set}" = set; then
50823 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50824 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50825 if test "${ac_cv_header_langinfo_h+set}" = set; then
50826 echo $ECHO_N "(cached) $ECHO_C" >&6
50828 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50829 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50831 # Is the header compilable?
50832 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50833 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50834 cat >conftest.$ac_ext <<_ACEOF
50835 #line $LINENO "configure"
50838 cat confdefs.h >>conftest.$ac_ext
50839 cat >>conftest.$ac_ext <<_ACEOF
50840 /* end confdefs.h. */
50841 $ac_includes_default
50842 #include <langinfo.h>
50844 rm -f conftest.$ac_objext
50845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50846 (eval $ac_compile) 2>&5
50848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50849 (exit $ac_status); } &&
50850 { ac_try='test -s conftest.$ac_objext'
50851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50852 (eval $ac_try) 2>&5
50854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50855 (exit $ac_status); }; }; then
50856 ac_header_compiler=yes
50858 echo "$as_me: failed program was:" >&5
50859 sed 's/^/| /' conftest.$ac_ext >&5
50861 ac_header_compiler=no
50863 rm -f conftest.$ac_objext conftest.$ac_ext
50864 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50865 echo "${ECHO_T}$ac_header_compiler" >&6
50867 # Is the header present?
50868 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50869 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50870 cat >conftest.$ac_ext <<_ACEOF
50871 #line $LINENO "configure"
50874 cat confdefs.h >>conftest.$ac_ext
50875 cat >>conftest.$ac_ext <<_ACEOF
50876 /* end confdefs.h. */
50877 #include <langinfo.h>
50879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50882 grep -v '^ *+' conftest.er1 >conftest.err
50884 cat conftest.err >&5
50885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50886 (exit $ac_status); } >/dev/null; then
50887 if test -s conftest.err; then
50888 ac_cpp_err=$ac_c_preproc_warn_flag
50895 if test -z "$ac_cpp_err"; then
50896 ac_header_preproc=yes
50898 echo "$as_me: failed program was:" >&5
50899 sed 's/^/| /' conftest.$ac_ext >&5
50901 ac_header_preproc=no
50903 rm -f conftest.err conftest.$ac_ext
50904 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50905 echo "${ECHO_T}$ac_header_preproc" >&6
50907 # So? What about this header?
50908 case $ac_header_compiler:$ac_header_preproc in
50910 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50911 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50912 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50913 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50916 ## ------------------------------------ ##
50917 ## Report this to bug-autoconf@gnu.org. ##
50918 ## ------------------------------------ ##
50921 sed "s/^/$as_me: WARNING: /" >&2
50924 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50925 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50926 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50927 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50928 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50929 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50932 ## ------------------------------------ ##
50933 ## Report this to bug-autoconf@gnu.org. ##
50934 ## ------------------------------------ ##
50937 sed "s/^/$as_me: WARNING: /" >&2
50940 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50941 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50942 if test "${ac_cv_header_langinfo_h+set}" = set; then
50943 echo $ECHO_N "(cached) $ECHO_C" >&6
50945 ac_cv_header_langinfo_h=$ac_header_preproc
50947 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50948 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50951 if test $ac_cv_header_langinfo_h = yes; then
50952 ac_has_langinfo_h=yes
50954 ac_has_langinfo_h=no
50959 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50960 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50961 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50962 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50963 echo $ECHO_N "(cached) $ECHO_C" >&6
50965 ac_check_lib_save_LIBS=$LIBS
50966 LIBS="-liconv $LIBS"
50967 if test x$gcc_no_link = xyes; then
50968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50970 { (exit 1); exit 1; }; }
50972 cat >conftest.$ac_ext <<_ACEOF
50973 #line $LINENO "configure"
50976 cat confdefs.h >>conftest.$ac_ext
50977 cat >>conftest.$ac_ext <<_ACEOF
50978 /* end confdefs.h. */
50980 /* Override any gcc2 internal prototype to avoid an error. */
50984 /* We use char because int might match the return type of a gcc2
50985 builtin and then its argument prototype would still apply. */
50995 rm -f conftest.$ac_objext conftest$ac_exeext
50996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50997 (eval $ac_link) 2>&5
50999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51000 (exit $ac_status); } &&
51001 { ac_try='test -s conftest$ac_exeext'
51002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51003 (eval $ac_try) 2>&5
51005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51006 (exit $ac_status); }; }; then
51007 ac_cv_lib_iconv_iconv=yes
51009 echo "$as_me: failed program was:" >&5
51010 sed 's/^/| /' conftest.$ac_ext >&5
51012 ac_cv_lib_iconv_iconv=no
51014 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51015 LIBS=$ac_check_lib_save_LIBS
51017 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
51018 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
51019 if test $ac_cv_lib_iconv_iconv = yes; then
51023 ac_save_LIBS="$LIBS"
51024 LIBS="$LIBS $libiconv"
51030 for ac_func in iconv_open iconv_close iconv nl_langinfo
51032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51033 echo "$as_me:$LINENO: checking for $ac_func" >&5
51034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51035 if eval "test \"\${$as_ac_var+set}\" = set"; then
51036 echo $ECHO_N "(cached) $ECHO_C" >&6
51038 if test x$gcc_no_link = xyes; then
51039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51041 { (exit 1); exit 1; }; }
51043 cat >conftest.$ac_ext <<_ACEOF
51044 #line $LINENO "configure"
51047 cat confdefs.h >>conftest.$ac_ext
51048 cat >>conftest.$ac_ext <<_ACEOF
51049 /* end confdefs.h. */
51050 /* System header to define __stub macros and hopefully few prototypes,
51051 which can conflict with char $ac_func (); below.
51052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51053 <limits.h> exists even on freestanding compilers. */
51055 # include <limits.h>
51057 # include <assert.h>
51059 /* Override any gcc2 internal prototype to avoid an error. */
51064 /* We use char because int might match the return type of a gcc2
51065 builtin and then its argument prototype would still apply. */
51067 /* The GNU C library defines this for functions which it implements
51068 to always fail with ENOSYS. Some functions are actually named
51069 something starting with __ and the normal name is an alias. */
51070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51073 char (*f) () = $ac_func;
51082 return f != $ac_func;
51087 rm -f conftest.$ac_objext conftest$ac_exeext
51088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51089 (eval $ac_link) 2>&5
51091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51092 (exit $ac_status); } &&
51093 { ac_try='test -s conftest$ac_exeext'
51094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51095 (eval $ac_try) 2>&5
51097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51098 (exit $ac_status); }; }; then
51099 eval "$as_ac_var=yes"
51101 echo "$as_me: failed program was:" >&5
51102 sed 's/^/| /' conftest.$ac_ext >&5
51104 eval "$as_ac_var=no"
51106 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51110 if test `eval echo '${'$as_ac_var'}'` = yes; then
51111 cat >>confdefs.h <<_ACEOF
51112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51121 LIBS="$ac_save_LIBS"
51123 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
51124 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
51125 if test x"$ac_has_iconv_h" = xyes &&
51126 test x"$ac_has_langinfo_h" = xyes &&
51127 test x"$ac_XPG2funcs" = xyes;
51129 ac_XPG2_wchar_t=yes
51133 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
51134 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
51136 # At the moment, only enable wchar_t specializations if all the
51137 # above support is present.
51138 if test x"$ac_isoC99_wchar_t" = xyes &&
51139 test x"$ac_XPG2_wchar_t" = xyes;
51141 cat >>confdefs.h <<\_ACEOF
51142 #define _GLIBCXX_USE_WCHAR_T 1
51148 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
51149 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
51150 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
51151 echo "${ECHO_T}$enable_wchar_t" >&6
51153 cat >>confdefs.h <<\_ACEOF
51154 #define HAVE_COPYSIGN 1
51157 cat >>confdefs.h <<\_ACEOF
51158 #define HAVE_COPYSIGNF 1
51161 cat >>confdefs.h <<\_ACEOF
51162 #define HAVE_FREXPF 1
51165 cat >>confdefs.h <<\_ACEOF
51166 #define HAVE_HYPOT 1
51171 cat >>confdefs.h <<\_ACEOF
51172 #define HAVE_FINITE 1
51175 cat >>confdefs.h <<\_ACEOF
51176 #define HAVE_FINITEF 1
51179 cat >>confdefs.h <<\_ACEOF
51180 #define HAVE_ISINF 1
51183 cat >>confdefs.h <<\_ACEOF
51184 #define HAVE_ISINFF 1
51187 cat >>confdefs.h <<\_ACEOF
51188 #define HAVE_ISNAN 1
51191 cat >>confdefs.h <<\_ACEOF
51192 #define HAVE_ISNANF 1
51198 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
51211 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
51212 machine/endian.h machine/param.h sys/machine.h sys/types.h \
51213 fp.h locale.h float.h inttypes.h
51215 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51217 echo "$as_me:$LINENO: checking for $ac_header" >&5
51218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51220 echo $ECHO_N "(cached) $ECHO_C" >&6
51222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51225 # Is the header compilable?
51226 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51227 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51228 cat >conftest.$ac_ext <<_ACEOF
51229 #line $LINENO "configure"
51232 cat confdefs.h >>conftest.$ac_ext
51233 cat >>conftest.$ac_ext <<_ACEOF
51234 /* end confdefs.h. */
51235 $ac_includes_default
51236 #include <$ac_header>
51238 rm -f conftest.$ac_objext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51240 (eval $ac_compile) 2>&5
51242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51243 (exit $ac_status); } &&
51244 { ac_try='test -s conftest.$ac_objext'
51245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51246 (eval $ac_try) 2>&5
51248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51249 (exit $ac_status); }; }; then
51250 ac_header_compiler=yes
51252 echo "$as_me: failed program was:" >&5
51253 sed 's/^/| /' conftest.$ac_ext >&5
51255 ac_header_compiler=no
51257 rm -f conftest.$ac_objext conftest.$ac_ext
51258 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51259 echo "${ECHO_T}$ac_header_compiler" >&6
51261 # Is the header present?
51262 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51263 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
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. */
51271 #include <$ac_header>
51273 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51274 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51276 grep -v '^ *+' conftest.er1 >conftest.err
51278 cat conftest.err >&5
51279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280 (exit $ac_status); } >/dev/null; then
51281 if test -s conftest.err; then
51282 ac_cpp_err=$ac_c_preproc_warn_flag
51289 if test -z "$ac_cpp_err"; then
51290 ac_header_preproc=yes
51292 echo "$as_me: failed program was:" >&5
51293 sed 's/^/| /' conftest.$ac_ext >&5
51295 ac_header_preproc=no
51297 rm -f conftest.err conftest.$ac_ext
51298 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51299 echo "${ECHO_T}$ac_header_preproc" >&6
51301 # So? What about this header?
51302 case $ac_header_compiler:$ac_header_preproc in
51304 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51305 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51306 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51307 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51310 ## ------------------------------------ ##
51311 ## Report this to bug-autoconf@gnu.org. ##
51312 ## ------------------------------------ ##
51315 sed "s/^/$as_me: WARNING: /" >&2
51318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51323 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51326 ## ------------------------------------ ##
51327 ## Report this to bug-autoconf@gnu.org. ##
51328 ## ------------------------------------ ##
51331 sed "s/^/$as_me: WARNING: /" >&2
51334 echo "$as_me:$LINENO: checking for $ac_header" >&5
51335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51337 echo $ECHO_N "(cached) $ECHO_C" >&6
51339 eval "$as_ac_Header=$ac_header_preproc"
51341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51342 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51345 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51346 cat >>confdefs.h <<_ACEOF
51347 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51354 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51357 # If we're not using GNU ld, then there's no point in even trying these
51358 # tests. Check for that first. We should have already tested for gld
51359 # by now (in libtool), but require it now just to be safe...
51360 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51361 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51365 # The name set by libtool depends on the version of libtool. Shame on us
51366 # for depending on an impl detail, but c'est la vie. Older versions used
51367 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51368 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51369 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51370 # set (hence we're using an older libtool), then set it.
51371 if test x${with_gnu_ld+set} != xset; then
51372 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51373 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51376 with_gnu_ld=$ac_cv_prog_gnu_ld
51380 # Start by getting the version number. I think the libtool test already
51381 # does some of this, but throws away the result.
51383 ldver=`$LD --version 2>/dev/null | head -1 | \
51384 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51386 glibcxx_gnu_ld_version=`echo $ldver | \
51387 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51389 # Set --gc-sections.
51390 if test "$with_gnu_ld" = "notbroken"; then
51391 # GNU ld it is! Joy and bunny rabbits!
51393 # All these tests are for C++; save the language and the compiler flags.
51394 # Need to do this so that g++ won't try to link in libstdc++
51395 ac_test_CFLAGS="${CFLAGS+set}"
51396 ac_save_CFLAGS="$CFLAGS"
51397 CFLAGS='-x c++ -Wl,--gc-sections'
51399 # Check for -Wl,--gc-sections
51400 # XXX This test is broken at the moment, as symbols required for linking
51401 # are now in libsupc++ (not built yet). In addition, this test has
51402 # cored on solaris in the past. In addition, --gc-sections doesn't
51403 # really work at the moment (keeps on discarding used sections, first
51404 # .eh_frame and now some of the glibc sections for iconv).
51405 # Bzzzzt. Thanks for playing, maybe next time.
51406 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51407 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51408 if test "$cross_compiling" = yes; then
51409 ac_sectionLDflags=yes
51411 cat >conftest.$ac_ext <<_ACEOF
51412 #line $LINENO "configure"
51415 cat confdefs.h >>conftest.$ac_ext
51416 cat >>conftest.$ac_ext <<_ACEOF
51417 /* end confdefs.h. */
51427 rm -f conftest$ac_exeext
51428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51429 (eval $ac_link) 2>&5
51431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51432 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51434 (eval $ac_try) 2>&5
51436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51437 (exit $ac_status); }; }; then
51438 ac_sectionLDflags=yes
51440 echo "$as_me: program exited with status $ac_status" >&5
51441 echo "$as_me: failed program was:" >&5
51442 sed 's/^/| /' conftest.$ac_ext >&5
51444 ( exit $ac_status )
51445 ac_sectionLDflags=no
51447 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51449 if test "$ac_test_CFLAGS" = set; then
51450 CFLAGS="$ac_save_CFLAGS"
51452 # this is the suspicious part
51455 if test "$ac_sectionLDflags" = "yes"; then
51456 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51458 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51459 echo "${ECHO_T}$ac_sectionLDflags" >&6
51462 # Set linker optimization flags.
51463 if test x"$with_gnu_ld" = x"yes"; then
51464 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51472 echo "$as_me:$LINENO: checking for main in -lm" >&5
51473 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51474 if test "${ac_cv_lib_m_main+set}" = set; then
51475 echo $ECHO_N "(cached) $ECHO_C" >&6
51477 ac_check_lib_save_LIBS=$LIBS
51479 if test x$gcc_no_link = xyes; then
51480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51482 { (exit 1); exit 1; }; }
51484 cat >conftest.$ac_ext <<_ACEOF
51485 #line $LINENO "configure"
51488 cat confdefs.h >>conftest.$ac_ext
51489 cat >>conftest.$ac_ext <<_ACEOF
51490 /* end confdefs.h. */
51501 rm -f conftest.$ac_objext conftest$ac_exeext
51502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51503 (eval $ac_link) 2>&5
51505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51506 (exit $ac_status); } &&
51507 { ac_try='test -s conftest$ac_exeext'
51508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51509 (eval $ac_try) 2>&5
51511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51512 (exit $ac_status); }; }; then
51513 ac_cv_lib_m_main=yes
51515 echo "$as_me: failed program was:" >&5
51516 sed 's/^/| /' conftest.$ac_ext >&5
51518 ac_cv_lib_m_main=no
51520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51521 LIBS=$ac_check_lib_save_LIBS
51523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51524 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51525 if test $ac_cv_lib_m_main = yes; then
51526 cat >>confdefs.h <<_ACEOF
51527 #define HAVE_LIBM 1
51536 for ac_func in nan copysignf
51538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51539 echo "$as_me:$LINENO: checking for $ac_func" >&5
51540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51541 if eval "test \"\${$as_ac_var+set}\" = set"; then
51542 echo $ECHO_N "(cached) $ECHO_C" >&6
51544 if test x$gcc_no_link = xyes; then
51545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51547 { (exit 1); exit 1; }; }
51549 cat >conftest.$ac_ext <<_ACEOF
51550 #line $LINENO "configure"
51553 cat confdefs.h >>conftest.$ac_ext
51554 cat >>conftest.$ac_ext <<_ACEOF
51555 /* end confdefs.h. */
51556 /* System header to define __stub macros and hopefully few prototypes,
51557 which can conflict with char $ac_func (); below.
51558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51559 <limits.h> exists even on freestanding compilers. */
51561 # include <limits.h>
51563 # include <assert.h>
51565 /* Override any gcc2 internal prototype to avoid an error. */
51570 /* We use char because int might match the return type of a gcc2
51571 builtin and then its argument prototype would still apply. */
51573 /* The GNU C library defines this for functions which it implements
51574 to always fail with ENOSYS. Some functions are actually named
51575 something starting with __ and the normal name is an alias. */
51576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51579 char (*f) () = $ac_func;
51588 return f != $ac_func;
51593 rm -f conftest.$ac_objext conftest$ac_exeext
51594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51595 (eval $ac_link) 2>&5
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); } &&
51599 { ac_try='test -s conftest$ac_exeext'
51600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51601 (eval $ac_try) 2>&5
51603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51604 (exit $ac_status); }; }; then
51605 eval "$as_ac_var=yes"
51607 echo "$as_me: failed program was:" >&5
51608 sed 's/^/| /' conftest.$ac_ext >&5
51610 eval "$as_ac_var=no"
51612 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51616 if test `eval echo '${'$as_ac_var'}'` = yes; then
51617 cat >>confdefs.h <<_ACEOF
51618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51622 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51628 for ac_func in __signbit
51630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51631 echo "$as_me:$LINENO: checking for $ac_func" >&5
51632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51633 if eval "test \"\${$as_ac_var+set}\" = set"; then
51634 echo $ECHO_N "(cached) $ECHO_C" >&6
51636 if test x$gcc_no_link = xyes; then
51637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51639 { (exit 1); exit 1; }; }
51641 cat >conftest.$ac_ext <<_ACEOF
51642 #line $LINENO "configure"
51645 cat confdefs.h >>conftest.$ac_ext
51646 cat >>conftest.$ac_ext <<_ACEOF
51647 /* end confdefs.h. */
51648 /* System header to define __stub macros and hopefully few prototypes,
51649 which can conflict with char $ac_func (); below.
51650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51651 <limits.h> exists even on freestanding compilers. */
51653 # include <limits.h>
51655 # include <assert.h>
51657 /* Override any gcc2 internal prototype to avoid an error. */
51662 /* We use char because int might match the return type of a gcc2
51663 builtin and then its argument prototype would still apply. */
51665 /* The GNU C library defines this for functions which it implements
51666 to always fail with ENOSYS. Some functions are actually named
51667 something starting with __ and the normal name is an alias. */
51668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51671 char (*f) () = $ac_func;
51680 return f != $ac_func;
51685 rm -f conftest.$ac_objext conftest$ac_exeext
51686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51687 (eval $ac_link) 2>&5
51689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51690 (exit $ac_status); } &&
51691 { ac_try='test -s conftest$ac_exeext'
51692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51693 (eval $ac_try) 2>&5
51695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696 (exit $ac_status); }; }; then
51697 eval "$as_ac_var=yes"
51699 echo "$as_me: failed program was:" >&5
51700 sed 's/^/| /' conftest.$ac_ext >&5
51702 eval "$as_ac_var=no"
51704 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51708 if test `eval echo '${'$as_ac_var'}'` = yes; then
51709 cat >>confdefs.h <<_ACEOF
51710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51714 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51719 for ac_func in __signbitf
51721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51722 echo "$as_me:$LINENO: checking for $ac_func" >&5
51723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51724 if eval "test \"\${$as_ac_var+set}\" = set"; then
51725 echo $ECHO_N "(cached) $ECHO_C" >&6
51727 if test x$gcc_no_link = xyes; then
51728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51730 { (exit 1); exit 1; }; }
51732 cat >conftest.$ac_ext <<_ACEOF
51733 #line $LINENO "configure"
51736 cat confdefs.h >>conftest.$ac_ext
51737 cat >>conftest.$ac_ext <<_ACEOF
51738 /* end confdefs.h. */
51739 /* System header to define __stub macros and hopefully few prototypes,
51740 which can conflict with char $ac_func (); below.
51741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51742 <limits.h> exists even on freestanding compilers. */
51744 # include <limits.h>
51746 # include <assert.h>
51748 /* Override any gcc2 internal prototype to avoid an error. */
51753 /* We use char because int might match the return type of a gcc2
51754 builtin and then its argument prototype would still apply. */
51756 /* The GNU C library defines this for functions which it implements
51757 to always fail with ENOSYS. Some functions are actually named
51758 something starting with __ and the normal name is an alias. */
51759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51762 char (*f) () = $ac_func;
51771 return f != $ac_func;
51776 rm -f conftest.$ac_objext conftest$ac_exeext
51777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51778 (eval $ac_link) 2>&5
51780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51781 (exit $ac_status); } &&
51782 { ac_try='test -s conftest$ac_exeext'
51783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51784 (eval $ac_try) 2>&5
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); }; }; then
51788 eval "$as_ac_var=yes"
51790 echo "$as_me: failed program was:" >&5
51791 sed 's/^/| /' conftest.$ac_ext >&5
51793 eval "$as_ac_var=no"
51795 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51799 if test `eval echo '${'$as_ac_var'}'` = yes; then
51800 cat >>confdefs.h <<_ACEOF
51801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51805 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51810 if test x$ac_cv_func_copysignl = x"yes"; then
51812 for ac_func in __signbitl
51814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51815 echo "$as_me:$LINENO: checking for $ac_func" >&5
51816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51817 if eval "test \"\${$as_ac_var+set}\" = set"; then
51818 echo $ECHO_N "(cached) $ECHO_C" >&6
51820 if test x$gcc_no_link = xyes; then
51821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51823 { (exit 1); exit 1; }; }
51825 cat >conftest.$ac_ext <<_ACEOF
51826 #line $LINENO "configure"
51829 cat confdefs.h >>conftest.$ac_ext
51830 cat >>conftest.$ac_ext <<_ACEOF
51831 /* end confdefs.h. */
51832 /* System header to define __stub macros and hopefully few prototypes,
51833 which can conflict with char $ac_func (); below.
51834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51835 <limits.h> exists even on freestanding compilers. */
51837 # include <limits.h>
51839 # include <assert.h>
51841 /* Override any gcc2 internal prototype to avoid an error. */
51846 /* We use char because int might match the return type of a gcc2
51847 builtin and then its argument prototype would still apply. */
51849 /* The GNU C library defines this for functions which it implements
51850 to always fail with ENOSYS. Some functions are actually named
51851 something starting with __ and the normal name is an alias. */
51852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51855 char (*f) () = $ac_func;
51864 return f != $ac_func;
51869 rm -f conftest.$ac_objext conftest$ac_exeext
51870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51871 (eval $ac_link) 2>&5
51873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51874 (exit $ac_status); } &&
51875 { ac_try='test -s conftest$ac_exeext'
51876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51877 (eval $ac_try) 2>&5
51879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51880 (exit $ac_status); }; }; then
51881 eval "$as_ac_var=yes"
51883 echo "$as_me: failed program was:" >&5
51884 sed 's/^/| /' conftest.$ac_ext >&5
51886 eval "$as_ac_var=no"
51888 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51891 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51892 if test `eval echo '${'$as_ac_var'}'` = yes; then
51893 cat >>confdefs.h <<_ACEOF
51894 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51898 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51904 # XXX Review this. Nothing uses it.
51905 if test -n "$LIBMATHOBJS"; then
51911 # Test wchar.h for mbstate_t, which is needed for char_traits and
51912 # others even if wchar_t support is not on.
51913 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51914 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51915 cat >conftest.$ac_ext <<_ACEOF
51916 #line $LINENO "configure"
51919 cat confdefs.h >>conftest.$ac_ext
51920 cat >>conftest.$ac_ext <<_ACEOF
51921 /* end confdefs.h. */
51926 mbstate_t teststate;
51931 rm -f conftest.$ac_objext
51932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51933 (eval $ac_compile) 2>&5
51935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51936 (exit $ac_status); } &&
51937 { ac_try='test -s conftest.$ac_objext'
51938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51939 (eval $ac_try) 2>&5
51941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51942 (exit $ac_status); }; }; then
51945 echo "$as_me: failed program was:" >&5
51946 sed 's/^/| /' conftest.$ac_ext >&5
51950 rm -f conftest.$ac_objext conftest.$ac_ext
51951 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51952 echo "${ECHO_T}$have_mbstate_t" >&6
51953 if test x"$have_mbstate_t" = xyes; then
51954 cat >>confdefs.h <<\_ACEOF
51955 #define HAVE_MBSTATE_T 1
51960 # Sanity check for existence of ISO C99 headers for extended encoding.
51962 for ac_header in wchar.h
51964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51966 echo "$as_me:$LINENO: checking for $ac_header" >&5
51967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51969 echo $ECHO_N "(cached) $ECHO_C" >&6
51971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51974 # Is the header compilable?
51975 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51976 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51977 cat >conftest.$ac_ext <<_ACEOF
51978 #line $LINENO "configure"
51981 cat confdefs.h >>conftest.$ac_ext
51982 cat >>conftest.$ac_ext <<_ACEOF
51983 /* end confdefs.h. */
51984 $ac_includes_default
51985 #include <$ac_header>
51987 rm -f conftest.$ac_objext
51988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51989 (eval $ac_compile) 2>&5
51991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51992 (exit $ac_status); } &&
51993 { ac_try='test -s conftest.$ac_objext'
51994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51995 (eval $ac_try) 2>&5
51997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51998 (exit $ac_status); }; }; then
51999 ac_header_compiler=yes
52001 echo "$as_me: failed program was:" >&5
52002 sed 's/^/| /' conftest.$ac_ext >&5
52004 ac_header_compiler=no
52006 rm -f conftest.$ac_objext conftest.$ac_ext
52007 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52008 echo "${ECHO_T}$ac_header_compiler" >&6
52010 # Is the header present?
52011 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52012 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52013 cat >conftest.$ac_ext <<_ACEOF
52014 #line $LINENO "configure"
52017 cat confdefs.h >>conftest.$ac_ext
52018 cat >>conftest.$ac_ext <<_ACEOF
52019 /* end confdefs.h. */
52020 #include <$ac_header>
52022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52025 grep -v '^ *+' conftest.er1 >conftest.err
52027 cat conftest.err >&5
52028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52029 (exit $ac_status); } >/dev/null; then
52030 if test -s conftest.err; then
52031 ac_cpp_err=$ac_c_preproc_warn_flag
52038 if test -z "$ac_cpp_err"; then
52039 ac_header_preproc=yes
52041 echo "$as_me: failed program was:" >&5
52042 sed 's/^/| /' conftest.$ac_ext >&5
52044 ac_header_preproc=no
52046 rm -f conftest.err conftest.$ac_ext
52047 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52048 echo "${ECHO_T}$ac_header_preproc" >&6
52050 # So? What about this header?
52051 case $ac_header_compiler:$ac_header_preproc in
52053 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52054 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52059 ## ------------------------------------ ##
52060 ## Report this to bug-autoconf@gnu.org. ##
52061 ## ------------------------------------ ##
52064 sed "s/^/$as_me: WARNING: /" >&2
52067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52071 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52072 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52075 ## ------------------------------------ ##
52076 ## Report this to bug-autoconf@gnu.org. ##
52077 ## ------------------------------------ ##
52080 sed "s/^/$as_me: WARNING: /" >&2
52083 echo "$as_me:$LINENO: checking for $ac_header" >&5
52084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52086 echo $ECHO_N "(cached) $ECHO_C" >&6
52088 eval "$as_ac_Header=$ac_header_preproc"
52090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52094 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52095 cat >>confdefs.h <<_ACEOF
52096 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52106 for ac_header in wctype.h
52108 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52110 echo "$as_me:$LINENO: checking for $ac_header" >&5
52111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52113 echo $ECHO_N "(cached) $ECHO_C" >&6
52115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52118 # Is the header compilable?
52119 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52120 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52121 cat >conftest.$ac_ext <<_ACEOF
52122 #line $LINENO "configure"
52125 cat confdefs.h >>conftest.$ac_ext
52126 cat >>conftest.$ac_ext <<_ACEOF
52127 /* end confdefs.h. */
52128 $ac_includes_default
52129 #include <$ac_header>
52131 rm -f conftest.$ac_objext
52132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52133 (eval $ac_compile) 2>&5
52135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52136 (exit $ac_status); } &&
52137 { ac_try='test -s conftest.$ac_objext'
52138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52139 (eval $ac_try) 2>&5
52141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52142 (exit $ac_status); }; }; then
52143 ac_header_compiler=yes
52145 echo "$as_me: failed program was:" >&5
52146 sed 's/^/| /' conftest.$ac_ext >&5
52148 ac_header_compiler=no
52150 rm -f conftest.$ac_objext conftest.$ac_ext
52151 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52152 echo "${ECHO_T}$ac_header_compiler" >&6
52154 # Is the header present?
52155 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52156 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52157 cat >conftest.$ac_ext <<_ACEOF
52158 #line $LINENO "configure"
52161 cat confdefs.h >>conftest.$ac_ext
52162 cat >>conftest.$ac_ext <<_ACEOF
52163 /* end confdefs.h. */
52164 #include <$ac_header>
52166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52169 grep -v '^ *+' conftest.er1 >conftest.err
52171 cat conftest.err >&5
52172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52173 (exit $ac_status); } >/dev/null; then
52174 if test -s conftest.err; then
52175 ac_cpp_err=$ac_c_preproc_warn_flag
52182 if test -z "$ac_cpp_err"; then
52183 ac_header_preproc=yes
52185 echo "$as_me: failed program was:" >&5
52186 sed 's/^/| /' conftest.$ac_ext >&5
52188 ac_header_preproc=no
52190 rm -f conftest.err conftest.$ac_ext
52191 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52192 echo "${ECHO_T}$ac_header_preproc" >&6
52194 # So? What about this header?
52195 case $ac_header_compiler:$ac_header_preproc in
52197 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52198 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52199 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52200 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52203 ## ------------------------------------ ##
52204 ## Report this to bug-autoconf@gnu.org. ##
52205 ## ------------------------------------ ##
52208 sed "s/^/$as_me: WARNING: /" >&2
52211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52219 ## ------------------------------------ ##
52220 ## Report this to bug-autoconf@gnu.org. ##
52221 ## ------------------------------------ ##
52224 sed "s/^/$as_me: WARNING: /" >&2
52227 echo "$as_me:$LINENO: checking for $ac_header" >&5
52228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52230 echo $ECHO_N "(cached) $ECHO_C" >&6
52232 eval "$as_ac_Header=$ac_header_preproc"
52234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52239 cat >>confdefs.h <<_ACEOF
52240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52242 ac_has_wctype_h=yes
52250 # Only continue checking if the ISO C99 headers exist and support is on.
52251 if test x"$ac_has_wchar_h" = xyes &&
52252 test x"$ac_has_wctype_h" = xyes &&
52253 test x"$enable_c_mbchar" != xno; then
52255 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52256 # numeric_limits can instantiate type_traits<wchar_t>
52257 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52258 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52259 cat >conftest.$ac_ext <<_ACEOF
52260 #line $LINENO "configure"
52263 cat confdefs.h >>conftest.$ac_ext
52264 cat >>conftest.$ac_ext <<_ACEOF
52265 /* end confdefs.h. */
52270 int i = WCHAR_MIN; int j = WCHAR_MAX;
52275 rm -f conftest.$ac_objext
52276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52277 (eval $ac_compile) 2>&5
52279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52280 (exit $ac_status); } &&
52281 { ac_try='test -s conftest.$ac_objext'
52282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52283 (eval $ac_try) 2>&5
52285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52286 (exit $ac_status); }; }; then
52287 has_wchar_minmax=yes
52289 echo "$as_me: failed program was:" >&5
52290 sed 's/^/| /' conftest.$ac_ext >&5
52292 has_wchar_minmax=no
52294 rm -f conftest.$ac_objext conftest.$ac_ext
52295 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52296 echo "${ECHO_T}$has_wchar_minmax" >&6
52298 # Test wchar.h for WEOF, which is what we use to determine whether
52299 # to specialize for char_traits<wchar_t> or not.
52300 echo "$as_me:$LINENO: checking for WEOF" >&5
52301 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52302 cat >conftest.$ac_ext <<_ACEOF
52303 #line $LINENO "configure"
52306 cat confdefs.h >>conftest.$ac_ext
52307 cat >>conftest.$ac_ext <<_ACEOF
52308 /* end confdefs.h. */
52311 #include <stddef.h>
52320 rm -f conftest.$ac_objext
52321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52322 (eval $ac_compile) 2>&5
52324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52325 (exit $ac_status); } &&
52326 { ac_try='test -s conftest.$ac_objext'
52327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52328 (eval $ac_try) 2>&5
52330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331 (exit $ac_status); }; }; then
52334 echo "$as_me: failed program was:" >&5
52335 sed 's/^/| /' conftest.$ac_ext >&5
52339 rm -f conftest.$ac_objext conftest.$ac_ext
52340 echo "$as_me:$LINENO: result: $has_weof" >&5
52341 echo "${ECHO_T}$has_weof" >&6
52343 # Tests for wide character functions used in char_traits<wchar_t>.
52351 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52354 echo "$as_me:$LINENO: checking for $ac_func" >&5
52355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52356 if eval "test \"\${$as_ac_var+set}\" = set"; then
52357 echo $ECHO_N "(cached) $ECHO_C" >&6
52359 if test x$gcc_no_link = xyes; then
52360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52362 { (exit 1); exit 1; }; }
52364 cat >conftest.$ac_ext <<_ACEOF
52365 #line $LINENO "configure"
52368 cat confdefs.h >>conftest.$ac_ext
52369 cat >>conftest.$ac_ext <<_ACEOF
52370 /* end confdefs.h. */
52371 /* System header to define __stub macros and hopefully few prototypes,
52372 which can conflict with char $ac_func (); below.
52373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52374 <limits.h> exists even on freestanding compilers. */
52376 # include <limits.h>
52378 # include <assert.h>
52380 /* Override any gcc2 internal prototype to avoid an error. */
52385 /* We use char because int might match the return type of a gcc2
52386 builtin and then its argument prototype would still apply. */
52388 /* The GNU C library defines this for functions which it implements
52389 to always fail with ENOSYS. Some functions are actually named
52390 something starting with __ and the normal name is an alias. */
52391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52394 char (*f) () = $ac_func;
52403 return f != $ac_func;
52408 rm -f conftest.$ac_objext conftest$ac_exeext
52409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52410 (eval $ac_link) 2>&5
52412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413 (exit $ac_status); } &&
52414 { ac_try='test -s conftest$ac_exeext'
52415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52416 (eval $ac_try) 2>&5
52418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52419 (exit $ac_status); }; }; then
52420 eval "$as_ac_var=yes"
52422 echo "$as_me: failed program was:" >&5
52423 sed 's/^/| /' conftest.$ac_ext >&5
52425 eval "$as_ac_var=no"
52427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52431 if test `eval echo '${'$as_ac_var'}'` = yes; then
52432 cat >>confdefs.h <<_ACEOF
52433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52442 # Checks for names injected into std:: by the c_std headers.
52489 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52490 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52491 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52492 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52493 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52494 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52497 echo "$as_me:$LINENO: checking for $ac_func" >&5
52498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52499 if eval "test \"\${$as_ac_var+set}\" = set"; then
52500 echo $ECHO_N "(cached) $ECHO_C" >&6
52502 if test x$gcc_no_link = xyes; then
52503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52505 { (exit 1); exit 1; }; }
52507 cat >conftest.$ac_ext <<_ACEOF
52508 #line $LINENO "configure"
52511 cat confdefs.h >>conftest.$ac_ext
52512 cat >>conftest.$ac_ext <<_ACEOF
52513 /* end confdefs.h. */
52514 /* System header to define __stub macros and hopefully few prototypes,
52515 which can conflict with char $ac_func (); below.
52516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52517 <limits.h> exists even on freestanding compilers. */
52519 # include <limits.h>
52521 # include <assert.h>
52523 /* Override any gcc2 internal prototype to avoid an error. */
52528 /* We use char because int might match the return type of a gcc2
52529 builtin and then its argument prototype would still apply. */
52531 /* The GNU C library defines this for functions which it implements
52532 to always fail with ENOSYS. Some functions are actually named
52533 something starting with __ and the normal name is an alias. */
52534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52537 char (*f) () = $ac_func;
52546 return f != $ac_func;
52551 rm -f conftest.$ac_objext conftest$ac_exeext
52552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52553 (eval $ac_link) 2>&5
52555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52556 (exit $ac_status); } &&
52557 { ac_try='test -s conftest$ac_exeext'
52558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52559 (eval $ac_try) 2>&5
52561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52562 (exit $ac_status); }; }; then
52563 eval "$as_ac_var=yes"
52565 echo "$as_me: failed program was:" >&5
52566 sed 's/^/| /' conftest.$ac_ext >&5
52568 eval "$as_ac_var=no"
52570 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52574 if test `eval echo '${'$as_ac_var'}'` = yes; then
52575 cat >>confdefs.h <<_ACEOF
52576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52585 # Checks for wide character functions that are not required
52586 # for basic wchar_t support. Don't disable support if they are missing.
52587 # Injection of these is wrapped with guard macros.
52593 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52596 echo "$as_me:$LINENO: checking for $ac_func" >&5
52597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52598 if eval "test \"\${$as_ac_var+set}\" = set"; then
52599 echo $ECHO_N "(cached) $ECHO_C" >&6
52601 if test x$gcc_no_link = xyes; then
52602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52604 { (exit 1); exit 1; }; }
52606 cat >conftest.$ac_ext <<_ACEOF
52607 #line $LINENO "configure"
52610 cat confdefs.h >>conftest.$ac_ext
52611 cat >>conftest.$ac_ext <<_ACEOF
52612 /* end confdefs.h. */
52613 /* System header to define __stub macros and hopefully few prototypes,
52614 which can conflict with char $ac_func (); below.
52615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52616 <limits.h> exists even on freestanding compilers. */
52618 # include <limits.h>
52620 # include <assert.h>
52622 /* Override any gcc2 internal prototype to avoid an error. */
52627 /* We use char because int might match the return type of a gcc2
52628 builtin and then its argument prototype would still apply. */
52630 /* The GNU C library defines this for functions which it implements
52631 to always fail with ENOSYS. Some functions are actually named
52632 something starting with __ and the normal name is an alias. */
52633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52636 char (*f) () = $ac_func;
52645 return f != $ac_func;
52650 rm -f conftest.$ac_objext conftest$ac_exeext
52651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52652 (eval $ac_link) 2>&5
52654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52655 (exit $ac_status); } &&
52656 { ac_try='test -s conftest$ac_exeext'
52657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52658 (eval $ac_try) 2>&5
52660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52661 (exit $ac_status); }; }; then
52662 eval "$as_ac_var=yes"
52664 echo "$as_me: failed program was:" >&5
52665 sed 's/^/| /' conftest.$ac_ext >&5
52667 eval "$as_ac_var=no"
52669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52673 if test `eval echo '${'$as_ac_var'}'` = yes; then
52674 cat >>confdefs.h <<_ACEOF
52675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52682 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52683 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52684 if test x"$has_weof" = xyes &&
52685 test x"$has_wchar_minmax" = xyes &&
52686 test x"$ac_wfuncs" = xyes;
52688 ac_isoC99_wchar_t=yes
52690 ac_isoC99_wchar_t=no
52692 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52693 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52695 # Use iconv for wchar_t to char conversions. As such, check for
52696 # X/Open Portability Guide, version 2 features (XPG2).
52697 if test "${ac_cv_header_iconv_h+set}" = set; then
52698 echo "$as_me:$LINENO: checking for iconv.h" >&5
52699 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52700 if test "${ac_cv_header_iconv_h+set}" = set; then
52701 echo $ECHO_N "(cached) $ECHO_C" >&6
52703 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52704 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52706 # Is the header compilable?
52707 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52708 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52709 cat >conftest.$ac_ext <<_ACEOF
52710 #line $LINENO "configure"
52713 cat confdefs.h >>conftest.$ac_ext
52714 cat >>conftest.$ac_ext <<_ACEOF
52715 /* end confdefs.h. */
52716 $ac_includes_default
52719 rm -f conftest.$ac_objext
52720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52721 (eval $ac_compile) 2>&5
52723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724 (exit $ac_status); } &&
52725 { ac_try='test -s conftest.$ac_objext'
52726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727 (eval $ac_try) 2>&5
52729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730 (exit $ac_status); }; }; then
52731 ac_header_compiler=yes
52733 echo "$as_me: failed program was:" >&5
52734 sed 's/^/| /' conftest.$ac_ext >&5
52736 ac_header_compiler=no
52738 rm -f conftest.$ac_objext conftest.$ac_ext
52739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52740 echo "${ECHO_T}$ac_header_compiler" >&6
52742 # Is the header present?
52743 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52744 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52745 cat >conftest.$ac_ext <<_ACEOF
52746 #line $LINENO "configure"
52749 cat confdefs.h >>conftest.$ac_ext
52750 cat >>conftest.$ac_ext <<_ACEOF
52751 /* end confdefs.h. */
52754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52757 grep -v '^ *+' conftest.er1 >conftest.err
52759 cat conftest.err >&5
52760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52761 (exit $ac_status); } >/dev/null; then
52762 if test -s conftest.err; then
52763 ac_cpp_err=$ac_c_preproc_warn_flag
52770 if test -z "$ac_cpp_err"; then
52771 ac_header_preproc=yes
52773 echo "$as_me: failed program was:" >&5
52774 sed 's/^/| /' conftest.$ac_ext >&5
52776 ac_header_preproc=no
52778 rm -f conftest.err conftest.$ac_ext
52779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52780 echo "${ECHO_T}$ac_header_preproc" >&6
52782 # So? What about this header?
52783 case $ac_header_compiler:$ac_header_preproc in
52785 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52786 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52787 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52788 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52791 ## ------------------------------------ ##
52792 ## Report this to bug-autoconf@gnu.org. ##
52793 ## ------------------------------------ ##
52796 sed "s/^/$as_me: WARNING: /" >&2
52799 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52800 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52801 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52802 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52803 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52804 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52807 ## ------------------------------------ ##
52808 ## Report this to bug-autoconf@gnu.org. ##
52809 ## ------------------------------------ ##
52812 sed "s/^/$as_me: WARNING: /" >&2
52815 echo "$as_me:$LINENO: checking for iconv.h" >&5
52816 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52817 if test "${ac_cv_header_iconv_h+set}" = set; then
52818 echo $ECHO_N "(cached) $ECHO_C" >&6
52820 ac_cv_header_iconv_h=$ac_header_preproc
52822 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52823 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52826 if test $ac_cv_header_iconv_h = yes; then
52833 if test "${ac_cv_header_langinfo_h+set}" = set; then
52834 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52835 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52836 if test "${ac_cv_header_langinfo_h+set}" = set; then
52837 echo $ECHO_N "(cached) $ECHO_C" >&6
52839 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52840 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52842 # Is the header compilable?
52843 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52844 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52845 cat >conftest.$ac_ext <<_ACEOF
52846 #line $LINENO "configure"
52849 cat confdefs.h >>conftest.$ac_ext
52850 cat >>conftest.$ac_ext <<_ACEOF
52851 /* end confdefs.h. */
52852 $ac_includes_default
52853 #include <langinfo.h>
52855 rm -f conftest.$ac_objext
52856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52857 (eval $ac_compile) 2>&5
52859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52860 (exit $ac_status); } &&
52861 { ac_try='test -s conftest.$ac_objext'
52862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52863 (eval $ac_try) 2>&5
52865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52866 (exit $ac_status); }; }; then
52867 ac_header_compiler=yes
52869 echo "$as_me: failed program was:" >&5
52870 sed 's/^/| /' conftest.$ac_ext >&5
52872 ac_header_compiler=no
52874 rm -f conftest.$ac_objext conftest.$ac_ext
52875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52876 echo "${ECHO_T}$ac_header_compiler" >&6
52878 # Is the header present?
52879 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52880 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52881 cat >conftest.$ac_ext <<_ACEOF
52882 #line $LINENO "configure"
52885 cat confdefs.h >>conftest.$ac_ext
52886 cat >>conftest.$ac_ext <<_ACEOF
52887 /* end confdefs.h. */
52888 #include <langinfo.h>
52890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52893 grep -v '^ *+' conftest.er1 >conftest.err
52895 cat conftest.err >&5
52896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52897 (exit $ac_status); } >/dev/null; then
52898 if test -s conftest.err; then
52899 ac_cpp_err=$ac_c_preproc_warn_flag
52906 if test -z "$ac_cpp_err"; then
52907 ac_header_preproc=yes
52909 echo "$as_me: failed program was:" >&5
52910 sed 's/^/| /' conftest.$ac_ext >&5
52912 ac_header_preproc=no
52914 rm -f conftest.err conftest.$ac_ext
52915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52916 echo "${ECHO_T}$ac_header_preproc" >&6
52918 # So? What about this header?
52919 case $ac_header_compiler:$ac_header_preproc in
52921 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52922 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52923 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52924 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52927 ## ------------------------------------ ##
52928 ## Report this to bug-autoconf@gnu.org. ##
52929 ## ------------------------------------ ##
52932 sed "s/^/$as_me: WARNING: /" >&2
52935 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52936 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52937 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52938 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52939 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52940 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52943 ## ------------------------------------ ##
52944 ## Report this to bug-autoconf@gnu.org. ##
52945 ## ------------------------------------ ##
52948 sed "s/^/$as_me: WARNING: /" >&2
52951 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52952 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52953 if test "${ac_cv_header_langinfo_h+set}" = set; then
52954 echo $ECHO_N "(cached) $ECHO_C" >&6
52956 ac_cv_header_langinfo_h=$ac_header_preproc
52958 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52959 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52962 if test $ac_cv_header_langinfo_h = yes; then
52963 ac_has_langinfo_h=yes
52965 ac_has_langinfo_h=no
52970 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52971 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52972 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52973 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52974 echo $ECHO_N "(cached) $ECHO_C" >&6
52976 ac_check_lib_save_LIBS=$LIBS
52977 LIBS="-liconv $LIBS"
52978 if test x$gcc_no_link = xyes; then
52979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52981 { (exit 1); exit 1; }; }
52983 cat >conftest.$ac_ext <<_ACEOF
52984 #line $LINENO "configure"
52987 cat confdefs.h >>conftest.$ac_ext
52988 cat >>conftest.$ac_ext <<_ACEOF
52989 /* end confdefs.h. */
52991 /* Override any gcc2 internal prototype to avoid an error. */
52995 /* We use char because int might match the return type of a gcc2
52996 builtin and then its argument prototype would still apply. */
53006 rm -f conftest.$ac_objext conftest$ac_exeext
53007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53008 (eval $ac_link) 2>&5
53010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53011 (exit $ac_status); } &&
53012 { ac_try='test -s conftest$ac_exeext'
53013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53014 (eval $ac_try) 2>&5
53016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53017 (exit $ac_status); }; }; then
53018 ac_cv_lib_iconv_iconv=yes
53020 echo "$as_me: failed program was:" >&5
53021 sed 's/^/| /' conftest.$ac_ext >&5
53023 ac_cv_lib_iconv_iconv=no
53025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53026 LIBS=$ac_check_lib_save_LIBS
53028 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53029 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53030 if test $ac_cv_lib_iconv_iconv = yes; then
53034 ac_save_LIBS="$LIBS"
53035 LIBS="$LIBS $libiconv"
53041 for ac_func in iconv_open iconv_close iconv nl_langinfo
53043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53044 echo "$as_me:$LINENO: checking for $ac_func" >&5
53045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53046 if eval "test \"\${$as_ac_var+set}\" = set"; then
53047 echo $ECHO_N "(cached) $ECHO_C" >&6
53049 if test x$gcc_no_link = xyes; then
53050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53052 { (exit 1); exit 1; }; }
53054 cat >conftest.$ac_ext <<_ACEOF
53055 #line $LINENO "configure"
53058 cat confdefs.h >>conftest.$ac_ext
53059 cat >>conftest.$ac_ext <<_ACEOF
53060 /* end confdefs.h. */
53061 /* System header to define __stub macros and hopefully few prototypes,
53062 which can conflict with char $ac_func (); below.
53063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53064 <limits.h> exists even on freestanding compilers. */
53066 # include <limits.h>
53068 # include <assert.h>
53070 /* Override any gcc2 internal prototype to avoid an error. */
53075 /* We use char because int might match the return type of a gcc2
53076 builtin and then its argument prototype would still apply. */
53078 /* The GNU C library defines this for functions which it implements
53079 to always fail with ENOSYS. Some functions are actually named
53080 something starting with __ and the normal name is an alias. */
53081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53084 char (*f) () = $ac_func;
53093 return f != $ac_func;
53098 rm -f conftest.$ac_objext conftest$ac_exeext
53099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53100 (eval $ac_link) 2>&5
53102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53103 (exit $ac_status); } &&
53104 { ac_try='test -s conftest$ac_exeext'
53105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53106 (eval $ac_try) 2>&5
53108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53109 (exit $ac_status); }; }; then
53110 eval "$as_ac_var=yes"
53112 echo "$as_me: failed program was:" >&5
53113 sed 's/^/| /' conftest.$ac_ext >&5
53115 eval "$as_ac_var=no"
53117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53121 if test `eval echo '${'$as_ac_var'}'` = yes; then
53122 cat >>confdefs.h <<_ACEOF
53123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53132 LIBS="$ac_save_LIBS"
53134 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
53135 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
53136 if test x"$ac_has_iconv_h" = xyes &&
53137 test x"$ac_has_langinfo_h" = xyes &&
53138 test x"$ac_XPG2funcs" = xyes;
53140 ac_XPG2_wchar_t=yes
53144 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
53145 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53147 # At the moment, only enable wchar_t specializations if all the
53148 # above support is present.
53149 if test x"$ac_isoC99_wchar_t" = xyes &&
53150 test x"$ac_XPG2_wchar_t" = xyes;
53152 cat >>confdefs.h <<\_ACEOF
53153 #define _GLIBCXX_USE_WCHAR_T 1
53159 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53160 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53161 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53162 echo "${ECHO_T}$enable_wchar_t" >&6
53164 cat >>confdefs.h <<\_ACEOF
53165 #define HAVE_COPYSIGN 1
53168 cat >>confdefs.h <<\_ACEOF
53169 #define HAVE_COPYSIGNF 1
53172 cat >>confdefs.h <<\_ACEOF
53173 #define HAVE_FINITE 1
53176 cat >>confdefs.h <<\_ACEOF
53177 #define HAVE_FINITEF 1
53180 cat >>confdefs.h <<\_ACEOF
53181 #define HAVE_FREXPF 1
53184 cat >>confdefs.h <<\_ACEOF
53185 #define HAVE_HYPOTF 1
53188 cat >>confdefs.h <<\_ACEOF
53189 #define HAVE_ISINF 1
53192 cat >>confdefs.h <<\_ACEOF
53193 #define HAVE_ISINFF 1
53196 cat >>confdefs.h <<\_ACEOF
53197 #define HAVE_ISNAN 1
53200 cat >>confdefs.h <<\_ACEOF
53201 #define HAVE_ISNANF 1
53204 cat >>confdefs.h <<\_ACEOF
53205 #define HAVE_SINCOS 1
53208 cat >>confdefs.h <<\_ACEOF
53209 #define HAVE_SINCOSF 1
53212 if test x"long_double_math_on_this_cpu" = x"yes"; then
53213 cat >>confdefs.h <<\_ACEOF
53214 #define HAVE_FINITEL 1
53217 cat >>confdefs.h <<\_ACEOF
53218 #define HAVE_HYPOTL 1
53221 cat >>confdefs.h <<\_ACEOF
53222 #define HAVE_ISINFL 1
53225 cat >>confdefs.h <<\_ACEOF
53226 #define HAVE_ISNANL 1
53235 for ac_header in sys/types.h locale.h float.h
53237 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53239 echo "$as_me:$LINENO: checking for $ac_header" >&5
53240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53242 echo $ECHO_N "(cached) $ECHO_C" >&6
53244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53247 # Is the header compilable?
53248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53250 cat >conftest.$ac_ext <<_ACEOF
53251 #line $LINENO "configure"
53254 cat confdefs.h >>conftest.$ac_ext
53255 cat >>conftest.$ac_ext <<_ACEOF
53256 /* end confdefs.h. */
53257 $ac_includes_default
53258 #include <$ac_header>
53260 rm -f conftest.$ac_objext
53261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53262 (eval $ac_compile) 2>&5
53264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53265 (exit $ac_status); } &&
53266 { ac_try='test -s conftest.$ac_objext'
53267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53268 (eval $ac_try) 2>&5
53270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53271 (exit $ac_status); }; }; then
53272 ac_header_compiler=yes
53274 echo "$as_me: failed program was:" >&5
53275 sed 's/^/| /' conftest.$ac_ext >&5
53277 ac_header_compiler=no
53279 rm -f conftest.$ac_objext conftest.$ac_ext
53280 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53281 echo "${ECHO_T}$ac_header_compiler" >&6
53283 # Is the header present?
53284 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53285 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53286 cat >conftest.$ac_ext <<_ACEOF
53287 #line $LINENO "configure"
53290 cat confdefs.h >>conftest.$ac_ext
53291 cat >>conftest.$ac_ext <<_ACEOF
53292 /* end confdefs.h. */
53293 #include <$ac_header>
53295 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53296 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53298 grep -v '^ *+' conftest.er1 >conftest.err
53300 cat conftest.err >&5
53301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53302 (exit $ac_status); } >/dev/null; then
53303 if test -s conftest.err; then
53304 ac_cpp_err=$ac_c_preproc_warn_flag
53311 if test -z "$ac_cpp_err"; then
53312 ac_header_preproc=yes
53314 echo "$as_me: failed program was:" >&5
53315 sed 's/^/| /' conftest.$ac_ext >&5
53317 ac_header_preproc=no
53319 rm -f conftest.err conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53321 echo "${ECHO_T}$ac_header_preproc" >&6
53323 # So? What about this header?
53324 case $ac_header_compiler:$ac_header_preproc in
53326 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53327 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53328 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53329 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53332 ## ------------------------------------ ##
53333 ## Report this to bug-autoconf@gnu.org. ##
53334 ## ------------------------------------ ##
53337 sed "s/^/$as_me: WARNING: /" >&2
53340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53345 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53348 ## ------------------------------------ ##
53349 ## Report this to bug-autoconf@gnu.org. ##
53350 ## ------------------------------------ ##
53353 sed "s/^/$as_me: WARNING: /" >&2
53356 echo "$as_me:$LINENO: checking for $ac_header" >&5
53357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53359 echo $ECHO_N "(cached) $ECHO_C" >&6
53361 eval "$as_ac_Header=$ac_header_preproc"
53363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53367 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53368 cat >>confdefs.h <<_ACEOF
53369 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53377 # If we're not using GNU ld, then there's no point in even trying these
53378 # tests. Check for that first. We should have already tested for gld
53379 # by now (in libtool), but require it now just to be safe...
53380 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53381 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53385 # The name set by libtool depends on the version of libtool. Shame on us
53386 # for depending on an impl detail, but c'est la vie. Older versions used
53387 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53388 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53389 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53390 # set (hence we're using an older libtool), then set it.
53391 if test x${with_gnu_ld+set} != xset; then
53392 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53393 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53396 with_gnu_ld=$ac_cv_prog_gnu_ld
53400 # Start by getting the version number. I think the libtool test already
53401 # does some of this, but throws away the result.
53403 ldver=`$LD --version 2>/dev/null | head -1 | \
53404 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53406 glibcxx_gnu_ld_version=`echo $ldver | \
53407 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53409 # Set --gc-sections.
53410 if test "$with_gnu_ld" = "notbroken"; then
53411 # GNU ld it is! Joy and bunny rabbits!
53413 # All these tests are for C++; save the language and the compiler flags.
53414 # Need to do this so that g++ won't try to link in libstdc++
53415 ac_test_CFLAGS="${CFLAGS+set}"
53416 ac_save_CFLAGS="$CFLAGS"
53417 CFLAGS='-x c++ -Wl,--gc-sections'
53419 # Check for -Wl,--gc-sections
53420 # XXX This test is broken at the moment, as symbols required for linking
53421 # are now in libsupc++ (not built yet). In addition, this test has
53422 # cored on solaris in the past. In addition, --gc-sections doesn't
53423 # really work at the moment (keeps on discarding used sections, first
53424 # .eh_frame and now some of the glibc sections for iconv).
53425 # Bzzzzt. Thanks for playing, maybe next time.
53426 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53427 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53428 if test "$cross_compiling" = yes; then
53429 ac_sectionLDflags=yes
53431 cat >conftest.$ac_ext <<_ACEOF
53432 #line $LINENO "configure"
53435 cat confdefs.h >>conftest.$ac_ext
53436 cat >>conftest.$ac_ext <<_ACEOF
53437 /* end confdefs.h. */
53447 rm -f conftest$ac_exeext
53448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53449 (eval $ac_link) 2>&5
53451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53452 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53454 (eval $ac_try) 2>&5
53456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53457 (exit $ac_status); }; }; then
53458 ac_sectionLDflags=yes
53460 echo "$as_me: program exited with status $ac_status" >&5
53461 echo "$as_me: failed program was:" >&5
53462 sed 's/^/| /' conftest.$ac_ext >&5
53464 ( exit $ac_status )
53465 ac_sectionLDflags=no
53467 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53469 if test "$ac_test_CFLAGS" = set; then
53470 CFLAGS="$ac_save_CFLAGS"
53472 # this is the suspicious part
53475 if test "$ac_sectionLDflags" = "yes"; then
53476 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53478 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53479 echo "${ECHO_T}$ac_sectionLDflags" >&6
53482 # Set linker optimization flags.
53483 if test x"$with_gnu_ld" = x"yes"; then
53484 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53492 echo "$as_me:$LINENO: checking for main in -lm" >&5
53493 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53494 if test "${ac_cv_lib_m_main+set}" = set; then
53495 echo $ECHO_N "(cached) $ECHO_C" >&6
53497 ac_check_lib_save_LIBS=$LIBS
53499 if test x$gcc_no_link = xyes; then
53500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53502 { (exit 1); exit 1; }; }
53504 cat >conftest.$ac_ext <<_ACEOF
53505 #line $LINENO "configure"
53508 cat confdefs.h >>conftest.$ac_ext
53509 cat >>conftest.$ac_ext <<_ACEOF
53510 /* end confdefs.h. */
53521 rm -f conftest.$ac_objext conftest$ac_exeext
53522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53523 (eval $ac_link) 2>&5
53525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53526 (exit $ac_status); } &&
53527 { ac_try='test -s conftest$ac_exeext'
53528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53529 (eval $ac_try) 2>&5
53531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53532 (exit $ac_status); }; }; then
53533 ac_cv_lib_m_main=yes
53535 echo "$as_me: failed program was:" >&5
53536 sed 's/^/| /' conftest.$ac_ext >&5
53538 ac_cv_lib_m_main=no
53540 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53541 LIBS=$ac_check_lib_save_LIBS
53543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53544 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53545 if test $ac_cv_lib_m_main = yes; then
53546 cat >>confdefs.h <<_ACEOF
53547 #define HAVE_LIBM 1
53556 for ac_func in nan copysignf
53558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53559 echo "$as_me:$LINENO: checking for $ac_func" >&5
53560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53561 if eval "test \"\${$as_ac_var+set}\" = set"; then
53562 echo $ECHO_N "(cached) $ECHO_C" >&6
53564 if test x$gcc_no_link = xyes; then
53565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53567 { (exit 1); exit 1; }; }
53569 cat >conftest.$ac_ext <<_ACEOF
53570 #line $LINENO "configure"
53573 cat confdefs.h >>conftest.$ac_ext
53574 cat >>conftest.$ac_ext <<_ACEOF
53575 /* end confdefs.h. */
53576 /* System header to define __stub macros and hopefully few prototypes,
53577 which can conflict with char $ac_func (); below.
53578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53579 <limits.h> exists even on freestanding compilers. */
53581 # include <limits.h>
53583 # include <assert.h>
53585 /* Override any gcc2 internal prototype to avoid an error. */
53590 /* We use char because int might match the return type of a gcc2
53591 builtin and then its argument prototype would still apply. */
53593 /* The GNU C library defines this for functions which it implements
53594 to always fail with ENOSYS. Some functions are actually named
53595 something starting with __ and the normal name is an alias. */
53596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53599 char (*f) () = $ac_func;
53608 return f != $ac_func;
53613 rm -f conftest.$ac_objext conftest$ac_exeext
53614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53615 (eval $ac_link) 2>&5
53617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53618 (exit $ac_status); } &&
53619 { ac_try='test -s conftest$ac_exeext'
53620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53621 (eval $ac_try) 2>&5
53623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53624 (exit $ac_status); }; }; then
53625 eval "$as_ac_var=yes"
53627 echo "$as_me: failed program was:" >&5
53628 sed 's/^/| /' conftest.$ac_ext >&5
53630 eval "$as_ac_var=no"
53632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53636 if test `eval echo '${'$as_ac_var'}'` = yes; then
53637 cat >>confdefs.h <<_ACEOF
53638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53642 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53648 for ac_func in __signbit
53650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53651 echo "$as_me:$LINENO: checking for $ac_func" >&5
53652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53653 if eval "test \"\${$as_ac_var+set}\" = set"; then
53654 echo $ECHO_N "(cached) $ECHO_C" >&6
53656 if test x$gcc_no_link = xyes; then
53657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53659 { (exit 1); exit 1; }; }
53661 cat >conftest.$ac_ext <<_ACEOF
53662 #line $LINENO "configure"
53665 cat confdefs.h >>conftest.$ac_ext
53666 cat >>conftest.$ac_ext <<_ACEOF
53667 /* end confdefs.h. */
53668 /* System header to define __stub macros and hopefully few prototypes,
53669 which can conflict with char $ac_func (); below.
53670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53671 <limits.h> exists even on freestanding compilers. */
53673 # include <limits.h>
53675 # include <assert.h>
53677 /* Override any gcc2 internal prototype to avoid an error. */
53682 /* We use char because int might match the return type of a gcc2
53683 builtin and then its argument prototype would still apply. */
53685 /* The GNU C library defines this for functions which it implements
53686 to always fail with ENOSYS. Some functions are actually named
53687 something starting with __ and the normal name is an alias. */
53688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53691 char (*f) () = $ac_func;
53700 return f != $ac_func;
53705 rm -f conftest.$ac_objext conftest$ac_exeext
53706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53707 (eval $ac_link) 2>&5
53709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53710 (exit $ac_status); } &&
53711 { ac_try='test -s conftest$ac_exeext'
53712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53713 (eval $ac_try) 2>&5
53715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53716 (exit $ac_status); }; }; then
53717 eval "$as_ac_var=yes"
53719 echo "$as_me: failed program was:" >&5
53720 sed 's/^/| /' conftest.$ac_ext >&5
53722 eval "$as_ac_var=no"
53724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53728 if test `eval echo '${'$as_ac_var'}'` = yes; then
53729 cat >>confdefs.h <<_ACEOF
53730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53734 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53739 for ac_func in __signbitf
53741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53742 echo "$as_me:$LINENO: checking for $ac_func" >&5
53743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53744 if eval "test \"\${$as_ac_var+set}\" = set"; then
53745 echo $ECHO_N "(cached) $ECHO_C" >&6
53747 if test x$gcc_no_link = xyes; then
53748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53750 { (exit 1); exit 1; }; }
53752 cat >conftest.$ac_ext <<_ACEOF
53753 #line $LINENO "configure"
53756 cat confdefs.h >>conftest.$ac_ext
53757 cat >>conftest.$ac_ext <<_ACEOF
53758 /* end confdefs.h. */
53759 /* System header to define __stub macros and hopefully few prototypes,
53760 which can conflict with char $ac_func (); below.
53761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53762 <limits.h> exists even on freestanding compilers. */
53764 # include <limits.h>
53766 # include <assert.h>
53768 /* Override any gcc2 internal prototype to avoid an error. */
53773 /* We use char because int might match the return type of a gcc2
53774 builtin and then its argument prototype would still apply. */
53776 /* The GNU C library defines this for functions which it implements
53777 to always fail with ENOSYS. Some functions are actually named
53778 something starting with __ and the normal name is an alias. */
53779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53782 char (*f) () = $ac_func;
53791 return f != $ac_func;
53796 rm -f conftest.$ac_objext conftest$ac_exeext
53797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53798 (eval $ac_link) 2>&5
53800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53801 (exit $ac_status); } &&
53802 { ac_try='test -s conftest$ac_exeext'
53803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53804 (eval $ac_try) 2>&5
53806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53807 (exit $ac_status); }; }; then
53808 eval "$as_ac_var=yes"
53810 echo "$as_me: failed program was:" >&5
53811 sed 's/^/| /' conftest.$ac_ext >&5
53813 eval "$as_ac_var=no"
53815 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53819 if test `eval echo '${'$as_ac_var'}'` = yes; then
53820 cat >>confdefs.h <<_ACEOF
53821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53825 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
53830 if test x$ac_cv_func_copysignl = x"yes"; then
53832 for ac_func in __signbitl
53834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53835 echo "$as_me:$LINENO: checking for $ac_func" >&5
53836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53837 if eval "test \"\${$as_ac_var+set}\" = set"; then
53838 echo $ECHO_N "(cached) $ECHO_C" >&6
53840 if test x$gcc_no_link = xyes; then
53841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53843 { (exit 1); exit 1; }; }
53845 cat >conftest.$ac_ext <<_ACEOF
53846 #line $LINENO "configure"
53849 cat confdefs.h >>conftest.$ac_ext
53850 cat >>conftest.$ac_ext <<_ACEOF
53851 /* end confdefs.h. */
53852 /* System header to define __stub macros and hopefully few prototypes,
53853 which can conflict with char $ac_func (); below.
53854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53855 <limits.h> exists even on freestanding compilers. */
53857 # include <limits.h>
53859 # include <assert.h>
53861 /* Override any gcc2 internal prototype to avoid an error. */
53866 /* We use char because int might match the return type of a gcc2
53867 builtin and then its argument prototype would still apply. */
53869 /* The GNU C library defines this for functions which it implements
53870 to always fail with ENOSYS. Some functions are actually named
53871 something starting with __ and the normal name is an alias. */
53872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53875 char (*f) () = $ac_func;
53884 return f != $ac_func;
53889 rm -f conftest.$ac_objext conftest$ac_exeext
53890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53891 (eval $ac_link) 2>&5
53893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53894 (exit $ac_status); } &&
53895 { ac_try='test -s conftest$ac_exeext'
53896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53897 (eval $ac_try) 2>&5
53899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53900 (exit $ac_status); }; }; then
53901 eval "$as_ac_var=yes"
53903 echo "$as_me: failed program was:" >&5
53904 sed 's/^/| /' conftest.$ac_ext >&5
53906 eval "$as_ac_var=no"
53908 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53912 if test `eval echo '${'$as_ac_var'}'` = yes; then
53913 cat >>confdefs.h <<_ACEOF
53914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53918 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
53924 # XXX Review this. Nothing uses it.
53925 if test -n "$LIBMATHOBJS"; then
53931 # Test wchar.h for mbstate_t, which is needed for char_traits and
53932 # others even if wchar_t support is not on.
53933 echo "$as_me:$LINENO: checking for mbstate_t" >&5
53934 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
53935 cat >conftest.$ac_ext <<_ACEOF
53936 #line $LINENO "configure"
53939 cat confdefs.h >>conftest.$ac_ext
53940 cat >>conftest.$ac_ext <<_ACEOF
53941 /* end confdefs.h. */
53946 mbstate_t teststate;
53951 rm -f conftest.$ac_objext
53952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53953 (eval $ac_compile) 2>&5
53955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956 (exit $ac_status); } &&
53957 { ac_try='test -s conftest.$ac_objext'
53958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53959 (eval $ac_try) 2>&5
53961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53962 (exit $ac_status); }; }; then
53965 echo "$as_me: failed program was:" >&5
53966 sed 's/^/| /' conftest.$ac_ext >&5
53970 rm -f conftest.$ac_objext conftest.$ac_ext
53971 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
53972 echo "${ECHO_T}$have_mbstate_t" >&6
53973 if test x"$have_mbstate_t" = xyes; then
53974 cat >>confdefs.h <<\_ACEOF
53975 #define HAVE_MBSTATE_T 1
53980 # Sanity check for existence of ISO C99 headers for extended encoding.
53982 for ac_header in wchar.h
53984 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53986 echo "$as_me:$LINENO: checking for $ac_header" >&5
53987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53989 echo $ECHO_N "(cached) $ECHO_C" >&6
53991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53994 # Is the header compilable?
53995 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53996 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53997 cat >conftest.$ac_ext <<_ACEOF
53998 #line $LINENO "configure"
54001 cat confdefs.h >>conftest.$ac_ext
54002 cat >>conftest.$ac_ext <<_ACEOF
54003 /* end confdefs.h. */
54004 $ac_includes_default
54005 #include <$ac_header>
54007 rm -f conftest.$ac_objext
54008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54009 (eval $ac_compile) 2>&5
54011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54012 (exit $ac_status); } &&
54013 { ac_try='test -s conftest.$ac_objext'
54014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54015 (eval $ac_try) 2>&5
54017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54018 (exit $ac_status); }; }; then
54019 ac_header_compiler=yes
54021 echo "$as_me: failed program was:" >&5
54022 sed 's/^/| /' conftest.$ac_ext >&5
54024 ac_header_compiler=no
54026 rm -f conftest.$ac_objext conftest.$ac_ext
54027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54028 echo "${ECHO_T}$ac_header_compiler" >&6
54030 # Is the header present?
54031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54033 cat >conftest.$ac_ext <<_ACEOF
54034 #line $LINENO "configure"
54037 cat confdefs.h >>conftest.$ac_ext
54038 cat >>conftest.$ac_ext <<_ACEOF
54039 /* end confdefs.h. */
54040 #include <$ac_header>
54042 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54043 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54045 grep -v '^ *+' conftest.er1 >conftest.err
54047 cat conftest.err >&5
54048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54049 (exit $ac_status); } >/dev/null; then
54050 if test -s conftest.err; then
54051 ac_cpp_err=$ac_c_preproc_warn_flag
54058 if test -z "$ac_cpp_err"; then
54059 ac_header_preproc=yes
54061 echo "$as_me: failed program was:" >&5
54062 sed 's/^/| /' conftest.$ac_ext >&5
54064 ac_header_preproc=no
54066 rm -f conftest.err conftest.$ac_ext
54067 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54068 echo "${ECHO_T}$ac_header_preproc" >&6
54070 # So? What about this header?
54071 case $ac_header_compiler:$ac_header_preproc in
54073 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54074 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54079 ## ------------------------------------ ##
54080 ## Report this to bug-autoconf@gnu.org. ##
54081 ## ------------------------------------ ##
54084 sed "s/^/$as_me: WARNING: /" >&2
54087 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54089 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54090 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54095 ## ------------------------------------ ##
54096 ## Report this to bug-autoconf@gnu.org. ##
54097 ## ------------------------------------ ##
54100 sed "s/^/$as_me: WARNING: /" >&2
54103 echo "$as_me:$LINENO: checking for $ac_header" >&5
54104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54106 echo $ECHO_N "(cached) $ECHO_C" >&6
54108 eval "$as_ac_Header=$ac_header_preproc"
54110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54111 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54115 cat >>confdefs.h <<_ACEOF
54116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54126 for ac_header in wctype.h
54128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54130 echo "$as_me:$LINENO: checking for $ac_header" >&5
54131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54133 echo $ECHO_N "(cached) $ECHO_C" >&6
54135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54138 # Is the header compilable?
54139 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54140 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54141 cat >conftest.$ac_ext <<_ACEOF
54142 #line $LINENO "configure"
54145 cat confdefs.h >>conftest.$ac_ext
54146 cat >>conftest.$ac_ext <<_ACEOF
54147 /* end confdefs.h. */
54148 $ac_includes_default
54149 #include <$ac_header>
54151 rm -f conftest.$ac_objext
54152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54153 (eval $ac_compile) 2>&5
54155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54156 (exit $ac_status); } &&
54157 { ac_try='test -s conftest.$ac_objext'
54158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54159 (eval $ac_try) 2>&5
54161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54162 (exit $ac_status); }; }; then
54163 ac_header_compiler=yes
54165 echo "$as_me: failed program was:" >&5
54166 sed 's/^/| /' conftest.$ac_ext >&5
54168 ac_header_compiler=no
54170 rm -f conftest.$ac_objext conftest.$ac_ext
54171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54172 echo "${ECHO_T}$ac_header_compiler" >&6
54174 # Is the header present?
54175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54177 cat >conftest.$ac_ext <<_ACEOF
54178 #line $LINENO "configure"
54181 cat confdefs.h >>conftest.$ac_ext
54182 cat >>conftest.$ac_ext <<_ACEOF
54183 /* end confdefs.h. */
54184 #include <$ac_header>
54186 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54187 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54189 grep -v '^ *+' conftest.er1 >conftest.err
54191 cat conftest.err >&5
54192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54193 (exit $ac_status); } >/dev/null; then
54194 if test -s conftest.err; then
54195 ac_cpp_err=$ac_c_preproc_warn_flag
54202 if test -z "$ac_cpp_err"; then
54203 ac_header_preproc=yes
54205 echo "$as_me: failed program was:" >&5
54206 sed 's/^/| /' conftest.$ac_ext >&5
54208 ac_header_preproc=no
54210 rm -f conftest.err conftest.$ac_ext
54211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54212 echo "${ECHO_T}$ac_header_preproc" >&6
54214 # So? What about this header?
54215 case $ac_header_compiler:$ac_header_preproc in
54217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54223 ## ------------------------------------ ##
54224 ## Report this to bug-autoconf@gnu.org. ##
54225 ## ------------------------------------ ##
54228 sed "s/^/$as_me: WARNING: /" >&2
54231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54239 ## ------------------------------------ ##
54240 ## Report this to bug-autoconf@gnu.org. ##
54241 ## ------------------------------------ ##
54244 sed "s/^/$as_me: WARNING: /" >&2
54247 echo "$as_me:$LINENO: checking for $ac_header" >&5
54248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54250 echo $ECHO_N "(cached) $ECHO_C" >&6
54252 eval "$as_ac_Header=$ac_header_preproc"
54254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54258 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54259 cat >>confdefs.h <<_ACEOF
54260 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54262 ac_has_wctype_h=yes
54270 # Only continue checking if the ISO C99 headers exist and support is on.
54271 if test x"$ac_has_wchar_h" = xyes &&
54272 test x"$ac_has_wctype_h" = xyes &&
54273 test x"$enable_c_mbchar" != xno; then
54275 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54276 # numeric_limits can instantiate type_traits<wchar_t>
54277 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54278 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54279 cat >conftest.$ac_ext <<_ACEOF
54280 #line $LINENO "configure"
54283 cat confdefs.h >>conftest.$ac_ext
54284 cat >>conftest.$ac_ext <<_ACEOF
54285 /* end confdefs.h. */
54290 int i = WCHAR_MIN; int j = WCHAR_MAX;
54295 rm -f conftest.$ac_objext
54296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54297 (eval $ac_compile) 2>&5
54299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54300 (exit $ac_status); } &&
54301 { ac_try='test -s conftest.$ac_objext'
54302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54303 (eval $ac_try) 2>&5
54305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54306 (exit $ac_status); }; }; then
54307 has_wchar_minmax=yes
54309 echo "$as_me: failed program was:" >&5
54310 sed 's/^/| /' conftest.$ac_ext >&5
54312 has_wchar_minmax=no
54314 rm -f conftest.$ac_objext conftest.$ac_ext
54315 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54316 echo "${ECHO_T}$has_wchar_minmax" >&6
54318 # Test wchar.h for WEOF, which is what we use to determine whether
54319 # to specialize for char_traits<wchar_t> or not.
54320 echo "$as_me:$LINENO: checking for WEOF" >&5
54321 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54322 cat >conftest.$ac_ext <<_ACEOF
54323 #line $LINENO "configure"
54326 cat confdefs.h >>conftest.$ac_ext
54327 cat >>conftest.$ac_ext <<_ACEOF
54328 /* end confdefs.h. */
54331 #include <stddef.h>
54340 rm -f conftest.$ac_objext
54341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54342 (eval $ac_compile) 2>&5
54344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54345 (exit $ac_status); } &&
54346 { ac_try='test -s conftest.$ac_objext'
54347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54348 (eval $ac_try) 2>&5
54350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54351 (exit $ac_status); }; }; then
54354 echo "$as_me: failed program was:" >&5
54355 sed 's/^/| /' conftest.$ac_ext >&5
54359 rm -f conftest.$ac_objext conftest.$ac_ext
54360 echo "$as_me:$LINENO: result: $has_weof" >&5
54361 echo "${ECHO_T}$has_weof" >&6
54363 # Tests for wide character functions used in char_traits<wchar_t>.
54371 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54374 echo "$as_me:$LINENO: checking for $ac_func" >&5
54375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54376 if eval "test \"\${$as_ac_var+set}\" = set"; then
54377 echo $ECHO_N "(cached) $ECHO_C" >&6
54379 if test x$gcc_no_link = xyes; then
54380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54382 { (exit 1); exit 1; }; }
54384 cat >conftest.$ac_ext <<_ACEOF
54385 #line $LINENO "configure"
54388 cat confdefs.h >>conftest.$ac_ext
54389 cat >>conftest.$ac_ext <<_ACEOF
54390 /* end confdefs.h. */
54391 /* System header to define __stub macros and hopefully few prototypes,
54392 which can conflict with char $ac_func (); below.
54393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54394 <limits.h> exists even on freestanding compilers. */
54396 # include <limits.h>
54398 # include <assert.h>
54400 /* Override any gcc2 internal prototype to avoid an error. */
54405 /* We use char because int might match the return type of a gcc2
54406 builtin and then its argument prototype would still apply. */
54408 /* The GNU C library defines this for functions which it implements
54409 to always fail with ENOSYS. Some functions are actually named
54410 something starting with __ and the normal name is an alias. */
54411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54414 char (*f) () = $ac_func;
54423 return f != $ac_func;
54428 rm -f conftest.$ac_objext conftest$ac_exeext
54429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54430 (eval $ac_link) 2>&5
54432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54433 (exit $ac_status); } &&
54434 { ac_try='test -s conftest$ac_exeext'
54435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54436 (eval $ac_try) 2>&5
54438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54439 (exit $ac_status); }; }; then
54440 eval "$as_ac_var=yes"
54442 echo "$as_me: failed program was:" >&5
54443 sed 's/^/| /' conftest.$ac_ext >&5
54445 eval "$as_ac_var=no"
54447 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54451 if test `eval echo '${'$as_ac_var'}'` = yes; then
54452 cat >>confdefs.h <<_ACEOF
54453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54462 # Checks for names injected into std:: by the c_std headers.
54509 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54510 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54511 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54512 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54513 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54514 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54517 echo "$as_me:$LINENO: checking for $ac_func" >&5
54518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54519 if eval "test \"\${$as_ac_var+set}\" = set"; then
54520 echo $ECHO_N "(cached) $ECHO_C" >&6
54522 if test x$gcc_no_link = xyes; then
54523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54525 { (exit 1); exit 1; }; }
54527 cat >conftest.$ac_ext <<_ACEOF
54528 #line $LINENO "configure"
54531 cat confdefs.h >>conftest.$ac_ext
54532 cat >>conftest.$ac_ext <<_ACEOF
54533 /* end confdefs.h. */
54534 /* System header to define __stub macros and hopefully few prototypes,
54535 which can conflict with char $ac_func (); below.
54536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54537 <limits.h> exists even on freestanding compilers. */
54539 # include <limits.h>
54541 # include <assert.h>
54543 /* Override any gcc2 internal prototype to avoid an error. */
54548 /* We use char because int might match the return type of a gcc2
54549 builtin and then its argument prototype would still apply. */
54551 /* The GNU C library defines this for functions which it implements
54552 to always fail with ENOSYS. Some functions are actually named
54553 something starting with __ and the normal name is an alias. */
54554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54557 char (*f) () = $ac_func;
54566 return f != $ac_func;
54571 rm -f conftest.$ac_objext conftest$ac_exeext
54572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54573 (eval $ac_link) 2>&5
54575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54576 (exit $ac_status); } &&
54577 { ac_try='test -s conftest$ac_exeext'
54578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54579 (eval $ac_try) 2>&5
54581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54582 (exit $ac_status); }; }; then
54583 eval "$as_ac_var=yes"
54585 echo "$as_me: failed program was:" >&5
54586 sed 's/^/| /' conftest.$ac_ext >&5
54588 eval "$as_ac_var=no"
54590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54594 if test `eval echo '${'$as_ac_var'}'` = yes; then
54595 cat >>confdefs.h <<_ACEOF
54596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54605 # Checks for wide character functions that are not required
54606 # for basic wchar_t support. Don't disable support if they are missing.
54607 # Injection of these is wrapped with guard macros.
54613 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54616 echo "$as_me:$LINENO: checking for $ac_func" >&5
54617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54618 if eval "test \"\${$as_ac_var+set}\" = set"; then
54619 echo $ECHO_N "(cached) $ECHO_C" >&6
54621 if test x$gcc_no_link = xyes; then
54622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54624 { (exit 1); exit 1; }; }
54626 cat >conftest.$ac_ext <<_ACEOF
54627 #line $LINENO "configure"
54630 cat confdefs.h >>conftest.$ac_ext
54631 cat >>conftest.$ac_ext <<_ACEOF
54632 /* end confdefs.h. */
54633 /* System header to define __stub macros and hopefully few prototypes,
54634 which can conflict with char $ac_func (); below.
54635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54636 <limits.h> exists even on freestanding compilers. */
54638 # include <limits.h>
54640 # include <assert.h>
54642 /* Override any gcc2 internal prototype to avoid an error. */
54647 /* We use char because int might match the return type of a gcc2
54648 builtin and then its argument prototype would still apply. */
54650 /* The GNU C library defines this for functions which it implements
54651 to always fail with ENOSYS. Some functions are actually named
54652 something starting with __ and the normal name is an alias. */
54653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54656 char (*f) () = $ac_func;
54665 return f != $ac_func;
54670 rm -f conftest.$ac_objext conftest$ac_exeext
54671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54672 (eval $ac_link) 2>&5
54674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54675 (exit $ac_status); } &&
54676 { ac_try='test -s conftest$ac_exeext'
54677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54678 (eval $ac_try) 2>&5
54680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54681 (exit $ac_status); }; }; then
54682 eval "$as_ac_var=yes"
54684 echo "$as_me: failed program was:" >&5
54685 sed 's/^/| /' conftest.$ac_ext >&5
54687 eval "$as_ac_var=no"
54689 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54693 if test `eval echo '${'$as_ac_var'}'` = yes; then
54694 cat >>confdefs.h <<_ACEOF
54695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54702 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54703 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54704 if test x"$has_weof" = xyes &&
54705 test x"$has_wchar_minmax" = xyes &&
54706 test x"$ac_wfuncs" = xyes;
54708 ac_isoC99_wchar_t=yes
54710 ac_isoC99_wchar_t=no
54712 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54713 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54715 # Use iconv for wchar_t to char conversions. As such, check for
54716 # X/Open Portability Guide, version 2 features (XPG2).
54717 if test "${ac_cv_header_iconv_h+set}" = set; then
54718 echo "$as_me:$LINENO: checking for iconv.h" >&5
54719 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54720 if test "${ac_cv_header_iconv_h+set}" = set; then
54721 echo $ECHO_N "(cached) $ECHO_C" >&6
54723 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54724 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54726 # Is the header compilable?
54727 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54728 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54729 cat >conftest.$ac_ext <<_ACEOF
54730 #line $LINENO "configure"
54733 cat confdefs.h >>conftest.$ac_ext
54734 cat >>conftest.$ac_ext <<_ACEOF
54735 /* end confdefs.h. */
54736 $ac_includes_default
54739 rm -f conftest.$ac_objext
54740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54741 (eval $ac_compile) 2>&5
54743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54744 (exit $ac_status); } &&
54745 { ac_try='test -s conftest.$ac_objext'
54746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54747 (eval $ac_try) 2>&5
54749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54750 (exit $ac_status); }; }; then
54751 ac_header_compiler=yes
54753 echo "$as_me: failed program was:" >&5
54754 sed 's/^/| /' conftest.$ac_ext >&5
54756 ac_header_compiler=no
54758 rm -f conftest.$ac_objext conftest.$ac_ext
54759 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54760 echo "${ECHO_T}$ac_header_compiler" >&6
54762 # Is the header present?
54763 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54764 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54765 cat >conftest.$ac_ext <<_ACEOF
54766 #line $LINENO "configure"
54769 cat confdefs.h >>conftest.$ac_ext
54770 cat >>conftest.$ac_ext <<_ACEOF
54771 /* end confdefs.h. */
54774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54777 grep -v '^ *+' conftest.er1 >conftest.err
54779 cat conftest.err >&5
54780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54781 (exit $ac_status); } >/dev/null; then
54782 if test -s conftest.err; then
54783 ac_cpp_err=$ac_c_preproc_warn_flag
54790 if test -z "$ac_cpp_err"; then
54791 ac_header_preproc=yes
54793 echo "$as_me: failed program was:" >&5
54794 sed 's/^/| /' conftest.$ac_ext >&5
54796 ac_header_preproc=no
54798 rm -f conftest.err conftest.$ac_ext
54799 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54800 echo "${ECHO_T}$ac_header_preproc" >&6
54802 # So? What about this header?
54803 case $ac_header_compiler:$ac_header_preproc in
54805 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
54806 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54807 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54808 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54811 ## ------------------------------------ ##
54812 ## Report this to bug-autoconf@gnu.org. ##
54813 ## ------------------------------------ ##
54816 sed "s/^/$as_me: WARNING: /" >&2
54819 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
54820 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
54821 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
54822 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
54823 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
54824 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
54827 ## ------------------------------------ ##
54828 ## Report this to bug-autoconf@gnu.org. ##
54829 ## ------------------------------------ ##
54832 sed "s/^/$as_me: WARNING: /" >&2
54835 echo "$as_me:$LINENO: checking for iconv.h" >&5
54836 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54837 if test "${ac_cv_header_iconv_h+set}" = set; then
54838 echo $ECHO_N "(cached) $ECHO_C" >&6
54840 ac_cv_header_iconv_h=$ac_header_preproc
54842 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54843 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54846 if test $ac_cv_header_iconv_h = yes; then
54853 if test "${ac_cv_header_langinfo_h+set}" = set; then
54854 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54855 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54856 if test "${ac_cv_header_langinfo_h+set}" = set; then
54857 echo $ECHO_N "(cached) $ECHO_C" >&6
54859 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54860 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54862 # Is the header compilable?
54863 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
54864 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
54865 cat >conftest.$ac_ext <<_ACEOF
54866 #line $LINENO "configure"
54869 cat confdefs.h >>conftest.$ac_ext
54870 cat >>conftest.$ac_ext <<_ACEOF
54871 /* end confdefs.h. */
54872 $ac_includes_default
54873 #include <langinfo.h>
54875 rm -f conftest.$ac_objext
54876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54877 (eval $ac_compile) 2>&5
54879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54880 (exit $ac_status); } &&
54881 { ac_try='test -s conftest.$ac_objext'
54882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54883 (eval $ac_try) 2>&5
54885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54886 (exit $ac_status); }; }; then
54887 ac_header_compiler=yes
54889 echo "$as_me: failed program was:" >&5
54890 sed 's/^/| /' conftest.$ac_ext >&5
54892 ac_header_compiler=no
54894 rm -f conftest.$ac_objext conftest.$ac_ext
54895 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54896 echo "${ECHO_T}$ac_header_compiler" >&6
54898 # Is the header present?
54899 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
54900 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
54901 cat >conftest.$ac_ext <<_ACEOF
54902 #line $LINENO "configure"
54905 cat confdefs.h >>conftest.$ac_ext
54906 cat >>conftest.$ac_ext <<_ACEOF
54907 /* end confdefs.h. */
54908 #include <langinfo.h>
54910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54913 grep -v '^ *+' conftest.er1 >conftest.err
54915 cat conftest.err >&5
54916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54917 (exit $ac_status); } >/dev/null; then
54918 if test -s conftest.err; then
54919 ac_cpp_err=$ac_c_preproc_warn_flag
54926 if test -z "$ac_cpp_err"; then
54927 ac_header_preproc=yes
54929 echo "$as_me: failed program was:" >&5
54930 sed 's/^/| /' conftest.$ac_ext >&5
54932 ac_header_preproc=no
54934 rm -f conftest.err conftest.$ac_ext
54935 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54936 echo "${ECHO_T}$ac_header_preproc" >&6
54938 # So? What about this header?
54939 case $ac_header_compiler:$ac_header_preproc in
54941 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
54942 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
54943 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54944 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54947 ## ------------------------------------ ##
54948 ## Report this to bug-autoconf@gnu.org. ##
54949 ## ------------------------------------ ##
54952 sed "s/^/$as_me: WARNING: /" >&2
54955 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
54956 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
54957 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
54958 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
54959 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
54960 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
54963 ## ------------------------------------ ##
54964 ## Report this to bug-autoconf@gnu.org. ##
54965 ## ------------------------------------ ##
54968 sed "s/^/$as_me: WARNING: /" >&2
54971 echo "$as_me:$LINENO: checking for langinfo.h" >&5
54972 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
54973 if test "${ac_cv_header_langinfo_h+set}" = set; then
54974 echo $ECHO_N "(cached) $ECHO_C" >&6
54976 ac_cv_header_langinfo_h=$ac_header_preproc
54978 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
54979 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
54982 if test $ac_cv_header_langinfo_h = yes; then
54983 ac_has_langinfo_h=yes
54985 ac_has_langinfo_h=no
54990 # Check for existence of libiconv.a providing XPG2 wchar_t support.
54991 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
54992 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
54993 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
54994 echo $ECHO_N "(cached) $ECHO_C" >&6
54996 ac_check_lib_save_LIBS=$LIBS
54997 LIBS="-liconv $LIBS"
54998 if test x$gcc_no_link = xyes; then
54999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55001 { (exit 1); exit 1; }; }
55003 cat >conftest.$ac_ext <<_ACEOF
55004 #line $LINENO "configure"
55007 cat confdefs.h >>conftest.$ac_ext
55008 cat >>conftest.$ac_ext <<_ACEOF
55009 /* end confdefs.h. */
55011 /* Override any gcc2 internal prototype to avoid an error. */
55015 /* We use char because int might match the return type of a gcc2
55016 builtin and then its argument prototype would still apply. */
55026 rm -f conftest.$ac_objext conftest$ac_exeext
55027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55028 (eval $ac_link) 2>&5
55030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55031 (exit $ac_status); } &&
55032 { ac_try='test -s conftest$ac_exeext'
55033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55034 (eval $ac_try) 2>&5
55036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55037 (exit $ac_status); }; }; then
55038 ac_cv_lib_iconv_iconv=yes
55040 echo "$as_me: failed program was:" >&5
55041 sed 's/^/| /' conftest.$ac_ext >&5
55043 ac_cv_lib_iconv_iconv=no
55045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55046 LIBS=$ac_check_lib_save_LIBS
55048 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55049 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55050 if test $ac_cv_lib_iconv_iconv = yes; then
55054 ac_save_LIBS="$LIBS"
55055 LIBS="$LIBS $libiconv"
55061 for ac_func in iconv_open iconv_close iconv nl_langinfo
55063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55064 echo "$as_me:$LINENO: checking for $ac_func" >&5
55065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55066 if eval "test \"\${$as_ac_var+set}\" = set"; then
55067 echo $ECHO_N "(cached) $ECHO_C" >&6
55069 if test x$gcc_no_link = xyes; then
55070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55072 { (exit 1); exit 1; }; }
55074 cat >conftest.$ac_ext <<_ACEOF
55075 #line $LINENO "configure"
55078 cat confdefs.h >>conftest.$ac_ext
55079 cat >>conftest.$ac_ext <<_ACEOF
55080 /* end confdefs.h. */
55081 /* System header to define __stub macros and hopefully few prototypes,
55082 which can conflict with char $ac_func (); below.
55083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55084 <limits.h> exists even on freestanding compilers. */
55086 # include <limits.h>
55088 # include <assert.h>
55090 /* Override any gcc2 internal prototype to avoid an error. */
55095 /* We use char because int might match the return type of a gcc2
55096 builtin and then its argument prototype would still apply. */
55098 /* The GNU C library defines this for functions which it implements
55099 to always fail with ENOSYS. Some functions are actually named
55100 something starting with __ and the normal name is an alias. */
55101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55104 char (*f) () = $ac_func;
55113 return f != $ac_func;
55118 rm -f conftest.$ac_objext conftest$ac_exeext
55119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55120 (eval $ac_link) 2>&5
55122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55123 (exit $ac_status); } &&
55124 { ac_try='test -s conftest$ac_exeext'
55125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55126 (eval $ac_try) 2>&5
55128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55129 (exit $ac_status); }; }; then
55130 eval "$as_ac_var=yes"
55132 echo "$as_me: failed program was:" >&5
55133 sed 's/^/| /' conftest.$ac_ext >&5
55135 eval "$as_ac_var=no"
55137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55141 if test `eval echo '${'$as_ac_var'}'` = yes; then
55142 cat >>confdefs.h <<_ACEOF
55143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55152 LIBS="$ac_save_LIBS"
55154 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55155 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55156 if test x"$ac_has_iconv_h" = xyes &&
55157 test x"$ac_has_langinfo_h" = xyes &&
55158 test x"$ac_XPG2funcs" = xyes;
55160 ac_XPG2_wchar_t=yes
55164 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55165 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55167 # At the moment, only enable wchar_t specializations if all the
55168 # above support is present.
55169 if test x"$ac_isoC99_wchar_t" = xyes &&
55170 test x"$ac_XPG2_wchar_t" = xyes;
55172 cat >>confdefs.h <<\_ACEOF
55173 #define _GLIBCXX_USE_WCHAR_T 1
55179 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55180 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55181 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55182 echo "${ECHO_T}$enable_wchar_t" >&6
55198 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55199 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55200 fp.h locale.h float.h inttypes.h
55202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55204 echo "$as_me:$LINENO: checking for $ac_header" >&5
55205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55207 echo $ECHO_N "(cached) $ECHO_C" >&6
55209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55212 # Is the header compilable?
55213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55215 cat >conftest.$ac_ext <<_ACEOF
55216 #line $LINENO "configure"
55219 cat confdefs.h >>conftest.$ac_ext
55220 cat >>conftest.$ac_ext <<_ACEOF
55221 /* end confdefs.h. */
55222 $ac_includes_default
55223 #include <$ac_header>
55225 rm -f conftest.$ac_objext
55226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55227 (eval $ac_compile) 2>&5
55229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55230 (exit $ac_status); } &&
55231 { ac_try='test -s conftest.$ac_objext'
55232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55233 (eval $ac_try) 2>&5
55235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55236 (exit $ac_status); }; }; then
55237 ac_header_compiler=yes
55239 echo "$as_me: failed program was:" >&5
55240 sed 's/^/| /' conftest.$ac_ext >&5
55242 ac_header_compiler=no
55244 rm -f conftest.$ac_objext conftest.$ac_ext
55245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55246 echo "${ECHO_T}$ac_header_compiler" >&6
55248 # Is the header present?
55249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55251 cat >conftest.$ac_ext <<_ACEOF
55252 #line $LINENO "configure"
55255 cat confdefs.h >>conftest.$ac_ext
55256 cat >>conftest.$ac_ext <<_ACEOF
55257 /* end confdefs.h. */
55258 #include <$ac_header>
55260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55263 grep -v '^ *+' conftest.er1 >conftest.err
55265 cat conftest.err >&5
55266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55267 (exit $ac_status); } >/dev/null; then
55268 if test -s conftest.err; then
55269 ac_cpp_err=$ac_c_preproc_warn_flag
55276 if test -z "$ac_cpp_err"; then
55277 ac_header_preproc=yes
55279 echo "$as_me: failed program was:" >&5
55280 sed 's/^/| /' conftest.$ac_ext >&5
55282 ac_header_preproc=no
55284 rm -f conftest.err conftest.$ac_ext
55285 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55286 echo "${ECHO_T}$ac_header_preproc" >&6
55288 # So? What about this header?
55289 case $ac_header_compiler:$ac_header_preproc in
55291 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55292 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55297 ## ------------------------------------ ##
55298 ## Report this to bug-autoconf@gnu.org. ##
55299 ## ------------------------------------ ##
55302 sed "s/^/$as_me: WARNING: /" >&2
55305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55313 ## ------------------------------------ ##
55314 ## Report this to bug-autoconf@gnu.org. ##
55315 ## ------------------------------------ ##
55318 sed "s/^/$as_me: WARNING: /" >&2
55321 echo "$as_me:$LINENO: checking for $ac_header" >&5
55322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55324 echo $ECHO_N "(cached) $ECHO_C" >&6
55326 eval "$as_ac_Header=$ac_header_preproc"
55328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55333 cat >>confdefs.h <<_ACEOF
55334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55341 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55344 # If we're not using GNU ld, then there's no point in even trying these
55345 # tests. Check for that first. We should have already tested for gld
55346 # by now (in libtool), but require it now just to be safe...
55347 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55348 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55352 # The name set by libtool depends on the version of libtool. Shame on us
55353 # for depending on an impl detail, but c'est la vie. Older versions used
55354 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55355 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55356 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55357 # set (hence we're using an older libtool), then set it.
55358 if test x${with_gnu_ld+set} != xset; then
55359 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55360 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55363 with_gnu_ld=$ac_cv_prog_gnu_ld
55367 # Start by getting the version number. I think the libtool test already
55368 # does some of this, but throws away the result.
55370 ldver=`$LD --version 2>/dev/null | head -1 | \
55371 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55373 glibcxx_gnu_ld_version=`echo $ldver | \
55374 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55376 # Set --gc-sections.
55377 if test "$with_gnu_ld" = "notbroken"; then
55378 # GNU ld it is! Joy and bunny rabbits!
55380 # All these tests are for C++; save the language and the compiler flags.
55381 # Need to do this so that g++ won't try to link in libstdc++
55382 ac_test_CFLAGS="${CFLAGS+set}"
55383 ac_save_CFLAGS="$CFLAGS"
55384 CFLAGS='-x c++ -Wl,--gc-sections'
55386 # Check for -Wl,--gc-sections
55387 # XXX This test is broken at the moment, as symbols required for linking
55388 # are now in libsupc++ (not built yet). In addition, this test has
55389 # cored on solaris in the past. In addition, --gc-sections doesn't
55390 # really work at the moment (keeps on discarding used sections, first
55391 # .eh_frame and now some of the glibc sections for iconv).
55392 # Bzzzzt. Thanks for playing, maybe next time.
55393 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55394 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55395 if test "$cross_compiling" = yes; then
55396 ac_sectionLDflags=yes
55398 cat >conftest.$ac_ext <<_ACEOF
55399 #line $LINENO "configure"
55402 cat confdefs.h >>conftest.$ac_ext
55403 cat >>conftest.$ac_ext <<_ACEOF
55404 /* end confdefs.h. */
55414 rm -f conftest$ac_exeext
55415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55416 (eval $ac_link) 2>&5
55418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55419 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55421 (eval $ac_try) 2>&5
55423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55424 (exit $ac_status); }; }; then
55425 ac_sectionLDflags=yes
55427 echo "$as_me: program exited with status $ac_status" >&5
55428 echo "$as_me: failed program was:" >&5
55429 sed 's/^/| /' conftest.$ac_ext >&5
55431 ( exit $ac_status )
55432 ac_sectionLDflags=no
55434 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55436 if test "$ac_test_CFLAGS" = set; then
55437 CFLAGS="$ac_save_CFLAGS"
55439 # this is the suspicious part
55442 if test "$ac_sectionLDflags" = "yes"; then
55443 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55445 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55446 echo "${ECHO_T}$ac_sectionLDflags" >&6
55449 # Set linker optimization flags.
55450 if test x"$with_gnu_ld" = x"yes"; then
55451 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55459 echo "$as_me:$LINENO: checking for main in -lm" >&5
55460 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55461 if test "${ac_cv_lib_m_main+set}" = set; then
55462 echo $ECHO_N "(cached) $ECHO_C" >&6
55464 ac_check_lib_save_LIBS=$LIBS
55466 if test x$gcc_no_link = xyes; then
55467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55469 { (exit 1); exit 1; }; }
55471 cat >conftest.$ac_ext <<_ACEOF
55472 #line $LINENO "configure"
55475 cat confdefs.h >>conftest.$ac_ext
55476 cat >>conftest.$ac_ext <<_ACEOF
55477 /* end confdefs.h. */
55488 rm -f conftest.$ac_objext conftest$ac_exeext
55489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55490 (eval $ac_link) 2>&5
55492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55493 (exit $ac_status); } &&
55494 { ac_try='test -s conftest$ac_exeext'
55495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55496 (eval $ac_try) 2>&5
55498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55499 (exit $ac_status); }; }; then
55500 ac_cv_lib_m_main=yes
55502 echo "$as_me: failed program was:" >&5
55503 sed 's/^/| /' conftest.$ac_ext >&5
55505 ac_cv_lib_m_main=no
55507 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55508 LIBS=$ac_check_lib_save_LIBS
55510 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55511 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55512 if test $ac_cv_lib_m_main = yes; then
55513 cat >>confdefs.h <<_ACEOF
55514 #define HAVE_LIBM 1
55523 for ac_func in nan copysignf
55525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55526 echo "$as_me:$LINENO: checking for $ac_func" >&5
55527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55528 if eval "test \"\${$as_ac_var+set}\" = set"; then
55529 echo $ECHO_N "(cached) $ECHO_C" >&6
55531 if test x$gcc_no_link = xyes; then
55532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55534 { (exit 1); exit 1; }; }
55536 cat >conftest.$ac_ext <<_ACEOF
55537 #line $LINENO "configure"
55540 cat confdefs.h >>conftest.$ac_ext
55541 cat >>conftest.$ac_ext <<_ACEOF
55542 /* end confdefs.h. */
55543 /* System header to define __stub macros and hopefully few prototypes,
55544 which can conflict with char $ac_func (); below.
55545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55546 <limits.h> exists even on freestanding compilers. */
55548 # include <limits.h>
55550 # include <assert.h>
55552 /* Override any gcc2 internal prototype to avoid an error. */
55557 /* We use char because int might match the return type of a gcc2
55558 builtin and then its argument prototype would still apply. */
55560 /* The GNU C library defines this for functions which it implements
55561 to always fail with ENOSYS. Some functions are actually named
55562 something starting with __ and the normal name is an alias. */
55563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55566 char (*f) () = $ac_func;
55575 return f != $ac_func;
55580 rm -f conftest.$ac_objext conftest$ac_exeext
55581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55582 (eval $ac_link) 2>&5
55584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55585 (exit $ac_status); } &&
55586 { ac_try='test -s conftest$ac_exeext'
55587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55588 (eval $ac_try) 2>&5
55590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55591 (exit $ac_status); }; }; then
55592 eval "$as_ac_var=yes"
55594 echo "$as_me: failed program was:" >&5
55595 sed 's/^/| /' conftest.$ac_ext >&5
55597 eval "$as_ac_var=no"
55599 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55603 if test `eval echo '${'$as_ac_var'}'` = yes; then
55604 cat >>confdefs.h <<_ACEOF
55605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55609 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55615 for ac_func in __signbit
55617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55618 echo "$as_me:$LINENO: checking for $ac_func" >&5
55619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55620 if eval "test \"\${$as_ac_var+set}\" = set"; then
55621 echo $ECHO_N "(cached) $ECHO_C" >&6
55623 if test x$gcc_no_link = xyes; then
55624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55626 { (exit 1); exit 1; }; }
55628 cat >conftest.$ac_ext <<_ACEOF
55629 #line $LINENO "configure"
55632 cat confdefs.h >>conftest.$ac_ext
55633 cat >>conftest.$ac_ext <<_ACEOF
55634 /* end confdefs.h. */
55635 /* System header to define __stub macros and hopefully few prototypes,
55636 which can conflict with char $ac_func (); below.
55637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55638 <limits.h> exists even on freestanding compilers. */
55640 # include <limits.h>
55642 # include <assert.h>
55644 /* Override any gcc2 internal prototype to avoid an error. */
55649 /* We use char because int might match the return type of a gcc2
55650 builtin and then its argument prototype would still apply. */
55652 /* The GNU C library defines this for functions which it implements
55653 to always fail with ENOSYS. Some functions are actually named
55654 something starting with __ and the normal name is an alias. */
55655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55658 char (*f) () = $ac_func;
55667 return f != $ac_func;
55672 rm -f conftest.$ac_objext conftest$ac_exeext
55673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55674 (eval $ac_link) 2>&5
55676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55677 (exit $ac_status); } &&
55678 { ac_try='test -s conftest$ac_exeext'
55679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55680 (eval $ac_try) 2>&5
55682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55683 (exit $ac_status); }; }; then
55684 eval "$as_ac_var=yes"
55686 echo "$as_me: failed program was:" >&5
55687 sed 's/^/| /' conftest.$ac_ext >&5
55689 eval "$as_ac_var=no"
55691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55695 if test `eval echo '${'$as_ac_var'}'` = yes; then
55696 cat >>confdefs.h <<_ACEOF
55697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55701 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55706 for ac_func in __signbitf
55708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55709 echo "$as_me:$LINENO: checking for $ac_func" >&5
55710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55711 if eval "test \"\${$as_ac_var+set}\" = set"; then
55712 echo $ECHO_N "(cached) $ECHO_C" >&6
55714 if test x$gcc_no_link = xyes; then
55715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55717 { (exit 1); exit 1; }; }
55719 cat >conftest.$ac_ext <<_ACEOF
55720 #line $LINENO "configure"
55723 cat confdefs.h >>conftest.$ac_ext
55724 cat >>conftest.$ac_ext <<_ACEOF
55725 /* end confdefs.h. */
55726 /* System header to define __stub macros and hopefully few prototypes,
55727 which can conflict with char $ac_func (); below.
55728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55729 <limits.h> exists even on freestanding compilers. */
55731 # include <limits.h>
55733 # include <assert.h>
55735 /* Override any gcc2 internal prototype to avoid an error. */
55740 /* We use char because int might match the return type of a gcc2
55741 builtin and then its argument prototype would still apply. */
55743 /* The GNU C library defines this for functions which it implements
55744 to always fail with ENOSYS. Some functions are actually named
55745 something starting with __ and the normal name is an alias. */
55746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55749 char (*f) () = $ac_func;
55758 return f != $ac_func;
55763 rm -f conftest.$ac_objext conftest$ac_exeext
55764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55765 (eval $ac_link) 2>&5
55767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768 (exit $ac_status); } &&
55769 { ac_try='test -s conftest$ac_exeext'
55770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55771 (eval $ac_try) 2>&5
55773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55774 (exit $ac_status); }; }; then
55775 eval "$as_ac_var=yes"
55777 echo "$as_me: failed program was:" >&5
55778 sed 's/^/| /' conftest.$ac_ext >&5
55780 eval "$as_ac_var=no"
55782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55786 if test `eval echo '${'$as_ac_var'}'` = yes; then
55787 cat >>confdefs.h <<_ACEOF
55788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55792 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55797 if test x$ac_cv_func_copysignl = x"yes"; then
55799 for ac_func in __signbitl
55801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55802 echo "$as_me:$LINENO: checking for $ac_func" >&5
55803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55804 if eval "test \"\${$as_ac_var+set}\" = set"; then
55805 echo $ECHO_N "(cached) $ECHO_C" >&6
55807 if test x$gcc_no_link = xyes; then
55808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55810 { (exit 1); exit 1; }; }
55812 cat >conftest.$ac_ext <<_ACEOF
55813 #line $LINENO "configure"
55816 cat confdefs.h >>conftest.$ac_ext
55817 cat >>conftest.$ac_ext <<_ACEOF
55818 /* end confdefs.h. */
55819 /* System header to define __stub macros and hopefully few prototypes,
55820 which can conflict with char $ac_func (); below.
55821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55822 <limits.h> exists even on freestanding compilers. */
55824 # include <limits.h>
55826 # include <assert.h>
55828 /* Override any gcc2 internal prototype to avoid an error. */
55833 /* We use char because int might match the return type of a gcc2
55834 builtin and then its argument prototype would still apply. */
55836 /* The GNU C library defines this for functions which it implements
55837 to always fail with ENOSYS. Some functions are actually named
55838 something starting with __ and the normal name is an alias. */
55839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55842 char (*f) () = $ac_func;
55851 return f != $ac_func;
55856 rm -f conftest.$ac_objext conftest$ac_exeext
55857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55858 (eval $ac_link) 2>&5
55860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55861 (exit $ac_status); } &&
55862 { ac_try='test -s conftest$ac_exeext'
55863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55864 (eval $ac_try) 2>&5
55866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55867 (exit $ac_status); }; }; then
55868 eval "$as_ac_var=yes"
55870 echo "$as_me: failed program was:" >&5
55871 sed 's/^/| /' conftest.$ac_ext >&5
55873 eval "$as_ac_var=no"
55875 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55879 if test `eval echo '${'$as_ac_var'}'` = yes; then
55880 cat >>confdefs.h <<_ACEOF
55881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55885 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
55891 # XXX Review this. Nothing uses it.
55892 if test -n "$LIBMATHOBJS"; then
55898 # Test wchar.h for mbstate_t, which is needed for char_traits and
55899 # others even if wchar_t support is not on.
55900 echo "$as_me:$LINENO: checking for mbstate_t" >&5
55901 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
55902 cat >conftest.$ac_ext <<_ACEOF
55903 #line $LINENO "configure"
55906 cat confdefs.h >>conftest.$ac_ext
55907 cat >>conftest.$ac_ext <<_ACEOF
55908 /* end confdefs.h. */
55913 mbstate_t teststate;
55918 rm -f conftest.$ac_objext
55919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55920 (eval $ac_compile) 2>&5
55922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55923 (exit $ac_status); } &&
55924 { ac_try='test -s conftest.$ac_objext'
55925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926 (eval $ac_try) 2>&5
55928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929 (exit $ac_status); }; }; then
55932 echo "$as_me: failed program was:" >&5
55933 sed 's/^/| /' conftest.$ac_ext >&5
55937 rm -f conftest.$ac_objext conftest.$ac_ext
55938 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
55939 echo "${ECHO_T}$have_mbstate_t" >&6
55940 if test x"$have_mbstate_t" = xyes; then
55941 cat >>confdefs.h <<\_ACEOF
55942 #define HAVE_MBSTATE_T 1
55947 # Sanity check for existence of ISO C99 headers for extended encoding.
55949 for ac_header in wchar.h
55951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55953 echo "$as_me:$LINENO: checking for $ac_header" >&5
55954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55956 echo $ECHO_N "(cached) $ECHO_C" >&6
55958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55961 # Is the header compilable?
55962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55964 cat >conftest.$ac_ext <<_ACEOF
55965 #line $LINENO "configure"
55968 cat confdefs.h >>conftest.$ac_ext
55969 cat >>conftest.$ac_ext <<_ACEOF
55970 /* end confdefs.h. */
55971 $ac_includes_default
55972 #include <$ac_header>
55974 rm -f conftest.$ac_objext
55975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55976 (eval $ac_compile) 2>&5
55978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55979 (exit $ac_status); } &&
55980 { ac_try='test -s conftest.$ac_objext'
55981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55982 (eval $ac_try) 2>&5
55984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55985 (exit $ac_status); }; }; then
55986 ac_header_compiler=yes
55988 echo "$as_me: failed program was:" >&5
55989 sed 's/^/| /' conftest.$ac_ext >&5
55991 ac_header_compiler=no
55993 rm -f conftest.$ac_objext conftest.$ac_ext
55994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55995 echo "${ECHO_T}$ac_header_compiler" >&6
55997 # Is the header present?
55998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56000 cat >conftest.$ac_ext <<_ACEOF
56001 #line $LINENO "configure"
56004 cat confdefs.h >>conftest.$ac_ext
56005 cat >>conftest.$ac_ext <<_ACEOF
56006 /* end confdefs.h. */
56007 #include <$ac_header>
56009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56012 grep -v '^ *+' conftest.er1 >conftest.err
56014 cat conftest.err >&5
56015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56016 (exit $ac_status); } >/dev/null; then
56017 if test -s conftest.err; then
56018 ac_cpp_err=$ac_c_preproc_warn_flag
56025 if test -z "$ac_cpp_err"; then
56026 ac_header_preproc=yes
56028 echo "$as_me: failed program was:" >&5
56029 sed 's/^/| /' conftest.$ac_ext >&5
56031 ac_header_preproc=no
56033 rm -f conftest.err conftest.$ac_ext
56034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56035 echo "${ECHO_T}$ac_header_preproc" >&6
56037 # So? What about this header?
56038 case $ac_header_compiler:$ac_header_preproc in
56040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56046 ## ------------------------------------ ##
56047 ## Report this to bug-autoconf@gnu.org. ##
56048 ## ------------------------------------ ##
56051 sed "s/^/$as_me: WARNING: /" >&2
56054 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56055 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56056 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56057 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56058 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56059 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56062 ## ------------------------------------ ##
56063 ## Report this to bug-autoconf@gnu.org. ##
56064 ## ------------------------------------ ##
56067 sed "s/^/$as_me: WARNING: /" >&2
56070 echo "$as_me:$LINENO: checking for $ac_header" >&5
56071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56073 echo $ECHO_N "(cached) $ECHO_C" >&6
56075 eval "$as_ac_Header=$ac_header_preproc"
56077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56082 cat >>confdefs.h <<_ACEOF
56083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56093 for ac_header in wctype.h
56095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56097 echo "$as_me:$LINENO: checking for $ac_header" >&5
56098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56100 echo $ECHO_N "(cached) $ECHO_C" >&6
56102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56105 # Is the header compilable?
56106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56108 cat >conftest.$ac_ext <<_ACEOF
56109 #line $LINENO "configure"
56112 cat confdefs.h >>conftest.$ac_ext
56113 cat >>conftest.$ac_ext <<_ACEOF
56114 /* end confdefs.h. */
56115 $ac_includes_default
56116 #include <$ac_header>
56118 rm -f conftest.$ac_objext
56119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56120 (eval $ac_compile) 2>&5
56122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123 (exit $ac_status); } &&
56124 { ac_try='test -s conftest.$ac_objext'
56125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56126 (eval $ac_try) 2>&5
56128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56129 (exit $ac_status); }; }; then
56130 ac_header_compiler=yes
56132 echo "$as_me: failed program was:" >&5
56133 sed 's/^/| /' conftest.$ac_ext >&5
56135 ac_header_compiler=no
56137 rm -f conftest.$ac_objext conftest.$ac_ext
56138 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56139 echo "${ECHO_T}$ac_header_compiler" >&6
56141 # Is the header present?
56142 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56143 echo $ECHO_N "checking $ac_header presence... $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. */
56151 #include <$ac_header>
56153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56154 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56156 grep -v '^ *+' conftest.er1 >conftest.err
56158 cat conftest.err >&5
56159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56160 (exit $ac_status); } >/dev/null; then
56161 if test -s conftest.err; then
56162 ac_cpp_err=$ac_c_preproc_warn_flag
56169 if test -z "$ac_cpp_err"; then
56170 ac_header_preproc=yes
56172 echo "$as_me: failed program was:" >&5
56173 sed 's/^/| /' conftest.$ac_ext >&5
56175 ac_header_preproc=no
56177 rm -f conftest.err conftest.$ac_ext
56178 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56179 echo "${ECHO_T}$ac_header_preproc" >&6
56181 # So? What about this header?
56182 case $ac_header_compiler:$ac_header_preproc in
56184 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56185 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56186 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56187 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56190 ## ------------------------------------ ##
56191 ## Report this to bug-autoconf@gnu.org. ##
56192 ## ------------------------------------ ##
56195 sed "s/^/$as_me: WARNING: /" >&2
56198 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56199 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56200 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56201 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56203 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56206 ## ------------------------------------ ##
56207 ## Report this to bug-autoconf@gnu.org. ##
56208 ## ------------------------------------ ##
56211 sed "s/^/$as_me: WARNING: /" >&2
56214 echo "$as_me:$LINENO: checking for $ac_header" >&5
56215 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56216 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56217 echo $ECHO_N "(cached) $ECHO_C" >&6
56219 eval "$as_ac_Header=$ac_header_preproc"
56221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56222 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56225 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56226 cat >>confdefs.h <<_ACEOF
56227 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56229 ac_has_wctype_h=yes
56237 # Only continue checking if the ISO C99 headers exist and support is on.
56238 if test x"$ac_has_wchar_h" = xyes &&
56239 test x"$ac_has_wctype_h" = xyes &&
56240 test x"$enable_c_mbchar" != xno; then
56242 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56243 # numeric_limits can instantiate type_traits<wchar_t>
56244 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56245 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56246 cat >conftest.$ac_ext <<_ACEOF
56247 #line $LINENO "configure"
56250 cat confdefs.h >>conftest.$ac_ext
56251 cat >>conftest.$ac_ext <<_ACEOF
56252 /* end confdefs.h. */
56257 int i = WCHAR_MIN; int j = WCHAR_MAX;
56262 rm -f conftest.$ac_objext
56263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56264 (eval $ac_compile) 2>&5
56266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56267 (exit $ac_status); } &&
56268 { ac_try='test -s conftest.$ac_objext'
56269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56270 (eval $ac_try) 2>&5
56272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56273 (exit $ac_status); }; }; then
56274 has_wchar_minmax=yes
56276 echo "$as_me: failed program was:" >&5
56277 sed 's/^/| /' conftest.$ac_ext >&5
56279 has_wchar_minmax=no
56281 rm -f conftest.$ac_objext conftest.$ac_ext
56282 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56283 echo "${ECHO_T}$has_wchar_minmax" >&6
56285 # Test wchar.h for WEOF, which is what we use to determine whether
56286 # to specialize for char_traits<wchar_t> or not.
56287 echo "$as_me:$LINENO: checking for WEOF" >&5
56288 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56289 cat >conftest.$ac_ext <<_ACEOF
56290 #line $LINENO "configure"
56293 cat confdefs.h >>conftest.$ac_ext
56294 cat >>conftest.$ac_ext <<_ACEOF
56295 /* end confdefs.h. */
56298 #include <stddef.h>
56307 rm -f conftest.$ac_objext
56308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56309 (eval $ac_compile) 2>&5
56311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56312 (exit $ac_status); } &&
56313 { ac_try='test -s conftest.$ac_objext'
56314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315 (eval $ac_try) 2>&5
56317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318 (exit $ac_status); }; }; then
56321 echo "$as_me: failed program was:" >&5
56322 sed 's/^/| /' conftest.$ac_ext >&5
56326 rm -f conftest.$ac_objext conftest.$ac_ext
56327 echo "$as_me:$LINENO: result: $has_weof" >&5
56328 echo "${ECHO_T}$has_weof" >&6
56330 # Tests for wide character functions used in char_traits<wchar_t>.
56338 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56341 echo "$as_me:$LINENO: checking for $ac_func" >&5
56342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56343 if eval "test \"\${$as_ac_var+set}\" = set"; then
56344 echo $ECHO_N "(cached) $ECHO_C" >&6
56346 if test x$gcc_no_link = xyes; then
56347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56349 { (exit 1); exit 1; }; }
56351 cat >conftest.$ac_ext <<_ACEOF
56352 #line $LINENO "configure"
56355 cat confdefs.h >>conftest.$ac_ext
56356 cat >>conftest.$ac_ext <<_ACEOF
56357 /* end confdefs.h. */
56358 /* System header to define __stub macros and hopefully few prototypes,
56359 which can conflict with char $ac_func (); below.
56360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56361 <limits.h> exists even on freestanding compilers. */
56363 # include <limits.h>
56365 # include <assert.h>
56367 /* Override any gcc2 internal prototype to avoid an error. */
56372 /* We use char because int might match the return type of a gcc2
56373 builtin and then its argument prototype would still apply. */
56375 /* The GNU C library defines this for functions which it implements
56376 to always fail with ENOSYS. Some functions are actually named
56377 something starting with __ and the normal name is an alias. */
56378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56381 char (*f) () = $ac_func;
56390 return f != $ac_func;
56395 rm -f conftest.$ac_objext conftest$ac_exeext
56396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56397 (eval $ac_link) 2>&5
56399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400 (exit $ac_status); } &&
56401 { ac_try='test -s conftest$ac_exeext'
56402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403 (eval $ac_try) 2>&5
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); }; }; then
56407 eval "$as_ac_var=yes"
56409 echo "$as_me: failed program was:" >&5
56410 sed 's/^/| /' conftest.$ac_ext >&5
56412 eval "$as_ac_var=no"
56414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56418 if test `eval echo '${'$as_ac_var'}'` = yes; then
56419 cat >>confdefs.h <<_ACEOF
56420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56429 # Checks for names injected into std:: by the c_std headers.
56476 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56477 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56478 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56479 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56480 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56481 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56484 echo "$as_me:$LINENO: checking for $ac_func" >&5
56485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56486 if eval "test \"\${$as_ac_var+set}\" = set"; then
56487 echo $ECHO_N "(cached) $ECHO_C" >&6
56489 if test x$gcc_no_link = xyes; then
56490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56492 { (exit 1); exit 1; }; }
56494 cat >conftest.$ac_ext <<_ACEOF
56495 #line $LINENO "configure"
56498 cat confdefs.h >>conftest.$ac_ext
56499 cat >>conftest.$ac_ext <<_ACEOF
56500 /* end confdefs.h. */
56501 /* System header to define __stub macros and hopefully few prototypes,
56502 which can conflict with char $ac_func (); below.
56503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56504 <limits.h> exists even on freestanding compilers. */
56506 # include <limits.h>
56508 # include <assert.h>
56510 /* Override any gcc2 internal prototype to avoid an error. */
56515 /* We use char because int might match the return type of a gcc2
56516 builtin and then its argument prototype would still apply. */
56518 /* The GNU C library defines this for functions which it implements
56519 to always fail with ENOSYS. Some functions are actually named
56520 something starting with __ and the normal name is an alias. */
56521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56524 char (*f) () = $ac_func;
56533 return f != $ac_func;
56538 rm -f conftest.$ac_objext conftest$ac_exeext
56539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56540 (eval $ac_link) 2>&5
56542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56543 (exit $ac_status); } &&
56544 { ac_try='test -s conftest$ac_exeext'
56545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56546 (eval $ac_try) 2>&5
56548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56549 (exit $ac_status); }; }; then
56550 eval "$as_ac_var=yes"
56552 echo "$as_me: failed program was:" >&5
56553 sed 's/^/| /' conftest.$ac_ext >&5
56555 eval "$as_ac_var=no"
56557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56561 if test `eval echo '${'$as_ac_var'}'` = yes; then
56562 cat >>confdefs.h <<_ACEOF
56563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56572 # Checks for wide character functions that are not required
56573 # for basic wchar_t support. Don't disable support if they are missing.
56574 # Injection of these is wrapped with guard macros.
56580 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56583 echo "$as_me:$LINENO: checking for $ac_func" >&5
56584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56585 if eval "test \"\${$as_ac_var+set}\" = set"; then
56586 echo $ECHO_N "(cached) $ECHO_C" >&6
56588 if test x$gcc_no_link = xyes; then
56589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56591 { (exit 1); exit 1; }; }
56593 cat >conftest.$ac_ext <<_ACEOF
56594 #line $LINENO "configure"
56597 cat confdefs.h >>conftest.$ac_ext
56598 cat >>conftest.$ac_ext <<_ACEOF
56599 /* end confdefs.h. */
56600 /* System header to define __stub macros and hopefully few prototypes,
56601 which can conflict with char $ac_func (); below.
56602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56603 <limits.h> exists even on freestanding compilers. */
56605 # include <limits.h>
56607 # include <assert.h>
56609 /* Override any gcc2 internal prototype to avoid an error. */
56614 /* We use char because int might match the return type of a gcc2
56615 builtin and then its argument prototype would still apply. */
56617 /* The GNU C library defines this for functions which it implements
56618 to always fail with ENOSYS. Some functions are actually named
56619 something starting with __ and the normal name is an alias. */
56620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56623 char (*f) () = $ac_func;
56632 return f != $ac_func;
56637 rm -f conftest.$ac_objext conftest$ac_exeext
56638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56639 (eval $ac_link) 2>&5
56641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56642 (exit $ac_status); } &&
56643 { ac_try='test -s conftest$ac_exeext'
56644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56645 (eval $ac_try) 2>&5
56647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56648 (exit $ac_status); }; }; then
56649 eval "$as_ac_var=yes"
56651 echo "$as_me: failed program was:" >&5
56652 sed 's/^/| /' conftest.$ac_ext >&5
56654 eval "$as_ac_var=no"
56656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56660 if test `eval echo '${'$as_ac_var'}'` = yes; then
56661 cat >>confdefs.h <<_ACEOF
56662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56669 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56670 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56671 if test x"$has_weof" = xyes &&
56672 test x"$has_wchar_minmax" = xyes &&
56673 test x"$ac_wfuncs" = xyes;
56675 ac_isoC99_wchar_t=yes
56677 ac_isoC99_wchar_t=no
56679 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56680 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56682 # Use iconv for wchar_t to char conversions. As such, check for
56683 # X/Open Portability Guide, version 2 features (XPG2).
56684 if test "${ac_cv_header_iconv_h+set}" = set; then
56685 echo "$as_me:$LINENO: checking for iconv.h" >&5
56686 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56687 if test "${ac_cv_header_iconv_h+set}" = set; then
56688 echo $ECHO_N "(cached) $ECHO_C" >&6
56690 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56691 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56693 # Is the header compilable?
56694 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56695 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56696 cat >conftest.$ac_ext <<_ACEOF
56697 #line $LINENO "configure"
56700 cat confdefs.h >>conftest.$ac_ext
56701 cat >>conftest.$ac_ext <<_ACEOF
56702 /* end confdefs.h. */
56703 $ac_includes_default
56706 rm -f conftest.$ac_objext
56707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56708 (eval $ac_compile) 2>&5
56710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56711 (exit $ac_status); } &&
56712 { ac_try='test -s conftest.$ac_objext'
56713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56714 (eval $ac_try) 2>&5
56716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56717 (exit $ac_status); }; }; then
56718 ac_header_compiler=yes
56720 echo "$as_me: failed program was:" >&5
56721 sed 's/^/| /' conftest.$ac_ext >&5
56723 ac_header_compiler=no
56725 rm -f conftest.$ac_objext conftest.$ac_ext
56726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56727 echo "${ECHO_T}$ac_header_compiler" >&6
56729 # Is the header present?
56730 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56731 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56732 cat >conftest.$ac_ext <<_ACEOF
56733 #line $LINENO "configure"
56736 cat confdefs.h >>conftest.$ac_ext
56737 cat >>conftest.$ac_ext <<_ACEOF
56738 /* end confdefs.h. */
56741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56744 grep -v '^ *+' conftest.er1 >conftest.err
56746 cat conftest.err >&5
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); } >/dev/null; then
56749 if test -s conftest.err; then
56750 ac_cpp_err=$ac_c_preproc_warn_flag
56757 if test -z "$ac_cpp_err"; then
56758 ac_header_preproc=yes
56760 echo "$as_me: failed program was:" >&5
56761 sed 's/^/| /' conftest.$ac_ext >&5
56763 ac_header_preproc=no
56765 rm -f conftest.err conftest.$ac_ext
56766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56767 echo "${ECHO_T}$ac_header_preproc" >&6
56769 # So? What about this header?
56770 case $ac_header_compiler:$ac_header_preproc in
56772 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56773 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56774 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56775 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56778 ## ------------------------------------ ##
56779 ## Report this to bug-autoconf@gnu.org. ##
56780 ## ------------------------------------ ##
56783 sed "s/^/$as_me: WARNING: /" >&2
56786 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56787 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56788 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56789 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56790 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56791 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56794 ## ------------------------------------ ##
56795 ## Report this to bug-autoconf@gnu.org. ##
56796 ## ------------------------------------ ##
56799 sed "s/^/$as_me: WARNING: /" >&2
56802 echo "$as_me:$LINENO: checking for iconv.h" >&5
56803 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56804 if test "${ac_cv_header_iconv_h+set}" = set; then
56805 echo $ECHO_N "(cached) $ECHO_C" >&6
56807 ac_cv_header_iconv_h=$ac_header_preproc
56809 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56810 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56813 if test $ac_cv_header_iconv_h = yes; then
56820 if test "${ac_cv_header_langinfo_h+set}" = set; then
56821 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56822 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56823 if test "${ac_cv_header_langinfo_h+set}" = set; then
56824 echo $ECHO_N "(cached) $ECHO_C" >&6
56826 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56827 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56829 # Is the header compilable?
56830 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
56831 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
56832 cat >conftest.$ac_ext <<_ACEOF
56833 #line $LINENO "configure"
56836 cat confdefs.h >>conftest.$ac_ext
56837 cat >>conftest.$ac_ext <<_ACEOF
56838 /* end confdefs.h. */
56839 $ac_includes_default
56840 #include <langinfo.h>
56842 rm -f conftest.$ac_objext
56843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56844 (eval $ac_compile) 2>&5
56846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56847 (exit $ac_status); } &&
56848 { ac_try='test -s conftest.$ac_objext'
56849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56850 (eval $ac_try) 2>&5
56852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56853 (exit $ac_status); }; }; then
56854 ac_header_compiler=yes
56856 echo "$as_me: failed program was:" >&5
56857 sed 's/^/| /' conftest.$ac_ext >&5
56859 ac_header_compiler=no
56861 rm -f conftest.$ac_objext conftest.$ac_ext
56862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56863 echo "${ECHO_T}$ac_header_compiler" >&6
56865 # Is the header present?
56866 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
56867 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
56868 cat >conftest.$ac_ext <<_ACEOF
56869 #line $LINENO "configure"
56872 cat confdefs.h >>conftest.$ac_ext
56873 cat >>conftest.$ac_ext <<_ACEOF
56874 /* end confdefs.h. */
56875 #include <langinfo.h>
56877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56880 grep -v '^ *+' conftest.er1 >conftest.err
56882 cat conftest.err >&5
56883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56884 (exit $ac_status); } >/dev/null; then
56885 if test -s conftest.err; then
56886 ac_cpp_err=$ac_c_preproc_warn_flag
56893 if test -z "$ac_cpp_err"; then
56894 ac_header_preproc=yes
56896 echo "$as_me: failed program was:" >&5
56897 sed 's/^/| /' conftest.$ac_ext >&5
56899 ac_header_preproc=no
56901 rm -f conftest.err conftest.$ac_ext
56902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56903 echo "${ECHO_T}$ac_header_preproc" >&6
56905 # So? What about this header?
56906 case $ac_header_compiler:$ac_header_preproc in
56908 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
56909 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56910 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56911 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56914 ## ------------------------------------ ##
56915 ## Report this to bug-autoconf@gnu.org. ##
56916 ## ------------------------------------ ##
56919 sed "s/^/$as_me: WARNING: /" >&2
56922 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
56923 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
56924 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
56925 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
56926 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
56927 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
56930 ## ------------------------------------ ##
56931 ## Report this to bug-autoconf@gnu.org. ##
56932 ## ------------------------------------ ##
56935 sed "s/^/$as_me: WARNING: /" >&2
56938 echo "$as_me:$LINENO: checking for langinfo.h" >&5
56939 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
56940 if test "${ac_cv_header_langinfo_h+set}" = set; then
56941 echo $ECHO_N "(cached) $ECHO_C" >&6
56943 ac_cv_header_langinfo_h=$ac_header_preproc
56945 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
56946 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
56949 if test $ac_cv_header_langinfo_h = yes; then
56950 ac_has_langinfo_h=yes
56952 ac_has_langinfo_h=no
56957 # Check for existence of libiconv.a providing XPG2 wchar_t support.
56958 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
56959 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
56960 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
56961 echo $ECHO_N "(cached) $ECHO_C" >&6
56963 ac_check_lib_save_LIBS=$LIBS
56964 LIBS="-liconv $LIBS"
56965 if test x$gcc_no_link = xyes; then
56966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56968 { (exit 1); exit 1; }; }
56970 cat >conftest.$ac_ext <<_ACEOF
56971 #line $LINENO "configure"
56974 cat confdefs.h >>conftest.$ac_ext
56975 cat >>conftest.$ac_ext <<_ACEOF
56976 /* end confdefs.h. */
56978 /* Override any gcc2 internal prototype to avoid an error. */
56982 /* We use char because int might match the return type of a gcc2
56983 builtin and then its argument prototype would still apply. */
56993 rm -f conftest.$ac_objext conftest$ac_exeext
56994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56995 (eval $ac_link) 2>&5
56997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56998 (exit $ac_status); } &&
56999 { ac_try='test -s conftest$ac_exeext'
57000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57001 (eval $ac_try) 2>&5
57003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57004 (exit $ac_status); }; }; then
57005 ac_cv_lib_iconv_iconv=yes
57007 echo "$as_me: failed program was:" >&5
57008 sed 's/^/| /' conftest.$ac_ext >&5
57010 ac_cv_lib_iconv_iconv=no
57012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57013 LIBS=$ac_check_lib_save_LIBS
57015 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57016 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57017 if test $ac_cv_lib_iconv_iconv = yes; then
57021 ac_save_LIBS="$LIBS"
57022 LIBS="$LIBS $libiconv"
57028 for ac_func in iconv_open iconv_close iconv nl_langinfo
57030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57031 echo "$as_me:$LINENO: checking for $ac_func" >&5
57032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57033 if eval "test \"\${$as_ac_var+set}\" = set"; then
57034 echo $ECHO_N "(cached) $ECHO_C" >&6
57036 if test x$gcc_no_link = xyes; then
57037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57039 { (exit 1); exit 1; }; }
57041 cat >conftest.$ac_ext <<_ACEOF
57042 #line $LINENO "configure"
57045 cat confdefs.h >>conftest.$ac_ext
57046 cat >>conftest.$ac_ext <<_ACEOF
57047 /* end confdefs.h. */
57048 /* System header to define __stub macros and hopefully few prototypes,
57049 which can conflict with char $ac_func (); below.
57050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57051 <limits.h> exists even on freestanding compilers. */
57053 # include <limits.h>
57055 # include <assert.h>
57057 /* Override any gcc2 internal prototype to avoid an error. */
57062 /* We use char because int might match the return type of a gcc2
57063 builtin and then its argument prototype would still apply. */
57065 /* The GNU C library defines this for functions which it implements
57066 to always fail with ENOSYS. Some functions are actually named
57067 something starting with __ and the normal name is an alias. */
57068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57071 char (*f) () = $ac_func;
57080 return f != $ac_func;
57085 rm -f conftest.$ac_objext conftest$ac_exeext
57086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57087 (eval $ac_link) 2>&5
57089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090 (exit $ac_status); } &&
57091 { ac_try='test -s conftest$ac_exeext'
57092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57093 (eval $ac_try) 2>&5
57095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57096 (exit $ac_status); }; }; then
57097 eval "$as_ac_var=yes"
57099 echo "$as_me: failed program was:" >&5
57100 sed 's/^/| /' conftest.$ac_ext >&5
57102 eval "$as_ac_var=no"
57104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57108 if test `eval echo '${'$as_ac_var'}'` = yes; then
57109 cat >>confdefs.h <<_ACEOF
57110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57119 LIBS="$ac_save_LIBS"
57121 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57122 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57123 if test x"$ac_has_iconv_h" = xyes &&
57124 test x"$ac_has_langinfo_h" = xyes &&
57125 test x"$ac_XPG2funcs" = xyes;
57127 ac_XPG2_wchar_t=yes
57131 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57132 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57134 # At the moment, only enable wchar_t specializations if all the
57135 # above support is present.
57136 if test x"$ac_isoC99_wchar_t" = xyes &&
57137 test x"$ac_XPG2_wchar_t" = xyes;
57139 cat >>confdefs.h <<\_ACEOF
57140 #define _GLIBCXX_USE_WCHAR_T 1
57146 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57147 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57148 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57149 echo "${ECHO_T}$enable_wchar_t" >&6
57151 cat >>confdefs.h <<\_ACEOF
57152 #define HAVE_COPYSIGN 1
57155 cat >>confdefs.h <<\_ACEOF
57156 #define HAVE_COPYSIGNF 1
57159 cat >>confdefs.h <<\_ACEOF
57160 #define HAVE_FINITEF 1
57163 cat >>confdefs.h <<\_ACEOF
57164 #define HAVE_FINITE 1
57167 cat >>confdefs.h <<\_ACEOF
57168 #define HAVE_FREXPF 1
57171 cat >>confdefs.h <<\_ACEOF
57172 #define HAVE_HYPOTF 1
57175 cat >>confdefs.h <<\_ACEOF
57176 #define HAVE_ISINF 1
57179 cat >>confdefs.h <<\_ACEOF
57180 #define HAVE_ISINFF 1
57183 cat >>confdefs.h <<\_ACEOF
57184 #define HAVE_ISNAN 1
57187 cat >>confdefs.h <<\_ACEOF
57188 #define HAVE_ISNANF 1
57191 if test x"long_double_math_on_this_cpu" = x"yes"; then
57192 cat >>confdefs.h <<\_ACEOF
57193 #define HAVE_FINITEL 1
57196 cat >>confdefs.h <<\_ACEOF
57197 #define HAVE_ISINFL 1
57200 cat >>confdefs.h <<\_ACEOF
57201 #define HAVE_ISNANL 1
57206 *-qnx6.1* | *-qnx6.2*)
57207 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57210 # If we're not using GNU ld, then there's no point in even trying these
57211 # tests. Check for that first. We should have already tested for gld
57212 # by now (in libtool), but require it now just to be safe...
57213 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57214 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57218 # The name set by libtool depends on the version of libtool. Shame on us
57219 # for depending on an impl detail, but c'est la vie. Older versions used
57220 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57221 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57222 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57223 # set (hence we're using an older libtool), then set it.
57224 if test x${with_gnu_ld+set} != xset; then
57225 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57226 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57229 with_gnu_ld=$ac_cv_prog_gnu_ld
57233 # Start by getting the version number. I think the libtool test already
57234 # does some of this, but throws away the result.
57236 ldver=`$LD --version 2>/dev/null | head -1 | \
57237 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57239 glibcxx_gnu_ld_version=`echo $ldver | \
57240 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57242 # Set --gc-sections.
57243 if test "$with_gnu_ld" = "notbroken"; then
57244 # GNU ld it is! Joy and bunny rabbits!
57246 # All these tests are for C++; save the language and the compiler flags.
57247 # Need to do this so that g++ won't try to link in libstdc++
57248 ac_test_CFLAGS="${CFLAGS+set}"
57249 ac_save_CFLAGS="$CFLAGS"
57250 CFLAGS='-x c++ -Wl,--gc-sections'
57252 # Check for -Wl,--gc-sections
57253 # XXX This test is broken at the moment, as symbols required for linking
57254 # are now in libsupc++ (not built yet). In addition, this test has
57255 # cored on solaris in the past. In addition, --gc-sections doesn't
57256 # really work at the moment (keeps on discarding used sections, first
57257 # .eh_frame and now some of the glibc sections for iconv).
57258 # Bzzzzt. Thanks for playing, maybe next time.
57259 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57260 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57261 if test "$cross_compiling" = yes; then
57262 ac_sectionLDflags=yes
57264 cat >conftest.$ac_ext <<_ACEOF
57265 #line $LINENO "configure"
57268 cat confdefs.h >>conftest.$ac_ext
57269 cat >>conftest.$ac_ext <<_ACEOF
57270 /* end confdefs.h. */
57280 rm -f conftest$ac_exeext
57281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57282 (eval $ac_link) 2>&5
57284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57285 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57287 (eval $ac_try) 2>&5
57289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290 (exit $ac_status); }; }; then
57291 ac_sectionLDflags=yes
57293 echo "$as_me: program exited with status $ac_status" >&5
57294 echo "$as_me: failed program was:" >&5
57295 sed 's/^/| /' conftest.$ac_ext >&5
57297 ( exit $ac_status )
57298 ac_sectionLDflags=no
57300 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57302 if test "$ac_test_CFLAGS" = set; then
57303 CFLAGS="$ac_save_CFLAGS"
57305 # this is the suspicious part
57308 if test "$ac_sectionLDflags" = "yes"; then
57309 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57311 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57312 echo "${ECHO_T}$ac_sectionLDflags" >&6
57315 # Set linker optimization flags.
57316 if test x"$with_gnu_ld" = x"yes"; then
57317 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57325 echo "$as_me:$LINENO: checking for main in -lm" >&5
57326 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57327 if test "${ac_cv_lib_m_main+set}" = set; then
57328 echo $ECHO_N "(cached) $ECHO_C" >&6
57330 ac_check_lib_save_LIBS=$LIBS
57332 if test x$gcc_no_link = xyes; then
57333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57335 { (exit 1); exit 1; }; }
57337 cat >conftest.$ac_ext <<_ACEOF
57338 #line $LINENO "configure"
57341 cat confdefs.h >>conftest.$ac_ext
57342 cat >>conftest.$ac_ext <<_ACEOF
57343 /* end confdefs.h. */
57354 rm -f conftest.$ac_objext conftest$ac_exeext
57355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57356 (eval $ac_link) 2>&5
57358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57359 (exit $ac_status); } &&
57360 { ac_try='test -s conftest$ac_exeext'
57361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57362 (eval $ac_try) 2>&5
57364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57365 (exit $ac_status); }; }; then
57366 ac_cv_lib_m_main=yes
57368 echo "$as_me: failed program was:" >&5
57369 sed 's/^/| /' conftest.$ac_ext >&5
57371 ac_cv_lib_m_main=no
57373 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57374 LIBS=$ac_check_lib_save_LIBS
57376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57377 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57378 if test $ac_cv_lib_m_main = yes; then
57379 cat >>confdefs.h <<_ACEOF
57380 #define HAVE_LIBM 1
57389 for ac_func in nan copysignf
57391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57392 echo "$as_me:$LINENO: checking for $ac_func" >&5
57393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57394 if eval "test \"\${$as_ac_var+set}\" = set"; then
57395 echo $ECHO_N "(cached) $ECHO_C" >&6
57397 if test x$gcc_no_link = xyes; then
57398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57400 { (exit 1); exit 1; }; }
57402 cat >conftest.$ac_ext <<_ACEOF
57403 #line $LINENO "configure"
57406 cat confdefs.h >>conftest.$ac_ext
57407 cat >>conftest.$ac_ext <<_ACEOF
57408 /* end confdefs.h. */
57409 /* System header to define __stub macros and hopefully few prototypes,
57410 which can conflict with char $ac_func (); below.
57411 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57412 <limits.h> exists even on freestanding compilers. */
57414 # include <limits.h>
57416 # include <assert.h>
57418 /* Override any gcc2 internal prototype to avoid an error. */
57423 /* We use char because int might match the return type of a gcc2
57424 builtin and then its argument prototype would still apply. */
57426 /* The GNU C library defines this for functions which it implements
57427 to always fail with ENOSYS. Some functions are actually named
57428 something starting with __ and the normal name is an alias. */
57429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57432 char (*f) () = $ac_func;
57441 return f != $ac_func;
57446 rm -f conftest.$ac_objext conftest$ac_exeext
57447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57448 (eval $ac_link) 2>&5
57450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57451 (exit $ac_status); } &&
57452 { ac_try='test -s conftest$ac_exeext'
57453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57454 (eval $ac_try) 2>&5
57456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57457 (exit $ac_status); }; }; then
57458 eval "$as_ac_var=yes"
57460 echo "$as_me: failed program was:" >&5
57461 sed 's/^/| /' conftest.$ac_ext >&5
57463 eval "$as_ac_var=no"
57465 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57469 if test `eval echo '${'$as_ac_var'}'` = yes; then
57470 cat >>confdefs.h <<_ACEOF
57471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57475 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57481 for ac_func in __signbit
57483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57484 echo "$as_me:$LINENO: checking for $ac_func" >&5
57485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57486 if eval "test \"\${$as_ac_var+set}\" = set"; then
57487 echo $ECHO_N "(cached) $ECHO_C" >&6
57489 if test x$gcc_no_link = xyes; then
57490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57492 { (exit 1); exit 1; }; }
57494 cat >conftest.$ac_ext <<_ACEOF
57495 #line $LINENO "configure"
57498 cat confdefs.h >>conftest.$ac_ext
57499 cat >>conftest.$ac_ext <<_ACEOF
57500 /* end confdefs.h. */
57501 /* System header to define __stub macros and hopefully few prototypes,
57502 which can conflict with char $ac_func (); below.
57503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57504 <limits.h> exists even on freestanding compilers. */
57506 # include <limits.h>
57508 # include <assert.h>
57510 /* Override any gcc2 internal prototype to avoid an error. */
57515 /* We use char because int might match the return type of a gcc2
57516 builtin and then its argument prototype would still apply. */
57518 /* The GNU C library defines this for functions which it implements
57519 to always fail with ENOSYS. Some functions are actually named
57520 something starting with __ and the normal name is an alias. */
57521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57524 char (*f) () = $ac_func;
57533 return f != $ac_func;
57538 rm -f conftest.$ac_objext conftest$ac_exeext
57539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57540 (eval $ac_link) 2>&5
57542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57543 (exit $ac_status); } &&
57544 { ac_try='test -s conftest$ac_exeext'
57545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57546 (eval $ac_try) 2>&5
57548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57549 (exit $ac_status); }; }; then
57550 eval "$as_ac_var=yes"
57552 echo "$as_me: failed program was:" >&5
57553 sed 's/^/| /' conftest.$ac_ext >&5
57555 eval "$as_ac_var=no"
57557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57561 if test `eval echo '${'$as_ac_var'}'` = yes; then
57562 cat >>confdefs.h <<_ACEOF
57563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57567 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57572 for ac_func in __signbitf
57574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57575 echo "$as_me:$LINENO: checking for $ac_func" >&5
57576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57577 if eval "test \"\${$as_ac_var+set}\" = set"; then
57578 echo $ECHO_N "(cached) $ECHO_C" >&6
57580 if test x$gcc_no_link = xyes; then
57581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57583 { (exit 1); exit 1; }; }
57585 cat >conftest.$ac_ext <<_ACEOF
57586 #line $LINENO "configure"
57589 cat confdefs.h >>conftest.$ac_ext
57590 cat >>conftest.$ac_ext <<_ACEOF
57591 /* end confdefs.h. */
57592 /* System header to define __stub macros and hopefully few prototypes,
57593 which can conflict with char $ac_func (); below.
57594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57595 <limits.h> exists even on freestanding compilers. */
57597 # include <limits.h>
57599 # include <assert.h>
57601 /* Override any gcc2 internal prototype to avoid an error. */
57606 /* We use char because int might match the return type of a gcc2
57607 builtin and then its argument prototype would still apply. */
57609 /* The GNU C library defines this for functions which it implements
57610 to always fail with ENOSYS. Some functions are actually named
57611 something starting with __ and the normal name is an alias. */
57612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57615 char (*f) () = $ac_func;
57624 return f != $ac_func;
57629 rm -f conftest.$ac_objext conftest$ac_exeext
57630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57631 (eval $ac_link) 2>&5
57633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634 (exit $ac_status); } &&
57635 { ac_try='test -s conftest$ac_exeext'
57636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57637 (eval $ac_try) 2>&5
57639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57640 (exit $ac_status); }; }; then
57641 eval "$as_ac_var=yes"
57643 echo "$as_me: failed program was:" >&5
57644 sed 's/^/| /' conftest.$ac_ext >&5
57646 eval "$as_ac_var=no"
57648 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57652 if test `eval echo '${'$as_ac_var'}'` = yes; then
57653 cat >>confdefs.h <<_ACEOF
57654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57658 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57663 if test x$ac_cv_func_copysignl = x"yes"; then
57665 for ac_func in __signbitl
57667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57668 echo "$as_me:$LINENO: checking for $ac_func" >&5
57669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57670 if eval "test \"\${$as_ac_var+set}\" = set"; then
57671 echo $ECHO_N "(cached) $ECHO_C" >&6
57673 if test x$gcc_no_link = xyes; then
57674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57676 { (exit 1); exit 1; }; }
57678 cat >conftest.$ac_ext <<_ACEOF
57679 #line $LINENO "configure"
57682 cat confdefs.h >>conftest.$ac_ext
57683 cat >>conftest.$ac_ext <<_ACEOF
57684 /* end confdefs.h. */
57685 /* System header to define __stub macros and hopefully few prototypes,
57686 which can conflict with char $ac_func (); below.
57687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57688 <limits.h> exists even on freestanding compilers. */
57690 # include <limits.h>
57692 # include <assert.h>
57694 /* Override any gcc2 internal prototype to avoid an error. */
57699 /* We use char because int might match the return type of a gcc2
57700 builtin and then its argument prototype would still apply. */
57702 /* The GNU C library defines this for functions which it implements
57703 to always fail with ENOSYS. Some functions are actually named
57704 something starting with __ and the normal name is an alias. */
57705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57708 char (*f) () = $ac_func;
57717 return f != $ac_func;
57722 rm -f conftest.$ac_objext conftest$ac_exeext
57723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57724 (eval $ac_link) 2>&5
57726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57727 (exit $ac_status); } &&
57728 { ac_try='test -s conftest$ac_exeext'
57729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57730 (eval $ac_try) 2>&5
57732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57733 (exit $ac_status); }; }; then
57734 eval "$as_ac_var=yes"
57736 echo "$as_me: failed program was:" >&5
57737 sed 's/^/| /' conftest.$ac_ext >&5
57739 eval "$as_ac_var=no"
57741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57745 if test `eval echo '${'$as_ac_var'}'` = yes; then
57746 cat >>confdefs.h <<_ACEOF
57747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57751 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57757 # XXX Review this. Nothing uses it.
57758 if test -n "$LIBMATHOBJS"; then
57764 # Test wchar.h for mbstate_t, which is needed for char_traits and
57765 # others even if wchar_t support is not on.
57766 echo "$as_me:$LINENO: checking for mbstate_t" >&5
57767 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57768 cat >conftest.$ac_ext <<_ACEOF
57769 #line $LINENO "configure"
57772 cat confdefs.h >>conftest.$ac_ext
57773 cat >>conftest.$ac_ext <<_ACEOF
57774 /* end confdefs.h. */
57779 mbstate_t teststate;
57784 rm -f conftest.$ac_objext
57785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57786 (eval $ac_compile) 2>&5
57788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57789 (exit $ac_status); } &&
57790 { ac_try='test -s conftest.$ac_objext'
57791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57792 (eval $ac_try) 2>&5
57794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57795 (exit $ac_status); }; }; then
57798 echo "$as_me: failed program was:" >&5
57799 sed 's/^/| /' conftest.$ac_ext >&5
57803 rm -f conftest.$ac_objext conftest.$ac_ext
57804 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
57805 echo "${ECHO_T}$have_mbstate_t" >&6
57806 if test x"$have_mbstate_t" = xyes; then
57807 cat >>confdefs.h <<\_ACEOF
57808 #define HAVE_MBSTATE_T 1
57813 # Sanity check for existence of ISO C99 headers for extended encoding.
57815 for ac_header in wchar.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
57959 for ac_header in wctype.h
57961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
57962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57963 echo "$as_me:$LINENO: checking for $ac_header" >&5
57964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
57965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
57966 echo $ECHO_N "(cached) $ECHO_C" >&6
57968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
57969 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
57971 # Is the header compilable?
57972 echo "$as_me:$LINENO: checking $ac_header usability" >&5
57973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
57974 cat >conftest.$ac_ext <<_ACEOF
57975 #line $LINENO "configure"
57978 cat confdefs.h >>conftest.$ac_ext
57979 cat >>conftest.$ac_ext <<_ACEOF
57980 /* end confdefs.h. */
57981 $ac_includes_default
57982 #include <$ac_header>
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 ac_header_compiler=yes
57998 echo "$as_me: failed program was:" >&5
57999 sed 's/^/| /' conftest.$ac_ext >&5
58001 ac_header_compiler=no
58003 rm -f conftest.$ac_objext conftest.$ac_ext
58004 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58005 echo "${ECHO_T}$ac_header_compiler" >&6
58007 # Is the header present?
58008 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58009 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58010 cat >conftest.$ac_ext <<_ACEOF
58011 #line $LINENO "configure"
58014 cat confdefs.h >>conftest.$ac_ext
58015 cat >>conftest.$ac_ext <<_ACEOF
58016 /* end confdefs.h. */
58017 #include <$ac_header>
58019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58020 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58022 grep -v '^ *+' conftest.er1 >conftest.err
58024 cat conftest.err >&5
58025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58026 (exit $ac_status); } >/dev/null; then
58027 if test -s conftest.err; then
58028 ac_cpp_err=$ac_c_preproc_warn_flag
58035 if test -z "$ac_cpp_err"; then
58036 ac_header_preproc=yes
58038 echo "$as_me: failed program was:" >&5
58039 sed 's/^/| /' conftest.$ac_ext >&5
58041 ac_header_preproc=no
58043 rm -f conftest.err conftest.$ac_ext
58044 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58045 echo "${ECHO_T}$ac_header_preproc" >&6
58047 # So? What about this header?
58048 case $ac_header_compiler:$ac_header_preproc in
58050 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58051 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58052 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58056 ## ------------------------------------ ##
58057 ## Report this to bug-autoconf@gnu.org. ##
58058 ## ------------------------------------ ##
58061 sed "s/^/$as_me: WARNING: /" >&2
58064 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58066 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58067 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58069 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58072 ## ------------------------------------ ##
58073 ## Report this to bug-autoconf@gnu.org. ##
58074 ## ------------------------------------ ##
58077 sed "s/^/$as_me: WARNING: /" >&2
58080 echo "$as_me:$LINENO: checking for $ac_header" >&5
58081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58083 echo $ECHO_N "(cached) $ECHO_C" >&6
58085 eval "$as_ac_Header=$ac_header_preproc"
58087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58092 cat >>confdefs.h <<_ACEOF
58093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58095 ac_has_wctype_h=yes
58103 # Only continue checking if the ISO C99 headers exist and support is on.
58104 if test x"$ac_has_wchar_h" = xyes &&
58105 test x"$ac_has_wctype_h" = xyes &&
58106 test x"$enable_c_mbchar" != xno; then
58108 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
58109 # numeric_limits can instantiate type_traits<wchar_t>
58110 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
58111 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
58112 cat >conftest.$ac_ext <<_ACEOF
58113 #line $LINENO "configure"
58116 cat confdefs.h >>conftest.$ac_ext
58117 cat >>conftest.$ac_ext <<_ACEOF
58118 /* end confdefs.h. */
58123 int i = WCHAR_MIN; int j = WCHAR_MAX;
58128 rm -f conftest.$ac_objext
58129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58130 (eval $ac_compile) 2>&5
58132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58133 (exit $ac_status); } &&
58134 { ac_try='test -s conftest.$ac_objext'
58135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58136 (eval $ac_try) 2>&5
58138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58139 (exit $ac_status); }; }; then
58140 has_wchar_minmax=yes
58142 echo "$as_me: failed program was:" >&5
58143 sed 's/^/| /' conftest.$ac_ext >&5
58145 has_wchar_minmax=no
58147 rm -f conftest.$ac_objext conftest.$ac_ext
58148 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58149 echo "${ECHO_T}$has_wchar_minmax" >&6
58151 # Test wchar.h for WEOF, which is what we use to determine whether
58152 # to specialize for char_traits<wchar_t> or not.
58153 echo "$as_me:$LINENO: checking for WEOF" >&5
58154 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58155 cat >conftest.$ac_ext <<_ACEOF
58156 #line $LINENO "configure"
58159 cat confdefs.h >>conftest.$ac_ext
58160 cat >>conftest.$ac_ext <<_ACEOF
58161 /* end confdefs.h. */
58164 #include <stddef.h>
58173 rm -f conftest.$ac_objext
58174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58175 (eval $ac_compile) 2>&5
58177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58178 (exit $ac_status); } &&
58179 { ac_try='test -s conftest.$ac_objext'
58180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58181 (eval $ac_try) 2>&5
58183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58184 (exit $ac_status); }; }; then
58187 echo "$as_me: failed program was:" >&5
58188 sed 's/^/| /' conftest.$ac_ext >&5
58192 rm -f conftest.$ac_objext conftest.$ac_ext
58193 echo "$as_me:$LINENO: result: $has_weof" >&5
58194 echo "${ECHO_T}$has_weof" >&6
58196 # Tests for wide character functions used in char_traits<wchar_t>.
58204 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58207 echo "$as_me:$LINENO: checking for $ac_func" >&5
58208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58209 if eval "test \"\${$as_ac_var+set}\" = set"; then
58210 echo $ECHO_N "(cached) $ECHO_C" >&6
58212 if test x$gcc_no_link = xyes; then
58213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58215 { (exit 1); exit 1; }; }
58217 cat >conftest.$ac_ext <<_ACEOF
58218 #line $LINENO "configure"
58221 cat confdefs.h >>conftest.$ac_ext
58222 cat >>conftest.$ac_ext <<_ACEOF
58223 /* end confdefs.h. */
58224 /* System header to define __stub macros and hopefully few prototypes,
58225 which can conflict with char $ac_func (); below.
58226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58227 <limits.h> exists even on freestanding compilers. */
58229 # include <limits.h>
58231 # include <assert.h>
58233 /* Override any gcc2 internal prototype to avoid an error. */
58238 /* We use char because int might match the return type of a gcc2
58239 builtin and then its argument prototype would still apply. */
58241 /* The GNU C library defines this for functions which it implements
58242 to always fail with ENOSYS. Some functions are actually named
58243 something starting with __ and the normal name is an alias. */
58244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58247 char (*f) () = $ac_func;
58256 return f != $ac_func;
58261 rm -f conftest.$ac_objext conftest$ac_exeext
58262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58263 (eval $ac_link) 2>&5
58265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58266 (exit $ac_status); } &&
58267 { ac_try='test -s conftest$ac_exeext'
58268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58269 (eval $ac_try) 2>&5
58271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58272 (exit $ac_status); }; }; then
58273 eval "$as_ac_var=yes"
58275 echo "$as_me: failed program was:" >&5
58276 sed 's/^/| /' conftest.$ac_ext >&5
58278 eval "$as_ac_var=no"
58280 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58284 if test `eval echo '${'$as_ac_var'}'` = yes; then
58285 cat >>confdefs.h <<_ACEOF
58286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58295 # Checks for names injected into std:: by the c_std headers.
58342 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58343 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58344 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58345 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58346 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58347 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58350 echo "$as_me:$LINENO: checking for $ac_func" >&5
58351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58352 if eval "test \"\${$as_ac_var+set}\" = set"; then
58353 echo $ECHO_N "(cached) $ECHO_C" >&6
58355 if test x$gcc_no_link = xyes; then
58356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58358 { (exit 1); exit 1; }; }
58360 cat >conftest.$ac_ext <<_ACEOF
58361 #line $LINENO "configure"
58364 cat confdefs.h >>conftest.$ac_ext
58365 cat >>conftest.$ac_ext <<_ACEOF
58366 /* end confdefs.h. */
58367 /* System header to define __stub macros and hopefully few prototypes,
58368 which can conflict with char $ac_func (); below.
58369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58370 <limits.h> exists even on freestanding compilers. */
58372 # include <limits.h>
58374 # include <assert.h>
58376 /* Override any gcc2 internal prototype to avoid an error. */
58381 /* We use char because int might match the return type of a gcc2
58382 builtin and then its argument prototype would still apply. */
58384 /* The GNU C library defines this for functions which it implements
58385 to always fail with ENOSYS. Some functions are actually named
58386 something starting with __ and the normal name is an alias. */
58387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58390 char (*f) () = $ac_func;
58399 return f != $ac_func;
58404 rm -f conftest.$ac_objext conftest$ac_exeext
58405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58406 (eval $ac_link) 2>&5
58408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58409 (exit $ac_status); } &&
58410 { ac_try='test -s conftest$ac_exeext'
58411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58412 (eval $ac_try) 2>&5
58414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58415 (exit $ac_status); }; }; then
58416 eval "$as_ac_var=yes"
58418 echo "$as_me: failed program was:" >&5
58419 sed 's/^/| /' conftest.$ac_ext >&5
58421 eval "$as_ac_var=no"
58423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58427 if test `eval echo '${'$as_ac_var'}'` = yes; then
58428 cat >>confdefs.h <<_ACEOF
58429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58438 # Checks for wide character functions that are not required
58439 # for basic wchar_t support. Don't disable support if they are missing.
58440 # Injection of these is wrapped with guard macros.
58446 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58449 echo "$as_me:$LINENO: checking for $ac_func" >&5
58450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58451 if eval "test \"\${$as_ac_var+set}\" = set"; then
58452 echo $ECHO_N "(cached) $ECHO_C" >&6
58454 if test x$gcc_no_link = xyes; then
58455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58457 { (exit 1); exit 1; }; }
58459 cat >conftest.$ac_ext <<_ACEOF
58460 #line $LINENO "configure"
58463 cat confdefs.h >>conftest.$ac_ext
58464 cat >>conftest.$ac_ext <<_ACEOF
58465 /* end confdefs.h. */
58466 /* System header to define __stub macros and hopefully few prototypes,
58467 which can conflict with char $ac_func (); below.
58468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58469 <limits.h> exists even on freestanding compilers. */
58471 # include <limits.h>
58473 # include <assert.h>
58475 /* Override any gcc2 internal prototype to avoid an error. */
58480 /* We use char because int might match the return type of a gcc2
58481 builtin and then its argument prototype would still apply. */
58483 /* The GNU C library defines this for functions which it implements
58484 to always fail with ENOSYS. Some functions are actually named
58485 something starting with __ and the normal name is an alias. */
58486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58489 char (*f) () = $ac_func;
58498 return f != $ac_func;
58503 rm -f conftest.$ac_objext conftest$ac_exeext
58504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58505 (eval $ac_link) 2>&5
58507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58508 (exit $ac_status); } &&
58509 { ac_try='test -s conftest$ac_exeext'
58510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58511 (eval $ac_try) 2>&5
58513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58514 (exit $ac_status); }; }; then
58515 eval "$as_ac_var=yes"
58517 echo "$as_me: failed program was:" >&5
58518 sed 's/^/| /' conftest.$ac_ext >&5
58520 eval "$as_ac_var=no"
58522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58526 if test `eval echo '${'$as_ac_var'}'` = yes; then
58527 cat >>confdefs.h <<_ACEOF
58528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58535 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58536 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58537 if test x"$has_weof" = xyes &&
58538 test x"$has_wchar_minmax" = xyes &&
58539 test x"$ac_wfuncs" = xyes;
58541 ac_isoC99_wchar_t=yes
58543 ac_isoC99_wchar_t=no
58545 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58546 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58548 # Use iconv for wchar_t to char conversions. As such, check for
58549 # X/Open Portability Guide, version 2 features (XPG2).
58550 if test "${ac_cv_header_iconv_h+set}" = set; then
58551 echo "$as_me:$LINENO: checking for iconv.h" >&5
58552 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58553 if test "${ac_cv_header_iconv_h+set}" = set; then
58554 echo $ECHO_N "(cached) $ECHO_C" >&6
58556 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58557 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58559 # Is the header compilable?
58560 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58561 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58562 cat >conftest.$ac_ext <<_ACEOF
58563 #line $LINENO "configure"
58566 cat confdefs.h >>conftest.$ac_ext
58567 cat >>conftest.$ac_ext <<_ACEOF
58568 /* end confdefs.h. */
58569 $ac_includes_default
58572 rm -f conftest.$ac_objext
58573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58574 (eval $ac_compile) 2>&5
58576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577 (exit $ac_status); } &&
58578 { ac_try='test -s conftest.$ac_objext'
58579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58580 (eval $ac_try) 2>&5
58582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58583 (exit $ac_status); }; }; then
58584 ac_header_compiler=yes
58586 echo "$as_me: failed program was:" >&5
58587 sed 's/^/| /' conftest.$ac_ext >&5
58589 ac_header_compiler=no
58591 rm -f conftest.$ac_objext conftest.$ac_ext
58592 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58593 echo "${ECHO_T}$ac_header_compiler" >&6
58595 # Is the header present?
58596 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58597 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58598 cat >conftest.$ac_ext <<_ACEOF
58599 #line $LINENO "configure"
58602 cat confdefs.h >>conftest.$ac_ext
58603 cat >>conftest.$ac_ext <<_ACEOF
58604 /* end confdefs.h. */
58607 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58608 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58610 grep -v '^ *+' conftest.er1 >conftest.err
58612 cat conftest.err >&5
58613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58614 (exit $ac_status); } >/dev/null; then
58615 if test -s conftest.err; then
58616 ac_cpp_err=$ac_c_preproc_warn_flag
58623 if test -z "$ac_cpp_err"; then
58624 ac_header_preproc=yes
58626 echo "$as_me: failed program was:" >&5
58627 sed 's/^/| /' conftest.$ac_ext >&5
58629 ac_header_preproc=no
58631 rm -f conftest.err conftest.$ac_ext
58632 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58633 echo "${ECHO_T}$ac_header_preproc" >&6
58635 # So? What about this header?
58636 case $ac_header_compiler:$ac_header_preproc in
58638 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58639 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58640 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58641 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58644 ## ------------------------------------ ##
58645 ## Report this to bug-autoconf@gnu.org. ##
58646 ## ------------------------------------ ##
58649 sed "s/^/$as_me: WARNING: /" >&2
58652 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58653 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58654 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58655 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58656 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58657 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58660 ## ------------------------------------ ##
58661 ## Report this to bug-autoconf@gnu.org. ##
58662 ## ------------------------------------ ##
58665 sed "s/^/$as_me: WARNING: /" >&2
58668 echo "$as_me:$LINENO: checking for iconv.h" >&5
58669 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58670 if test "${ac_cv_header_iconv_h+set}" = set; then
58671 echo $ECHO_N "(cached) $ECHO_C" >&6
58673 ac_cv_header_iconv_h=$ac_header_preproc
58675 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58676 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58679 if test $ac_cv_header_iconv_h = yes; then
58686 if test "${ac_cv_header_langinfo_h+set}" = set; then
58687 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58688 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58689 if test "${ac_cv_header_langinfo_h+set}" = set; then
58690 echo $ECHO_N "(cached) $ECHO_C" >&6
58692 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58693 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58695 # Is the header compilable?
58696 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58697 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58698 cat >conftest.$ac_ext <<_ACEOF
58699 #line $LINENO "configure"
58702 cat confdefs.h >>conftest.$ac_ext
58703 cat >>conftest.$ac_ext <<_ACEOF
58704 /* end confdefs.h. */
58705 $ac_includes_default
58706 #include <langinfo.h>
58708 rm -f conftest.$ac_objext
58709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58710 (eval $ac_compile) 2>&5
58712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58713 (exit $ac_status); } &&
58714 { ac_try='test -s conftest.$ac_objext'
58715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58716 (eval $ac_try) 2>&5
58718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58719 (exit $ac_status); }; }; then
58720 ac_header_compiler=yes
58722 echo "$as_me: failed program was:" >&5
58723 sed 's/^/| /' conftest.$ac_ext >&5
58725 ac_header_compiler=no
58727 rm -f conftest.$ac_objext conftest.$ac_ext
58728 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58729 echo "${ECHO_T}$ac_header_compiler" >&6
58731 # Is the header present?
58732 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58733 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58734 cat >conftest.$ac_ext <<_ACEOF
58735 #line $LINENO "configure"
58738 cat confdefs.h >>conftest.$ac_ext
58739 cat >>conftest.$ac_ext <<_ACEOF
58740 /* end confdefs.h. */
58741 #include <langinfo.h>
58743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58746 grep -v '^ *+' conftest.er1 >conftest.err
58748 cat conftest.err >&5
58749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58750 (exit $ac_status); } >/dev/null; then
58751 if test -s conftest.err; then
58752 ac_cpp_err=$ac_c_preproc_warn_flag
58759 if test -z "$ac_cpp_err"; then
58760 ac_header_preproc=yes
58762 echo "$as_me: failed program was:" >&5
58763 sed 's/^/| /' conftest.$ac_ext >&5
58765 ac_header_preproc=no
58767 rm -f conftest.err conftest.$ac_ext
58768 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58769 echo "${ECHO_T}$ac_header_preproc" >&6
58771 # So? What about this header?
58772 case $ac_header_compiler:$ac_header_preproc in
58774 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58775 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58776 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58777 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58780 ## ------------------------------------ ##
58781 ## Report this to bug-autoconf@gnu.org. ##
58782 ## ------------------------------------ ##
58785 sed "s/^/$as_me: WARNING: /" >&2
58788 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58789 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58790 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
58791 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
58792 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58793 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58796 ## ------------------------------------ ##
58797 ## Report this to bug-autoconf@gnu.org. ##
58798 ## ------------------------------------ ##
58801 sed "s/^/$as_me: WARNING: /" >&2
58804 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58805 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58806 if test "${ac_cv_header_langinfo_h+set}" = set; then
58807 echo $ECHO_N "(cached) $ECHO_C" >&6
58809 ac_cv_header_langinfo_h=$ac_header_preproc
58811 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58812 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58815 if test $ac_cv_header_langinfo_h = yes; then
58816 ac_has_langinfo_h=yes
58818 ac_has_langinfo_h=no
58823 # Check for existence of libiconv.a providing XPG2 wchar_t support.
58824 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
58825 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
58826 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
58827 echo $ECHO_N "(cached) $ECHO_C" >&6
58829 ac_check_lib_save_LIBS=$LIBS
58830 LIBS="-liconv $LIBS"
58831 if test x$gcc_no_link = xyes; then
58832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58834 { (exit 1); exit 1; }; }
58836 cat >conftest.$ac_ext <<_ACEOF
58837 #line $LINENO "configure"
58840 cat confdefs.h >>conftest.$ac_ext
58841 cat >>conftest.$ac_ext <<_ACEOF
58842 /* end confdefs.h. */
58844 /* Override any gcc2 internal prototype to avoid an error. */
58848 /* We use char because int might match the return type of a gcc2
58849 builtin and then its argument prototype would still apply. */
58859 rm -f conftest.$ac_objext conftest$ac_exeext
58860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58861 (eval $ac_link) 2>&5
58863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58864 (exit $ac_status); } &&
58865 { ac_try='test -s conftest$ac_exeext'
58866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58867 (eval $ac_try) 2>&5
58869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58870 (exit $ac_status); }; }; then
58871 ac_cv_lib_iconv_iconv=yes
58873 echo "$as_me: failed program was:" >&5
58874 sed 's/^/| /' conftest.$ac_ext >&5
58876 ac_cv_lib_iconv_iconv=no
58878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58879 LIBS=$ac_check_lib_save_LIBS
58881 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
58882 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
58883 if test $ac_cv_lib_iconv_iconv = yes; then
58887 ac_save_LIBS="$LIBS"
58888 LIBS="$LIBS $libiconv"
58894 for ac_func in iconv_open iconv_close iconv nl_langinfo
58896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58897 echo "$as_me:$LINENO: checking for $ac_func" >&5
58898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58899 if eval "test \"\${$as_ac_var+set}\" = set"; then
58900 echo $ECHO_N "(cached) $ECHO_C" >&6
58902 if test x$gcc_no_link = xyes; then
58903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58905 { (exit 1); exit 1; }; }
58907 cat >conftest.$ac_ext <<_ACEOF
58908 #line $LINENO "configure"
58911 cat confdefs.h >>conftest.$ac_ext
58912 cat >>conftest.$ac_ext <<_ACEOF
58913 /* end confdefs.h. */
58914 /* System header to define __stub macros and hopefully few prototypes,
58915 which can conflict with char $ac_func (); below.
58916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58917 <limits.h> exists even on freestanding compilers. */
58919 # include <limits.h>
58921 # include <assert.h>
58923 /* Override any gcc2 internal prototype to avoid an error. */
58928 /* We use char because int might match the return type of a gcc2
58929 builtin and then its argument prototype would still apply. */
58931 /* The GNU C library defines this for functions which it implements
58932 to always fail with ENOSYS. Some functions are actually named
58933 something starting with __ and the normal name is an alias. */
58934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58937 char (*f) () = $ac_func;
58946 return f != $ac_func;
58951 rm -f conftest.$ac_objext conftest$ac_exeext
58952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58953 (eval $ac_link) 2>&5
58955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58956 (exit $ac_status); } &&
58957 { ac_try='test -s conftest$ac_exeext'
58958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58959 (eval $ac_try) 2>&5
58961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58962 (exit $ac_status); }; }; then
58963 eval "$as_ac_var=yes"
58965 echo "$as_me: failed program was:" >&5
58966 sed 's/^/| /' conftest.$ac_ext >&5
58968 eval "$as_ac_var=no"
58970 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58974 if test `eval echo '${'$as_ac_var'}'` = yes; then
58975 cat >>confdefs.h <<_ACEOF
58976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 LIBS="$ac_save_LIBS"
58987 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
58988 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
58989 if test x"$ac_has_iconv_h" = xyes &&
58990 test x"$ac_has_langinfo_h" = xyes &&
58991 test x"$ac_XPG2funcs" = xyes;
58993 ac_XPG2_wchar_t=yes
58997 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
58998 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
59000 # At the moment, only enable wchar_t specializations if all the
59001 # above support is present.
59002 if test x"$ac_isoC99_wchar_t" = xyes &&
59003 test x"$ac_XPG2_wchar_t" = xyes;
59005 cat >>confdefs.h <<\_ACEOF
59006 #define _GLIBCXX_USE_WCHAR_T 1
59012 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
59013 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
59014 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
59015 echo "${ECHO_T}$enable_wchar_t" >&6
59017 cat >>confdefs.h <<\_ACEOF
59018 #define HAVE_COSF 1
59021 cat >>confdefs.h <<\_ACEOF
59022 #define HAVE_COSL 1
59025 cat >>confdefs.h <<\_ACEOF
59026 #define HAVE_COSHF 1
59029 cat >>confdefs.h <<\_ACEOF
59030 #define HAVE_COSHL 1
59033 cat >>confdefs.h <<\_ACEOF
59034 #define HAVE_LOGF 1
59037 cat >>confdefs.h <<\_ACEOF
59038 #define HAVE_LOGL 1
59041 cat >>confdefs.h <<\_ACEOF
59042 #define HAVE_LOG10F 1
59045 cat >>confdefs.h <<\_ACEOF
59046 #define HAVE_LOG10L 1
59049 cat >>confdefs.h <<\_ACEOF
59050 #define HAVE_SINF 1
59053 cat >>confdefs.h <<\_ACEOF
59054 #define HAVE_SINL 1
59057 cat >>confdefs.h <<\_ACEOF
59058 #define HAVE_SINHF 1
59061 cat >>confdefs.h <<\_ACEOF
59062 #define HAVE_SINHL 1
59069 # os_include_dir="os/solaris/solaris2.5"
59072 # os_include_dir="os/solaris/solaris2.6"
59074 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
59075 cat >>confdefs.h <<\_ACEOF
59076 #define HAVE_GETPAGESIZE 1
59079 cat >>confdefs.h <<\_ACEOF
59080 #define HAVE_SIGSETJMP 1
59083 cat >>confdefs.h <<\_ACEOF
59084 #define HAVE_MBSTATE_T 1
59087 cat >>confdefs.h <<\_ACEOF
59088 #define HAVE_POLL 1
59091 cat >>confdefs.h <<\_ACEOF
59092 #define HAVE_S_ISREG 1
59095 cat >>confdefs.h <<\_ACEOF
59096 #define HAVE_LC_MESSAGES 1
59099 cat >>confdefs.h <<\_ACEOF
59100 #define HAVE_BTOWC 1
59103 cat >>confdefs.h <<\_ACEOF
59104 #define HAVE_DRAND48 1
59107 cat >>confdefs.h <<\_ACEOF
59108 #define HAVE_FGETWC 1
59111 cat >>confdefs.h <<\_ACEOF
59112 #define HAVE_FGETWS 1
59115 cat >>confdefs.h <<\_ACEOF
59116 #define HAVE_FINITE 1
59119 cat >>confdefs.h <<\_ACEOF
59120 #define HAVE_FPCLASS 1
59123 cat >>confdefs.h <<\_ACEOF
59124 #define HAVE_FPUTWC 1
59127 cat >>confdefs.h <<\_ACEOF
59128 #define HAVE_FPUTWS 1
59131 cat >>confdefs.h <<\_ACEOF
59132 #define HAVE_FWIDE 1
59135 cat >>confdefs.h <<\_ACEOF
59136 #define HAVE_FWPRINTF 1
59139 cat >>confdefs.h <<\_ACEOF
59140 #define HAVE_FWSCANF 1
59143 cat >>confdefs.h <<\_ACEOF
59144 #define HAVE_GETPAGESIZE 1
59147 cat >>confdefs.h <<\_ACEOF
59148 #define HAVE_GETWC 1
59151 cat >>confdefs.h <<\_ACEOF
59152 #define HAVE_GETWCHAR 1
59155 cat >>confdefs.h <<\_ACEOF
59156 #define HAVE_MBRLEN 1
59159 cat >>confdefs.h <<\_ACEOF
59160 #define HAVE_MBRTOWC 1
59163 cat >>confdefs.h <<\_ACEOF
59164 #define HAVE_MBSINIT 1
59167 cat >>confdefs.h <<\_ACEOF
59168 #define HAVE_MBSRTOWCS 1
59171 cat >>confdefs.h <<\_ACEOF
59172 #define HAVE_NL_LANGINFO 1
59175 cat >>confdefs.h <<\_ACEOF
59176 #define HAVE_PUTWC 1
59179 cat >>confdefs.h <<\_ACEOF
59180 #define HAVE_PUTWCHAR 1
59183 cat >>confdefs.h <<\_ACEOF
59184 #define HAVE_SWPRINTF 1
59187 cat >>confdefs.h <<\_ACEOF
59188 #define HAVE_SWSCANF 1
59191 cat >>confdefs.h <<\_ACEOF
59192 #define HAVE_UNGETWC 1
59195 cat >>confdefs.h <<\_ACEOF
59196 #define HAVE_VFWPRINTF 1
59199 cat >>confdefs.h <<\_ACEOF
59200 #define HAVE_VSWPRINTF 1
59203 cat >>confdefs.h <<\_ACEOF
59204 #define HAVE_VWPRINTF 1
59207 cat >>confdefs.h <<\_ACEOF
59208 #define HAVE_WCRTOMB 1
59211 cat >>confdefs.h <<\_ACEOF
59212 #define HAVE_WCSCAT 1
59215 cat >>confdefs.h <<\_ACEOF
59216 #define HAVE_WCSCHR 1
59219 cat >>confdefs.h <<\_ACEOF
59220 #define HAVE_WCSCMP 1
59223 cat >>confdefs.h <<\_ACEOF
59224 #define HAVE_WCSCOLL 1
59227 cat >>confdefs.h <<\_ACEOF
59228 #define HAVE_WCSCPY 1
59231 cat >>confdefs.h <<\_ACEOF
59232 #define HAVE_WCSCSPN 1
59235 cat >>confdefs.h <<\_ACEOF
59236 #define HAVE_WCSFTIME 1
59239 cat >>confdefs.h <<\_ACEOF
59240 #define HAVE_WCSLEN 1
59243 cat >>confdefs.h <<\_ACEOF
59244 #define HAVE_WCSNCAT 1
59247 cat >>confdefs.h <<\_ACEOF
59248 #define HAVE_WCSNCMP 1
59251 cat >>confdefs.h <<\_ACEOF
59252 #define HAVE_WCSNCPY 1
59255 cat >>confdefs.h <<\_ACEOF
59256 #define HAVE_WCSPBRK 1
59259 cat >>confdefs.h <<\_ACEOF
59260 #define HAVE_WCSRCHR 1
59263 cat >>confdefs.h <<\_ACEOF
59264 #define HAVE_WCSRTOMBS 1
59267 cat >>confdefs.h <<\_ACEOF
59268 #define HAVE_WCSSPN 1
59271 cat >>confdefs.h <<\_ACEOF
59272 #define HAVE_WCSSTR 1
59275 cat >>confdefs.h <<\_ACEOF
59276 #define HAVE_WCSTOD 1
59279 cat >>confdefs.h <<\_ACEOF
59280 #define HAVE_WCSTOK 1
59283 cat >>confdefs.h <<\_ACEOF
59284 #define HAVE_WCSTOL 1
59287 cat >>confdefs.h <<\_ACEOF
59288 #define HAVE_WCSTOUL 1
59291 cat >>confdefs.h <<\_ACEOF
59292 #define HAVE_WCSXFRM 1
59295 cat >>confdefs.h <<\_ACEOF
59296 #define HAVE_WCTOB 1
59299 cat >>confdefs.h <<\_ACEOF
59300 #define HAVE_WMEMCHR 1
59303 cat >>confdefs.h <<\_ACEOF
59304 #define HAVE_WMEMCMP 1
59307 cat >>confdefs.h <<\_ACEOF
59308 #define HAVE_WMEMCPY 1
59311 cat >>confdefs.h <<\_ACEOF
59312 #define HAVE_WMEMMOVE 1
59315 cat >>confdefs.h <<\_ACEOF
59316 #define HAVE_WMEMSET 1
59319 cat >>confdefs.h <<\_ACEOF
59320 #define HAVE_WPRINTF 1
59323 cat >>confdefs.h <<\_ACEOF
59324 #define HAVE_WSCANF 1
59327 cat >>confdefs.h <<\_ACEOF
59328 #define HAVE_ICONV 1
59331 cat >>confdefs.h <<\_ACEOF
59332 #define HAVE_ICONV_CLOSE 1
59335 cat >>confdefs.h <<\_ACEOF
59336 #define HAVE_ICONV_OPEN 1
59339 # Look for the pieces required for wchar_t support in order to
59340 # get all the right HAVE_* macros defined.
59342 # Test wchar.h for mbstate_t, which is needed for char_traits and
59343 # others even if wchar_t support is not on.
59344 echo "$as_me:$LINENO: checking for mbstate_t" >&5
59345 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59346 cat >conftest.$ac_ext <<_ACEOF
59347 #line $LINENO "configure"
59350 cat confdefs.h >>conftest.$ac_ext
59351 cat >>conftest.$ac_ext <<_ACEOF
59352 /* end confdefs.h. */
59357 mbstate_t teststate;
59362 rm -f conftest.$ac_objext
59363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59364 (eval $ac_compile) 2>&5
59366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59367 (exit $ac_status); } &&
59368 { ac_try='test -s conftest.$ac_objext'
59369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59370 (eval $ac_try) 2>&5
59372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59373 (exit $ac_status); }; }; then
59376 echo "$as_me: failed program was:" >&5
59377 sed 's/^/| /' conftest.$ac_ext >&5
59381 rm -f conftest.$ac_objext conftest.$ac_ext
59382 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59383 echo "${ECHO_T}$have_mbstate_t" >&6
59384 if test x"$have_mbstate_t" = xyes; then
59385 cat >>confdefs.h <<\_ACEOF
59386 #define HAVE_MBSTATE_T 1
59391 # Sanity check for existence of ISO C99 headers for extended encoding.
59393 for ac_header in wchar.h
59395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59397 echo "$as_me:$LINENO: checking for $ac_header" >&5
59398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59400 echo $ECHO_N "(cached) $ECHO_C" >&6
59402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59405 # Is the header compilable?
59406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59408 cat >conftest.$ac_ext <<_ACEOF
59409 #line $LINENO "configure"
59412 cat confdefs.h >>conftest.$ac_ext
59413 cat >>conftest.$ac_ext <<_ACEOF
59414 /* end confdefs.h. */
59415 $ac_includes_default
59416 #include <$ac_header>
59418 rm -f conftest.$ac_objext
59419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59420 (eval $ac_compile) 2>&5
59422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59423 (exit $ac_status); } &&
59424 { ac_try='test -s conftest.$ac_objext'
59425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59426 (eval $ac_try) 2>&5
59428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59429 (exit $ac_status); }; }; then
59430 ac_header_compiler=yes
59432 echo "$as_me: failed program was:" >&5
59433 sed 's/^/| /' conftest.$ac_ext >&5
59435 ac_header_compiler=no
59437 rm -f conftest.$ac_objext conftest.$ac_ext
59438 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59439 echo "${ECHO_T}$ac_header_compiler" >&6
59441 # Is the header present?
59442 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59444 cat >conftest.$ac_ext <<_ACEOF
59445 #line $LINENO "configure"
59448 cat confdefs.h >>conftest.$ac_ext
59449 cat >>conftest.$ac_ext <<_ACEOF
59450 /* end confdefs.h. */
59451 #include <$ac_header>
59453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59454 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59456 grep -v '^ *+' conftest.er1 >conftest.err
59458 cat conftest.err >&5
59459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59460 (exit $ac_status); } >/dev/null; then
59461 if test -s conftest.err; then
59462 ac_cpp_err=$ac_c_preproc_warn_flag
59469 if test -z "$ac_cpp_err"; then
59470 ac_header_preproc=yes
59472 echo "$as_me: failed program was:" >&5
59473 sed 's/^/| /' conftest.$ac_ext >&5
59475 ac_header_preproc=no
59477 rm -f conftest.err conftest.$ac_ext
59478 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59479 echo "${ECHO_T}$ac_header_preproc" >&6
59481 # So? What about this header?
59482 case $ac_header_compiler:$ac_header_preproc in
59484 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59485 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59486 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59487 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59490 ## ------------------------------------ ##
59491 ## Report this to bug-autoconf@gnu.org. ##
59492 ## ------------------------------------ ##
59495 sed "s/^/$as_me: WARNING: /" >&2
59498 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59499 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59500 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59501 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59502 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59503 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59506 ## ------------------------------------ ##
59507 ## Report this to bug-autoconf@gnu.org. ##
59508 ## ------------------------------------ ##
59511 sed "s/^/$as_me: WARNING: /" >&2
59514 echo "$as_me:$LINENO: checking for $ac_header" >&5
59515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59517 echo $ECHO_N "(cached) $ECHO_C" >&6
59519 eval "$as_ac_Header=$ac_header_preproc"
59521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59526 cat >>confdefs.h <<_ACEOF
59527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59537 for ac_header in wctype.h
59539 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59540 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59541 echo "$as_me:$LINENO: checking for $ac_header" >&5
59542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59544 echo $ECHO_N "(cached) $ECHO_C" >&6
59546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59549 # Is the header compilable?
59550 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59551 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59552 cat >conftest.$ac_ext <<_ACEOF
59553 #line $LINENO "configure"
59556 cat confdefs.h >>conftest.$ac_ext
59557 cat >>conftest.$ac_ext <<_ACEOF
59558 /* end confdefs.h. */
59559 $ac_includes_default
59560 #include <$ac_header>
59562 rm -f conftest.$ac_objext
59563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59564 (eval $ac_compile) 2>&5
59566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567 (exit $ac_status); } &&
59568 { ac_try='test -s conftest.$ac_objext'
59569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570 (eval $ac_try) 2>&5
59572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573 (exit $ac_status); }; }; then
59574 ac_header_compiler=yes
59576 echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59579 ac_header_compiler=no
59581 rm -f conftest.$ac_objext conftest.$ac_ext
59582 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59583 echo "${ECHO_T}$ac_header_compiler" >&6
59585 # Is the header present?
59586 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59587 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59588 cat >conftest.$ac_ext <<_ACEOF
59589 #line $LINENO "configure"
59592 cat confdefs.h >>conftest.$ac_ext
59593 cat >>conftest.$ac_ext <<_ACEOF
59594 /* end confdefs.h. */
59595 #include <$ac_header>
59597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59600 grep -v '^ *+' conftest.er1 >conftest.err
59602 cat conftest.err >&5
59603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59604 (exit $ac_status); } >/dev/null; then
59605 if test -s conftest.err; then
59606 ac_cpp_err=$ac_c_preproc_warn_flag
59613 if test -z "$ac_cpp_err"; then
59614 ac_header_preproc=yes
59616 echo "$as_me: failed program was:" >&5
59617 sed 's/^/| /' conftest.$ac_ext >&5
59619 ac_header_preproc=no
59621 rm -f conftest.err conftest.$ac_ext
59622 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59623 echo "${ECHO_T}$ac_header_preproc" >&6
59625 # So? What about this header?
59626 case $ac_header_compiler:$ac_header_preproc in
59628 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59629 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59630 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59631 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59634 ## ------------------------------------ ##
59635 ## Report this to bug-autoconf@gnu.org. ##
59636 ## ------------------------------------ ##
59639 sed "s/^/$as_me: WARNING: /" >&2
59642 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59643 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59644 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59645 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59647 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59650 ## ------------------------------------ ##
59651 ## Report this to bug-autoconf@gnu.org. ##
59652 ## ------------------------------------ ##
59655 sed "s/^/$as_me: WARNING: /" >&2
59658 echo "$as_me:$LINENO: checking for $ac_header" >&5
59659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59661 echo $ECHO_N "(cached) $ECHO_C" >&6
59663 eval "$as_ac_Header=$ac_header_preproc"
59665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59670 cat >>confdefs.h <<_ACEOF
59671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59673 ac_has_wctype_h=yes
59681 # Only continue checking if the ISO C99 headers exist and support is on.
59682 if test x"$ac_has_wchar_h" = xyes &&
59683 test x"$ac_has_wctype_h" = xyes &&
59684 test x"$enable_c_mbchar" != xno; then
59686 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59687 # numeric_limits can instantiate type_traits<wchar_t>
59688 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59689 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59690 cat >conftest.$ac_ext <<_ACEOF
59691 #line $LINENO "configure"
59694 cat confdefs.h >>conftest.$ac_ext
59695 cat >>conftest.$ac_ext <<_ACEOF
59696 /* end confdefs.h. */
59701 int i = WCHAR_MIN; int j = WCHAR_MAX;
59706 rm -f conftest.$ac_objext
59707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59708 (eval $ac_compile) 2>&5
59710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59711 (exit $ac_status); } &&
59712 { ac_try='test -s conftest.$ac_objext'
59713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59714 (eval $ac_try) 2>&5
59716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59717 (exit $ac_status); }; }; then
59718 has_wchar_minmax=yes
59720 echo "$as_me: failed program was:" >&5
59721 sed 's/^/| /' conftest.$ac_ext >&5
59723 has_wchar_minmax=no
59725 rm -f conftest.$ac_objext conftest.$ac_ext
59726 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59727 echo "${ECHO_T}$has_wchar_minmax" >&6
59729 # Test wchar.h for WEOF, which is what we use to determine whether
59730 # to specialize for char_traits<wchar_t> or not.
59731 echo "$as_me:$LINENO: checking for WEOF" >&5
59732 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59733 cat >conftest.$ac_ext <<_ACEOF
59734 #line $LINENO "configure"
59737 cat confdefs.h >>conftest.$ac_ext
59738 cat >>conftest.$ac_ext <<_ACEOF
59739 /* end confdefs.h. */
59742 #include <stddef.h>
59751 rm -f conftest.$ac_objext
59752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59753 (eval $ac_compile) 2>&5
59755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59756 (exit $ac_status); } &&
59757 { ac_try='test -s conftest.$ac_objext'
59758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59759 (eval $ac_try) 2>&5
59761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59762 (exit $ac_status); }; }; then
59765 echo "$as_me: failed program was:" >&5
59766 sed 's/^/| /' conftest.$ac_ext >&5
59770 rm -f conftest.$ac_objext conftest.$ac_ext
59771 echo "$as_me:$LINENO: result: $has_weof" >&5
59772 echo "${ECHO_T}$has_weof" >&6
59774 # Tests for wide character functions used in char_traits<wchar_t>.
59782 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59785 echo "$as_me:$LINENO: checking for $ac_func" >&5
59786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59787 if eval "test \"\${$as_ac_var+set}\" = set"; then
59788 echo $ECHO_N "(cached) $ECHO_C" >&6
59790 if test x$gcc_no_link = xyes; then
59791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59793 { (exit 1); exit 1; }; }
59795 cat >conftest.$ac_ext <<_ACEOF
59796 #line $LINENO "configure"
59799 cat confdefs.h >>conftest.$ac_ext
59800 cat >>conftest.$ac_ext <<_ACEOF
59801 /* end confdefs.h. */
59802 /* System header to define __stub macros and hopefully few prototypes,
59803 which can conflict with char $ac_func (); below.
59804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59805 <limits.h> exists even on freestanding compilers. */
59807 # include <limits.h>
59809 # include <assert.h>
59811 /* Override any gcc2 internal prototype to avoid an error. */
59816 /* We use char because int might match the return type of a gcc2
59817 builtin and then its argument prototype would still apply. */
59819 /* The GNU C library defines this for functions which it implements
59820 to always fail with ENOSYS. Some functions are actually named
59821 something starting with __ and the normal name is an alias. */
59822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59825 char (*f) () = $ac_func;
59834 return f != $ac_func;
59839 rm -f conftest.$ac_objext conftest$ac_exeext
59840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59841 (eval $ac_link) 2>&5
59843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844 (exit $ac_status); } &&
59845 { ac_try='test -s conftest$ac_exeext'
59846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59847 (eval $ac_try) 2>&5
59849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59850 (exit $ac_status); }; }; then
59851 eval "$as_ac_var=yes"
59853 echo "$as_me: failed program was:" >&5
59854 sed 's/^/| /' conftest.$ac_ext >&5
59856 eval "$as_ac_var=no"
59858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59862 if test `eval echo '${'$as_ac_var'}'` = yes; then
59863 cat >>confdefs.h <<_ACEOF
59864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59873 # Checks for names injected into std:: by the c_std headers.
59920 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
59921 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
59922 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
59923 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
59924 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
59925 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
59927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59928 echo "$as_me:$LINENO: checking for $ac_func" >&5
59929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59930 if eval "test \"\${$as_ac_var+set}\" = set"; then
59931 echo $ECHO_N "(cached) $ECHO_C" >&6
59933 if test x$gcc_no_link = xyes; then
59934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59936 { (exit 1); exit 1; }; }
59938 cat >conftest.$ac_ext <<_ACEOF
59939 #line $LINENO "configure"
59942 cat confdefs.h >>conftest.$ac_ext
59943 cat >>conftest.$ac_ext <<_ACEOF
59944 /* end confdefs.h. */
59945 /* System header to define __stub macros and hopefully few prototypes,
59946 which can conflict with char $ac_func (); below.
59947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59948 <limits.h> exists even on freestanding compilers. */
59950 # include <limits.h>
59952 # include <assert.h>
59954 /* Override any gcc2 internal prototype to avoid an error. */
59959 /* We use char because int might match the return type of a gcc2
59960 builtin and then its argument prototype would still apply. */
59962 /* The GNU C library defines this for functions which it implements
59963 to always fail with ENOSYS. Some functions are actually named
59964 something starting with __ and the normal name is an alias. */
59965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59968 char (*f) () = $ac_func;
59977 return f != $ac_func;
59982 rm -f conftest.$ac_objext conftest$ac_exeext
59983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59984 (eval $ac_link) 2>&5
59986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59987 (exit $ac_status); } &&
59988 { ac_try='test -s conftest$ac_exeext'
59989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59990 (eval $ac_try) 2>&5
59992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59993 (exit $ac_status); }; }; then
59994 eval "$as_ac_var=yes"
59996 echo "$as_me: failed program was:" >&5
59997 sed 's/^/| /' conftest.$ac_ext >&5
59999 eval "$as_ac_var=no"
60001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60005 if test `eval echo '${'$as_ac_var'}'` = yes; then
60006 cat >>confdefs.h <<_ACEOF
60007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60016 # Checks for wide character functions that are not required
60017 # for basic wchar_t support. Don't disable support if they are missing.
60018 # Injection of these is wrapped with guard macros.
60024 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
60026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60027 echo "$as_me:$LINENO: checking for $ac_func" >&5
60028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60029 if eval "test \"\${$as_ac_var+set}\" = set"; then
60030 echo $ECHO_N "(cached) $ECHO_C" >&6
60032 if test x$gcc_no_link = xyes; then
60033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60035 { (exit 1); exit 1; }; }
60037 cat >conftest.$ac_ext <<_ACEOF
60038 #line $LINENO "configure"
60041 cat confdefs.h >>conftest.$ac_ext
60042 cat >>conftest.$ac_ext <<_ACEOF
60043 /* end confdefs.h. */
60044 /* System header to define __stub macros and hopefully few prototypes,
60045 which can conflict with char $ac_func (); below.
60046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60047 <limits.h> exists even on freestanding compilers. */
60049 # include <limits.h>
60051 # include <assert.h>
60053 /* Override any gcc2 internal prototype to avoid an error. */
60058 /* We use char because int might match the return type of a gcc2
60059 builtin and then its argument prototype would still apply. */
60061 /* The GNU C library defines this for functions which it implements
60062 to always fail with ENOSYS. Some functions are actually named
60063 something starting with __ and the normal name is an alias. */
60064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60067 char (*f) () = $ac_func;
60076 return f != $ac_func;
60081 rm -f conftest.$ac_objext conftest$ac_exeext
60082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60083 (eval $ac_link) 2>&5
60085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60086 (exit $ac_status); } &&
60087 { ac_try='test -s conftest$ac_exeext'
60088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60089 (eval $ac_try) 2>&5
60091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60092 (exit $ac_status); }; }; then
60093 eval "$as_ac_var=yes"
60095 echo "$as_me: failed program was:" >&5
60096 sed 's/^/| /' conftest.$ac_ext >&5
60098 eval "$as_ac_var=no"
60100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60104 if test `eval echo '${'$as_ac_var'}'` = yes; then
60105 cat >>confdefs.h <<_ACEOF
60106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60113 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
60114 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
60115 if test x"$has_weof" = xyes &&
60116 test x"$has_wchar_minmax" = xyes &&
60117 test x"$ac_wfuncs" = xyes;
60119 ac_isoC99_wchar_t=yes
60121 ac_isoC99_wchar_t=no
60123 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
60124 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
60126 # Use iconv for wchar_t to char conversions. As such, check for
60127 # X/Open Portability Guide, version 2 features (XPG2).
60128 if test "${ac_cv_header_iconv_h+set}" = set; then
60129 echo "$as_me:$LINENO: checking for iconv.h" >&5
60130 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60131 if test "${ac_cv_header_iconv_h+set}" = set; then
60132 echo $ECHO_N "(cached) $ECHO_C" >&6
60134 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60135 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60137 # Is the header compilable?
60138 echo "$as_me:$LINENO: checking iconv.h usability" >&5
60139 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60140 cat >conftest.$ac_ext <<_ACEOF
60141 #line $LINENO "configure"
60144 cat confdefs.h >>conftest.$ac_ext
60145 cat >>conftest.$ac_ext <<_ACEOF
60146 /* end confdefs.h. */
60147 $ac_includes_default
60150 rm -f conftest.$ac_objext
60151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60152 (eval $ac_compile) 2>&5
60154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60155 (exit $ac_status); } &&
60156 { ac_try='test -s conftest.$ac_objext'
60157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60158 (eval $ac_try) 2>&5
60160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60161 (exit $ac_status); }; }; then
60162 ac_header_compiler=yes
60164 echo "$as_me: failed program was:" >&5
60165 sed 's/^/| /' conftest.$ac_ext >&5
60167 ac_header_compiler=no
60169 rm -f conftest.$ac_objext conftest.$ac_ext
60170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60171 echo "${ECHO_T}$ac_header_compiler" >&6
60173 # Is the header present?
60174 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60175 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60176 cat >conftest.$ac_ext <<_ACEOF
60177 #line $LINENO "configure"
60180 cat confdefs.h >>conftest.$ac_ext
60181 cat >>conftest.$ac_ext <<_ACEOF
60182 /* end confdefs.h. */
60185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60188 grep -v '^ *+' conftest.er1 >conftest.err
60190 cat conftest.err >&5
60191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192 (exit $ac_status); } >/dev/null; then
60193 if test -s conftest.err; then
60194 ac_cpp_err=$ac_c_preproc_warn_flag
60201 if test -z "$ac_cpp_err"; then
60202 ac_header_preproc=yes
60204 echo "$as_me: failed program was:" >&5
60205 sed 's/^/| /' conftest.$ac_ext >&5
60207 ac_header_preproc=no
60209 rm -f conftest.err conftest.$ac_ext
60210 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60211 echo "${ECHO_T}$ac_header_preproc" >&6
60213 # So? What about this header?
60214 case $ac_header_compiler:$ac_header_preproc in
60216 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60217 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60218 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60219 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60222 ## ------------------------------------ ##
60223 ## Report this to bug-autoconf@gnu.org. ##
60224 ## ------------------------------------ ##
60227 sed "s/^/$as_me: WARNING: /" >&2
60230 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60231 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60232 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60233 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60234 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60235 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60238 ## ------------------------------------ ##
60239 ## Report this to bug-autoconf@gnu.org. ##
60240 ## ------------------------------------ ##
60243 sed "s/^/$as_me: WARNING: /" >&2
60246 echo "$as_me:$LINENO: checking for iconv.h" >&5
60247 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60248 if test "${ac_cv_header_iconv_h+set}" = set; then
60249 echo $ECHO_N "(cached) $ECHO_C" >&6
60251 ac_cv_header_iconv_h=$ac_header_preproc
60253 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60254 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60257 if test $ac_cv_header_iconv_h = yes; then
60264 if test "${ac_cv_header_langinfo_h+set}" = set; then
60265 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60266 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60267 if test "${ac_cv_header_langinfo_h+set}" = set; then
60268 echo $ECHO_N "(cached) $ECHO_C" >&6
60270 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60271 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60273 # Is the header compilable?
60274 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60275 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60276 cat >conftest.$ac_ext <<_ACEOF
60277 #line $LINENO "configure"
60280 cat confdefs.h >>conftest.$ac_ext
60281 cat >>conftest.$ac_ext <<_ACEOF
60282 /* end confdefs.h. */
60283 $ac_includes_default
60284 #include <langinfo.h>
60286 rm -f conftest.$ac_objext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60288 (eval $ac_compile) 2>&5
60290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60291 (exit $ac_status); } &&
60292 { ac_try='test -s conftest.$ac_objext'
60293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60294 (eval $ac_try) 2>&5
60296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60297 (exit $ac_status); }; }; then
60298 ac_header_compiler=yes
60300 echo "$as_me: failed program was:" >&5
60301 sed 's/^/| /' conftest.$ac_ext >&5
60303 ac_header_compiler=no
60305 rm -f conftest.$ac_objext conftest.$ac_ext
60306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60307 echo "${ECHO_T}$ac_header_compiler" >&6
60309 # Is the header present?
60310 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60311 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60312 cat >conftest.$ac_ext <<_ACEOF
60313 #line $LINENO "configure"
60316 cat confdefs.h >>conftest.$ac_ext
60317 cat >>conftest.$ac_ext <<_ACEOF
60318 /* end confdefs.h. */
60319 #include <langinfo.h>
60321 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60322 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60324 grep -v '^ *+' conftest.er1 >conftest.err
60326 cat conftest.err >&5
60327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60328 (exit $ac_status); } >/dev/null; then
60329 if test -s conftest.err; then
60330 ac_cpp_err=$ac_c_preproc_warn_flag
60337 if test -z "$ac_cpp_err"; then
60338 ac_header_preproc=yes
60340 echo "$as_me: failed program was:" >&5
60341 sed 's/^/| /' conftest.$ac_ext >&5
60343 ac_header_preproc=no
60345 rm -f conftest.err conftest.$ac_ext
60346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60347 echo "${ECHO_T}$ac_header_preproc" >&6
60349 # So? What about this header?
60350 case $ac_header_compiler:$ac_header_preproc in
60352 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60353 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60354 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60355 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60358 ## ------------------------------------ ##
60359 ## Report this to bug-autoconf@gnu.org. ##
60360 ## ------------------------------------ ##
60363 sed "s/^/$as_me: WARNING: /" >&2
60366 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60367 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60368 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60369 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60370 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60371 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60374 ## ------------------------------------ ##
60375 ## Report this to bug-autoconf@gnu.org. ##
60376 ## ------------------------------------ ##
60379 sed "s/^/$as_me: WARNING: /" >&2
60382 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60383 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60384 if test "${ac_cv_header_langinfo_h+set}" = set; then
60385 echo $ECHO_N "(cached) $ECHO_C" >&6
60387 ac_cv_header_langinfo_h=$ac_header_preproc
60389 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60390 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60393 if test $ac_cv_header_langinfo_h = yes; then
60394 ac_has_langinfo_h=yes
60396 ac_has_langinfo_h=no
60401 # Check for existence of libiconv.a providing XPG2 wchar_t support.
60402 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60403 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60404 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60405 echo $ECHO_N "(cached) $ECHO_C" >&6
60407 ac_check_lib_save_LIBS=$LIBS
60408 LIBS="-liconv $LIBS"
60409 if test x$gcc_no_link = xyes; then
60410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60412 { (exit 1); exit 1; }; }
60414 cat >conftest.$ac_ext <<_ACEOF
60415 #line $LINENO "configure"
60418 cat confdefs.h >>conftest.$ac_ext
60419 cat >>conftest.$ac_ext <<_ACEOF
60420 /* end confdefs.h. */
60422 /* Override any gcc2 internal prototype to avoid an error. */
60426 /* We use char because int might match the return type of a gcc2
60427 builtin and then its argument prototype would still apply. */
60437 rm -f conftest.$ac_objext conftest$ac_exeext
60438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60439 (eval $ac_link) 2>&5
60441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60442 (exit $ac_status); } &&
60443 { ac_try='test -s conftest$ac_exeext'
60444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60445 (eval $ac_try) 2>&5
60447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60448 (exit $ac_status); }; }; then
60449 ac_cv_lib_iconv_iconv=yes
60451 echo "$as_me: failed program was:" >&5
60452 sed 's/^/| /' conftest.$ac_ext >&5
60454 ac_cv_lib_iconv_iconv=no
60456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60457 LIBS=$ac_check_lib_save_LIBS
60459 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60460 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60461 if test $ac_cv_lib_iconv_iconv = yes; then
60465 ac_save_LIBS="$LIBS"
60466 LIBS="$LIBS $libiconv"
60472 for ac_func in iconv_open iconv_close iconv nl_langinfo
60474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60475 echo "$as_me:$LINENO: checking for $ac_func" >&5
60476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60477 if eval "test \"\${$as_ac_var+set}\" = set"; then
60478 echo $ECHO_N "(cached) $ECHO_C" >&6
60480 if test x$gcc_no_link = xyes; then
60481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60483 { (exit 1); exit 1; }; }
60485 cat >conftest.$ac_ext <<_ACEOF
60486 #line $LINENO "configure"
60489 cat confdefs.h >>conftest.$ac_ext
60490 cat >>conftest.$ac_ext <<_ACEOF
60491 /* end confdefs.h. */
60492 /* System header to define __stub macros and hopefully few prototypes,
60493 which can conflict with char $ac_func (); below.
60494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60495 <limits.h> exists even on freestanding compilers. */
60497 # include <limits.h>
60499 # include <assert.h>
60501 /* Override any gcc2 internal prototype to avoid an error. */
60506 /* We use char because int might match the return type of a gcc2
60507 builtin and then its argument prototype would still apply. */
60509 /* The GNU C library defines this for functions which it implements
60510 to always fail with ENOSYS. Some functions are actually named
60511 something starting with __ and the normal name is an alias. */
60512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60515 char (*f) () = $ac_func;
60524 return f != $ac_func;
60529 rm -f conftest.$ac_objext conftest$ac_exeext
60530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60531 (eval $ac_link) 2>&5
60533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60534 (exit $ac_status); } &&
60535 { ac_try='test -s conftest$ac_exeext'
60536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60537 (eval $ac_try) 2>&5
60539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60540 (exit $ac_status); }; }; then
60541 eval "$as_ac_var=yes"
60543 echo "$as_me: failed program was:" >&5
60544 sed 's/^/| /' conftest.$ac_ext >&5
60546 eval "$as_ac_var=no"
60548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60552 if test `eval echo '${'$as_ac_var'}'` = yes; then
60553 cat >>confdefs.h <<_ACEOF
60554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60563 LIBS="$ac_save_LIBS"
60565 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60566 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60567 if test x"$ac_has_iconv_h" = xyes &&
60568 test x"$ac_has_langinfo_h" = xyes &&
60569 test x"$ac_XPG2funcs" = xyes;
60571 ac_XPG2_wchar_t=yes
60575 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60576 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60578 # At the moment, only enable wchar_t specializations if all the
60579 # above support is present.
60580 if test x"$ac_isoC99_wchar_t" = xyes &&
60581 test x"$ac_XPG2_wchar_t" = xyes;
60583 cat >>confdefs.h <<\_ACEOF
60584 #define _GLIBCXX_USE_WCHAR_T 1
60590 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60591 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60592 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60593 echo "${ECHO_T}$enable_wchar_t" >&6
60595 # All of the dependencies for wide character support are here, so
60596 # turn it on. This requires some syncronization with the
60597 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60598 cat >>confdefs.h <<\_ACEOF
60599 #define _GLIBCXX_USE_WCHAR_T 1
60602 # Are these tested for even when cross?
60603 cat >>confdefs.h <<\_ACEOF
60604 #define HAVE_FLOAT_H 1
60607 cat >>confdefs.h <<\_ACEOF
60608 #define HAVE_IEEEFP_H 1
60611 cat >>confdefs.h <<\_ACEOF
60612 #define HAVE_INTTYPES_H 1
60615 cat >>confdefs.h <<\_ACEOF
60616 #define HAVE_LOCALE_H 1
60619 cat >>confdefs.h <<\_ACEOF
60620 #define HAVE_NAN_H 1
60623 cat >>confdefs.h <<\_ACEOF
60624 #define HAVE_SYS_FILIO_H 1
60627 cat >>confdefs.h <<\_ACEOF
60628 #define HAVE_SYS_IOCTL_H 1
60631 cat >>confdefs.h <<\_ACEOF
60632 #define HAVE_SYS_ISA_DEFS_H 1
60635 cat >>confdefs.h <<\_ACEOF
60636 #define HAVE_SYS_RESOURCE_H 1
60639 cat >>confdefs.h <<\_ACEOF
60640 #define HAVE_SYS_TIME_H 1
60643 cat >>confdefs.h <<\_ACEOF
60644 #define HAVE_SYS_TYPES_H 1
60647 cat >>confdefs.h <<\_ACEOF
60648 #define HAVE_UNISTD_H 1
60651 cat >>confdefs.h <<\_ACEOF
60652 #define HAVE_WCHAR_H 1
60655 cat >>confdefs.h <<\_ACEOF
60656 #define HAVE_WCTYPE_H 1
60659 cat >>confdefs.h <<\_ACEOF
60660 #define HAVE_LIBM 1
60666 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60667 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60668 cat >>confdefs.h <<\_ACEOF
60669 #define HAVE___BUILTIN_ABS 1
60672 cat >>confdefs.h <<\_ACEOF
60673 #define HAVE___BUILTIN_LABS 1
60676 cat >>confdefs.h <<\_ACEOF
60677 #define HAVE___BUILTIN_FABS 1
60680 cat >>confdefs.h <<\_ACEOF
60681 #define HAVE___BUILTIN_FABSF 1
60684 cat >>confdefs.h <<\_ACEOF
60685 #define HAVE___BUILTIN_FABSL 1
60688 cat >>confdefs.h <<\_ACEOF
60689 #define HAVE___BUILTIN_COS 1
60692 cat >>confdefs.h <<\_ACEOF
60693 #define HAVE___BUILTIN_COSF 1
60696 cat >>confdefs.h <<\_ACEOF
60697 #define HAVE___BUILTIN_SIN 1
60700 cat >>confdefs.h <<\_ACEOF
60701 #define HAVE___BUILTIN_SINF 1
60706 cat >>confdefs.h <<\_ACEOF
60707 #define HAVE_STRTOF 1
60710 cat >>confdefs.h <<\_ACEOF
60711 #define HAVE_STRTOLD 1
60714 cat >>confdefs.h <<\_ACEOF
60715 #define HAVE_MMAP 1
60718 cat >>confdefs.h <<\_ACEOF
60719 #define HAVE_COPYSIGN 1
60722 cat >>confdefs.h <<\_ACEOF
60723 #define HAVE_ISNAN 1
60726 cat >>confdefs.h <<\_ACEOF
60727 #define HAVE_ISNANF 1
60730 cat >>confdefs.h <<\_ACEOF
60731 #define HAVE_MODFF 1
60734 cat >>confdefs.h <<\_ACEOF
60735 #define HAVE_HYPOT 1
60740 cat >>confdefs.h <<\_ACEOF
60741 #define HAVE_MMAP 1
60744 cat >>confdefs.h <<\_ACEOF
60745 #define HAVE_ACOSF 1
60748 cat >>confdefs.h <<\_ACEOF
60749 #define HAVE_ASINF 1
60752 cat >>confdefs.h <<\_ACEOF
60753 #define HAVE_ATAN2F 1
60756 cat >>confdefs.h <<\_ACEOF
60757 #define HAVE_ATANF 1
60760 cat >>confdefs.h <<\_ACEOF
60761 #define HAVE_CEILF 1
60764 cat >>confdefs.h <<\_ACEOF
60765 #define HAVE_COSF 1
60768 cat >>confdefs.h <<\_ACEOF
60769 #define HAVE_COSHF 1
60772 cat >>confdefs.h <<\_ACEOF
60773 #define HAVE_EXPF 1
60776 cat >>confdefs.h <<\_ACEOF
60777 #define HAVE_FABSF 1
60780 cat >>confdefs.h <<\_ACEOF
60781 #define HAVE_FLOORF 1
60784 cat >>confdefs.h <<\_ACEOF
60785 #define HAVE_FMODF 1
60788 cat >>confdefs.h <<\_ACEOF
60789 #define HAVE_HYPOT 1
60792 cat >>confdefs.h <<\_ACEOF
60793 #define HAVE_LOG10F 1
60796 cat >>confdefs.h <<\_ACEOF
60797 #define HAVE_LOGF 1
60800 cat >>confdefs.h <<\_ACEOF
60801 #define HAVE_POWF 1
60804 cat >>confdefs.h <<\_ACEOF
60805 #define HAVE_SINF 1
60808 cat >>confdefs.h <<\_ACEOF
60809 #define HAVE_SINHF 1
60812 cat >>confdefs.h <<\_ACEOF
60813 #define HAVE_SQRTF 1
60816 cat >>confdefs.h <<\_ACEOF
60817 #define HAVE_TANF 1
60820 cat >>confdefs.h <<\_ACEOF
60821 #define HAVE_TANHF 1
60826 cat >>confdefs.h <<\_ACEOF
60827 #define HAVE_ACOSF 1
60830 cat >>confdefs.h <<\_ACEOF
60831 #define HAVE_ACOSL 1
60834 cat >>confdefs.h <<\_ACEOF
60835 #define HAVE_ASINF 1
60838 cat >>confdefs.h <<\_ACEOF
60839 #define HAVE_ASINL 1
60842 cat >>confdefs.h <<\_ACEOF
60843 #define HAVE_ATAN2F 1
60846 cat >>confdefs.h <<\_ACEOF
60847 #define HAVE_ATAN2L 1
60850 cat >>confdefs.h <<\_ACEOF
60851 #define HAVE_ATANF 1
60854 cat >>confdefs.h <<\_ACEOF
60855 #define HAVE_ATANL 1
60858 cat >>confdefs.h <<\_ACEOF
60859 #define HAVE_CEILF 1
60862 cat >>confdefs.h <<\_ACEOF
60863 #define HAVE_CEILL 1
60866 cat >>confdefs.h <<\_ACEOF
60867 #define HAVE_COPYSIGN 1
60870 cat >>confdefs.h <<\_ACEOF
60871 #define HAVE_COPYSIGNF 1
60874 cat >>confdefs.h <<\_ACEOF
60875 #define HAVE_COSF 1
60878 cat >>confdefs.h <<\_ACEOF
60879 #define HAVE_COSL 1
60882 cat >>confdefs.h <<\_ACEOF
60883 #define HAVE_COSHF 1
60886 cat >>confdefs.h <<\_ACEOF
60887 #define HAVE_COSHL 1
60890 cat >>confdefs.h <<\_ACEOF
60891 #define HAVE_EXPF 1
60894 cat >>confdefs.h <<\_ACEOF
60895 #define HAVE_EXPL 1
60898 cat >>confdefs.h <<\_ACEOF
60899 #define HAVE_FABSF 1
60902 cat >>confdefs.h <<\_ACEOF
60903 #define HAVE_FABSL 1
60906 cat >>confdefs.h <<\_ACEOF
60907 #define HAVE_FLOORF 1
60910 cat >>confdefs.h <<\_ACEOF
60911 #define HAVE_FLOORL 1
60914 cat >>confdefs.h <<\_ACEOF
60915 #define HAVE_FMODF 1
60918 cat >>confdefs.h <<\_ACEOF
60919 #define HAVE_FMODL 1
60922 cat >>confdefs.h <<\_ACEOF
60923 #define HAVE_FREXPF 1
60926 cat >>confdefs.h <<\_ACEOF
60927 #define HAVE_FREXPL 1
60930 cat >>confdefs.h <<\_ACEOF
60931 #define HAVE_LDEXPF 1
60934 cat >>confdefs.h <<\_ACEOF
60935 #define HAVE_LDEXPL 1
60938 cat >>confdefs.h <<\_ACEOF
60939 #define HAVE_LOG10F 1
60942 cat >>confdefs.h <<\_ACEOF
60943 #define HAVE_LOG10L 1
60946 cat >>confdefs.h <<\_ACEOF
60947 #define HAVE_LOGF 1
60950 cat >>confdefs.h <<\_ACEOF
60951 #define HAVE_MODFF 1
60954 cat >>confdefs.h <<\_ACEOF
60955 #define HAVE_MODFL 1
60958 cat >>confdefs.h <<\_ACEOF
60959 #define HAVE_POWF 1
60962 cat >>confdefs.h <<\_ACEOF
60963 #define HAVE_POWL 1
60966 cat >>confdefs.h <<\_ACEOF
60967 #define HAVE_SINF 1
60970 cat >>confdefs.h <<\_ACEOF
60971 #define HAVE_SINL 1
60974 cat >>confdefs.h <<\_ACEOF
60975 #define HAVE_SINHF 1
60978 cat >>confdefs.h <<\_ACEOF
60979 #define HAVE_SINHL 1
60982 cat >>confdefs.h <<\_ACEOF
60983 #define HAVE_SQRTF 1
60986 cat >>confdefs.h <<\_ACEOF
60987 #define HAVE_SQRTL 1
60990 cat >>confdefs.h <<\_ACEOF
60991 #define HAVE_TANF 1
60994 cat >>confdefs.h <<\_ACEOF
60995 #define HAVE_TANL 1
60998 cat >>confdefs.h <<\_ACEOF
60999 #define HAVE_TANHF 1
61002 cat >>confdefs.h <<\_ACEOF
61003 #define HAVE_TANHL 1
61008 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
61009 echo "$as_me: error: No support for this host/target combination." >&2;}
61010 { (exit 1); exit 1; }; }
61017 # At some point, we should differentiate between architectures
61018 # like x86, which have long double versions, and alpha/powerpc/etc.,
61019 # which don't. For the time being, punt.
61020 if test x"long_double_math_on_this_cpu" = x"yes"; then
61021 cat >>confdefs.h <<\_ACEOF
61022 #define HAVE_ACOSL 1
61025 cat >>confdefs.h <<\_ACEOF
61026 #define HAVE_ASINL 1
61029 cat >>confdefs.h <<\_ACEOF
61030 #define HAVE_ATAN2L 1
61033 cat >>confdefs.h <<\_ACEOF
61034 #define HAVE_ATANL 1
61037 cat >>confdefs.h <<\_ACEOF
61038 #define HAVE_CEILL 1
61041 cat >>confdefs.h <<\_ACEOF
61042 #define HAVE_COPYSIGNL 1
61045 cat >>confdefs.h <<\_ACEOF
61046 #define HAVE_COSL 1
61049 cat >>confdefs.h <<\_ACEOF
61050 #define HAVE_COSHL 1
61053 cat >>confdefs.h <<\_ACEOF
61054 #define HAVE_EXPL 1
61057 cat >>confdefs.h <<\_ACEOF
61058 #define HAVE_FABSL 1
61061 cat >>confdefs.h <<\_ACEOF
61062 #define HAVE_FLOORL 1
61065 cat >>confdefs.h <<\_ACEOF
61066 #define HAVE_FMODL 1
61069 cat >>confdefs.h <<\_ACEOF
61070 #define HAVE_FREXPL 1
61073 cat >>confdefs.h <<\_ACEOF
61074 #define HAVE_LDEXPL 1
61077 cat >>confdefs.h <<\_ACEOF
61078 #define HAVE_LOG10L 1
61081 cat >>confdefs.h <<\_ACEOF
61082 #define HAVE_LOGL 1
61085 cat >>confdefs.h <<\_ACEOF
61086 #define HAVE_MODFL 1
61089 cat >>confdefs.h <<\_ACEOF
61090 #define HAVE_POWL 1
61093 cat >>confdefs.h <<\_ACEOF
61094 #define HAVE_SINCOSL 1
61097 cat >>confdefs.h <<\_ACEOF
61098 #define HAVE_SINL 1
61101 cat >>confdefs.h <<\_ACEOF
61102 #define HAVE_SINHL 1
61105 cat >>confdefs.h <<\_ACEOF
61106 #define HAVE_SQRTL 1
61109 cat >>confdefs.h <<\_ACEOF
61110 #define HAVE_TANL 1
61113 cat >>confdefs.h <<\_ACEOF
61114 #define HAVE_TANHL 1
61121 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
61124 # Check whether --enable-symvers or --disable-symvers was given.
61125 if test "${enable_symvers+set}" = set; then
61126 enableval="$enable_symvers"
61128 case "$enableval" in
61130 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
61131 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
61132 { (exit 1); exit 1; }; } ;;
61140 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
61141 # don't know enough about $LD to do tricks...
61143 # FIXME The following test is too strict, in theory.
61144 if test $enable_shared = no ||
61146 test x$glibcxx_gnu_ld_version = x; then
61150 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
61151 if test $enable_symvers != no; then
61152 echo "$as_me:$LINENO: checking for shared libgcc" >&5
61153 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
61154 ac_save_CFLAGS="$CFLAGS"
61156 if test x$gcc_no_link = xyes; then
61157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61159 { (exit 1); exit 1; }; }
61161 cat >conftest.$ac_ext <<_ACEOF
61162 #line $LINENO "configure"
61165 cat confdefs.h >>conftest.$ac_ext
61166 cat >>conftest.$ac_ext <<_ACEOF
61167 /* end confdefs.h. */
61177 rm -f conftest.$ac_objext conftest$ac_exeext
61178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61179 (eval $ac_link) 2>&5
61181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61182 (exit $ac_status); } &&
61183 { ac_try='test -s conftest$ac_exeext'
61184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61185 (eval $ac_try) 2>&5
61187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61188 (exit $ac_status); }; }; then
61189 glibcxx_shared_libgcc=yes
61191 echo "$as_me: failed program was:" >&5
61192 sed 's/^/| /' conftest.$ac_ext >&5
61194 glibcxx_shared_libgcc=no
61196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61197 CFLAGS="$ac_save_CFLAGS"
61198 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
61199 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
61202 # For GNU ld, we need at least this version. The format is described in
61203 # GLIBCXX_CHECK_LINKER_FEATURES above.
61204 glibcxx_min_gnu_ld_version=21400
61205 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
61207 # Check to see if unspecified "yes" value can win, given results above.
61208 # Change "yes" into either "no" or a style name.
61209 if test $enable_symvers = yes; then
61210 if test $with_gnu_ld = yes &&
61211 test $glibcxx_shared_libgcc = yes;
61213 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
61216 # The right tools, the right setup, but too old. Fallbacks?
61217 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
61218 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
61219 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
61220 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
61221 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
61222 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
61223 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
61224 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
61225 if test $glibcxx_gnu_ld_version -ge 21200 ; then
61226 # Globbing fix is present, proper block support is not.
61227 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61228 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61232 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61233 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61238 # just fail for now
61239 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
61240 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
61241 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
61242 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
61243 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
61244 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
61245 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
61246 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
61251 # Everything parsed; figure out what file to use.
61252 case $enable_symvers in
61254 SYMVER_MAP=config/linker-map.dummy
61257 SYMVER_MAP=config/linker-map.gnu
61258 cat >>confdefs.h <<\_ACEOF
61259 #define _GLIBCXX_SYMVER 1
61268 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
61269 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
61272 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
61274 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
61275 # Do checks for memory limit functions.
61277 setrlimit_have_headers=yes
61281 for ac_header in unistd.h sys/time.h sys/resource.h
61283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61284 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61285 echo "$as_me:$LINENO: checking for $ac_header" >&5
61286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61288 echo $ECHO_N "(cached) $ECHO_C" >&6
61290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61291 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61293 # Is the header compilable?
61294 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61295 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61296 cat >conftest.$ac_ext <<_ACEOF
61297 #line $LINENO "configure"
61300 cat confdefs.h >>conftest.$ac_ext
61301 cat >>conftest.$ac_ext <<_ACEOF
61302 /* end confdefs.h. */
61303 $ac_includes_default
61304 #include <$ac_header>
61306 rm -f conftest.$ac_objext
61307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61308 (eval $ac_compile) 2>&5
61310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61311 (exit $ac_status); } &&
61312 { ac_try='test -s conftest.$ac_objext'
61313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61314 (eval $ac_try) 2>&5
61316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61317 (exit $ac_status); }; }; then
61318 ac_header_compiler=yes
61320 echo "$as_me: failed program was:" >&5
61321 sed 's/^/| /' conftest.$ac_ext >&5
61323 ac_header_compiler=no
61325 rm -f conftest.$ac_objext conftest.$ac_ext
61326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61327 echo "${ECHO_T}$ac_header_compiler" >&6
61329 # Is the header present?
61330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61332 cat >conftest.$ac_ext <<_ACEOF
61333 #line $LINENO "configure"
61336 cat confdefs.h >>conftest.$ac_ext
61337 cat >>conftest.$ac_ext <<_ACEOF
61338 /* end confdefs.h. */
61339 #include <$ac_header>
61341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61344 grep -v '^ *+' conftest.er1 >conftest.err
61346 cat conftest.err >&5
61347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61348 (exit $ac_status); } >/dev/null; then
61349 if test -s conftest.err; then
61350 ac_cpp_err=$ac_c_preproc_warn_flag
61357 if test -z "$ac_cpp_err"; then
61358 ac_header_preproc=yes
61360 echo "$as_me: failed program was:" >&5
61361 sed 's/^/| /' conftest.$ac_ext >&5
61363 ac_header_preproc=no
61365 rm -f conftest.err conftest.$ac_ext
61366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61367 echo "${ECHO_T}$ac_header_preproc" >&6
61369 # So? What about this header?
61370 case $ac_header_compiler:$ac_header_preproc in
61372 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61374 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61375 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61378 ## ------------------------------------ ##
61379 ## Report this to bug-autoconf@gnu.org. ##
61380 ## ------------------------------------ ##
61383 sed "s/^/$as_me: WARNING: /" >&2
61386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61391 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61394 ## ------------------------------------ ##
61395 ## Report this to bug-autoconf@gnu.org. ##
61396 ## ------------------------------------ ##
61399 sed "s/^/$as_me: WARNING: /" >&2
61402 echo "$as_me:$LINENO: checking for $ac_header" >&5
61403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61405 echo $ECHO_N "(cached) $ECHO_C" >&6
61407 eval "$as_ac_Header=$ac_header_preproc"
61409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61414 cat >>confdefs.h <<_ACEOF
61415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61419 setrlimit_have_headers=no
61424 # If don't have the headers, then we can't run the tests now, and we
61425 # won't be seeing any of these during testsuite compilation.
61426 if test $setrlimit_have_headers = yes; then
61427 # Can't do these in a loop, else the resulting syntax is wrong.
61429 cat >conftest.$ac_ext <<_ACEOF
61430 #line $LINENO "configure"
61433 cat confdefs.h >>conftest.$ac_ext
61434 cat >>conftest.$ac_ext <<_ACEOF
61435 /* end confdefs.h. */
61436 #include <unistd.h>
61437 #include <sys/time.h>
61438 #include <sys/resource.h>
61443 int f = RLIMIT_DATA ;
61448 rm -f conftest.$ac_objext
61449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61450 (eval $ac_compile) 2>&5
61452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61453 (exit $ac_status); } &&
61454 { ac_try='test -s conftest.$ac_objext'
61455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61456 (eval $ac_try) 2>&5
61458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61459 (exit $ac_status); }; }; then
61462 echo "$as_me: failed program was:" >&5
61463 sed 's/^/| /' conftest.$ac_ext >&5
61467 rm -f conftest.$ac_objext conftest.$ac_ext
61469 cat >>confdefs.h <<_ACEOF
61470 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
61475 cat >conftest.$ac_ext <<_ACEOF
61476 #line $LINENO "configure"
61479 cat confdefs.h >>conftest.$ac_ext
61480 cat >>conftest.$ac_ext <<_ACEOF
61481 /* end confdefs.h. */
61482 #include <unistd.h>
61483 #include <sys/time.h>
61484 #include <sys/resource.h>
61489 int f = RLIMIT_RSS ;
61494 rm -f conftest.$ac_objext
61495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61496 (eval $ac_compile) 2>&5
61498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61499 (exit $ac_status); } &&
61500 { ac_try='test -s conftest.$ac_objext'
61501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61502 (eval $ac_try) 2>&5
61504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61505 (exit $ac_status); }; }; then
61508 echo "$as_me: failed program was:" >&5
61509 sed 's/^/| /' conftest.$ac_ext >&5
61513 rm -f conftest.$ac_objext conftest.$ac_ext
61515 cat >>confdefs.h <<_ACEOF
61516 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
61521 cat >conftest.$ac_ext <<_ACEOF
61522 #line $LINENO "configure"
61525 cat confdefs.h >>conftest.$ac_ext
61526 cat >>conftest.$ac_ext <<_ACEOF
61527 /* end confdefs.h. */
61528 #include <unistd.h>
61529 #include <sys/time.h>
61530 #include <sys/resource.h>
61535 int f = RLIMIT_VMEM ;
61540 rm -f conftest.$ac_objext
61541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61542 (eval $ac_compile) 2>&5
61544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545 (exit $ac_status); } &&
61546 { ac_try='test -s conftest.$ac_objext'
61547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61548 (eval $ac_try) 2>&5
61550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61551 (exit $ac_status); }; }; then
61554 echo "$as_me: failed program was:" >&5
61555 sed 's/^/| /' conftest.$ac_ext >&5
61559 rm -f conftest.$ac_objext conftest.$ac_ext
61561 cat >>confdefs.h <<_ACEOF
61562 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
61567 cat >conftest.$ac_ext <<_ACEOF
61568 #line $LINENO "configure"
61571 cat confdefs.h >>conftest.$ac_ext
61572 cat >>conftest.$ac_ext <<_ACEOF
61573 /* end confdefs.h. */
61574 #include <unistd.h>
61575 #include <sys/time.h>
61576 #include <sys/resource.h>
61581 int f = RLIMIT_AS ;
61586 rm -f conftest.$ac_objext
61587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61588 (eval $ac_compile) 2>&5
61590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61591 (exit $ac_status); } &&
61592 { ac_try='test -s conftest.$ac_objext'
61593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61594 (eval $ac_try) 2>&5
61596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61597 (exit $ac_status); }; }; then
61600 echo "$as_me: failed program was:" >&5
61601 sed 's/^/| /' conftest.$ac_ext >&5
61605 rm -f conftest.$ac_objext conftest.$ac_ext
61607 cat >>confdefs.h <<_ACEOF
61608 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
61613 # Check for rlimit, setrlimit.
61614 if test "${ac_setrlimit+set}" = set; then
61615 echo $ECHO_N "(cached) $ECHO_C" >&6
61618 cat >conftest.$ac_ext <<_ACEOF
61619 #line $LINENO "configure"
61622 cat confdefs.h >>conftest.$ac_ext
61623 cat >>conftest.$ac_ext <<_ACEOF
61624 /* end confdefs.h. */
61625 #include <unistd.h>
61626 #include <sys/time.h>
61627 #include <sys/resource.h>
61638 rm -f conftest.$ac_objext
61639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61640 (eval $ac_compile) 2>&5
61642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61643 (exit $ac_status); } &&
61644 { ac_try='test -s conftest.$ac_objext'
61645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61646 (eval $ac_try) 2>&5
61648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61649 (exit $ac_status); }; }; then
61652 echo "$as_me: failed program was:" >&5
61653 sed 's/^/| /' conftest.$ac_ext >&5
61657 rm -f conftest.$ac_objext conftest.$ac_ext
61663 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
61664 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
61665 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
61667 cat >>confdefs.h <<\_ACEOF
61668 #define _GLIBCXX_MEM_LIMITS 1
61674 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
61675 echo "${ECHO_T}$ac_mem_limits" >&6
61678 # Look for setenv, so that extended locale tests can be performed.
61680 echo "$as_me:$LINENO: checking for setenv declaration" >&5
61681 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
61682 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
61683 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
61684 echo $ECHO_N "(cached) $ECHO_C" >&6
61690 ac_cpp='$CXXCPP $CPPFLAGS'
61691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61695 cat >conftest.$ac_ext <<_ACEOF
61696 #line $LINENO "configure"
61699 cat confdefs.h >>conftest.$ac_ext
61700 cat >>conftest.$ac_ext <<_ACEOF
61701 /* end confdefs.h. */
61702 #include <stdlib.h>
61711 rm -f conftest.$ac_objext
61712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61713 (eval $ac_compile) 2>&5
61715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716 (exit $ac_status); } &&
61717 { ac_try='test -s conftest.$ac_objext'
61718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61719 (eval $ac_try) 2>&5
61721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61722 (exit $ac_status); }; }; then
61723 glibcxx_cv_func_setenv_use=yes
61725 echo "$as_me: failed program was:" >&5
61726 sed 's/^/| /' conftest.$ac_ext >&5
61728 glibcxx_cv_func_setenv_use=no
61730 rm -f conftest.$ac_objext conftest.$ac_ext
61732 ac_cpp='$CPP $CPPFLAGS'
61733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61741 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
61742 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
61743 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
61745 for ac_func in setenv
61747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61748 echo "$as_me:$LINENO: checking for $ac_func" >&5
61749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61750 if eval "test \"\${$as_ac_var+set}\" = set"; then
61751 echo $ECHO_N "(cached) $ECHO_C" >&6
61753 if test x$gcc_no_link = xyes; then
61754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61756 { (exit 1); exit 1; }; }
61758 cat >conftest.$ac_ext <<_ACEOF
61759 #line $LINENO "configure"
61762 cat confdefs.h >>conftest.$ac_ext
61763 cat >>conftest.$ac_ext <<_ACEOF
61764 /* end confdefs.h. */
61765 /* System header to define __stub macros and hopefully few prototypes,
61766 which can conflict with char $ac_func (); below.
61767 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61768 <limits.h> exists even on freestanding compilers. */
61770 # include <limits.h>
61772 # include <assert.h>
61774 /* Override any gcc2 internal prototype to avoid an error. */
61779 /* We use char because int might match the return type of a gcc2
61780 builtin and then its argument prototype would still apply. */
61782 /* The GNU C library defines this for functions which it implements
61783 to always fail with ENOSYS. Some functions are actually named
61784 something starting with __ and the normal name is an alias. */
61785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61788 char (*f) () = $ac_func;
61797 return f != $ac_func;
61802 rm -f conftest.$ac_objext conftest$ac_exeext
61803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61804 (eval $ac_link) 2>&5
61806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61807 (exit $ac_status); } &&
61808 { ac_try='test -s conftest$ac_exeext'
61809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61810 (eval $ac_try) 2>&5
61812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61813 (exit $ac_status); }; }; then
61814 eval "$as_ac_var=yes"
61816 echo "$as_me: failed program was:" >&5
61817 sed 's/^/| /' conftest.$ac_ext >&5
61819 eval "$as_ac_var=no"
61821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61825 if test `eval echo '${'$as_ac_var'}'` = yes; then
61826 cat >>confdefs.h <<_ACEOF
61827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61836 if test $enable_symvers = no; then
61837 enable_abi_check=no
61841 enable_abi_check=no ;;
61843 enable_abi_check=yes ;;
61847 # Only build this as native, since automake does not understand
61849 enable_abi_check=no
61852 # Export file names for ABI checking.
61853 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
61860 # Propagate the target-specific source directories through the build chain.
61861 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
61862 # uses it, and it only gets used in this file.)
61863 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
61864 OS_INC_SRCDIR=config/${os_include_dir}
61868 # Determine cross-compile flags and AM_CONDITIONALs.
61869 #AC_SUBST(GLIBCXX_IS_NATIVE)
61870 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
61871 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
61872 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
61875 if test $is_hosted = yes; then
61876 GLIBCXX_HOSTED_TRUE=
61877 GLIBCXX_HOSTED_FALSE='#'
61879 GLIBCXX_HOSTED_TRUE='#'
61880 GLIBCXX_HOSTED_FALSE=
61886 if test $enable_libstdcxx_pch = yes; then
61887 GLIBCXX_BUILD_PCH_TRUE=
61888 GLIBCXX_BUILD_PCH_FALSE='#'
61890 GLIBCXX_BUILD_PCH_TRUE='#'
61891 GLIBCXX_BUILD_PCH_FALSE=
61897 if test $enable_cheaders = c; then
61898 GLIBCXX_C_HEADERS_C_TRUE=
61899 GLIBCXX_C_HEADERS_C_FALSE='#'
61901 GLIBCXX_C_HEADERS_C_TRUE='#'
61902 GLIBCXX_C_HEADERS_C_FALSE=
61908 if test $enable_cheaders = c_std; then
61909 GLIBCXX_C_HEADERS_C_STD_TRUE=
61910 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
61912 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
61913 GLIBCXX_C_HEADERS_C_STD_FALSE=
61919 if test $c_compatibility = yes; then
61920 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
61921 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
61923 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
61924 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
61930 if test $enable_libstdcxx_debug = yes; then
61931 GLIBCXX_BUILD_DEBUG_TRUE=
61932 GLIBCXX_BUILD_DEBUG_FALSE='#'
61934 GLIBCXX_BUILD_DEBUG_TRUE='#'
61935 GLIBCXX_BUILD_DEBUG_FALSE=
61941 if test $enable_symvers != no; then
61942 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
61943 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
61945 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
61946 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
61952 if test $enable_wchar_t = yes; then
61953 GLIBCXX_TEST_WCHAR_T_TRUE=
61954 GLIBCXX_TEST_WCHAR_T_FALSE='#'
61956 GLIBCXX_TEST_WCHAR_T_TRUE='#'
61957 GLIBCXX_TEST_WCHAR_T_FALSE=
61963 if test $enable_abi_check = yes; then
61964 GLIBCXX_TEST_ABI_TRUE=
61965 GLIBCXX_TEST_ABI_FALSE='#'
61967 GLIBCXX_TEST_ABI_TRUE='#'
61968 GLIBCXX_TEST_ABI_FALSE=
61974 cat >confcache <<\_ACEOF
61975 # This file is a shell script that caches the results of configure
61976 # tests run on this system so they can be shared between configure
61977 # scripts and configure runs, see configure's option --config-cache.
61978 # It is not useful on other systems. If it contains results you don't
61979 # want to keep, you may remove or edit it.
61981 # config.status only pays attention to the cache file if you give it
61982 # the --recheck option to rerun configure.
61984 # `ac_cv_env_foo' variables (set or unset) will be overridden when
61985 # loading this file, other *unset* `ac_cv_foo' will be assigned the
61986 # following values.
61990 # The following way of writing the cache mishandles newlines in values,
61991 # but we know of no workaround that is simple, portable, and efficient.
61992 # So, don't put newlines in cache variables' values.
61993 # Ultrix sh set writes to stderr and can't be redirected directly,
61994 # and sets the high bit in the cache file unless we assign to the vars.
61997 case `(ac_space=' '; set | grep ac_space) 2>&1` in
61999 # `set' does not quote correctly, so add quotes (double-quote
62000 # substitution turns \\\\ into \\, and sed turns \\ into \).
62003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62006 # `set' quotes correctly as required by POSIX, so do not add quotes.
62008 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62017 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62019 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62020 if test -w $cache_file; then
62021 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62022 cat confcache >$cache_file
62024 echo "not updating unwritable cache $cache_file"
62029 if test ${multilib} = yes; then
62030 multilib_arg="--enable-multilib"
62035 # Export all the install information.
62037 glibcxx_toolexecdir=no
62038 glibcxx_toolexeclibdir=no
62039 glibcxx_prefixdir=$prefix
62041 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
62042 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
62044 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
62045 if test "${with_gxx_include_dir+set}" = set; then
62046 withval="$with_gxx_include_dir"
62048 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
62049 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
62050 { (exit 1); exit 1; }; } ;;
62051 no) gxx_include_dir=no ;;
62052 *) gxx_include_dir=$withval ;;
62057 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62058 echo "${ECHO_T}$gxx_include_dir" >&6
62060 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
62061 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
62062 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
62063 if test "${enable_version_specific_runtime_libs+set}" = set; then
62064 enableval="$enable_version_specific_runtime_libs"
62065 case "$enableval" in
62066 yes) version_specific_libs=yes ;;
62067 no) version_specific_libs=no ;;
62068 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
62069 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
62070 { (exit 1); exit 1; }; };;
62073 version_specific_libs=no
62075 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
62076 echo "${ECHO_T}$version_specific_libs" >&6
62078 # Default case for install directory for include files.
62079 if test $version_specific_libs = no && test $gxx_include_dir = no; then
62080 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
62083 # Version-specific runtime libs processing.
62084 if test $version_specific_libs = yes; then
62085 # Need the gcc compiler version to know where to install libraries
62086 # and header files if --enable-version-specific-runtime-libs option
62088 if test x"$gxx_include_dir" = x"no"; then
62089 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
62091 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62092 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
62095 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
62096 # Install a library built with a cross compiler in tooldir, not libdir.
62097 if test x"$glibcxx_toolexecdir" = x"no"; then
62098 if test -n "$with_cross_host" &&
62099 test x"$with_cross_host" != x"no"; then
62100 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
62101 glibcxx_toolexeclibdir='${toolexecdir}/lib'
62103 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
62104 glibcxx_toolexeclibdir='${libdir}'
62106 multi_os_directory=`$CXX -print-multi-os-directory`
62107 case $multi_os_directory in
62108 .) ;; # Avoid trailing /.
62109 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
62113 echo "$as_me:$LINENO: checking for install location" >&5
62114 echo $ECHO_N "checking for install location... $ECHO_C" >&6
62115 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
62116 echo "${ECHO_T}$gxx_include_dir" >&6
62124 # Export all the include and flag information to Makefiles.
62126 # Used for every C++ compile we perform.
62127 GLIBCXX_INCLUDES="\
62128 -I$glibcxx_builddir/include/$host_alias \
62129 -I$glibcxx_builddir/include \
62130 -I$glibcxx_srcdir/libsupc++"
62132 # For Canadian crosses, pick this up too.
62133 if test $CANADIAN = yes; then
62134 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
62137 # Stuff in the actual top level. Currently only used by libsupc++ to
62138 # get unwind* headers from the gcc dir.
62139 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
62140 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
62142 # Now, export this to all the little Makefiles....
62147 # Optimization flags that are probably a good idea for thrill-seekers. Just
62148 # uncomment the lines below and make, everything else is ready to go...
62149 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
62153 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
62157 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
62158 grep "enable shared" > /dev/null;
62160 LIBSUPCXX_PICFLAGS=-prefer-pic
62162 LIBSUPCXX_PICFLAGS=
62166 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
62168 ac_config_files="$ac_config_files scripts/check_survey"
62170 ac_config_files="$ac_config_files scripts/testsuite_flags"
62173 ac_config_commands="$ac_config_commands default"
62176 cat >confcache <<\_ACEOF
62177 # This file is a shell script that caches the results of configure
62178 # tests run on this system so they can be shared between configure
62179 # scripts and configure runs, see configure's option --config-cache.
62180 # It is not useful on other systems. If it contains results you don't
62181 # want to keep, you may remove or edit it.
62183 # config.status only pays attention to the cache file if you give it
62184 # the --recheck option to rerun configure.
62186 # `ac_cv_env_foo' variables (set or unset) will be overridden when
62187 # loading this file, other *unset* `ac_cv_foo' will be assigned the
62188 # following values.
62192 # The following way of writing the cache mishandles newlines in values,
62193 # but we know of no workaround that is simple, portable, and efficient.
62194 # So, don't put newlines in cache variables' values.
62195 # Ultrix sh set writes to stderr and can't be redirected directly,
62196 # and sets the high bit in the cache file unless we assign to the vars.
62199 case `(ac_space=' '; set | grep ac_space) 2>&1` in
62201 # `set' does not quote correctly, so add quotes (double-quote
62202 # substitution turns \\\\ into \\, and sed turns \\ into \).
62205 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
62208 # `set' quotes correctly as required by POSIX, so do not add quotes.
62210 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
62217 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
62219 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
62221 if diff $cache_file confcache >/dev/null 2>&1; then :; else
62222 if test -w $cache_file; then
62223 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
62224 cat confcache >$cache_file
62226 echo "not updating unwritable cache $cache_file"
62231 test "x$prefix" = xNONE && prefix=$ac_default_prefix
62232 # Let make expand exec_prefix.
62233 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
62235 # VPATH may cause trouble with some makes, so we remove $(srcdir),
62236 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
62237 # trailing colons and then remove the whole line if VPATH becomes empty
62238 # (actually we leave an empty line to preserve line numbers).
62239 if test "x$srcdir" = x.; then
62240 ac_vpsub='/^[ ]*VPATH[ ]*=/{
62241 s/:*\$(srcdir):*/:/;
62242 s/:*\${srcdir}:*/:/;
62244 s/^\([^=]*=[ ]*\):*/\1/;
62250 DEFS=-DHAVE_CONFIG_H
62254 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
62255 # 1. Remove the extension, and $U if already installed.
62256 ac_i=`echo "$ac_i" |
62257 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
62259 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
62260 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
62262 LIBOBJS=$ac_libobjs
62264 LTLIBOBJS=$ac_ltlibobjs
62267 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
62268 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
62269 Usually this means the macro was only invoked conditionally." >&5
62270 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
62271 Usually this means the macro was only invoked conditionally." >&2;}
62272 { (exit 1); exit 1; }; }
62274 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
62275 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62276 Usually this means the macro was only invoked conditionally." >&5
62277 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
62278 Usually this means the macro was only invoked conditionally." >&2;}
62279 { (exit 1); exit 1; }; }
62281 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
62282 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62283 Usually this means the macro was only invoked conditionally." >&5
62284 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
62285 Usually this means the macro was only invoked conditionally." >&2;}
62286 { (exit 1); exit 1; }; }
62288 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
62289 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62290 Usually this means the macro was only invoked conditionally." >&5
62291 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
62292 Usually this means the macro was only invoked conditionally." >&2;}
62293 { (exit 1); exit 1; }; }
62295 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
62296 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62297 Usually this means the macro was only invoked conditionally." >&5
62298 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
62299 Usually this means the macro was only invoked conditionally." >&2;}
62300 { (exit 1); exit 1; }; }
62302 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
62303 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62304 Usually this means the macro was only invoked conditionally." >&5
62305 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
62306 Usually this means the macro was only invoked conditionally." >&2;}
62307 { (exit 1); exit 1; }; }
62309 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
62310 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62311 Usually this means the macro was only invoked conditionally." >&5
62312 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
62313 Usually this means the macro was only invoked conditionally." >&2;}
62314 { (exit 1); exit 1; }; }
62316 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
62317 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62318 Usually this means the macro was only invoked conditionally." >&5
62319 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
62320 Usually this means the macro was only invoked conditionally." >&2;}
62321 { (exit 1); exit 1; }; }
62323 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
62324 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62325 Usually this means the macro was only invoked conditionally." >&5
62326 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
62327 Usually this means the macro was only invoked conditionally." >&2;}
62328 { (exit 1); exit 1; }; }
62330 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
62331 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62332 Usually this means the macro was only invoked conditionally." >&5
62333 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
62334 Usually this means the macro was only invoked conditionally." >&2;}
62335 { (exit 1); exit 1; }; }
62338 : ${CONFIG_STATUS=./config.status}
62339 ac_clean_files_save=$ac_clean_files
62340 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
62341 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
62342 echo "$as_me: creating $CONFIG_STATUS" >&6;}
62343 cat >$CONFIG_STATUS <<_ACEOF
62345 # Generated by $as_me.
62346 # Run this file to recreate the current configuration.
62347 # Compiler output produced by configure, useful for debugging
62348 # configure, is in config.log if it exists.
62351 ac_cs_recheck=false
62353 SHELL=\${CONFIG_SHELL-$SHELL}
62356 cat >>$CONFIG_STATUS <<\_ACEOF
62357 ## --------------------- ##
62358 ## M4sh Initialization. ##
62359 ## --------------------- ##
62361 # Be Bourne compatible
62362 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
62365 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
62366 # is contrary to our usage. Disable this feature.
62367 alias -g '${1+"$@"}'='"$@"'
62368 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
62372 # Support unset when possible.
62373 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
62380 # Work around bugs in pre-3.0 UWIN ksh.
62381 $as_unset ENV MAIL MAILPATH
62388 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
62389 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
62390 LC_TELEPHONE LC_TIME
62392 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
62393 eval $as_var=C; export $as_var
62399 # Required to use basename.
62400 if expr a : '\(a\)' >/dev/null 2>&1; then
62406 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62407 as_basename=basename
62413 # Name of the executable.
62414 as_me=`$as_basename "$0" ||
62415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
62416 X"$0" : 'X\(//\)$' \| \
62417 X"$0" : 'X\(/\)$' \| \
62418 . : '\(.\)' 2>/dev/null ||
62420 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
62421 /^X\/\(\/\/\)$/{ s//\1/; q; }
62422 /^X\/\(\/\).*/{ s//\1/; q; }
62426 # PATH needs CR, and LINENO needs CR and PATH.
62427 # Avoid depending upon Character Ranges.
62428 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
62429 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
62430 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
62431 as_cr_digits='0123456789'
62432 as_cr_alnum=$as_cr_Letters$as_cr_digits
62434 # The user is always right.
62435 if test "${PATH_SEPARATOR+set}" != set; then
62436 echo "#! /bin/sh" >conf$$.sh
62437 echo "exit 0" >>conf$$.sh
62439 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
62448 as_lineno_1=$LINENO
62449 as_lineno_2=$LINENO
62450 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62451 test "x$as_lineno_1" != "x$as_lineno_2" &&
62452 test "x$as_lineno_3" = "x$as_lineno_2" || {
62453 # Find who we are. Look in the path if we contain no path at all
62456 *[\\/]* ) as_myself=$0 ;;
62457 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62458 for as_dir in $PATH
62461 test -z "$as_dir" && as_dir=.
62462 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
62467 # We did not find ourselves, most probably we were run as `sh COMMAND'
62468 # in which case we are not to be found in the path.
62469 if test "x$as_myself" = x; then
62472 if test ! -f "$as_myself"; then
62473 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
62474 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
62475 { (exit 1); exit 1; }; }
62477 case $CONFIG_SHELL in
62479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
62480 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
62483 test -z "$as_dir" && as_dir=.
62484 for as_base in sh bash ksh sh5; do
62487 if ("$as_dir/$as_base" -c '
62488 as_lineno_1=$LINENO
62489 as_lineno_2=$LINENO
62490 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
62491 test "x$as_lineno_1" != "x$as_lineno_2" &&
62492 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
62493 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
62494 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
62495 CONFIG_SHELL=$as_dir/$as_base
62496 export CONFIG_SHELL
62497 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
62505 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
62506 # uniformly replaced by the line number. The first 'sed' inserts a
62507 # line-number line before each line; the second 'sed' does the real
62508 # work. The second script uses 'N' to pair each line-number line
62509 # with the numbered line, and appends trailing '-' during
62510 # substitution so that $LINENO is not a special case at line end.
62511 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
62512 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
62513 sed '=' <$as_myself |
62518 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
62521 s,^['$as_cr_digits']*\n,,
62522 ' >$as_me.lineno &&
62523 chmod +x $as_me.lineno ||
62524 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
62525 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
62526 { (exit 1); exit 1; }; }
62528 # Don't try to exec as it changes $[0], causing all sort of problems
62529 # (the dirname of $[0] is not the place where we might find the
62530 # original and so on. Autoconf is especially sensible to this).
62532 # Exit status is that of the last command.
62537 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
62538 *c*,-n*) ECHO_N= ECHO_C='
62540 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
62541 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
62544 if expr a : '\(a\)' >/dev/null 2>&1; then
62550 rm -f conf$$ conf$$.exe conf$$.file
62552 if ln -s conf$$.file conf$$ 2>/dev/null; then
62553 # We could just check for DJGPP; but this test a) works b) is more generic
62554 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
62555 if test -f conf$$.exe; then
62556 # Don't use ln at all; we don't have any links
62561 elif ln conf$$.file conf$$ 2>/dev/null; then
62566 rm -f conf$$ conf$$.exe conf$$.file
62568 if mkdir -p . 2>/dev/null; then
62574 as_executable_p="test -f"
62576 # Sed expression to map a string onto a valid CPP name.
62577 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
62579 # Sed expression to map a string onto a valid variable name.
62580 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
62584 # We need space, tab and new line, in precisely that order.
62594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
62595 # report actual input values of CONFIG_FILES etc. instead of their
62596 # values after options handling. Logging --version etc. is OK.
62600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
62601 ## Running $as_me. ##
62606 This file was extended by package-unused $as_me version-unused, which was
62607 generated by GNU Autoconf 2.57. Invocation command line was
62609 CONFIG_FILES = $CONFIG_FILES
62610 CONFIG_HEADERS = $CONFIG_HEADERS
62611 CONFIG_LINKS = $CONFIG_LINKS
62612 CONFIG_COMMANDS = $CONFIG_COMMANDS
62616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
62620 # Files that config.status was made for.
62621 if test -n "$ac_config_files"; then
62622 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
62625 if test -n "$ac_config_headers"; then
62626 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
62629 if test -n "$ac_config_links"; then
62630 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
62633 if test -n "$ac_config_commands"; then
62634 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
62637 cat >>$CONFIG_STATUS <<\_ACEOF
62640 \`$as_me' instantiates files from templates according to the
62641 current configuration.
62643 Usage: $0 [OPTIONS] [FILE]...
62645 -h, --help print this help, then exit
62646 -V, --version print version number, then exit
62647 -q, --quiet do not print progress messages
62648 -d, --debug don't remove temporary files
62649 --recheck update $as_me by reconfiguring in the same conditions
62650 --file=FILE[:TEMPLATE]
62651 instantiate the configuration file FILE
62652 --header=FILE[:TEMPLATE]
62653 instantiate the configuration header FILE
62655 Configuration files:
62658 Configuration headers:
62661 Configuration commands:
62664 Report bugs to <bug-autoconf@gnu.org>."
62667 cat >>$CONFIG_STATUS <<_ACEOF
62669 package-unused config.status version-unused
62670 configured by $0, generated by GNU Autoconf 2.57,
62671 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
62673 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
62674 Free Software Foundation, Inc.
62675 This config.status script is free software; the Free Software Foundation
62676 gives unlimited permission to copy, distribute and modify it."
62681 cat >>$CONFIG_STATUS <<\_ACEOF
62682 # If no file are specified by the user, then we need to provide default
62683 # value. By we need to know if files were specified by the user.
62689 ac_option=`expr "x$1" : 'x\([^=]*\)='`
62690 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
62698 *) # This is not an option, so the user has probably given explicit
62701 ac_need_defaults=false;;
62705 # Handling of the options.
62707 cat >>$CONFIG_STATUS <<\_ACEOF
62708 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
62710 --version | --vers* | -V )
62711 echo "$ac_cs_version"; exit 0 ;;
62713 # Conflict between --help and --header
62714 { { echo "$as_me:$LINENO: error: ambiguous option: $1
62715 Try \`$0 --help' for more information." >&5
62716 echo "$as_me: error: ambiguous option: $1
62717 Try \`$0 --help' for more information." >&2;}
62718 { (exit 1); exit 1; }; };;
62719 --help | --hel | -h )
62720 echo "$ac_cs_usage"; exit 0 ;;
62721 --debug | --d* | -d )
62723 --file | --fil | --fi | --f )
62725 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
62726 ac_need_defaults=false;;
62727 --header | --heade | --head | --hea )
62729 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
62730 ac_need_defaults=false;;
62731 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
62732 | -silent | --silent | --silen | --sile | --sil | --si | --s)
62735 # This is an error.
62736 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
62737 Try \`$0 --help' for more information." >&5
62738 echo "$as_me: error: unrecognized option: $1
62739 Try \`$0 --help' for more information." >&2;}
62740 { (exit 1); exit 1; }; } ;;
62742 *) ac_config_targets="$ac_config_targets $1" ;;
62748 ac_configure_extra_args=
62750 if $ac_cs_silent; then
62752 ac_configure_extra_args="$ac_configure_extra_args --silent"
62756 cat >>$CONFIG_STATUS <<_ACEOF
62757 if \$ac_cs_recheck; then
62758 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
62759 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
62764 cat >>$CONFIG_STATUS <<_ACEOF
62766 # INIT-COMMANDS section.
62773 with_multisubdir="$with_multisubdir"
62774 with_multisrctop="$with_multisrctop"
62775 with_target_subdir="$with_target_subdir"
62776 ac_configure_args="${multilib_arg} ${ac_configure_args}"
62777 multi_basedir="$multi_basedir"
62778 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
62781 # Variables needed in config.status (file generation) which aren't already
62782 # passed by autoconf.
62790 cat >>$CONFIG_STATUS <<\_ACEOF
62791 for ac_config_target in $ac_config_targets
62793 case "$ac_config_target" in
62794 # Handling of arguments.
62795 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
62796 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
62797 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
62798 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
62799 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
62800 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
62801 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
62802 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
62803 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
62804 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
62805 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
62806 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
62807 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
62808 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
62809 { (exit 1); exit 1; }; };;
62813 # If the user did not use the arguments to specify the items to instantiate,
62814 # then the envvar interface is used. Set only those that are not.
62815 # We use the long form for the default assignment because of an extremely
62816 # bizarre bug on SunOS 4.1.3.
62817 if $ac_need_defaults; then
62818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
62819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
62820 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
62823 # Have a temporary directory for convenience. Make it in the build tree
62824 # simply because there is no reason to put it here, and in addition,
62825 # creating and moving files from /tmp can sometimes cause problems.
62826 # Create a temporary directory, and hook for its removal unless debugging.
62829 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
62830 trap '{ (exit 1); exit 1; }' 1 2 13 15
62833 # Create a (secure) tmp directory for tmp files.
62836 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
62837 test -n "$tmp" && test -d "$tmp"
62840 tmp=./confstat$$-$RANDOM
62841 (umask 077 && mkdir $tmp)
62844 echo "$me: cannot create a temporary directory in ." >&2
62845 { (exit 1); exit 1; }
62850 cat >>$CONFIG_STATUS <<_ACEOF
62853 # CONFIG_FILES section.
62856 # No need to generate the scripts if there are no CONFIG_FILES.
62857 # This happens for instance when ./config.status config.h
62858 if test -n "\$CONFIG_FILES"; then
62859 # Protect against being on the right side of a sed subst in config.status.
62860 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
62861 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
62862 s,@SHELL@,$SHELL,;t t
62863 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
62864 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
62865 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
62866 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
62867 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
62868 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
62869 s,@exec_prefix@,$exec_prefix,;t t
62870 s,@prefix@,$prefix,;t t
62871 s,@program_transform_name@,$program_transform_name,;t t
62872 s,@bindir@,$bindir,;t t
62873 s,@sbindir@,$sbindir,;t t
62874 s,@libexecdir@,$libexecdir,;t t
62875 s,@datadir@,$datadir,;t t
62876 s,@sysconfdir@,$sysconfdir,;t t
62877 s,@sharedstatedir@,$sharedstatedir,;t t
62878 s,@localstatedir@,$localstatedir,;t t
62879 s,@libdir@,$libdir,;t t
62880 s,@includedir@,$includedir,;t t
62881 s,@oldincludedir@,$oldincludedir,;t t
62882 s,@infodir@,$infodir,;t t
62883 s,@mandir@,$mandir,;t t
62884 s,@build_alias@,$build_alias,;t t
62885 s,@host_alias@,$host_alias,;t t
62886 s,@target_alias@,$target_alias,;t t
62887 s,@DEFS@,$DEFS,;t t
62888 s,@ECHO_C@,$ECHO_C,;t t
62889 s,@ECHO_N@,$ECHO_N,;t t
62890 s,@ECHO_T@,$ECHO_T,;t t
62891 s,@LIBS@,$LIBS,;t t
62892 s,@libtool_VERSION@,$libtool_VERSION,;t t
62893 s,@multi_basedir@,$multi_basedir,;t t
62894 s,@build@,$build,;t t
62895 s,@build_cpu@,$build_cpu,;t t
62896 s,@build_vendor@,$build_vendor,;t t
62897 s,@build_os@,$build_os,;t t
62898 s,@host@,$host,;t t
62899 s,@host_cpu@,$host_cpu,;t t
62900 s,@host_vendor@,$host_vendor,;t t
62901 s,@host_os@,$host_os,;t t
62902 s,@target@,$target,;t t
62903 s,@target_cpu@,$target_cpu,;t t
62904 s,@target_vendor@,$target_vendor,;t t
62905 s,@target_os@,$target_os,;t t
62906 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
62907 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
62908 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
62909 s,@CYGPATH_W@,$CYGPATH_W,;t t
62910 s,@PACKAGE@,$PACKAGE,;t t
62911 s,@VERSION@,$VERSION,;t t
62912 s,@ACLOCAL@,$ACLOCAL,;t t
62913 s,@AUTOCONF@,$AUTOCONF,;t t
62914 s,@AUTOMAKE@,$AUTOMAKE,;t t
62915 s,@AUTOHEADER@,$AUTOHEADER,;t t
62916 s,@MAKEINFO@,$MAKEINFO,;t t
62917 s,@AMTAR@,$AMTAR,;t t
62918 s,@install_sh@,$install_sh,;t t
62919 s,@STRIP@,$STRIP,;t t
62920 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
62921 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
62923 s,@SET_MAKE@,$SET_MAKE,;t t
62924 s,@am__leading_dot@,$am__leading_dot,;t t
62925 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
62926 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
62927 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
62929 s,@ac_ct_CC@,$ac_ct_CC,;t t
62930 s,@EXEEXT@,$EXEEXT,;t t
62931 s,@OBJEXT@,$OBJEXT,;t t
62933 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
62934 s,@CFLAGS@,$CFLAGS,;t t
62935 s,@CXXFLAGS@,$CXXFLAGS,;t t
62936 s,@LN_S@,$LN_S,;t t
62938 s,@ac_ct_AS@,$ac_ct_AS,;t t
62940 s,@ac_ct_AR@,$ac_ct_AR,;t t
62941 s,@RANLIB@,$RANLIB,;t t
62942 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
62943 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
62944 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
62945 s,@MAINT@,$MAINT,;t t
62946 s,@LIBTOOL@,$LIBTOOL,;t t
62947 s,@CXXCPP@,$CXXCPP,;t t
62948 s,@CPPFLAGS@,$CPPFLAGS,;t t
62949 s,@enable_shared@,$enable_shared,;t t
62950 s,@enable_static@,$enable_static,;t t
62951 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
62952 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
62953 s,@LIBUNWIND_FLAG@,$LIBUNWIND_FLAG,;t t
62954 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
62955 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
62956 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
62957 s,@CSTDIO_H@,$CSTDIO_H,;t t
62958 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
62959 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
62961 s,@EGREP@,$EGREP,;t t
62962 s,@check_msgfmt@,$check_msgfmt,;t t
62963 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
62964 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
62965 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
62966 s,@USE_NLS@,$USE_NLS,;t t
62967 s,@CLOCALE_H@,$CLOCALE_H,;t t
62968 s,@CCODECVT_H@,$CCODECVT_H,;t t
62969 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
62970 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
62971 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
62972 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
62973 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
62974 s,@CMONEY_CC@,$CMONEY_CC,;t t
62975 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
62976 s,@CTIME_H@,$CTIME_H,;t t
62977 s,@CTIME_CC@,$CTIME_CC,;t t
62978 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
62979 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
62980 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
62981 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
62982 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
62983 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
62984 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
62985 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
62986 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
62987 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
62988 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
62989 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
62990 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
62991 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
62992 s,@WERROR@,$WERROR,;t t
62993 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
62994 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
62995 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
62996 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
62997 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
62998 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
62999 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
63000 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
63001 s,@baseline_dir@,$baseline_dir,;t t
63002 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
63003 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
63004 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
63005 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
63006 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
63007 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
63008 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
63009 s,@gxx_include_dir@,$gxx_include_dir,;t t
63010 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
63011 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
63012 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
63013 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
63014 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
63015 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
63016 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
63017 s,@LIBOBJS@,$LIBOBJS,;t t
63018 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
63023 cat >>$CONFIG_STATUS <<\_ACEOF
63024 # Split the substitutions into bite-sized pieces for seds with
63025 # small command number limits, like on Digital OSF/1 and HP-UX.
63026 ac_max_sed_lines=48
63027 ac_sed_frag=1 # Number of current file.
63028 ac_beg=1 # First line for current file.
63029 ac_end=$ac_max_sed_lines # Line after last line for current file.
63032 while $ac_more_lines; do
63033 if test $ac_beg -gt 1; then
63034 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63036 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
63038 if test ! -s $tmp/subs.frag; then
63039 ac_more_lines=false
63041 # The purpose of the label and of the branching condition is to
63042 # speed up the sed processing (if there are no `@' at all, there
63043 # is no need to browse any of the substitutions).
63044 # These are the two extra sed commands mentioned above.
63046 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
63047 if test -z "$ac_sed_cmds"; then
63048 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
63050 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
63052 ac_sed_frag=`expr $ac_sed_frag + 1`
63054 ac_end=`expr $ac_end + $ac_max_sed_lines`
63057 if test -z "$ac_sed_cmds"; then
63060 fi # test -n "$CONFIG_FILES"
63063 cat >>$CONFIG_STATUS <<\_ACEOF
63064 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
63065 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63067 - | *:- | *:-:* ) # input from stdin
63069 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63070 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63071 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63072 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63073 * ) ac_file_in=$ac_file.in ;;
63076 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
63077 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63079 X"$ac_file" : 'X\(//\)[^/]' \| \
63080 X"$ac_file" : 'X\(//\)$' \| \
63081 X"$ac_file" : 'X\(/\)' \| \
63082 . : '\(.\)' 2>/dev/null ||
63084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63086 /^X\(\/\/\)$/{ s//\1/; q; }
63087 /^X\(\/\).*/{ s//\1/; q; }
63089 { if $as_mkdir_p; then
63094 while test ! -d "$as_dir"; do
63095 as_dirs="$as_dir $as_dirs"
63096 as_dir=`(dirname "$as_dir") 2>/dev/null ||
63097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63098 X"$as_dir" : 'X\(//\)[^/]' \| \
63099 X"$as_dir" : 'X\(//\)$' \| \
63100 X"$as_dir" : 'X\(/\)' \| \
63101 . : '\(.\)' 2>/dev/null ||
63103 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63104 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63105 /^X\(\/\/\)$/{ s//\1/; q; }
63106 /^X\(\/\).*/{ s//\1/; q; }
63109 test ! -n "$as_dirs" || mkdir $as_dirs
63110 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63111 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63112 { (exit 1); exit 1; }; }; }
63116 if test "$ac_dir" != .; then
63117 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63118 # A "../" for each directory in $ac_dir_suffix.
63119 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63121 ac_dir_suffix= ac_top_builddir=
63125 .) # No --srcdir option. We are building in place.
63127 if test -z "$ac_top_builddir"; then
63130 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63132 [\\/]* | ?:[\\/]* ) # Absolute path.
63133 ac_srcdir=$srcdir$ac_dir_suffix;
63134 ac_top_srcdir=$srcdir ;;
63135 *) # Relative path.
63136 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63137 ac_top_srcdir=$ac_top_builddir$srcdir ;;
63139 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63141 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63142 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63143 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63144 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63148 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
63149 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
63152 if test x"$ac_file" != x-; then
63153 { echo "$as_me:$LINENO: creating $ac_file" >&5
63154 echo "$as_me: creating $ac_file" >&6;}
63157 # Let's still pretend it is `configure' which instantiates (i.e., don't
63158 # use $as_me), people would be surprised to read:
63159 # /* config.h. Generated by config.status. */
63160 if test x"$ac_file" = x-; then
63163 configure_input="$ac_file. "
63165 configure_input=$configure_input"Generated from `echo $ac_file_in |
63166 sed 's,.*/,,'` by configure."
63168 # First look for the input files in the build tree, otherwise in the
63170 ac_file_inputs=`IFS=:
63171 for f in $ac_file_in; do
63173 -) echo $tmp/stdin ;;
63175 # Absolute (can't be DOS-style, as IFS=:)
63176 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63177 echo "$as_me: error: cannot find input file: $f" >&2;}
63178 { (exit 1); exit 1; }; }
63181 if test -f "$f"; then
63184 elif test -f "$srcdir/$f"; then
63189 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63190 echo "$as_me: error: cannot find input file: $f" >&2;}
63191 { (exit 1); exit 1; }; }
63194 done` || { (exit 1); exit 1; }
63196 cat >>$CONFIG_STATUS <<_ACEOF
63200 cat >>$CONFIG_STATUS <<\_ACEOF
63202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
63203 s,@configure_input@,$configure_input,;t t
63204 s,@srcdir@,$ac_srcdir,;t t
63205 s,@abs_srcdir@,$ac_abs_srcdir,;t t
63206 s,@top_srcdir@,$ac_top_srcdir,;t t
63207 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
63208 s,@builddir@,$ac_builddir,;t t
63209 s,@abs_builddir@,$ac_abs_builddir,;t t
63210 s,@top_builddir@,$ac_top_builddir,;t t
63211 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
63212 s,@INSTALL@,$ac_INSTALL,;t t
63213 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
63215 if test x"$ac_file" != x-; then
63216 mv $tmp/out $ac_file
63222 # Run the commands associated with the file.
63224 scripts/check_survey ) chmod +x scripts/check_survey ;;
63225 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
63229 cat >>$CONFIG_STATUS <<\_ACEOF
63232 # CONFIG_HEADER section.
63235 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
63236 # NAME is the cpp macro being defined and VALUE is the value it is being given.
63238 # ac_d sets the value in "#define NAME VALUE" lines.
63239 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
63240 ac_dB='[ ].*$,\1#\2'
63243 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
63244 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
63245 ac_uB='$,\1#\2define\3'
63249 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
63250 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
63252 - | *:- | *:-:* ) # input from stdin
63254 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63255 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63256 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
63257 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
63258 * ) ac_file_in=$ac_file.in ;;
63261 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
63262 echo "$as_me: creating $ac_file" >&6;}
63264 # First look for the input files in the build tree, otherwise in the
63266 ac_file_inputs=`IFS=:
63267 for f in $ac_file_in; do
63269 -) echo $tmp/stdin ;;
63271 # Absolute (can't be DOS-style, as IFS=:)
63272 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63273 echo "$as_me: error: cannot find input file: $f" >&2;}
63274 { (exit 1); exit 1; }; }
63277 if test -f "$f"; then
63280 elif test -f "$srcdir/$f"; then
63285 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
63286 echo "$as_me: error: cannot find input file: $f" >&2;}
63287 { (exit 1); exit 1; }; }
63290 done` || { (exit 1); exit 1; }
63291 # Remove the trailing spaces.
63292 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
63296 # Transform confdefs.h into two sed scripts, `conftest.defines' and
63297 # `conftest.undefs', that substitutes the proper values into
63298 # config.h.in to produce config.h. The first handles `#define'
63299 # templates, and the second `#undef' templates.
63300 # And first: Protect against being on the right side of a sed subst in
63301 # config.status. Protect against being in an unquoted here document
63302 # in config.status.
63303 rm -f conftest.defines conftest.undefs
63304 # Using a here document instead of a string reduces the quoting nightmare.
63305 # Putting comments in sed scripts is not portable.
63307 # `end' is used to avoid that the second main sed command (meant for
63308 # 0-ary CPP macros) applies to n-ary macro definitions.
63309 # See the Autoconf documentation for `clear'.
63310 cat >confdef2sed.sed <<\_ACEOF
63315 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
63317 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
63320 # If some macros were called several times there might be several times
63321 # the same #defines, which is useless. Nevertheless, we may not want to
63322 # sort them, since we want the *last* AC-DEFINE to be honored.
63323 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
63324 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
63325 rm -f confdef2sed.sed
63327 # This sed command replaces #undef with comments. This is necessary, for
63328 # example, in the case of _POSIX_SOURCE, which is predefined and required
63329 # on some systems where configure will not decide to define it.
63330 cat >>conftest.undefs <<\_ACEOF
63331 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
63334 # Break up conftest.defines because some shells have a limit on the size
63335 # of here documents, and old seds have small limits too (100 cmds).
63336 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
63337 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
63338 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
63339 echo ' :' >>$CONFIG_STATUS
63340 rm -f conftest.tail
63341 while grep . conftest.defines >/dev/null
63343 # Write a limited-size here document to $tmp/defines.sed.
63344 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
63345 # Speed up: don't consider the non `#define' lines.
63346 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
63347 # Work around the forget-to-reset-the-flag bug.
63348 echo 't clr' >>$CONFIG_STATUS
63349 echo ': clr' >>$CONFIG_STATUS
63350 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
63352 sed -f $tmp/defines.sed $tmp/in >$tmp/out
63354 mv $tmp/out $tmp/in
63356 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
63357 rm -f conftest.defines
63358 mv conftest.tail conftest.defines
63360 rm -f conftest.defines
63361 echo ' fi # grep' >>$CONFIG_STATUS
63362 echo >>$CONFIG_STATUS
63364 # Break up conftest.undefs because some shells have a limit on the size
63365 # of here documents, and old seds have small limits too (100 cmds).
63366 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
63367 rm -f conftest.tail
63368 while grep . conftest.undefs >/dev/null
63370 # Write a limited-size here document to $tmp/undefs.sed.
63371 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
63372 # Speed up: don't consider the non `#undef'
63373 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
63374 # Work around the forget-to-reset-the-flag bug.
63375 echo 't clr' >>$CONFIG_STATUS
63376 echo ': clr' >>$CONFIG_STATUS
63377 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
63379 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
63381 mv $tmp/out $tmp/in
63383 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
63384 rm -f conftest.undefs
63385 mv conftest.tail conftest.undefs
63387 rm -f conftest.undefs
63389 cat >>$CONFIG_STATUS <<\_ACEOF
63390 # Let's still pretend it is `configure' which instantiates (i.e., don't
63391 # use $as_me), people would be surprised to read:
63392 # /* config.h. Generated by config.status. */
63393 if test x"$ac_file" = x-; then
63394 echo "/* Generated by configure. */" >$tmp/config.h
63396 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
63398 cat $tmp/in >>$tmp/config.h
63400 if test x"$ac_file" != x-; then
63401 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
63402 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
63403 echo "$as_me: $ac_file is unchanged" >&6;}
63405 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
63406 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63407 X"$ac_file" : 'X\(//\)[^/]' \| \
63408 X"$ac_file" : 'X\(//\)$' \| \
63409 X"$ac_file" : 'X\(/\)' \| \
63410 . : '\(.\)' 2>/dev/null ||
63412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63414 /^X\(\/\/\)$/{ s//\1/; q; }
63415 /^X\(\/\).*/{ s//\1/; q; }
63417 { if $as_mkdir_p; then
63422 while test ! -d "$as_dir"; do
63423 as_dirs="$as_dir $as_dirs"
63424 as_dir=`(dirname "$as_dir") 2>/dev/null ||
63425 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63426 X"$as_dir" : 'X\(//\)[^/]' \| \
63427 X"$as_dir" : 'X\(//\)$' \| \
63428 X"$as_dir" : 'X\(/\)' \| \
63429 . : '\(.\)' 2>/dev/null ||
63431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63432 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63433 /^X\(\/\/\)$/{ s//\1/; q; }
63434 /^X\(\/\).*/{ s//\1/; q; }
63437 test ! -n "$as_dirs" || mkdir $as_dirs
63438 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
63439 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
63440 { (exit 1); exit 1; }; }; }
63443 mv $tmp/config.h $ac_file
63447 rm -f $tmp/config.h
63449 # Compute $ac_file's index in $config_headers.
63451 for _am_header in $config_headers :; do
63452 case $_am_header in
63453 $ac_file | $ac_file:* )
63456 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
63459 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
63460 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63461 X$ac_file : 'X\(//\)[^/]' \| \
63462 X$ac_file : 'X\(//\)$' \| \
63463 X$ac_file : 'X\(/\)' \| \
63464 . : '\(.\)' 2>/dev/null ||
63466 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63467 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63468 /^X\(\/\/\)$/{ s//\1/; q; }
63469 /^X\(\/\).*/{ s//\1/; q; }
63470 s/.*/./; q'`/stamp-h$_am_stamp_count
63473 cat >>$CONFIG_STATUS <<\_ACEOF
63476 # CONFIG_COMMANDS section.
63478 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
63479 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
63480 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
63481 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
63482 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
63483 X"$ac_dest" : 'X\(//\)[^/]' \| \
63484 X"$ac_dest" : 'X\(//\)$' \| \
63485 X"$ac_dest" : 'X\(/\)' \| \
63486 . : '\(.\)' 2>/dev/null ||
63488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
63489 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
63490 /^X\(\/\/\)$/{ s//\1/; q; }
63491 /^X\(\/\).*/{ s//\1/; q; }
63495 if test "$ac_dir" != .; then
63496 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
63497 # A "../" for each directory in $ac_dir_suffix.
63498 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
63500 ac_dir_suffix= ac_top_builddir=
63504 .) # No --srcdir option. We are building in place.
63506 if test -z "$ac_top_builddir"; then
63509 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
63511 [\\/]* | ?:[\\/]* ) # Absolute path.
63512 ac_srcdir=$srcdir$ac_dir_suffix;
63513 ac_top_srcdir=$srcdir ;;
63514 *) # Relative path.
63515 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
63516 ac_top_srcdir=$ac_top_builddir$srcdir ;;
63518 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
63520 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
63521 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
63522 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
63523 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
63526 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
63527 echo "$as_me: executing $ac_dest commands" >&6;}
63530 # Only add multilib support code if we just rebuilt the top-level
63532 case " $CONFIG_FILES " in
63534 ac_file=Makefile . ${multi_basedir}/config-ml.in
63537 default ) if test -n "$CONFIG_FILES"; then
63538 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
63539 # that multilib installs will end up installed in the correct place.
63540 # The testsuite needs it for multilib-aware ABI baseline files.
63541 # To work around this not being passed down from config-ml.in ->
63542 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
63543 # append it here. Only modify Makefiles that have just been created.
63545 # Also, get rid of this simulated-VPATH thing that automake does.
63546 cat > vpsed << \_EOF
63547 s!`test -f '$<' || echo '$(srcdir)/'`!!
63549 for i in $SUBDIRS; do
63550 case $CONFIG_FILES in
63552 #echo "Adding MULTISUBDIR to $i/Makefile"
63553 sed -f vpsed $i/Makefile > tmp
63554 grep '^MULTISUBDIR =' Makefile >> tmp
63561 (cd include && ${MAKE-make})
63567 cat >>$CONFIG_STATUS <<\_ACEOF
63569 { (exit 0); exit 0; }
63571 chmod +x $CONFIG_STATUS
63572 ac_clean_files=$ac_clean_files_save
63575 # configure is writing to config.log, and then calls config.status.
63576 # config.status does its own redirection, appending to config.log.
63577 # Unfortunately, on DOS this fails, as config.log is still kept open
63578 # by configure, so config.status won't be able to write to it; its
63579 # output is simply discarded. So we exec the FD to /dev/null,
63580 # effectively closing config.log, so it can be properly (re)opened and
63581 # appended to by config.status. When coming back to configure, we
63582 # need to make the FD available again.
63583 if test "$no_create" != yes; then
63585 ac_config_status_args=
63586 test "$silent" = yes &&
63587 ac_config_status_args="$ac_config_status_args --quiet"
63589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
63591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
63592 # would make configure fail if this is the last instruction.
63593 $ac_cs_success || { (exit 1); exit 1; }