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 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-libstdcxx-pch build pre-compiled libstdc++ headers
860 --enable-cstdio=PACKAGE use target-specific I/O package
862 --enable-clocale[=MODEL]
863 use MODEL for target locale package
865 --enable-nls use Native Language Support (default)
866 --enable-cheaders=KIND construct "C" headers for g++
868 --enable-c-mbchar enable multibyte (wide) characters
870 --enable-c99 turns on ISO/IEC 9899:1999 support
872 --enable-long-long enables I/O support for 'long long'
874 --enable-concept-checks use Boost-derived template checks [default=no]
875 --enable-libstdcxx-debug-flags=FLAGS
876 pass compiler FLAGS when building debug library
878 --enable-libstdcxx-debug
879 build extra debug library [default=no]
880 --enable-cxx-flags=FLAGS
881 pass compiler FLAGS when building library
883 --enable-symvers=STYLE enables symbol versioning of the shared library
885 --enable-version-specific-runtime-libs
886 Specify that runtime libraries should be installed
887 in a compiler-specific directory
890 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
891 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
892 --with-target-subdir=SUBDIR
893 configuring in a subdirectory
894 --with-cross-host=HOST configuring with a cross compiler
895 --with-newlib assume newlib as a system C library
896 --with-gnu-ld assume the C compiler uses GNU ld default=no
897 --with-pic try to use only PIC/non-PIC objects default=use both
898 --with-gxx-include-dir=DIR
899 installation directory for include files
901 Some influential environment variables:
902 CC C compiler command
903 CFLAGS C compiler flags
904 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
905 nonstandard directory <lib dir>
906 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
907 headers in a nonstandard directory <include dir>
908 CXX C++ compiler command
909 CXXFLAGS C++ compiler flags
910 CXXCPP C++ preprocessor
913 Use these variables to override the choices made by `configure' or to help
914 it to find libraries and programs with nonstandard names/locations.
919 if test "$ac_init_help" = "recursive"; then
920 # If there are subdirs, report their specific --help.
922 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
923 test -d $ac_dir || continue
926 if test "$ac_dir" != .; then
927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
928 # A "../" for each directory in $ac_dir_suffix.
929 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
931 ac_dir_suffix= ac_top_builddir=
935 .) # No --srcdir option. We are building in place.
937 if test -z "$ac_top_builddir"; then
940 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
942 [\\/]* | ?:[\\/]* ) # Absolute path.
943 ac_srcdir=$srcdir$ac_dir_suffix;
944 ac_top_srcdir=$srcdir ;;
946 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
947 ac_top_srcdir=$ac_top_builddir$srcdir ;;
949 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
951 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
952 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
953 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
954 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
957 # Check for guested configure; otherwise get Cygnus style configure.
958 if test -f $ac_srcdir/configure.gnu; then
960 $SHELL $ac_srcdir/configure.gnu --help=recursive
961 elif test -f $ac_srcdir/configure; then
963 $SHELL $ac_srcdir/configure --help=recursive
964 elif test -f $ac_srcdir/configure.ac ||
965 test -f $ac_srcdir/configure.in; then
969 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
975 test -n "$ac_init_help" && exit 0
976 if $ac_init_version; then
978 package-unused configure version-unused
979 generated by GNU Autoconf 2.57
981 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
982 Free Software Foundation, Inc.
983 This configure script is free software; the Free Software Foundation
984 gives unlimited permission to copy, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by package-unused $as_me version-unused, which was
994 generated by GNU Autoconf 2.57. Invocation command line was
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next=false
1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1061 | -silent | --silent | --silen | --sile | --sil)
1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true; then
1071 ac_must_keep_next=false # Got value, back to normal.
1074 *=* | --config-cache | -C | -disable-* | --disable-* \
1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1077 | -with-* | --with-* | -without-* | --without-* | --x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next=true ;;
1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h; then
1163 sed "/^$/d" confdefs.h | sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core core.* *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1174 for ac_signal in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE; then
1215 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?:[\\/]* ) . $cache_file;;
1237 *) . ./$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted=false
1249 for ac_var in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1252 eval ac_new_set=\$ac_env_${ac_var}_set
1253 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1330 ac_config_headers="$ac_config_headers config.h"
1333 # This works around the fact that libtool configuration may change LD
1334 # for this particular configuration, but some shells, instead of
1335 # keeping the changes in LD private, export them just because LD is
1336 # exported. Only used at the end of this file.
1337 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1339 # For libtool versioning info, format is CURRENT:REVISION:AGE
1340 libtool_VERSION=6:0:0
1343 # Find the rest of the source tree framework.
1345 # Sets up multi_basedir, which is srcdir/.. plus the usual
1346 # "multi_source_toprel_bottom_adjust" lunacy as needed.
1347 # Default to --enable-multilib
1348 # Check whether --enable-multilib or --disable-multilib was given.
1349 if test "${enable_multilib+set}" = set; then
1350 enableval="$enable_multilib"
1351 case "$enableval" in
1352 yes) multilib=yes ;;
1354 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1355 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1356 { (exit 1); exit 1; }; } ;;
1362 # We may get other options which we leave undocumented:
1363 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1364 # See config-ml.in if you want the gory details.
1366 if test "$srcdir" = "."; then
1367 if test "$with_target_subdir" != "."; then
1368 multi_basedir="$srcdir/$with_multisrctop../.."
1370 multi_basedir="$srcdir/$with_multisrctop.."
1373 multi_basedir="$srcdir/.."
1377 ac_config_commands="$ac_config_commands default-1"
1380 # The generated code is exactly the same, except that automake's looks in
1381 # ".. $srcdir/.." and autoconf's looks in multi_basedir. Apparently other
1382 # things are triggered on the presence of the two ...AUX_DIR[S], but I don't
1383 # know what they are or what the other differences might be (and they keep
1386 # Looking in multi_basedir seems smarter, so actually execute that branch.
1388 # this is for automake
1390 for ac_dir in .. $srcdir/..; do
1391 if test -f $ac_dir/install-sh; then
1393 ac_install_sh="$ac_aux_dir/install-sh -c"
1395 elif test -f $ac_dir/install.sh; then
1397 ac_install_sh="$ac_aux_dir/install.sh -c"
1399 elif test -f $ac_dir/shtool; then
1401 ac_install_sh="$ac_aux_dir/shtool install -c"
1405 if test -z "$ac_aux_dir"; then
1406 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1407 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1408 { (exit 1); exit 1; }; }
1410 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1411 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1412 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1415 # this is for autoconf
1417 for ac_dir in ${multi_basedir}; do
1418 if test -f $ac_dir/install-sh; then
1420 ac_install_sh="$ac_aux_dir/install-sh -c"
1422 elif test -f $ac_dir/install.sh; then
1424 ac_install_sh="$ac_aux_dir/install.sh -c"
1426 elif test -f $ac_dir/shtool; then
1428 ac_install_sh="$ac_aux_dir/shtool install -c"
1432 if test -z "$ac_aux_dir"; then
1433 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${multi_basedir}" >&5
1434 echo "$as_me: error: cannot find install-sh or install.sh in ${multi_basedir}" >&2;}
1435 { (exit 1); exit 1; }; }
1437 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1438 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1439 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1445 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1447 # You will slowly go insane if you do not grok the following fact: when
1448 # building v3 as part of the compiler, the top-level /target/ becomes the
1449 # library's /host/. configure then causes --target to default to --host,
1450 # exactly like any other package using autoconf. Therefore, 'target' and
1451 # 'host' will always be the same. This makes sense both for native and
1452 # cross compilers, just think about it for a little while. :-)
1454 # Also, if v3 is being configured as part of a cross compiler, the top-level
1455 # configure script will pass the "real" host as $with_cross_host.
1457 # Do not delete or change the following two lines. For why, see
1458 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1459 # Make sure we can run config.sub.
1460 $ac_config_sub sun4 >/dev/null 2>&1 ||
1461 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1462 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1463 { (exit 1); exit 1; }; }
1465 echo "$as_me:$LINENO: checking build system type" >&5
1466 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1467 if test "${ac_cv_build+set}" = set; then
1468 echo $ECHO_N "(cached) $ECHO_C" >&6
1470 ac_cv_build_alias=$build_alias
1471 test -z "$ac_cv_build_alias" &&
1472 ac_cv_build_alias=`$ac_config_guess`
1473 test -z "$ac_cv_build_alias" &&
1474 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1475 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1476 { (exit 1); exit 1; }; }
1477 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1478 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1479 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1480 { (exit 1); exit 1; }; }
1483 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1484 echo "${ECHO_T}$ac_cv_build" >&6
1486 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1487 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1488 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1491 echo "$as_me:$LINENO: checking host system type" >&5
1492 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1493 if test "${ac_cv_host+set}" = set; then
1494 echo $ECHO_N "(cached) $ECHO_C" >&6
1496 ac_cv_host_alias=$host_alias
1497 test -z "$ac_cv_host_alias" &&
1498 ac_cv_host_alias=$ac_cv_build_alias
1499 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1500 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1501 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1502 { (exit 1); exit 1; }; }
1505 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1506 echo "${ECHO_T}$ac_cv_host" >&6
1508 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1509 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1510 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1513 echo "$as_me:$LINENO: checking target system type" >&5
1514 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1515 if test "${ac_cv_target+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 ac_cv_target_alias=$target_alias
1519 test "x$ac_cv_target_alias" = "x" &&
1520 ac_cv_target_alias=$ac_cv_host_alias
1521 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1522 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1523 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1524 { (exit 1); exit 1; }; }
1527 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1528 echo "${ECHO_T}$ac_cv_target" >&6
1529 target=$ac_cv_target
1530 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1531 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1532 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1535 # The aliases save the names the user supplied, while $host etc.
1536 # will get canonicalized.
1537 test -n "$target_alias" &&
1538 test "$program_prefix$program_suffix$program_transform_name" = \
1540 program_prefix=${target_alias}-
1541 target_alias=${target_alias-$host_alias}
1543 # Handy for debugging:
1544 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1546 if test "$build" != "$host"; then
1547 # We are being configured with some form of cross compiler.
1548 GLIBCXX_IS_NATIVE=false
1551 GLIBCXX_IS_NATIVE=true
1554 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1555 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1556 # 1.x: minimum required version
1557 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1558 # of other PACKAGE_* variables will, however, and there's nothing
1559 # we can do about that; they come from AC_INIT).
1560 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1561 # file in the top srcdir, etc, etc), so stop complaining.
1562 # no-dependencies: turns off auto dependency generation (just for now)
1563 # -Wall: turns on all automake warnings...
1564 # -Wno-portability: ...except this one, since GNU make is now required.
1565 am__api_version="1.7"
1566 # Find a good install program. We prefer a C program (faster),
1567 # so one script is as good as another. But avoid the broken or
1568 # incompatible versions:
1569 # SysV /etc/install, /usr/sbin/install
1570 # SunOS /usr/etc/install
1571 # IRIX /sbin/install
1573 # AmigaOS /C/install, which installs bootblocks on floppy discs
1574 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1575 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1576 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1577 # ./install, which can be erroneously created by make from ./install.sh.
1578 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1580 if test -z "$INSTALL"; then
1581 if test "${ac_cv_path_install+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 test -z "$as_dir" && as_dir=.
1589 # Account for people who put trailing slashes in PATH elements.
1591 ./ | .// | /cC/* | \
1592 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1595 # OSF1 and SCO ODT 3.0 have their own names for install.
1596 # Don't use installbsd from OSF since it installs stuff as root
1598 for ac_prog in ginstall scoinst install; do
1599 for ac_exec_ext in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1601 if test $ac_prog = install &&
1602 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1603 # AIX install. It has an incompatible calling convention.
1605 elif test $ac_prog = install &&
1606 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1607 # program-specific install script used by HP pwplus--don't use.
1610 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1622 if test "${ac_cv_path_install+set}" = set; then
1623 INSTALL=$ac_cv_path_install
1625 # As a last resort, use the slow shell script. We don't cache a
1626 # path for INSTALL within a source directory, because that will
1627 # break other packages using the cache if that directory is
1628 # removed, or if the path is relative.
1629 INSTALL=$ac_install_sh
1632 echo "$as_me:$LINENO: result: $INSTALL" >&5
1633 echo "${ECHO_T}$INSTALL" >&6
1635 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1636 # It thinks the first close brace ends the variable substitution.
1637 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1639 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1641 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1643 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1644 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1647 echo timestamp > conftest.file
1648 # Do `set' in a subshell so we don't clobber the current shell's
1649 # arguments. Must try -L first in case configure is actually a
1650 # symlink; some systems play weird games with the mod time of symlinks
1651 # (eg FreeBSD returns the mod time of the symlink's containing
1654 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1655 if test "$*" = "X"; then
1657 set X `ls -t $srcdir/configure conftest.file`
1660 if test "$*" != "X $srcdir/configure conftest.file" \
1661 && test "$*" != "X conftest.file $srcdir/configure"; then
1663 # If neither matched, then we have a broken ls. This can happen
1664 # if, for instance, CONFIG_SHELL is bash and it inherits a
1665 # broken ls alias from the environment. This has actually
1666 # happened. Such a system could not be considered "sane".
1667 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&5
1669 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1670 alias in your environment" >&2;}
1671 { (exit 1); exit 1; }; }
1674 test "$2" = conftest.file
1680 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1681 Check your system clock" >&5
1682 echo "$as_me: error: newly created file is older than distributed files!
1683 Check your system clock" >&2;}
1684 { (exit 1); exit 1; }; }
1686 echo "$as_me:$LINENO: result: yes" >&5
1687 echo "${ECHO_T}yes" >&6
1688 test "$program_prefix" != NONE &&
1689 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1690 # Use a double $ so make ignores it.
1691 test "$program_suffix" != NONE &&
1692 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1693 # Double any \ or $. echo might interpret backslashes.
1694 # By default was `s,x,x', remove it if useless.
1695 cat <<\_ACEOF >conftest.sed
1696 s/[\\$]/&&/g;s/;s,x,x,$//
1698 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1702 # expand $ac_aux_dir to an absolute path
1703 am_aux_dir=`cd $ac_aux_dir && pwd`
1705 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1706 # Use eval to expand $SHELL
1707 if eval "$MISSING --run true"; then
1708 am_missing_run="$MISSING --run "
1711 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1712 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1715 for ac_prog in gawk mawk nawk awk
1717 # Extract the first word of "$ac_prog", so it can be a program name with args.
1718 set dummy $ac_prog; ac_word=$2
1719 echo "$as_me:$LINENO: checking for $ac_word" >&5
1720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1721 if test "${ac_cv_prog_AWK+set}" = set; then
1722 echo $ECHO_N "(cached) $ECHO_C" >&6
1724 if test -n "$AWK"; then
1725 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir=.
1732 for ac_exec_ext in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 ac_cv_prog_AWK="$ac_prog"
1735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1744 if test -n "$AWK"; then
1745 echo "$as_me:$LINENO: result: $AWK" >&5
1746 echo "${ECHO_T}$AWK" >&6
1748 echo "$as_me:$LINENO: result: no" >&5
1749 echo "${ECHO_T}no" >&6
1752 test -n "$AWK" && break
1755 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1756 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1757 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1758 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1761 cat >conftest.make <<\_ACEOF
1763 @echo 'ac_maketemp="$(MAKE)"'
1765 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1766 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1767 if test -n "$ac_maketemp"; then
1768 eval ac_cv_prog_make_${ac_make}_set=yes
1770 eval ac_cv_prog_make_${ac_make}_set=no
1774 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1775 echo "$as_me:$LINENO: result: yes" >&5
1776 echo "${ECHO_T}yes" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1781 SET_MAKE="MAKE=${MAKE-make}"
1784 rm -rf .tst 2>/dev/null
1785 mkdir .tst 2>/dev/null
1786 if test -d .tst; then
1791 rmdir .tst 2>/dev/null
1793 # test to see if srcdir already configured
1794 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1795 test -f $srcdir/config.status; then
1796 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1797 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1798 { (exit 1); exit 1; }; }
1801 # test whether we have cygpath
1802 if test -z "$CYGPATH_W"; then
1803 if (cygpath --version) >/dev/null 2>/dev/null; then
1804 CYGPATH_W='cygpath -w'
1811 # Define the identity of the package.
1813 VERSION='version-unused'
1816 # Some tools Automake needs.
1818 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1821 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1824 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1827 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1830 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1833 AMTAR=${AMTAR-"${am_missing_run}tar"}
1835 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1837 # Installed binaries are usually stripped using `strip' when the user
1838 # run `make install-strip'. However `strip' might not be the right
1839 # tool to use in cross-compilation environments, therefore Automake
1840 # will honor the `STRIP' environment variable to overrule this program.
1841 if test "$cross_compiling" != no; then
1842 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1844 set dummy ${ac_tool_prefix}strip; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_STRIP+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$STRIP"; then
1851 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 STRIP=$ac_cv_prog_STRIP
1870 if test -n "$STRIP"; then
1871 echo "$as_me:$LINENO: result: $STRIP" >&5
1872 echo "${ECHO_T}$STRIP" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1879 if test -z "$ac_cv_prog_STRIP"; then
1881 # Extract the first word of "strip", so it can be a program name with args.
1882 set dummy strip; ac_word=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$ac_ct_STRIP"; then
1889 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_STRIP="strip"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1905 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1908 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1909 if test -n "$ac_ct_STRIP"; then
1910 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1911 echo "${ECHO_T}$ac_ct_STRIP" >&6
1913 echo "$as_me:$LINENO: result: no" >&5
1914 echo "${ECHO_T}no" >&6
1919 STRIP="$ac_cv_prog_STRIP"
1923 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1925 # We need awk for the "check" target. The system "awk" is bad on
1931 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1932 # up critical shell variables.
1934 # Keep these sync'd with the list in Makefile.am. The first provides an
1935 # expandable list at autoconf time; the second provides an expandable list
1936 # (i.e., shell variable) at configure time.
1938 SUBDIRS='include libmath libsupc++ src po testsuite'
1940 # These need to be absolute paths, yet at the same time need to
1941 # canonicalize only relative paths, because then amd will not unmount
1942 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1943 glibcxx_builddir=`${PWDCMD-pwd}`
1945 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1946 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1948 toplevel_srcdir=${glibcxx_srcdir}/..
1953 # We use these options to decide which functions to include. They are
1954 # set from the top level.
1956 # Check whether --with-target-subdir or --without-target-subdir was given.
1957 if test "${with_target_subdir+set}" = set; then
1958 withval="$with_target_subdir"
1963 # Check whether --with-cross-host or --without-cross-host was given.
1964 if test "${with_cross_host+set}" = set; then
1965 withval="$with_cross_host"
1970 # Check whether --with-newlib or --without-newlib was given.
1971 if test "${with_newlib+set}" = set; then
1972 withval="$with_newlib"
1976 # We're almost certainly being configured before anything else which uses
1977 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1978 # we not cache the value of CXX that we "discover" here, because it's set
1979 # to something unique for us and libjava. Other target libraries need to
1980 # find CXX for themselves. We yank the rug out from under the normal AC_*
1981 # process by sneakily renaming the cache variable. This also lets us debug
1982 # the value of "our" CXX in postmortems.
1984 # We must also force CXX to /not/ be a precious variable, otherwise the
1985 # wrong (non-multilib-adjusted) value will be used in multilibs. This
1986 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
1987 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
1988 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
1990 # -fno-builtin must be present here so that a non-conflicting form of
1991 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
1996 save_CXXFLAGS="$CXXFLAGS"
1997 CXXFLAGS="$CXXFLAGS -fno-builtin"
1999 ac_cpp='$CPP $CPPFLAGS'
2000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2003 if test -n "$ac_tool_prefix"; then
2004 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2005 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2006 echo "$as_me:$LINENO: checking for $ac_word" >&5
2007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2008 if test "${ac_cv_prog_CC+set}" = set; then
2009 echo $ECHO_N "(cached) $ECHO_C" >&6
2011 if test -n "$CC"; then
2012 ac_cv_prog_CC="$CC" # Let the user override the test.
2014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2018 test -z "$as_dir" && as_dir=.
2019 for ac_exec_ext in '' $ac_executable_extensions; do
2020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2021 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2031 if test -n "$CC"; then
2032 echo "$as_me:$LINENO: result: $CC" >&5
2033 echo "${ECHO_T}$CC" >&6
2035 echo "$as_me:$LINENO: result: no" >&5
2036 echo "${ECHO_T}no" >&6
2040 if test -z "$ac_cv_prog_CC"; then
2042 # Extract the first word of "gcc", so it can be a program name with args.
2043 set dummy gcc; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 if test -n "$ac_ct_CC"; then
2050 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_ac_ct_CC="gcc"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2069 if test -n "$ac_ct_CC"; then
2070 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2071 echo "${ECHO_T}$ac_ct_CC" >&6
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2082 if test -z "$CC"; then
2083 if test -n "$ac_tool_prefix"; then
2084 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2085 set dummy ${ac_tool_prefix}cc; ac_word=$2
2086 echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2088 if test "${ac_cv_prog_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$CC"; then
2092 ac_cv_prog_CC="$CC" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_CC="${ac_tool_prefix}cc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$CC"; then
2112 echo "$as_me:$LINENO: result: $CC" >&5
2113 echo "${ECHO_T}$CC" >&6
2115 echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2120 if test -z "$ac_cv_prog_CC"; then
2122 # Extract the first word of "cc", so it can be a program name with args.
2123 set dummy cc; ac_word=$2
2124 echo "$as_me:$LINENO: checking for $ac_word" >&5
2125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2126 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 if test -n "$ac_ct_CC"; then
2130 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 test -z "$as_dir" && as_dir=.
2137 for ac_exec_ext in '' $ac_executable_extensions; do
2138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2139 ac_cv_prog_ac_ct_CC="cc"
2140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2149 if test -n "$ac_ct_CC"; then
2150 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2151 echo "${ECHO_T}$ac_ct_CC" >&6
2153 echo "$as_me:$LINENO: result: no" >&5
2154 echo "${ECHO_T}no" >&6
2163 if test -z "$CC"; then
2164 # Extract the first word of "cc", so it can be a program name with args.
2165 set dummy cc; ac_word=$2
2166 echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2182 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2183 ac_prog_rejected=yes
2187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test $ac_prog_rejected = yes; then
2194 # We found a bogon in the path, so make sure we never use it.
2195 set dummy $ac_cv_prog_CC
2197 if test $# != 0; then
2198 # We chose a different compiler from the bogus one.
2199 # However, it has the same basename, so the bogon will be chosen
2200 # first if we set CC to just the basename; use the full file name.
2202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2208 if test -n "$CC"; then
2209 echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6
2212 echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2223 echo "$as_me:$LINENO: checking for $ac_word" >&5
2224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2225 if test "${ac_cv_prog_CC+set}" = set; then
2226 echo $ECHO_N "(cached) $ECHO_C" >&6
2228 if test -n "$CC"; then
2229 ac_cv_prog_CC="$CC" # Let the user override the test.
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 if test -n "$CC"; then
2249 echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6
2252 echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6
2256 test -n "$CC" && break
2259 if test -z "$CC"; then
2263 # Extract the first word of "$ac_prog", so it can be a program name with args.
2264 set dummy $ac_prog; ac_word=$2
2265 echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2267 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$ac_ct_CC"; then
2271 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2280 ac_cv_prog_ac_ct_CC="$ac_prog"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2290 if test -n "$ac_ct_CC"; then
2291 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2292 echo "${ECHO_T}$ac_ct_CC" >&6
2294 echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6
2298 test -n "$ac_ct_CC" && break
2307 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2308 See \`config.log' for more details." >&5
2309 echo "$as_me: error: no acceptable C compiler found in \$PATH
2310 See \`config.log' for more details." >&2;}
2311 { (exit 1); exit 1; }; }
2313 # Provide some information about the compiler.
2314 echo "$as_me:$LINENO:" \
2315 "checking for C compiler version" >&5
2316 ac_compiler=`set X $ac_compile; echo $2`
2317 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2318 (eval $ac_compiler --version </dev/null >&5) 2>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }
2322 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2323 (eval $ac_compiler -v </dev/null >&5) 2>&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }
2327 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2328 (eval $ac_compiler -V </dev/null >&5) 2>&5
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }
2333 cat >conftest.$ac_ext <<_ACEOF
2334 #line $LINENO "configure"
2337 cat confdefs.h >>conftest.$ac_ext
2338 cat >>conftest.$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2351 (eval $ac_link) 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }; then
2360 if test x$gcc_no_link = xyes; then
2361 # Setting cross_compile will disable run tests; it will
2362 # also disable AC_CHECK_FILE but that's generally
2363 # correct if we can't link.
2367 cat >conftest.$ac_ext <<_ACEOF
2368 #line $LINENO "configure"
2371 cat confdefs.h >>conftest.$ac_ext
2372 cat >>conftest.$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2383 ac_clean_files_save=$ac_clean_files
2384 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2385 # Try to create an executable without -o first, disregard a.out.
2386 # It will help us diagnose broken compilers, and finding out an intuition
2388 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2389 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2390 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2391 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2392 (eval $ac_link_default) 2>&5
2394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2395 (exit $ac_status); }; then
2396 # Find the output, starting from the most likely. This scheme is
2397 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2400 # Be careful to initialize this variable, since it used to be cached.
2401 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2403 # b.out is created by i960 compilers.
2404 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2406 test -f "$ac_file" || continue
2408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2411 # This is the source file.
2414 # We found the default executable, but exeext='' is most
2418 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2419 # FIXME: I believe we export ac_cv_exeext for Libtool,
2420 # but it would be cool to find out if it's true. Does anybody
2421 # maintain Libtool? --akim.
2429 echo "$as_me: failed program was:" >&5
2430 sed 's/^/| /' conftest.$ac_ext >&5
2432 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2433 See \`config.log' for more details." >&5
2434 echo "$as_me: error: C compiler cannot create executables
2435 See \`config.log' for more details." >&2;}
2436 { (exit 77); exit 77; }; }
2439 ac_exeext=$ac_cv_exeext
2440 echo "$as_me:$LINENO: result: $ac_file" >&5
2441 echo "${ECHO_T}$ac_file" >&6
2443 # Check the compiler produces executables we can run. If not, either
2444 # the compiler is broken, or we cross compile.
2445 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2446 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2447 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2448 # If not cross compiling, check that we can run a simple program.
2449 if test "$cross_compiling" != yes; then
2450 if { ac_try='./$ac_file'
2451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2455 (exit $ac_status); }; }; then
2458 if test "$cross_compiling" = maybe; then
2461 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2462 If you meant to cross compile, use \`--host'.
2463 See \`config.log' for more details." >&5
2464 echo "$as_me: error: cannot run C compiled programs.
2465 If you meant to cross compile, use \`--host'.
2466 See \`config.log' for more details." >&2;}
2467 { (exit 1); exit 1; }; }
2471 echo "$as_me:$LINENO: result: yes" >&5
2472 echo "${ECHO_T}yes" >&6
2474 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2475 ac_clean_files=$ac_clean_files_save
2476 # Check the compiler produces executables we can run. If not, either
2477 # the compiler is broken, or we cross compile.
2478 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2479 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2480 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2481 echo "${ECHO_T}$cross_compiling" >&6
2483 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2484 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2486 (eval $ac_link) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2491 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2492 # work properly (i.e., refer to `conftest.exe'), while it won't with
2494 for ac_file in conftest.exe conftest conftest.*; do
2495 test -f "$ac_file" || continue
2497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2498 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2506 See \`config.log' for more details." >&5
2507 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2512 rm -f conftest$ac_cv_exeext
2513 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2514 echo "${ECHO_T}$ac_cv_exeext" >&6
2516 rm -f conftest.$ac_ext
2517 EXEEXT=$ac_cv_exeext
2520 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2521 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2522 if test "${ac_cv_objext+set}" = set; then
2523 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 cat >conftest.$ac_ext <<_ACEOF
2526 #line $LINENO "configure"
2529 cat confdefs.h >>conftest.$ac_ext
2530 cat >>conftest.$ac_ext <<_ACEOF
2531 /* end confdefs.h. */
2541 rm -f conftest.o conftest.obj
2542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2543 (eval $ac_compile) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2550 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2555 echo "$as_me: failed program was:" >&5
2556 sed 's/^/| /' conftest.$ac_ext >&5
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2567 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2568 echo "${ECHO_T}$ac_cv_objext" >&6
2569 OBJEXT=$ac_cv_objext
2571 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2572 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2573 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 cat >conftest.$ac_ext <<_ACEOF
2577 #line $LINENO "configure"
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2595 rm -f conftest.$ac_objext
2596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2597 (eval $ac_compile) 2>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); } &&
2601 { ac_try='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2614 rm -f conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2618 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2619 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2620 GCC=`test $ac_compiler_gnu = yes && echo yes`
2621 ac_test_CFLAGS=${CFLAGS+set}
2622 ac_save_CFLAGS=$CFLAGS
2624 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2625 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2626 if test "${ac_cv_prog_cc_g+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 cat >conftest.$ac_ext <<_ACEOF
2630 #line $LINENO "configure"
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2645 rm -f conftest.$ac_objext
2646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2647 (eval $ac_compile) 2>&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2656 (exit $ac_status); }; }; then
2659 echo "$as_me: failed program was:" >&5
2660 sed 's/^/| /' conftest.$ac_ext >&5
2664 rm -f conftest.$ac_objext conftest.$ac_ext
2666 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2667 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2668 if test "$ac_test_CFLAGS" = set; then
2669 CFLAGS=$ac_save_CFLAGS
2670 elif test $ac_cv_prog_cc_g = yes; then
2671 if test "$GCC" = yes; then
2677 if test "$GCC" = yes; then
2683 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2684 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2685 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 ac_cv_prog_cc_stdc=no
2690 cat >conftest.$ac_ext <<_ACEOF
2691 #line $LINENO "configure"
2694 cat confdefs.h >>conftest.$ac_ext
2695 cat >>conftest.$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2699 #include <sys/types.h>
2700 #include <sys/stat.h>
2701 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2702 struct buf { int x; };
2703 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2704 static char *e (p, i)
2710 static char *f (char * (*g) (char **, int), char **p, ...)
2715 s = g (p, va_arg (v,int));
2719 int test (int i, double x);
2720 struct s1 {int (*f) (int a);};
2721 struct s2 {int (*f) (double a);};
2722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2728 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2733 # Don't try gcc -ansi; that turns off useful extensions and
2734 # breaks some systems' header files.
2735 # AIX -qlanglvl=ansi
2736 # Ultrix and OSF/1 -std1
2737 # HP-UX 10.20 and later -Ae
2738 # HP-UX older versions -Aa -D_HPUX_SOURCE
2739 # SVR4 -Xc -D__EXTENSIONS__
2740 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2742 CC="$ac_save_CC $ac_arg"
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try='test -s conftest.$ac_objext'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; }; then
2755 ac_cv_prog_cc_stdc=$ac_arg
2758 echo "$as_me: failed program was:" >&5
2759 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f conftest.$ac_objext
2764 rm -f conftest.$ac_ext conftest.$ac_objext
2769 case "x$ac_cv_prog_cc_stdc" in
2771 echo "$as_me:$LINENO: result: none needed" >&5
2772 echo "${ECHO_T}none needed" >&6 ;;
2774 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2775 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2776 CC="$CC $ac_cv_prog_cc_stdc" ;;
2779 # Some people use a C++ compiler to compile C. Since we use `exit',
2780 # in C++ we need to declare it. In case someone uses the same compiler
2781 # for both compiling C and C++ we need to have the C++ compiler decide
2782 # the declaration of exit, since it's the most demanding environment.
2783 cat >conftest.$ac_ext <<_ACEOF
2788 rm -f conftest.$ac_objext
2789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790 (eval $ac_compile) 2>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } &&
2794 { ac_try='test -s conftest.$ac_objext'
2795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); }; }; then
2800 for ac_declaration in \
2802 '#include <stdlib.h>' \
2803 'extern "C" void std::exit (int) throw (); using std::exit;' \
2804 'extern "C" void std::exit (int); using std::exit;' \
2805 'extern "C" void exit (int) throw ();' \
2806 'extern "C" void exit (int);' \
2809 cat >conftest.$ac_ext <<_ACEOF
2810 #line $LINENO "configure"
2813 cat confdefs.h >>conftest.$ac_ext
2814 cat >>conftest.$ac_ext <<_ACEOF
2815 /* end confdefs.h. */
2826 rm -f conftest.$ac_objext
2827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2828 (eval $ac_compile) 2>&5
2830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2831 (exit $ac_status); } &&
2832 { ac_try='test -s conftest.$ac_objext'
2833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); }; }; then
2840 echo "$as_me: failed program was:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2845 rm -f conftest.$ac_objext conftest.$ac_ext
2846 cat >conftest.$ac_ext <<_ACEOF
2847 #line $LINENO "configure"
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2862 rm -f conftest.$ac_objext
2863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2864 (eval $ac_compile) 2>&5
2866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867 (exit $ac_status); } &&
2868 { ac_try='test -s conftest.$ac_objext'
2869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; }; then
2876 echo "$as_me: failed program was:" >&5
2877 sed 's/^/| /' conftest.$ac_ext >&5
2880 rm -f conftest.$ac_objext conftest.$ac_ext
2883 if test -n "$ac_declaration"; then
2884 echo '#ifdef __cplusplus' >>confdefs.h
2885 echo $ac_declaration >>confdefs.h
2886 echo '#endif' >>confdefs.h
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2894 rm -f conftest.$ac_objext conftest.$ac_ext
2896 ac_cpp='$CPP $CPPFLAGS'
2897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2902 ac_cpp='$CXXCPP $CPPFLAGS'
2903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2906 if test -n "$ac_tool_prefix"; then
2907 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2911 echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2913 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2914 echo $ECHO_N "(cached) $ECHO_C" >&6
2916 if test -n "$CXX"; then
2917 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir=.
2924 for ac_exec_ext in '' $ac_executable_extensions; do
2925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2926 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 CXX=$glibcxx_cv_prog_CXX
2936 if test -n "$CXX"; then
2937 echo "$as_me:$LINENO: result: $CXX" >&5
2938 echo "${ECHO_T}$CXX" >&6
2940 echo "$as_me:$LINENO: result: no" >&5
2941 echo "${ECHO_T}no" >&6
2944 test -n "$CXX" && break
2947 if test -z "$CXX"; then
2949 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2951 # Extract the first word of "$ac_prog", so it can be a program name with args.
2952 set dummy $ac_prog; ac_word=$2
2953 echo "$as_me:$LINENO: checking for $ac_word" >&5
2954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2955 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 if test -n "$ac_ct_CXX"; then
2959 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2965 test -z "$as_dir" && as_dir=.
2966 for ac_exec_ext in '' $ac_executable_extensions; do
2967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2968 ac_cv_prog_ac_ct_CXX="$ac_prog"
2969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2977 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2978 if test -n "$ac_ct_CXX"; then
2979 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2980 echo "${ECHO_T}$ac_ct_CXX" >&6
2982 echo "$as_me:$LINENO: result: no" >&5
2983 echo "${ECHO_T}no" >&6
2986 test -n "$ac_ct_CXX" && break
2988 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2994 # Provide some information about the compiler.
2995 echo "$as_me:$LINENO:" \
2996 "checking for C++ compiler version" >&5
2997 ac_compiler=`set X $ac_compile; echo $2`
2998 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2999 (eval $ac_compiler --version </dev/null >&5) 2>&5
3001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3002 (exit $ac_status); }
3003 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3004 (eval $ac_compiler -v </dev/null >&5) 2>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); }
3008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3009 (eval $ac_compiler -V </dev/null >&5) 2>&5
3011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012 (exit $ac_status); }
3014 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3015 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3016 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 cat >conftest.$ac_ext <<_ACEOF
3020 #line $LINENO "configure"
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3038 rm -f conftest.$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } &&
3044 { ac_try='test -s conftest.$ac_objext'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3052 echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.$ac_ext >&5
3057 rm -f conftest.$ac_objext conftest.$ac_ext
3058 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3061 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3062 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3063 GXX=`test $ac_compiler_gnu = yes && echo yes`
3064 ac_test_CXXFLAGS=${CXXFLAGS+set}
3065 ac_save_CXXFLAGS=$CXXFLAGS
3067 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3068 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3069 if test "${ac_cv_prog_cxx_g+set}" = set; then
3070 echo $ECHO_N "(cached) $ECHO_C" >&6
3072 cat >conftest.$ac_ext <<_ACEOF
3073 #line $LINENO "configure"
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3088 rm -f conftest.$ac_objext
3089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090 (eval $ac_compile) 2>&5
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); } &&
3094 { ac_try='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 ac_cv_prog_cxx_g=yes
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3107 rm -f conftest.$ac_objext conftest.$ac_ext
3109 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3110 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3111 if test "$ac_test_CXXFLAGS" = set; then
3112 CXXFLAGS=$ac_save_CXXFLAGS
3113 elif test $ac_cv_prog_cxx_g = yes; then
3114 if test "$GXX" = yes; then
3120 if test "$GXX" = yes; then
3126 for ac_declaration in \
3128 '#include <stdlib.h>' \
3129 'extern "C" void std::exit (int) throw (); using std::exit;' \
3130 'extern "C" void std::exit (int); using std::exit;' \
3131 'extern "C" void exit (int) throw ();' \
3132 'extern "C" void exit (int);' \
3135 cat >conftest.$ac_ext <<_ACEOF
3136 #line $LINENO "configure"
3139 cat confdefs.h >>conftest.$ac_ext
3140 cat >>conftest.$ac_ext <<_ACEOF
3141 /* end confdefs.h. */
3152 rm -f conftest.$ac_objext
3153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3154 (eval $ac_compile) 2>&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } &&
3158 { ac_try='test -s conftest.$ac_objext'
3159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); }; }; then
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3171 rm -f conftest.$ac_objext conftest.$ac_ext
3172 cat >conftest.$ac_ext <<_ACEOF
3173 #line $LINENO "configure"
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3206 rm -f conftest.$ac_objext conftest.$ac_ext
3209 if test -n "$ac_declaration"; then
3210 echo '#ifdef __cplusplus' >>confdefs.h
3211 echo $ac_declaration >>confdefs.h
3212 echo '#endif' >>confdefs.h
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221 CXXFLAGS="$save_CXXFLAGS"
3226 # For directory versioning (e.g., headers) and other variables.
3227 echo "$as_me:$LINENO: checking for GCC version number" >&5
3228 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3229 gcc_version=`$CXX -dumpversion`
3230 echo "$as_me:$LINENO: result: $gcc_version" >&5
3231 echo "${ECHO_T}$gcc_version" >&6
3233 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3234 # available). Uncomment the next line to force a particular method.
3235 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3236 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3238 if test "$LN_S" = "ln -s"; then
3239 echo "$as_me:$LINENO: result: yes" >&5
3240 echo "${ECHO_T}yes" >&6
3242 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3243 echo "${ECHO_T}no, using $LN_S" >&6
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}as; ac_word=$2
3251 echo "$as_me:$LINENO: checking for $ac_word" >&5
3252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3253 if test "${ac_cv_prog_AS+set}" = set; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 if test -n "$AS"; then
3257 ac_cv_prog_AS="$AS" # Let the user override the test.
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266 ac_cv_prog_AS="${ac_tool_prefix}as"
3267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 if test -n "$AS"; then
3277 echo "$as_me:$LINENO: result: $AS" >&5
3278 echo "${ECHO_T}$AS" >&6
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3285 if test -z "$ac_cv_prog_AS"; then
3287 # Extract the first word of "as", so it can be a program name with args.
3288 set dummy as; ac_word=$2
3289 echo "$as_me:$LINENO: checking for $ac_word" >&5
3290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3291 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3292 echo $ECHO_N "(cached) $ECHO_C" >&6
3294 if test -n "$ac_ct_AS"; then
3295 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 test -z "$as_dir" && as_dir=.
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3304 ac_cv_prog_ac_ct_AS="as"
3305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3314 if test -n "$ac_ct_AS"; then
3315 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3316 echo "${ECHO_T}$ac_ct_AS" >&6
3318 echo "$as_me:$LINENO: result: no" >&5
3319 echo "${ECHO_T}no" >&6
3327 if test -n "$ac_tool_prefix"; then
3328 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3329 set dummy ${ac_tool_prefix}ar; ac_word=$2
3330 echo "$as_me:$LINENO: checking for $ac_word" >&5
3331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3332 if test "${ac_cv_prog_AR+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 if test -n "$AR"; then
3336 ac_cv_prog_AR="$AR" # Let the user override the test.
3338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342 test -z "$as_dir" && as_dir=.
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_AR="${ac_tool_prefix}ar"
3346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test -n "$AR"; then
3356 echo "$as_me:$LINENO: result: $AR" >&5
3357 echo "${ECHO_T}$AR" >&6
3359 echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6
3364 if test -z "$ac_cv_prog_AR"; then
3366 # Extract the first word of "ar", so it can be a program name with args.
3367 set dummy ar; ac_word=$2
3368 echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3370 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3373 if test -n "$ac_ct_AR"; then
3374 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 ac_cv_prog_ac_ct_AR="ar"
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3393 if test -n "$ac_ct_AR"; then
3394 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3395 echo "${ECHO_T}$ac_ct_AR" >&6
3397 echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3406 if test -n "$ac_tool_prefix"; then
3407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3408 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3409 echo "$as_me:$LINENO: checking for $ac_word" >&5
3410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3411 if test "${ac_cv_prog_RANLIB+set}" = set; then
3412 echo $ECHO_N "(cached) $ECHO_C" >&6
3414 if test -n "$RANLIB"; then
3415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 test -z "$as_dir" && as_dir=.
3422 for ac_exec_ext in '' $ac_executable_extensions; do
3423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3424 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3433 RANLIB=$ac_cv_prog_RANLIB
3434 if test -n "$RANLIB"; then
3435 echo "$as_me:$LINENO: result: $RANLIB" >&5
3436 echo "${ECHO_T}$RANLIB" >&6
3438 echo "$as_me:$LINENO: result: no" >&5
3439 echo "${ECHO_T}no" >&6
3443 if test -z "$ac_cv_prog_RANLIB"; then
3444 ac_ct_RANLIB=$RANLIB
3445 # Extract the first word of "ranlib", so it can be a program name with args.
3446 set dummy ranlib; ac_word=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -n "$ac_ct_RANLIB"; then
3453 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir=.
3460 for ac_exec_ext in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_ac_ct_RANLIB="ranlib"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3469 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3472 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3473 if test -n "$ac_ct_RANLIB"; then
3474 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3475 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3481 RANLIB=$ac_ct_RANLIB
3483 RANLIB="$ac_cv_prog_RANLIB"
3487 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3488 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3489 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3490 if test "${enable_maintainer_mode+set}" = set; then
3491 enableval="$enable_maintainer_mode"
3492 USE_MAINTAINER_MODE=$enableval
3494 USE_MAINTAINER_MODE=no
3496 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3497 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3500 if test $USE_MAINTAINER_MODE = yes; then
3501 MAINTAINER_MODE_TRUE=
3502 MAINTAINER_MODE_FALSE='#'
3504 MAINTAINER_MODE_TRUE='#'
3505 MAINTAINER_MODE_FALSE=
3508 MAINT=$MAINTAINER_MODE_TRUE
3512 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3513 # which are themselves conditionally expanded.
3514 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3515 ## other macros from doing the same. This should be automated.) -pme
3518 #enable_libstdcxx_debug=no
3519 #enable_libstdcxx_pch=no
3522 #enable_abi_check=no
3524 #enable_hosted_libstdcxx=yes
3526 # Find platform-specific directories containing configuration info.
3527 # Also possibly modify flags used elsewhere, as needed by the platform.
3529 . $glibcxx_srcdir/configure.host
3530 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3531 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3532 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3533 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3537 #AC_MSG_NOTICE([====== Starting libtool configuration])
3539 # Check whether --enable-shared or --disable-shared was given.
3540 if test "${enable_shared+set}" = set; then
3541 enableval="$enable_shared"
3542 p=${PACKAGE-default}
3544 yes) enable_shared=yes ;;
3545 no) enable_shared=no ;;
3548 # Look at the argument we got. We use all the common list separators.
3549 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3550 for pkg in $enableval; do
3551 if test "X$pkg" = "X$p"; then
3561 # Check whether --enable-static or --disable-static was given.
3562 if test "${enable_static+set}" = set; then
3563 enableval="$enable_static"
3564 p=${PACKAGE-default}
3566 yes) enable_static=yes ;;
3567 no) enable_static=no ;;
3570 # Look at the argument we got. We use all the common list separators.
3571 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3572 for pkg in $enableval; do
3573 if test "X$pkg" = "X$p"; then
3583 # Check whether --enable-fast-install or --disable-fast-install was given.
3584 if test "${enable_fast_install+set}" = set; then
3585 enableval="$enable_fast_install"
3586 p=${PACKAGE-default}
3588 yes) enable_fast_install=yes ;;
3589 no) enable_fast_install=no ;;
3591 enable_fast_install=no
3592 # Look at the argument we got. We use all the common list separators.
3593 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3594 for pkg in $enableval; do
3595 if test "X$pkg" = "X$p"; then
3596 enable_fast_install=yes
3603 enable_fast_install=yes
3606 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3607 if test "${with_gnu_ld+set}" = set; then
3608 withval="$with_gnu_ld"
3609 test "$withval" = no || with_gnu_ld=yes
3614 if test "$GCC" = yes; then
3615 # Check if gcc -print-prog-name=ld gives a path.
3616 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3617 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3620 # gcc leaves a trailing carriage return which upsets mingw
3621 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3623 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3626 # Accept absolute paths.
3627 [\\/]* | [A-Za-z]:[\\/]*)
3628 re_direlt='/[^/][^/]*/\.\./'
3629 # Canonicalize the path of ld
3630 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3631 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3632 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3634 test -z "$LD" && LD="$ac_prog"
3637 # If it fails, then pretend we aren't using GCC.
3641 # If it is relative, then search for the first ld in PATH.
3645 elif test "$with_gnu_ld" = yes; then
3646 echo "$as_me:$LINENO: checking for GNU ld" >&5
3647 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3649 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3650 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3652 if test "${lt_cv_path_LD+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 if test -z "$LD"; then
3656 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3657 for ac_dir in $PATH; do
3658 test -z "$ac_dir" && ac_dir=.
3659 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3660 lt_cv_path_LD="$ac_dir/$ac_prog"
3661 # Check to see if the program is GNU ld. I'd rather use --version,
3662 # but apparently some GNU ld's only accept -v.
3663 # Break only if it was the GNU/non-GNU ld that we prefer.
3664 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3665 test "$with_gnu_ld" != no && break
3667 test "$with_gnu_ld" != yes && break
3673 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3678 if test -n "$LD"; then
3679 echo "$as_me:$LINENO: result: $LD" >&5
3680 echo "${ECHO_T}$LD" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3685 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3686 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3687 { (exit 1); exit 1; }; }
3688 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3689 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3690 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3691 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3694 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3695 lt_cv_prog_gnu_ld=yes
3697 lt_cv_prog_gnu_ld=no
3700 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3701 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3702 with_gnu_ld=$lt_cv_prog_gnu_ld
3705 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3706 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3707 if test "${lt_cv_ld_reload_flag+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 lt_cv_ld_reload_flag='-r'
3712 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3713 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3714 reload_flag=$lt_cv_ld_reload_flag
3715 test -n "$reload_flag" && reload_flag=" $reload_flag"
3717 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3718 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3719 if test "${lt_cv_path_NM+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 if test -n "$NM"; then
3723 # Let the user override the test.
3726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3727 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3728 test -z "$ac_dir" && ac_dir=.
3729 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3730 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3731 # Check to see if the nm accepts a BSD-compat flag.
3732 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3733 # nm: unknown option "B" ignored
3734 # Tru64's nm complains that /dev/null is an invalid object file
3735 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3736 lt_cv_path_NM="$tmp_nm -B"
3738 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3739 lt_cv_path_NM="$tmp_nm -p"
3742 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3743 continue # so that we can try to find one that supports BSD flags
3748 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3753 echo "$as_me:$LINENO: result: $NM" >&5
3754 echo "${ECHO_T}$NM" >&6
3756 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3757 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3758 if test "${lt_cv_deplibs_check_method+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 lt_cv_file_magic_cmd='$MAGIC_CMD'
3762 lt_cv_file_magic_test_file=
3763 lt_cv_deplibs_check_method='unknown'
3764 # Need to set the preceding variable on all platforms that support
3765 # interlibrary dependencies.
3766 # 'none' -- dependencies not supported.
3767 # `unknown' -- same as none, but documents that we really don't know.
3768 # 'pass_all' -- all dependencies passed with no checks.
3769 # 'test_compile' -- check by making test program.
3770 # 'file_magic [regex]' -- check by looking for files in library path
3771 # which responds to the $file_magic_cmd with a given egrep regex.
3772 # If you have `file' or equivalent on your system and you're not sure
3773 # whether `pass_all' will *always* work, you probably want this one.
3777 lt_cv_deplibs_check_method=pass_all
3781 lt_cv_deplibs_check_method=pass_all
3785 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3786 lt_cv_file_magic_cmd='/usr/bin/file -L'
3787 lt_cv_file_magic_test_file=/shlib/libc.so
3790 cygwin* | mingw* |pw32*)
3791 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3792 lt_cv_file_magic_cmd='$OBJDUMP -f'
3795 darwin* | rhapsody*)
3796 # this will be overwritten by pass_all, but leave it in just in case
3797 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3798 lt_cv_file_magic_cmd='/usr/bin/file -L'
3800 rhapsody* | darwin1.012)
3801 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3804 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3807 lt_cv_deplibs_check_method=pass_all
3811 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3814 # Not sure whether the presence of OpenBSD here was a mistake.
3815 # Let's accept both of them until this is cleared up.
3816 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3817 lt_cv_file_magic_cmd=/usr/bin/file
3818 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3822 lt_cv_deplibs_check_method=pass_all
3827 lt_cv_deplibs_check_method=pass_all
3833 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3834 lt_cv_file_magic_cmd=/usr/bin/file
3835 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3838 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3839 lt_cv_file_magic_cmd=/usr/bin/file
3840 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3848 # this will be overridden with pass_all, but let us keep it just in case
3849 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3853 *-32|*"-32 ") libmagic=32-bit;;
3854 *-n32|*"-n32 ") libmagic=N32;;
3855 *-64|*"-64 ") libmagic=64-bit;;
3856 *) libmagic=never-match;;
3858 # this will be overridden with pass_all, but let us keep it just in case
3859 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3862 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3863 lt_cv_deplibs_check_method=pass_all
3866 # This must be Linux ELF.
3869 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
3870 lt_cv_deplibs_check_method=pass_all ;;
3872 # glibc up to 2.1.1 does not perform some relocations on ARM
3873 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3875 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3879 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3880 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3882 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3887 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
3888 lt_cv_file_magic_cmd=/usr/bin/file
3889 lt_cv_file_magic_test_file=/usr/lib/libnls.so
3892 osf3* | osf4* | osf5*)
3893 # this will be overridden with pass_all, but let us keep it just in case
3894 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
3895 lt_cv_file_magic_test_file=/shlib/libc.so
3896 lt_cv_deplibs_check_method=pass_all
3900 lt_cv_deplibs_check_method=pass_all
3904 lt_cv_deplibs_check_method=pass_all
3905 lt_cv_file_magic_test_file=/lib/libc.so
3908 sysv5uw[78]* | sysv4*uw2*)
3909 lt_cv_deplibs_check_method=pass_all
3912 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
3913 case $host_vendor in
3915 lt_cv_deplibs_check_method=pass_all
3918 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
3919 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
3926 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3927 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3928 file_magic_cmd=$lt_cv_file_magic_cmd
3929 deplibs_check_method=$lt_cv_deplibs_check_method
3935 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
3937 # Only perform the check for file, if the check method requires it
3938 case $deplibs_check_method in
3940 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
3941 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
3942 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
3943 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
3951 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
3954 ac_save_MAGIC_CMD="$MAGIC_CMD"
3955 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3956 ac_dummy="/usr/bin:$PATH"
3957 for ac_dir in $ac_dummy; do
3958 test -z "$ac_dir" && ac_dir=.
3959 if test -f $ac_dir/${ac_tool_prefix}file; then
3960 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
3961 if test -n "$file_magic_test_file"; then
3962 case $deplibs_check_method in
3964 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
3965 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3966 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
3967 egrep "$file_magic_regex" > /dev/null; then
3972 *** Warning: the command libtool uses to detect shared libraries,
3973 *** $file_magic_cmd, produces output that libtool cannot recognize.
3974 *** The result is that libtool may fail to recognize shared libraries
3975 *** as such. This will affect the creation of libtool libraries that
3976 *** depend on shared libraries, but programs linked with such libtool
3977 *** libraries will work regardless of this problem. Nevertheless, you
3978 *** may want to report the problem to your system manager and/or to
3979 *** bug-libtool@gnu.org
3989 MAGIC_CMD="$ac_save_MAGIC_CMD"
3994 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
3995 if test -n "$MAGIC_CMD"; then
3996 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
3997 echo "${ECHO_T}$MAGIC_CMD" >&6
3999 echo "$as_me:$LINENO: result: no" >&5
4000 echo "${ECHO_T}no" >&6
4003 if test -z "$lt_cv_path_MAGIC_CMD"; then
4004 if test -n "$ac_tool_prefix"; then
4005 echo "$as_me:$LINENO: checking for file" >&5
4006 echo $ECHO_N "checking for file... $ECHO_C" >&6
4007 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4015 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4018 ac_save_MAGIC_CMD="$MAGIC_CMD"
4019 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4020 ac_dummy="/usr/bin:$PATH"
4021 for ac_dir in $ac_dummy; do
4022 test -z "$ac_dir" && ac_dir=.
4023 if test -f $ac_dir/file; then
4024 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4025 if test -n "$file_magic_test_file"; then
4026 case $deplibs_check_method in
4028 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4029 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4030 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4031 egrep "$file_magic_regex" > /dev/null; then
4036 *** Warning: the command libtool uses to detect shared libraries,
4037 *** $file_magic_cmd, produces output that libtool cannot recognize.
4038 *** The result is that libtool may fail to recognize shared libraries
4039 *** as such. This will affect the creation of libtool libraries that
4040 *** depend on shared libraries, but programs linked with such libtool
4041 *** libraries will work regardless of this problem. Nevertheless, you
4042 *** may want to report the problem to your system manager and/or to
4043 *** bug-libtool@gnu.org
4053 MAGIC_CMD="$ac_save_MAGIC_CMD"
4058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4059 if test -n "$MAGIC_CMD"; then
4060 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4061 echo "${ECHO_T}$MAGIC_CMD" >&6
4063 echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6
4076 if test -n "$ac_tool_prefix"; then
4077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_prog_RANLIB+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4084 if test -n "$RANLIB"; then
4085 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 RANLIB=$ac_cv_prog_RANLIB
4104 if test -n "$RANLIB"; then
4105 echo "$as_me:$LINENO: result: $RANLIB" >&5
4106 echo "${ECHO_T}$RANLIB" >&6
4108 echo "$as_me:$LINENO: result: no" >&5
4109 echo "${ECHO_T}no" >&6
4113 if test -z "$ac_cv_prog_RANLIB"; then
4114 ac_ct_RANLIB=$RANLIB
4115 # Extract the first word of "ranlib", so it can be a program name with args.
4116 set dummy ranlib; ac_word=$2
4117 echo "$as_me:$LINENO: checking for $ac_word" >&5
4118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4119 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 if test -n "$ac_ct_RANLIB"; then
4123 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir=.
4130 for ac_exec_ext in '' $ac_executable_extensions; do
4131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4132 ac_cv_prog_ac_ct_RANLIB="ranlib"
4133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4139 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4142 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4143 if test -n "$ac_ct_RANLIB"; then
4144 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4145 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4147 echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6
4151 RANLIB=$ac_ct_RANLIB
4153 RANLIB="$ac_cv_prog_RANLIB"
4156 if test -n "$ac_tool_prefix"; then
4157 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4158 set dummy ${ac_tool_prefix}strip; ac_word=$2
4159 echo "$as_me:$LINENO: checking for $ac_word" >&5
4160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4161 if test "${ac_cv_prog_STRIP+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 if test -n "$STRIP"; then
4165 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 STRIP=$ac_cv_prog_STRIP
4184 if test -n "$STRIP"; then
4185 echo "$as_me:$LINENO: result: $STRIP" >&5
4186 echo "${ECHO_T}$STRIP" >&6
4188 echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6
4193 if test -z "$ac_cv_prog_STRIP"; then
4195 # Extract the first word of "strip", so it can be a program name with args.
4196 set dummy strip; ac_word=$2
4197 echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4199 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 if test -n "$ac_ct_STRIP"; then
4203 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir=.
4210 for ac_exec_ext in '' $ac_executable_extensions; do
4211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4212 ac_cv_prog_ac_ct_STRIP="strip"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4222 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4223 if test -n "$ac_ct_STRIP"; then
4224 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4225 echo "${ECHO_T}$ac_ct_STRIP" >&6
4227 echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6
4233 STRIP="$ac_cv_prog_STRIP"
4237 # Check for any special flags to pass to ltconfig.
4238 libtool_flags="--cache-file=$cache_file"
4239 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4240 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4241 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4242 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4243 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4246 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4247 if test "${enable_libtool_lock+set}" = set; then
4248 enableval="$enable_libtool_lock"
4251 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4252 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4255 # Check whether --with-pic or --without-pic was given.
4256 if test "${with_pic+set}" = set; then
4262 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4263 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4265 # Some flags need to be propagated to the compiler or linker for good
4269 # Find out which ABI we are using.
4270 echo '#line 4270 "configure"' > conftest.$ac_ext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; then
4276 if test "$lt_cv_prog_gnu_ld" = yes; then
4277 case `/usr/bin/file conftest.$ac_objext` in
4279 LD="${LD-ld} -melf32bsmip"
4282 LD="${LD-ld} -melf32bmipn32"
4285 LD="${LD-ld} -melf64bmip"
4289 case `/usr/bin/file conftest.$ac_objext` in
4306 # Find out which ABI we are using.
4307 echo 'int i;' > conftest.$ac_ext
4308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4309 (eval $ac_compile) 2>&5
4311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312 (exit $ac_status); }; then
4313 case "`/usr/bin/file conftest.o`" in
4325 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4326 # Find out which ABI we are using.
4327 echo 'int i;' > conftest.$ac_ext
4328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4329 (eval $ac_compile) 2>&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; then
4333 case "`/usr/bin/file conftest.o`" in
4337 LD="${LD-ld} -m elf_i386"
4339 ppc64-*linux*|powerpc64-*linux*)
4340 LD="${LD-ld} -m elf32ppclinux"
4343 LD="${LD-ld} -m elf_s390"
4346 LD="${LD-ld} -m elf32_sparc"
4353 LD="${LD-ld} -m elf_x86_64"
4355 ppc*-*linux*|powerpc*-*linux*)
4356 LD="${LD-ld} -m elf64ppc"
4359 LD="${LD-ld} -m elf64_s390"
4362 LD="${LD-ld} -m elf64_sparc"
4372 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4373 SAVE_CFLAGS="$CFLAGS"
4374 CFLAGS="$CFLAGS -belf"
4375 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4376 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4377 if test "${lt_cv_cc_needs_belf+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 ac_cpp='$CPP $CPPFLAGS'
4384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4388 if test x$gcc_no_link = xyes; then
4389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4391 { (exit 1); exit 1; }; }
4393 cat >conftest.$ac_ext <<_ACEOF
4394 #line $LINENO "configure"
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4409 rm -f conftest.$ac_objext conftest$ac_exeext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4411 (eval $ac_link) 2>&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); } &&
4415 { ac_try='test -s conftest$ac_exeext'
4416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4420 (exit $ac_status); }; }; then
4421 lt_cv_cc_needs_belf=yes
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 lt_cv_cc_needs_belf=no
4428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4430 ac_cpp='$CPP $CPPFLAGS'
4431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4436 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4437 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4438 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4439 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4440 CFLAGS="$SAVE_CFLAGS"
4448 # Save cache, so that ltconfig can load it
4449 cat >confcache <<\_ACEOF
4450 # This file is a shell script that caches the results of configure
4451 # tests run on this system so they can be shared between configure
4452 # scripts and configure runs, see configure's option --config-cache.
4453 # It is not useful on other systems. If it contains results you don't
4454 # want to keep, you may remove or edit it.
4456 # config.status only pays attention to the cache file if you give it
4457 # the --recheck option to rerun configure.
4459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4465 # The following way of writing the cache mishandles newlines in values,
4466 # but we know of no workaround that is simple, portable, and efficient.
4467 # So, don't put newlines in cache variables' values.
4468 # Ultrix sh set writes to stderr and can't be redirected directly,
4469 # and sets the high bit in the cache file unless we assign to the vars.
4472 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4474 # `set' does not quote correctly, so add quotes (double-quote
4475 # substitution turns \\\\ into \\, and sed turns \\ into \).
4478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4481 # `set' quotes correctly as required by POSIX, so do not add quotes.
4483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4492 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4494 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4495 if test -w $cache_file; then
4496 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4497 cat confcache >$cache_file
4499 echo "not updating unwritable cache $cache_file"
4504 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4505 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4506 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4507 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4508 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4509 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4510 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4511 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4512 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4513 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4514 echo "$as_me: error: libtool configure failed" >&2;}
4515 { (exit 1); exit 1; }; }
4517 # Reload cache, that may have been modified by ltconfig
4518 if test -r "$cache_file"; then
4519 # Some versions of bash will fail to source /dev/null (special
4520 # files actually), so we avoid doing that.
4521 if test -f "$cache_file"; then
4522 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4523 echo "$as_me: loading cache $cache_file" >&6;}
4525 [\\/]* | ?:[\\/]* ) . $cache_file;;
4526 *) . ./$cache_file;;
4530 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4531 echo "$as_me: creating cache $cache_file" >&6;}
4536 # This can be used to rebuild libtool when needed
4537 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4539 # Always use our own libtool.
4540 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4542 # Redirect the config.log output again, so that the ltconfig log is not
4543 # clobbered by the next message.
4544 exec 5>>./config.log
4547 ac_cpp='$CXXCPP $CPPFLAGS'
4548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4551 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4552 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4553 if test -z "$CXXCPP"; then
4554 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 # Double quotes because CXXCPP needs to be expanded
4558 for CXXCPP in "$CXX -E" "/lib/cpp"
4561 for ac_cxx_preproc_warn_flag in '' yes
4563 # Use a header file that comes with gcc, so configuring glibc
4564 # with a fresh cross-compiler works.
4565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4566 # <limits.h> exists even on freestanding compilers.
4567 # On the NeXT, cc -E runs the code through the compiler's parser,
4568 # not just through cpp. "Syntax error" is here to catch this case.
4569 cat >conftest.$ac_ext <<_ACEOF
4570 #line $LINENO "configure"
4573 cat confdefs.h >>conftest.$ac_ext
4574 cat >>conftest.$ac_ext <<_ACEOF
4575 /* end confdefs.h. */
4577 # include <limits.h>
4579 # include <assert.h>
4583 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4584 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4586 grep -v '^ *+' conftest.er1 >conftest.err
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } >/dev/null; then
4591 if test -s conftest.err; then
4592 ac_cpp_err=$ac_cxx_preproc_warn_flag
4599 if test -z "$ac_cpp_err"; then
4602 echo "$as_me: failed program was:" >&5
4603 sed 's/^/| /' conftest.$ac_ext >&5
4605 # Broken: fails on valid input.
4608 rm -f conftest.err conftest.$ac_ext
4610 # OK, works on sane cases. Now check whether non-existent headers
4611 # can be detected and how.
4612 cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 #include <ac_nonexistent.h>
4621 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4622 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4624 grep -v '^ *+' conftest.er1 >conftest.err
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } >/dev/null; then
4629 if test -s conftest.err; then
4630 ac_cpp_err=$ac_cxx_preproc_warn_flag
4637 if test -z "$ac_cpp_err"; then
4638 # Broken: success on invalid input.
4641 echo "$as_me: failed program was:" >&5
4642 sed 's/^/| /' conftest.$ac_ext >&5
4644 # Passes both tests.
4648 rm -f conftest.err conftest.$ac_ext
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then
4658 ac_cv_prog_CXXCPP=$CXXCPP
4661 CXXCPP=$ac_cv_prog_CXXCPP
4663 ac_cv_prog_CXXCPP=$CXXCPP
4665 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4666 echo "${ECHO_T}$CXXCPP" >&6
4668 for ac_cxx_preproc_warn_flag in '' yes
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat >conftest.$ac_ext <<_ACEOF
4677 #line $LINENO "configure"
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4684 # include <limits.h>
4686 # include <assert.h>
4690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4693 grep -v '^ *+' conftest.er1 >conftest.err
4695 cat conftest.err >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); } >/dev/null; then
4698 if test -s conftest.err; then
4699 ac_cpp_err=$ac_cxx_preproc_warn_flag
4706 if test -z "$ac_cpp_err"; then
4709 echo "$as_me: failed program was:" >&5
4710 sed 's/^/| /' conftest.$ac_ext >&5
4712 # Broken: fails on valid input.
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether non-existent headers
4718 # can be detected and how.
4719 cat >conftest.$ac_ext <<_ACEOF
4720 #line $LINENO "configure"
4723 cat confdefs.h >>conftest.$ac_ext
4724 cat >>conftest.$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4729 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4731 grep -v '^ *+' conftest.er1 >conftest.err
4733 cat conftest.err >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); } >/dev/null; then
4736 if test -s conftest.err; then
4737 ac_cpp_err=$ac_cxx_preproc_warn_flag
4744 if test -z "$ac_cpp_err"; then
4745 # Broken: success on invalid input.
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 # Passes both tests.
4755 rm -f conftest.err conftest.$ac_ext
4758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4759 rm -f conftest.err conftest.$ac_ext
4760 if $ac_preproc_ok; then
4763 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4764 See \`config.log' for more details." >&5
4765 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4766 See \`config.log' for more details." >&2;}
4767 { (exit 1); exit 1; }; }
4771 ac_cpp='$CPP $CPPFLAGS'
4772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4778 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4780 lt_save_CFLAGS="$CFLAGS"
4781 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4782 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4783 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4784 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4785 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4786 deplibs_check_method="$deplibs_check_method" \
4787 file_magic_cmd="$file_magic_cmd" \
4788 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4789 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4790 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4791 echo "$as_me: error: libtool tag configuration failed" >&2;}
4792 { (exit 1); exit 1; }; }
4794 CFLAGS="$lt_save_CFLAGS"
4796 # Redirect the config.log output again, so that the ltconfig log is not
4797 # clobbered by the next message.
4798 exec 5>>./config.log
4807 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4809 # Possibly disable most of the library.
4810 ## XXX Consider skipping unncessary tests altogether in this case, rather
4811 ## than just ignoring the results. Faster /and/ more correct, win win.
4813 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4814 if test "${enable_hosted_libstdcxx+set}" = set; then
4815 enableval="$enable_hosted_libstdcxx"
4818 enable_hosted_libstdcxx=yes
4820 if test "$enable_hosted_libstdcxx" = no; then
4821 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4822 echo "$as_me: Only freestanding libraries will be built" >&6;}
4826 enable_libstdcxx_pch=no
4833 cat >>confdefs.h <<_ACEOF
4834 #define _GLIBCXX_HOSTED $hosted_define
4839 # Check for support bits and g++ features that don't require linking.
4841 echo "$as_me:$LINENO: checking for exception model to use" >&5
4842 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4846 ac_cpp='$CXXCPP $CPPFLAGS'
4847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4851 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4852 if test "${enable_sjlj_exceptions+set}" = set; then
4853 enableval="$enable_sjlj_exceptions"
4855 case "$enableval" in
4857 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4858 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4859 { (exit 1); exit 1; }; } ;;
4863 enable_sjlj_exceptions=auto
4867 if test $enable_sjlj_exceptions = auto; then
4868 # Botheration. Now we've got to detect the exception model. Link tests
4869 # against libgcc.a are problematic since we've not been given proper -L
4870 # bits for single-tree newlib and libgloss.
4872 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
4873 cat > conftest.$ac_ext << EOF
4874 #line 4874 "configure"
4883 old_CXXFLAGS="$CXXFLAGS"
4885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4886 (eval $ac_compile) 2>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; then
4890 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4891 enable_sjlj_exceptions=yes
4892 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4893 enable_sjlj_exceptions=no
4896 CXXFLAGS="$old_CXXFLAGS"
4900 # This is a tad weird, for hysterical raisins. We have to map enable/disable
4901 # to two different models.
4902 case $enable_sjlj_exceptions in
4905 cat >>confdefs.h <<\_ACEOF
4906 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
4909 ac_exception_model_name=sjlj
4912 ac_exception_model_name="call frame"
4915 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
4916 echo "$as_me: error: unable to detect exception model" >&2;}
4917 { (exit 1); exit 1; }; }
4921 ac_cpp='$CPP $CPPFLAGS'
4922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4926 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
4927 echo "${ECHO_T}$ac_exception_model_name" >&6
4930 echo "$as_me:$LINENO: checking for enabled PCH" >&5
4931 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
4932 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
4933 if test "${enable_libstdcxx_pch+set}" = set; then
4934 enableval="$enable_libstdcxx_pch"
4936 case "$enableval" in
4938 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
4939 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
4940 { (exit 1); exit 1; }; } ;;
4944 enable_libstdcxx_pch=$is_hosted
4947 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
4948 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
4950 if test $enable_libstdcxx_pch = yes; then
4951 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
4952 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
4953 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
4954 echo $ECHO_N "(cached) $ECHO_C" >&6
4956 ac_save_CXXFLAGS="$CXXFLAGS"
4957 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
4961 ac_cpp='$CXXCPP $CPPFLAGS'
4962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4966 echo '#include <math.h>' > conftest.h
4967 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
4968 -o conftest.h.gch 1>&5 2>&1 &&
4969 echo '#error "pch failed"' > conftest.h &&
4970 echo '#include "conftest.h"' > conftest.cc &&
4971 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
4973 glibcxx_cv_prog_CXX_pch=yes
4975 glibcxx_cv_prog_CXX_pch=no
4978 CXXFLAGS=$ac_save_CXXFLAGS
4980 ac_cpp='$CPP $CPPFLAGS'
4981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4987 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
4988 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
4989 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
4993 if test $enable_libstdcxx_pch = yes; then
4994 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5001 # Enable all the variable C++ runtime options.
5002 # NB: C_MBCHAR must come early.
5004 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5005 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5006 # Check whether --enable-cstdio or --disable-cstdio was given.
5007 if test "${enable_cstdio+set}" = set; then
5008 enableval="$enable_cstdio"
5010 case "$enableval" in
5012 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5013 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5014 { (exit 1); exit 1; }; } ;;
5022 # Now that libio has been removed, you can have any color you want as long
5023 # as it's black. This is one big no-op until other packages are added, but
5024 # showing the framework never hurts.
5025 case ${enable_cstdio} in
5027 CSTDIO_H=config/io/c_io_stdio.h
5028 BASIC_FILE_H=config/io/basic_file_stdio.h
5029 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5030 echo "$as_me:$LINENO: result: stdio" >&5
5031 echo "${ECHO_T}stdio" >&6
5040 ac_cpp='$CPP $CPPFLAGS'
5041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5044 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5045 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5046 # On Suns, sometimes $CPP names a directory.
5047 if test -n "$CPP" && test -d "$CPP"; then
5050 if test -z "$CPP"; then
5051 if test "${ac_cv_prog_CPP+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 # Double quotes because CPP needs to be expanded
5055 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5058 for ac_c_preproc_warn_flag in '' yes
5060 # Use a header file that comes with gcc, so configuring glibc
5061 # with a fresh cross-compiler works.
5062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5063 # <limits.h> exists even on freestanding compilers.
5064 # On the NeXT, cc -E runs the code through the compiler's parser,
5065 # not just through cpp. "Syntax error" is here to catch this case.
5066 cat >conftest.$ac_ext <<_ACEOF
5067 #line $LINENO "configure"
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5074 # include <limits.h>
5076 # include <assert.h>
5080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5081 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5083 grep -v '^ *+' conftest.er1 >conftest.err
5085 cat conftest.err >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } >/dev/null; then
5088 if test -s conftest.err; then
5089 ac_cpp_err=$ac_c_preproc_warn_flag
5096 if test -z "$ac_cpp_err"; then
5099 echo "$as_me: failed program was:" >&5
5100 sed 's/^/| /' conftest.$ac_ext >&5
5102 # Broken: fails on valid input.
5105 rm -f conftest.err conftest.$ac_ext
5107 # OK, works on sane cases. Now check whether non-existent headers
5108 # can be detected and how.
5109 cat >conftest.$ac_ext <<_ACEOF
5110 #line $LINENO "configure"
5113 cat confdefs.h >>conftest.$ac_ext
5114 cat >>conftest.$ac_ext <<_ACEOF
5115 /* end confdefs.h. */
5116 #include <ac_nonexistent.h>
5118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5121 grep -v '^ *+' conftest.er1 >conftest.err
5123 cat conftest.err >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); } >/dev/null; then
5126 if test -s conftest.err; then
5127 ac_cpp_err=$ac_c_preproc_warn_flag
5134 if test -z "$ac_cpp_err"; then
5135 # Broken: success on invalid input.
5138 echo "$as_me: failed program was:" >&5
5139 sed 's/^/| /' conftest.$ac_ext >&5
5141 # Passes both tests.
5145 rm -f conftest.err conftest.$ac_ext
5148 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5149 rm -f conftest.err conftest.$ac_ext
5150 if $ac_preproc_ok; then
5162 echo "$as_me:$LINENO: result: $CPP" >&5
5163 echo "${ECHO_T}$CPP" >&6
5165 for ac_c_preproc_warn_flag in '' yes
5167 # Use a header file that comes with gcc, so configuring glibc
5168 # with a fresh cross-compiler works.
5169 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5170 # <limits.h> exists even on freestanding compilers.
5171 # On the NeXT, cc -E runs the code through the compiler's parser,
5172 # not just through cpp. "Syntax error" is here to catch this case.
5173 cat >conftest.$ac_ext <<_ACEOF
5174 #line $LINENO "configure"
5177 cat confdefs.h >>conftest.$ac_ext
5178 cat >>conftest.$ac_ext <<_ACEOF
5179 /* end confdefs.h. */
5181 # include <limits.h>
5183 # include <assert.h>
5187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5190 grep -v '^ *+' conftest.er1 >conftest.err
5192 cat conftest.err >&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } >/dev/null; then
5195 if test -s conftest.err; then
5196 ac_cpp_err=$ac_c_preproc_warn_flag
5203 if test -z "$ac_cpp_err"; then
5206 echo "$as_me: failed program was:" >&5
5207 sed 's/^/| /' conftest.$ac_ext >&5
5209 # Broken: fails on valid input.
5212 rm -f conftest.err conftest.$ac_ext
5214 # OK, works on sane cases. Now check whether non-existent headers
5215 # can be detected and how.
5216 cat >conftest.$ac_ext <<_ACEOF
5217 #line $LINENO "configure"
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 #include <ac_nonexistent.h>
5225 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5226 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 grep -v '^ *+' conftest.er1 >conftest.err
5230 cat conftest.err >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } >/dev/null; then
5233 if test -s conftest.err; then
5234 ac_cpp_err=$ac_c_preproc_warn_flag
5241 if test -z "$ac_cpp_err"; then
5242 # Broken: success on invalid input.
5245 echo "$as_me: failed program was:" >&5
5246 sed 's/^/| /' conftest.$ac_ext >&5
5248 # Passes both tests.
5252 rm -f conftest.err conftest.$ac_ext
5255 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5256 rm -f conftest.err conftest.$ac_ext
5257 if $ac_preproc_ok; then
5260 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5261 See \`config.log' for more details." >&5
5262 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5263 See \`config.log' for more details." >&2;}
5264 { (exit 1); exit 1; }; }
5268 ac_cpp='$CPP $CPPFLAGS'
5269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5274 echo "$as_me:$LINENO: checking for egrep" >&5
5275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5276 if test "${ac_cv_prog_egrep+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5280 then ac_cv_prog_egrep='grep -E'
5281 else ac_cv_prog_egrep='egrep'
5284 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5285 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5286 EGREP=$ac_cv_prog_egrep
5289 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5290 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5291 if test "${ac_cv_header_stdc+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 cat >conftest.$ac_ext <<_ACEOF
5295 #line $LINENO "configure"
5298 cat confdefs.h >>conftest.$ac_ext
5299 cat >>conftest.$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5314 rm -f conftest.$ac_objext
5315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5316 (eval $ac_compile) 2>&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); } &&
5320 { ac_try='test -s conftest.$ac_objext'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; }; then
5326 ac_cv_header_stdc=yes
5328 echo "$as_me: failed program was:" >&5
5329 sed 's/^/| /' conftest.$ac_ext >&5
5331 ac_cv_header_stdc=no
5333 rm -f conftest.$ac_objext conftest.$ac_ext
5335 if test $ac_cv_header_stdc = yes; then
5336 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5337 cat >conftest.$ac_ext <<_ACEOF
5338 #line $LINENO "configure"
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "memchr" >/dev/null 2>&1; then
5351 ac_cv_header_stdc=no
5357 if test $ac_cv_header_stdc = yes; then
5358 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5359 cat >conftest.$ac_ext <<_ACEOF
5360 #line $LINENO "configure"
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5370 $EGREP "free" >/dev/null 2>&1; then
5373 ac_cv_header_stdc=no
5379 if test $ac_cv_header_stdc = yes; then
5380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5381 if test "$cross_compiling" = yes; then
5384 cat >conftest.$ac_ext <<_ACEOF
5385 #line $LINENO "configure"
5388 cat confdefs.h >>conftest.$ac_ext
5389 cat >>conftest.$ac_ext <<_ACEOF
5390 /* end confdefs.h. */
5392 #if ((' ' & 0x0FF) == 0x020)
5393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5396 # define ISLOWER(c) \
5397 (('a' <= (c) && (c) <= 'i') \
5398 || ('j' <= (c) && (c) <= 'r') \
5399 || ('s' <= (c) && (c) <= 'z'))
5400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5408 for (i = 0; i < 256; i++)
5409 if (XOR (islower (i), ISLOWER (i))
5410 || toupper (i) != TOUPPER (i))
5415 rm -f conftest$ac_exeext
5416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5417 (eval $ac_link) 2>&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }; }; then
5428 echo "$as_me: program exited with status $ac_status" >&5
5429 echo "$as_me: failed program was:" >&5
5430 sed 's/^/| /' conftest.$ac_ext >&5
5433 ac_cv_header_stdc=no
5435 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5439 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5440 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5441 if test $ac_cv_header_stdc = yes; then
5443 cat >>confdefs.h <<\_ACEOF
5444 #define STDC_HEADERS 1
5449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5459 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5460 inttypes.h stdint.h unistd.h
5462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5463 echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 cat >conftest.$ac_ext <<_ACEOF
5469 #line $LINENO "configure"
5472 cat confdefs.h >>conftest.$ac_ext
5473 cat >>conftest.$ac_ext <<_ACEOF
5474 /* end confdefs.h. */
5475 $ac_includes_default
5477 #include <$ac_header>
5479 rm -f conftest.$ac_objext
5480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5481 (eval $ac_compile) 2>&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); } &&
5485 { ac_try='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 eval "$as_ac_Header=yes"
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5496 eval "$as_ac_Header=no"
5498 rm -f conftest.$ac_objext conftest.$ac_ext
5500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5502 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5503 cat >>confdefs.h <<_ACEOF
5504 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5513 echo "$as_me:$LINENO: checking for C locale to use" >&5
5514 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5515 # Check whether --enable-clocale or --disable-clocale was given.
5516 if test "${enable_clocale+set}" = set; then
5517 enableval="$enable_clocale"
5519 case "$enableval" in
5520 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5521 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5522 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5523 { (exit 1); exit 1; }; } ;;
5531 # If they didn't use this option switch, or if they specified --enable
5532 # with no specific model, we'll have to look for one. If they
5533 # specified --disable (???), do likewise.
5534 if test $enable_clocale = no || test $enable_clocale = yes; then
5538 # Either a known package, or "auto"
5539 enable_clocale_flag=$enable_clocale
5541 # Probe for locale support if no specific model is specified.
5542 # Default to "generic".
5543 if test $enable_clocale_flag = auto; then
5544 case x${target_os} in
5545 xlinux* | xgnu* | xkfreebsd*-gnu | xknetbsd*-gnu)
5546 cat >conftest.$ac_ext <<_ACEOF
5547 #line $LINENO "configure"
5550 cat confdefs.h >>conftest.$ac_ext
5551 cat >>conftest.$ac_ext <<_ACEOF
5552 /* end confdefs.h. */
5554 #include <features.h>
5555 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5561 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5562 enable_clocale_flag=gnu
5564 enable_clocale_flag=generic
5569 # Test for bugs early in glibc-2.2.x series
5570 if test x$enable_clocale_flag = xgnu; then
5571 if test "$cross_compiling" = yes; then
5572 enable_clocale_flag=generic
5574 cat >conftest.$ac_ext <<_ACEOF
5575 #line $LINENO "configure"
5578 cat confdefs.h >>conftest.$ac_ext
5579 cat >>conftest.$ac_ext <<_ACEOF
5580 /* end confdefs.h. */
5582 #define _GNU_SOURCE 1
5585 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5586 extern __typeof(newlocale) __newlocale;
5587 extern __typeof(duplocale) __duplocale;
5588 extern __typeof(strcoll_l) __strcoll_l;
5592 const char __one[] = "Äuglein Augmen";
5593 const char __two[] = "Äuglein";
5598 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5599 loc_dup = __duplocale(loc);
5600 i = __strcoll_l(__one, __two, loc);
5601 j = __strcoll_l(__one, __two, loc_dup);
5606 rm -f conftest$ac_exeext
5607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5608 (eval $ac_link) 2>&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5616 (exit $ac_status); }; }; then
5617 enable_clocale_flag=gnu
5619 echo "$as_me: program exited with status $ac_status" >&5
5620 echo "$as_me: failed program was:" >&5
5621 sed 's/^/| /' conftest.$ac_ext >&5
5624 enable_clocale_flag=generic
5626 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5630 # ... at some point put __strxfrm_l tests in as well.
5633 enable_clocale_flag=generic
5638 # Deal with gettext issues. Default to not using it (=no) until we detect
5639 # support for it later. Let the user turn it off via --e/d, but let that
5640 # default to on for easier handling.
5642 # Check whether --enable-nls or --disable-nls was given.
5643 if test "${enable_nls+set}" = set; then
5644 enableval="$enable_nls"
5650 # Set configure bits for specified locale package
5651 case ${enable_clocale_flag} in
5653 echo "$as_me:$LINENO: result: generic" >&5
5654 echo "${ECHO_T}generic" >&6
5656 CLOCALE_H=config/locale/generic/c_locale.h
5657 CLOCALE_CC=config/locale/generic/c_locale.cc
5658 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5659 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5660 CCOLLATE_CC=config/locale/generic/collate_members.cc
5661 CCTYPE_CC=config/locale/generic/ctype_members.cc
5662 CMESSAGES_H=config/locale/generic/messages_members.h
5663 CMESSAGES_CC=config/locale/generic/messages_members.cc
5664 CMONEY_CC=config/locale/generic/monetary_members.cc
5665 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5666 CTIME_H=config/locale/generic/time_members.h
5667 CTIME_CC=config/locale/generic/time_members.cc
5668 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5671 echo "$as_me:$LINENO: result: gnu" >&5
5672 echo "${ECHO_T}gnu" >&6
5674 # Declare intention to use gettext, and add support for specific
5676 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5679 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5680 # Extract the first word of "msgfmt", so it can be a program name with args.
5681 set dummy msgfmt; ac_word=$2
5682 echo "$as_me:$LINENO: checking for $ac_word" >&5
5683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5684 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5685 echo $ECHO_N "(cached) $ECHO_C" >&6
5687 if test -n "$check_msgfmt"; then
5688 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 test -z "$as_dir" && as_dir=.
5695 for ac_exec_ext in '' $ac_executable_extensions; do
5696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_check_msgfmt="yes"
5698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5707 check_msgfmt=$ac_cv_prog_check_msgfmt
5708 if test -n "$check_msgfmt"; then
5709 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5710 echo "${ECHO_T}$check_msgfmt" >&6
5712 echo "$as_me:$LINENO: result: no" >&5
5713 echo "${ECHO_T}no" >&6
5716 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5719 # Export the build objects.
5720 for ling in $ALL_LINGUAS; do \
5721 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5722 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5727 CLOCALE_H=config/locale/gnu/c_locale.h
5728 CLOCALE_CC=config/locale/gnu/c_locale.cc
5729 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5730 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5731 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5732 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5733 CMESSAGES_H=config/locale/gnu/messages_members.h
5734 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5735 CMONEY_CC=config/locale/gnu/monetary_members.cc
5736 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5737 CTIME_H=config/locale/gnu/time_members.h
5738 CTIME_CC=config/locale/gnu/time_members.cc
5739 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5742 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5743 echo "${ECHO_T}IEEE 1003.1" >&6
5745 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5746 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5747 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5748 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5749 CCOLLATE_CC=config/locale/generic/collate_members.cc
5750 CCTYPE_CC=config/locale/generic/ctype_members.cc
5751 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5752 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5753 CMONEY_CC=config/locale/generic/monetary_members.cc
5754 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5755 CTIME_H=config/locale/generic/time_members.h
5756 CTIME_CC=config/locale/generic/time_members.cc
5757 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5761 # This is where the testsuite looks for locale catalogs, using the
5762 # -DLOCALEDIR define during testsuite compilation.
5763 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5766 # A standalone libintl (e.g., GNU libintl) may be in use.
5767 if test $USE_NLS = yes; then
5769 for ac_header in libintl.h
5771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5773 echo "$as_me:$LINENO: checking for $ac_header" >&5
5774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5776 echo $ECHO_N "(cached) $ECHO_C" >&6
5778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5781 # Is the header compilable?
5782 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5783 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5784 cat >conftest.$ac_ext <<_ACEOF
5785 #line $LINENO "configure"
5788 cat confdefs.h >>conftest.$ac_ext
5789 cat >>conftest.$ac_ext <<_ACEOF
5790 /* end confdefs.h. */
5791 $ac_includes_default
5792 #include <$ac_header>
5794 rm -f conftest.$ac_objext
5795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5796 (eval $ac_compile) 2>&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); } &&
5800 { ac_try='test -s conftest.$ac_objext'
5801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); }; }; then
5806 ac_header_compiler=yes
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.$ac_ext >&5
5811 ac_header_compiler=no
5813 rm -f conftest.$ac_objext conftest.$ac_ext
5814 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5815 echo "${ECHO_T}$ac_header_compiler" >&6
5817 # Is the header present?
5818 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5819 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5820 cat >conftest.$ac_ext <<_ACEOF
5821 #line $LINENO "configure"
5824 cat confdefs.h >>conftest.$ac_ext
5825 cat >>conftest.$ac_ext <<_ACEOF
5826 /* end confdefs.h. */
5827 #include <$ac_header>
5829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5832 grep -v '^ *+' conftest.er1 >conftest.err
5834 cat conftest.err >&5
5835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5836 (exit $ac_status); } >/dev/null; then
5837 if test -s conftest.err; then
5838 ac_cpp_err=$ac_c_preproc_warn_flag
5845 if test -z "$ac_cpp_err"; then
5846 ac_header_preproc=yes
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.$ac_ext >&5
5851 ac_header_preproc=no
5853 rm -f conftest.err conftest.$ac_ext
5854 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5855 echo "${ECHO_T}$ac_header_preproc" >&6
5857 # So? What about this header?
5858 case $ac_header_compiler:$ac_header_preproc in
5860 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5861 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5862 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5863 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5866 ## ------------------------------------ ##
5867 ## Report this to bug-autoconf@gnu.org. ##
5868 ## ------------------------------------ ##
5871 sed "s/^/$as_me: WARNING: /" >&2
5874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5882 ## ------------------------------------ ##
5883 ## Report this to bug-autoconf@gnu.org. ##
5884 ## ------------------------------------ ##
5887 sed "s/^/$as_me: WARNING: /" >&2
5890 echo "$as_me:$LINENO: checking for $ac_header" >&5
5891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5893 echo $ECHO_N "(cached) $ECHO_C" >&6
5895 eval "$as_ac_Header=$ac_header_preproc"
5897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5902 cat >>confdefs.h <<_ACEOF
5903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5912 echo "$as_me:$LINENO: checking for library containing gettext" >&5
5913 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
5914 if test "${ac_cv_search_gettext+set}" = set; then
5915 echo $ECHO_N "(cached) $ECHO_C" >&6
5917 ac_func_search_save_LIBS=$LIBS
5918 ac_cv_search_gettext=no
5919 if test x$gcc_no_link = xyes; then
5920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5922 { (exit 1); exit 1; }; }
5924 cat >conftest.$ac_ext <<_ACEOF
5925 #line $LINENO "configure"
5928 cat confdefs.h >>conftest.$ac_ext
5929 cat >>conftest.$ac_ext <<_ACEOF
5930 /* end confdefs.h. */
5932 /* Override any gcc2 internal prototype to avoid an error. */
5936 /* We use char because int might match the return type of a gcc2
5937 builtin and then its argument prototype would still apply. */
5947 rm -f conftest.$ac_objext conftest$ac_exeext
5948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5949 (eval $ac_link) 2>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } &&
5953 { ac_try='test -s conftest$ac_exeext'
5954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5958 (exit $ac_status); }; }; then
5959 ac_cv_search_gettext="none required"
5961 echo "$as_me: failed program was:" >&5
5962 sed 's/^/| /' conftest.$ac_ext >&5
5965 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5966 if test "$ac_cv_search_gettext" = no; then
5967 for ac_lib in intl; do
5968 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5969 if test x$gcc_no_link = xyes; then
5970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5972 { (exit 1); exit 1; }; }
5974 cat >conftest.$ac_ext <<_ACEOF
5975 #line $LINENO "configure"
5978 cat confdefs.h >>conftest.$ac_ext
5979 cat >>conftest.$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5982 /* Override any gcc2 internal prototype to avoid an error. */
5986 /* We use char because int might match the return type of a gcc2
5987 builtin and then its argument prototype would still apply. */
5997 rm -f conftest.$ac_objext conftest$ac_exeext
5998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5999 (eval $ac_link) 2>&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); } &&
6003 { ac_try='test -s conftest$ac_exeext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 ac_cv_search_gettext="-l$ac_lib"
6012 echo "$as_me: failed program was:" >&5
6013 sed 's/^/| /' conftest.$ac_ext >&5
6016 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6019 LIBS=$ac_func_search_save_LIBS
6021 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6022 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6023 if test "$ac_cv_search_gettext" != no; then
6024 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6031 if test $USE_NLS = yes; then
6032 cat >>confdefs.h <<\_ACEOF
6033 #define _GLIBCXX_USE_NLS 1
6054 # Check whether --enable-cheaders or --disable-cheaders was given.
6055 if test "${enable_cheaders+set}" = set; then
6056 enableval="$enable_cheaders"
6058 case "$enableval" in
6060 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6061 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6062 { (exit 1); exit 1; }; } ;;
6066 enable_cheaders=$c_model
6069 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6070 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6072 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6079 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6080 if test "${enable_c_mbchar+set}" = set; then
6081 enableval="$enable_c_mbchar"
6083 case "$enableval" in
6085 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6086 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6087 { (exit 1); exit 1; }; } ;;
6094 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6098 # Check whether --enable-c99 or --disable-c99 was given.
6099 if test "${enable_c99+set}" = set; then
6100 enableval="$enable_c99"
6102 case "$enableval" in
6104 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6105 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6106 { (exit 1); exit 1; }; } ;;
6117 ac_cpp='$CXXCPP $CPPFLAGS'
6118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6123 # Check for the existence of <math.h> functions used if C99 is enabled.
6125 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6126 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6127 cat >conftest.$ac_ext <<_ACEOF
6128 #line $LINENO "configure"
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6143 rm -f conftest.$ac_objext
6144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6145 (eval $ac_compile) 2>&5
6147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6148 (exit $ac_status); } &&
6149 { ac_try='test -s conftest.$ac_objext'
6150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); }; }; then
6157 echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.$ac_ext >&5
6162 rm -f conftest.$ac_objext conftest.$ac_ext
6163 cat >conftest.$ac_ext <<_ACEOF
6164 #line $LINENO "configure"
6167 cat confdefs.h >>conftest.$ac_ext
6168 cat >>conftest.$ac_ext <<_ACEOF
6169 /* end confdefs.h. */
6179 rm -f conftest.$ac_objext
6180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6181 (eval $ac_compile) 2>&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } &&
6185 { ac_try='test -s conftest.$ac_objext'
6186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); }; }; then
6193 echo "$as_me: failed program was:" >&5
6194 sed 's/^/| /' conftest.$ac_ext >&5
6198 rm -f conftest.$ac_objext conftest.$ac_ext
6199 cat >conftest.$ac_ext <<_ACEOF
6200 #line $LINENO "configure"
6203 cat confdefs.h >>conftest.$ac_ext
6204 cat >>conftest.$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6215 rm -f conftest.$ac_objext
6216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6217 (eval $ac_compile) 2>&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } &&
6221 { ac_try='test -s conftest.$ac_objext'
6222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6226 (exit $ac_status); }; }; then
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6234 rm -f conftest.$ac_objext conftest.$ac_ext
6235 cat >conftest.$ac_ext <<_ACEOF
6236 #line $LINENO "configure"
6239 cat confdefs.h >>conftest.$ac_ext
6240 cat >>conftest.$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6251 rm -f conftest.$ac_objext
6252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6253 (eval $ac_compile) 2>&5
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); } &&
6257 { ac_try='test -s conftest.$ac_objext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6270 rm -f conftest.$ac_objext conftest.$ac_ext
6271 cat >conftest.$ac_ext <<_ACEOF
6272 #line $LINENO "configure"
6275 cat confdefs.h >>conftest.$ac_ext
6276 cat >>conftest.$ac_ext <<_ACEOF
6277 /* end confdefs.h. */
6287 rm -f conftest.$ac_objext
6288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6289 (eval $ac_compile) 2>&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } &&
6293 { ac_try='test -s conftest.$ac_objext'
6294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6298 (exit $ac_status); }; }; then
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.$ac_ext >&5
6306 rm -f conftest.$ac_objext conftest.$ac_ext
6307 cat >conftest.$ac_ext <<_ACEOF
6308 #line $LINENO "configure"
6311 cat confdefs.h >>conftest.$ac_ext
6312 cat >>conftest.$ac_ext <<_ACEOF
6313 /* end confdefs.h. */
6323 rm -f conftest.$ac_objext
6324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6325 (eval $ac_compile) 2>&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } &&
6329 { ac_try='test -s conftest.$ac_objext'
6330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); }; }; then
6337 echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.$ac_ext >&5
6342 rm -f conftest.$ac_objext conftest.$ac_ext
6343 cat >conftest.$ac_ext <<_ACEOF
6344 #line $LINENO "configure"
6347 cat confdefs.h >>conftest.$ac_ext
6348 cat >>conftest.$ac_ext <<_ACEOF
6349 /* end confdefs.h. */
6359 rm -f conftest.$ac_objext
6360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6361 (eval $ac_compile) 2>&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } &&
6365 { ac_try='test -s conftest.$ac_objext'
6366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); }; }; then
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6378 rm -f conftest.$ac_objext conftest.$ac_ext
6379 cat >conftest.$ac_ext <<_ACEOF
6380 #line $LINENO "configure"
6383 cat confdefs.h >>conftest.$ac_ext
6384 cat >>conftest.$ac_ext <<_ACEOF
6385 /* end confdefs.h. */
6390 isgreaterequal(0.0,0.0);
6395 rm -f conftest.$ac_objext
6396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6397 (eval $ac_compile) 2>&5
6399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6400 (exit $ac_status); } &&
6401 { ac_try='test -s conftest.$ac_objext'
6402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); }; }; then
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.$ac_ext >&5
6414 rm -f conftest.$ac_objext conftest.$ac_ext
6415 cat >conftest.$ac_ext <<_ACEOF
6416 #line $LINENO "configure"
6419 cat confdefs.h >>conftest.$ac_ext
6420 cat >>conftest.$ac_ext <<_ACEOF
6421 /* end confdefs.h. */
6431 rm -f conftest.$ac_objext
6432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6433 (eval $ac_compile) 2>&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } &&
6437 { ac_try='test -s conftest.$ac_objext'
6438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6442 (exit $ac_status); }; }; then
6445 echo "$as_me: failed program was:" >&5
6446 sed 's/^/| /' conftest.$ac_ext >&5
6450 rm -f conftest.$ac_objext conftest.$ac_ext
6451 cat >conftest.$ac_ext <<_ACEOF
6452 #line $LINENO "configure"
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6462 islessequal(0.0,0.0);
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469 (eval $ac_compile) 2>&5
6471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6472 (exit $ac_status); } &&
6473 { ac_try='test -s conftest.$ac_objext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6486 rm -f conftest.$ac_objext conftest.$ac_ext
6487 cat >conftest.$ac_ext <<_ACEOF
6488 #line $LINENO "configure"
6491 cat confdefs.h >>conftest.$ac_ext
6492 cat >>conftest.$ac_ext <<_ACEOF
6493 /* end confdefs.h. */
6498 islessgreater(0.0,0.0);
6503 rm -f conftest.$ac_objext
6504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6505 (eval $ac_compile) 2>&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } &&
6509 { ac_try='test -s conftest.$ac_objext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6522 rm -f conftest.$ac_objext conftest.$ac_ext
6523 cat >conftest.$ac_ext <<_ACEOF
6524 #line $LINENO "configure"
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6534 isunordered(0.0,0.0);
6539 rm -f conftest.$ac_objext
6540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6541 (eval $ac_compile) 2>&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); } &&
6545 { ac_try='test -s conftest.$ac_objext'
6546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6550 (exit $ac_status); }; }; then
6553 echo "$as_me: failed program was:" >&5
6554 sed 's/^/| /' conftest.$ac_ext >&5
6558 rm -f conftest.$ac_objext conftest.$ac_ext
6559 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6560 echo "${ECHO_T}$ac_c99_math" >&6
6562 if test x"$ac_c99_math" = x"yes"; then
6563 cat >>confdefs.h <<\_ACEOF
6564 #define _GLIBCXX_USE_C99_MATH 1
6569 # Check for the existence in <stdio.h> of vscanf, et. al.
6571 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6572 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6573 cat >conftest.$ac_ext <<_ACEOF
6574 #line $LINENO "configure"
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6584 snprintf("12", 0, "%i");
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591 (eval $ac_compile) 2>&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } &&
6595 { ac_try='test -s conftest.$ac_objext'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; }; then
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.$ac_ext >&5
6608 rm -f conftest.$ac_objext conftest.$ac_ext
6609 cat >conftest.$ac_ext <<_ACEOF
6610 #line $LINENO "configure"
6613 cat confdefs.h >>conftest.$ac_ext
6614 cat >>conftest.$ac_ext <<_ACEOF
6615 /* end confdefs.h. */
6618 void foo(char* fmt, ...)
6619 {va_list args; va_start(args, fmt);
6620 vfscanf(stderr, "%i", args);}
6629 rm -f conftest.$ac_objext
6630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6631 (eval $ac_compile) 2>&5
6633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6634 (exit $ac_status); } &&
6635 { ac_try='test -s conftest.$ac_objext'
6636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6640 (exit $ac_status); }; }; then
6643 echo "$as_me: failed program was:" >&5
6644 sed 's/^/| /' conftest.$ac_ext >&5
6648 rm -f conftest.$ac_objext conftest.$ac_ext
6649 cat >conftest.$ac_ext <<_ACEOF
6650 #line $LINENO "configure"
6653 cat confdefs.h >>conftest.$ac_ext
6654 cat >>conftest.$ac_ext <<_ACEOF
6655 /* end confdefs.h. */
6658 void foo(char* fmt, ...)
6659 {va_list args; va_start(args, fmt);
6660 vscanf("%i", args);}
6669 rm -f conftest.$ac_objext
6670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6671 (eval $ac_compile) 2>&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } &&
6675 { ac_try='test -s conftest.$ac_objext'
6676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); }; }; then
6683 echo "$as_me: failed program was:" >&5
6684 sed 's/^/| /' conftest.$ac_ext >&5
6688 rm -f conftest.$ac_objext conftest.$ac_ext
6689 cat >conftest.$ac_ext <<_ACEOF
6690 #line $LINENO "configure"
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6698 void foo(char* fmt, ...)
6699 {va_list args; va_start(args, fmt);
6700 vsnprintf(fmt, 0, "%i", args);}
6709 rm -f conftest.$ac_objext
6710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6711 (eval $ac_compile) 2>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } &&
6715 { ac_try='test -s conftest.$ac_objext'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; }; then
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6728 rm -f conftest.$ac_objext conftest.$ac_ext
6729 cat >conftest.$ac_ext <<_ACEOF
6730 #line $LINENO "configure"
6733 cat confdefs.h >>conftest.$ac_ext
6734 cat >>conftest.$ac_ext <<_ACEOF
6735 /* end confdefs.h. */
6738 void foo(char* fmt, ...)
6739 {va_list args; va_start(args, fmt);
6740 vsscanf(fmt, "%i", args);}
6749 rm -f conftest.$ac_objext
6750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6751 (eval $ac_compile) 2>&5
6753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754 (exit $ac_status); } &&
6755 { ac_try='test -s conftest.$ac_objext'
6756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6760 (exit $ac_status); }; }; then
6763 echo "$as_me: failed program was:" >&5
6764 sed 's/^/| /' conftest.$ac_ext >&5
6768 rm -f conftest.$ac_objext conftest.$ac_ext
6769 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
6770 echo "${ECHO_T}$ac_c99_stdio" >&6
6772 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
6774 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
6775 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
6776 if test "${ac_c99_lldiv_t+set}" = set; then
6777 echo $ECHO_N "(cached) $ECHO_C" >&6
6780 cat >conftest.$ac_ext <<_ACEOF
6781 #line $LINENO "configure"
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6796 rm -f conftest.$ac_objext
6797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6798 (eval $ac_compile) 2>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try='test -s conftest.$ac_objext'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; }; then
6810 echo "$as_me: failed program was:" >&5
6811 sed 's/^/| /' conftest.$ac_ext >&5
6815 rm -f conftest.$ac_objext conftest.$ac_ext
6819 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
6820 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
6822 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
6823 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
6824 cat >conftest.$ac_ext <<_ACEOF
6825 #line $LINENO "configure"
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6835 char* tmp; strtof("gnu", &tmp);
6840 rm -f conftest.$ac_objext
6841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842 (eval $ac_compile) 2>&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); } &&
6846 { ac_try='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.$ac_ext >&5
6859 rm -f conftest.$ac_objext conftest.$ac_ext
6860 cat >conftest.$ac_ext <<_ACEOF
6861 #line $LINENO "configure"
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6871 char* tmp; strtold("gnu", &tmp);
6876 rm -f conftest.$ac_objext
6877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6878 (eval $ac_compile) 2>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } &&
6882 { ac_try='test -s conftest.$ac_objext'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; }; then
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6895 rm -f conftest.$ac_objext conftest.$ac_ext
6896 cat >conftest.$ac_ext <<_ACEOF
6897 #line $LINENO "configure"
6900 cat confdefs.h >>conftest.$ac_ext
6901 cat >>conftest.$ac_ext <<_ACEOF
6902 /* end confdefs.h. */
6912 rm -f conftest.$ac_objext
6913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6914 (eval $ac_compile) 2>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } &&
6918 { ac_try='test -s conftest.$ac_objext'
6919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); }; }; then
6926 echo "$as_me: failed program was:" >&5
6927 sed 's/^/| /' conftest.$ac_ext >&5
6931 rm -f conftest.$ac_objext conftest.$ac_ext
6932 cat >conftest.$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6948 rm -f conftest.$ac_objext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6950 (eval $ac_compile) 2>&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try='test -s conftest.$ac_objext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6962 echo "$as_me: failed program was:" >&5
6963 sed 's/^/| /' conftest.$ac_ext >&5
6967 rm -f conftest.$ac_objext conftest.$ac_ext
6968 cat >conftest.$ac_ext <<_ACEOF
6969 #line $LINENO "configure"
6972 cat confdefs.h >>conftest.$ac_ext
6973 cat >>conftest.$ac_ext <<_ACEOF
6974 /* end confdefs.h. */
6984 rm -f conftest.$ac_objext
6985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6986 (eval $ac_compile) 2>&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); } &&
6990 { ac_try='test -s conftest.$ac_objext'
6991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); }; }; then
6998 echo "$as_me: failed program was:" >&5
6999 sed 's/^/| /' conftest.$ac_ext >&5
7003 rm -f conftest.$ac_objext conftest.$ac_ext
7004 cat >conftest.$ac_ext <<_ACEOF
7005 #line $LINENO "configure"
7008 cat confdefs.h >>conftest.$ac_ext
7009 cat >>conftest.$ac_ext <<_ACEOF
7010 /* end confdefs.h. */
7020 rm -f conftest.$ac_objext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7022 (eval $ac_compile) 2>&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); } &&
7026 { ac_try='test -s conftest.$ac_objext'
7027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7031 (exit $ac_status); }; }; then
7034 echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7039 rm -f conftest.$ac_objext conftest.$ac_ext
7040 if test x"$ac_c99_lldiv_t" = x"no"; then
7043 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7044 echo "${ECHO_T}$ac_c99_stdlib" >&6
7046 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7047 # XXX the wchar.h checks should be rolled into the general C99 bits.
7049 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7050 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7051 cat >conftest.$ac_ext <<_ACEOF
7052 #line $LINENO "configure"
7055 cat confdefs.h >>conftest.$ac_ext
7056 cat >>conftest.$ac_ext <<_ACEOF
7057 /* end confdefs.h. */
7062 wcstold(L"10.0", NULL);
7067 rm -f conftest.$ac_objext
7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7069 (eval $ac_compile) 2>&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); } &&
7073 { ac_try='test -s conftest.$ac_objext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7086 rm -f conftest.$ac_objext conftest.$ac_ext
7087 cat >conftest.$ac_ext <<_ACEOF
7088 #line $LINENO "configure"
7091 cat confdefs.h >>conftest.$ac_ext
7092 cat >>conftest.$ac_ext <<_ACEOF
7093 /* end confdefs.h. */
7098 wcstoll(L"10", NULL, 10);
7103 rm -f conftest.$ac_objext
7104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7105 (eval $ac_compile) 2>&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } &&
7109 { ac_try='test -s conftest.$ac_objext'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; }; then
7117 echo "$as_me: failed program was:" >&5
7118 sed 's/^/| /' conftest.$ac_ext >&5
7122 rm -f conftest.$ac_objext conftest.$ac_ext
7123 cat >conftest.$ac_ext <<_ACEOF
7124 #line $LINENO "configure"
7127 cat confdefs.h >>conftest.$ac_ext
7128 cat >>conftest.$ac_ext <<_ACEOF
7129 /* end confdefs.h. */
7134 wcstoull(L"10", NULL, 10);
7139 rm -f conftest.$ac_objext
7140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7141 (eval $ac_compile) 2>&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -s conftest.$ac_objext'
7146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); }; }; then
7153 echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.$ac_ext >&5
7158 rm -f conftest.$ac_objext conftest.$ac_ext
7159 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7160 echo "${ECHO_T}$ac_c99_wchar" >&6
7162 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7163 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7164 if test x"$ac_c99_math" = x"no" ||
7165 test x"$ac_c99_stdio" = x"no" ||
7166 test x"$ac_c99_stdlib" = x"no" ||
7167 test x"$ac_c99_wchar" = x"no"; then
7170 echo "$as_me:$LINENO: result: $enable_c99" >&5
7171 echo "${ECHO_T}$enable_c99" >&6
7173 if test x"$ac_99_math" = x"yes"; then
7174 cat >>confdefs.h <<\_ACEOF
7175 #define _GLIBCXX_USE_C99_MATH 1
7180 # Option parsed, now set things appropriately
7181 if test x"$enable_c99" = x"yes"; then
7182 cat >>confdefs.h <<\_ACEOF
7183 #define _GLIBCXX_USE_C99 1
7189 ac_cpp='$CPP $CPPFLAGS'
7190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7196 # Check whether --enable-long-long or --disable-long-long was given.
7197 if test "${enable_long_long+set}" = set; then
7198 enableval="$enable_long_long"
7200 case "$enableval" in
7202 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7203 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7204 { (exit 1); exit 1; }; } ;;
7208 enable_long_long=yes
7215 ac_cpp='$CXXCPP $CPPFLAGS'
7216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7221 echo "$as_me:$LINENO: checking for enabled long long I/O support" >&5
7222 echo $ECHO_N "checking for enabled long long I/O support... $ECHO_C" >&6
7223 # iostreams require strtoll, strtoull to compile
7224 cat >conftest.$ac_ext <<_ACEOF
7225 #line $LINENO "configure"
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7235 char* tmp; strtoll("gnu", &tmp, 10);
7240 rm -f conftest.$ac_objext
7241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7242 (eval $ac_compile) 2>&5
7244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7245 (exit $ac_status); } &&
7246 { ac_try='test -s conftest.$ac_objext'
7247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); }; }; then
7254 echo "$as_me: failed program was:" >&5
7255 sed 's/^/| /' conftest.$ac_ext >&5
7259 rm -f conftest.$ac_objext conftest.$ac_ext
7260 cat >conftest.$ac_ext <<_ACEOF
7261 #line $LINENO "configure"
7264 cat confdefs.h >>conftest.$ac_ext
7265 cat >>conftest.$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7271 char* tmp; strtoull("gnu", &tmp, 10);
7276 rm -f conftest.$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>&5
7280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } &&
7282 { ac_try='test -s conftest.$ac_objext'
7283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7287 (exit $ac_status); }; }; then
7290 echo "$as_me: failed program was:" >&5
7291 sed 's/^/| /' conftest.$ac_ext >&5
7295 rm -f conftest.$ac_objext conftest.$ac_ext
7297 # Option parsed, now set things appropriately
7298 if test $enable_long_long = yes; then
7299 cat >>confdefs.h <<\_ACEOF
7300 #define _GLIBCXX_USE_LONG_LONG 1
7304 echo "$as_me:$LINENO: result: $enable_long_long" >&5
7305 echo "${ECHO_T}$enable_long_long" >&6
7308 ac_cpp='$CPP $CPPFLAGS'
7309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7315 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7316 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7317 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7318 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7319 echo "${ECHO_T}$target_thread_file" >&6
7321 if test $target_thread_file != single; then
7322 cat >>confdefs.h <<\_ACEOF
7323 #define HAVE_GTHR_DEFAULT 1
7326 cat >>confdefs.h <<\_ACEOF
7327 #define _GLIBCXX_SUPPORTS_WEAK __GXX_WEAK__
7332 glibcxx_thread_h=gthr-$target_thread_file.h
7336 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7337 if test "${enable_concept_checks+set}" = set; then
7338 enableval="$enable_concept_checks"
7340 case "$enableval" in
7342 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7343 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7344 { (exit 1); exit 1; }; } ;;
7348 enable_concept_checks=no
7351 if test $enable_concept_checks = yes; then
7352 cat >>confdefs.h <<\_ACEOF
7353 #define _GLIBCXX_CONCEPT_CHECKS 1
7359 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7360 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7361 enableval="$enable_libstdcxx_debug_flags"
7362 case "x$enable_libstdcxx_debug_flags" in
7363 xno | x) enable_libstdcxx_debug_flags= ;;
7365 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7366 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7367 { (exit 1); exit 1; }; } ;;
7370 enable_libstdcxx_debug_flags="-g3 -O0"
7374 # Option parsed, now set things appropriately
7375 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7378 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7379 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7382 echo "$as_me:$LINENO: checking for additional debug build" >&5
7383 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7384 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7385 if test "${enable_libstdcxx_debug+set}" = set; then
7386 enableval="$enable_libstdcxx_debug"
7388 case "$enableval" in
7390 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7391 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7392 { (exit 1); exit 1; }; } ;;
7396 enable_libstdcxx_debug=no
7399 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7400 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7403 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7404 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7405 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7406 if test "${enable_cxx_flags+set}" = set; then
7407 enableval="$enable_cxx_flags"
7408 case "x$enable_cxx_flags" in
7409 xno | x) enable_cxx_flags= ;;
7411 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7412 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7413 { (exit 1); exit 1; }; } ;;
7420 # Run through flags (either default or command-line) and set anything
7421 # extra (e.g., #defines) that must accompany particular g++ options.
7422 if test -n "$enable_cxx_flags"; then
7423 for f in $enable_cxx_flags; do
7427 *) # and we're trying to pass /what/ exactly?
7428 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7429 echo "$as_me: error: compiler flags start with a -" >&2;}
7430 { (exit 1); exit 1; }; } ;;
7435 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7436 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7437 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7441 # No surprises, no surprises...
7442 if test $atomicity_include_dir = cpu/generic ; then
7443 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7444 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7445 if test $target_thread_file = single; then
7446 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7447 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7448 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7449 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7451 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7452 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7453 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7454 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7459 if $GLIBCXX_IS_NATIVE; then
7461 # We can do more elaborate tests that assume a working linker.
7464 # Check for available headers.
7478 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7479 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7484 echo "$as_me:$LINENO: checking for $ac_header" >&5
7485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7487 echo $ECHO_N "(cached) $ECHO_C" >&6
7489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7492 # Is the header compilable?
7493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7495 cat >conftest.$ac_ext <<_ACEOF
7496 #line $LINENO "configure"
7499 cat confdefs.h >>conftest.$ac_ext
7500 cat >>conftest.$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 $ac_includes_default
7503 #include <$ac_header>
7505 rm -f conftest.$ac_objext
7506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7507 (eval $ac_compile) 2>&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); } &&
7511 { ac_try='test -s conftest.$ac_objext'
7512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }; }; then
7517 ac_header_compiler=yes
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.$ac_ext >&5
7522 ac_header_compiler=no
7524 rm -f conftest.$ac_objext conftest.$ac_ext
7525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7526 echo "${ECHO_T}$ac_header_compiler" >&6
7528 # Is the header present?
7529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7531 cat >conftest.$ac_ext <<_ACEOF
7532 #line $LINENO "configure"
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7538 #include <$ac_header>
7540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7543 grep -v '^ *+' conftest.er1 >conftest.err
7545 cat conftest.err >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } >/dev/null; then
7548 if test -s conftest.err; then
7549 ac_cpp_err=$ac_c_preproc_warn_flag
7556 if test -z "$ac_cpp_err"; then
7557 ac_header_preproc=yes
7559 echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 ac_header_preproc=no
7564 rm -f conftest.err conftest.$ac_ext
7565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7566 echo "${ECHO_T}$ac_header_preproc" >&6
7568 # So? What about this header?
7569 case $ac_header_compiler:$ac_header_preproc in
7571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7574 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7577 ## ------------------------------------ ##
7578 ## Report this to bug-autoconf@gnu.org. ##
7579 ## ------------------------------------ ##
7582 sed "s/^/$as_me: WARNING: /" >&2
7585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7593 ## ------------------------------------ ##
7594 ## Report this to bug-autoconf@gnu.org. ##
7595 ## ------------------------------------ ##
7598 sed "s/^/$as_me: WARNING: /" >&2
7601 echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7604 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 eval "$as_ac_Header=$ac_header_preproc"
7608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7613 cat >>confdefs.h <<_ACEOF
7614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7623 # All these tests are for C++; save the language and the compiler flags.
7624 # The CXXFLAGS thing is suspicious, but based on similar bits previously
7625 # found in GLIBCXX_CONFIGURE.
7629 ac_cpp='$CXXCPP $CPPFLAGS'
7630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7634 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7635 ac_save_CXXFLAGS="$CXXFLAGS"
7637 # Check for maintainer-mode bits.
7638 if test x"$USE_MAINTAINER_MODE" = xno; then
7644 # Check for -ffunction-sections -fdata-sections
7645 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
7646 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
7647 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
7648 cat >conftest.$ac_ext <<_ACEOF
7649 #line $LINENO "configure"
7652 cat confdefs.h >>conftest.$ac_ext
7653 cat >>conftest.$ac_ext <<_ACEOF
7654 /* end confdefs.h. */
7664 rm -f conftest.$ac_objext
7665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7666 (eval $ac_compile) 2>&5
7668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7669 (exit $ac_status); } &&
7670 { ac_try='test -s conftest.$ac_objext'
7671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); }; }; then
7678 echo "$as_me: failed program was:" >&5
7679 sed 's/^/| /' conftest.$ac_ext >&5
7683 rm -f conftest.$ac_objext conftest.$ac_ext
7684 if test "$ac_test_CXXFLAGS" = set; then
7685 CXXFLAGS="$ac_save_CXXFLAGS"
7687 # this is the suspicious part
7690 if test x"$ac_fdsections" = x"yes"; then
7691 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7693 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
7694 echo "${ECHO_T}$ac_fdsections" >&6
7697 ac_cpp='$CPP $CPPFLAGS'
7698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7706 # If we're not using GNU ld, then there's no point in even trying these
7707 # tests. Check for that first. We should have already tested for gld
7708 # by now (in libtool), but require it now just to be safe...
7709 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7710 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7714 # The name set by libtool depends on the version of libtool. Shame on us
7715 # for depending on an impl detail, but c'est la vie. Older versions used
7716 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7717 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7718 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7719 # set (hence we're using an older libtool), then set it.
7720 if test x${with_gnu_ld+set} != xset; then
7721 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7722 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
7725 with_gnu_ld=$ac_cv_prog_gnu_ld
7729 # Start by getting the version number. I think the libtool test already
7730 # does some of this, but throws away the result.
7732 ldver=`$LD --version 2>/dev/null | head -1 | \
7733 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7735 glibcxx_gnu_ld_version=`echo $ldver | \
7736 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7738 # Set --gc-sections.
7739 if test "$with_gnu_ld" = "notbroken"; then
7740 # GNU ld it is! Joy and bunny rabbits!
7742 # All these tests are for C++; save the language and the compiler flags.
7743 # Need to do this so that g++ won't try to link in libstdc++
7744 ac_test_CFLAGS="${CFLAGS+set}"
7745 ac_save_CFLAGS="$CFLAGS"
7746 CFLAGS='-x c++ -Wl,--gc-sections'
7748 # Check for -Wl,--gc-sections
7749 # XXX This test is broken at the moment, as symbols required for linking
7750 # are now in libsupc++ (not built yet). In addition, this test has
7751 # cored on solaris in the past. In addition, --gc-sections doesn't
7752 # really work at the moment (keeps on discarding used sections, first
7753 # .eh_frame and now some of the glibc sections for iconv).
7754 # Bzzzzt. Thanks for playing, maybe next time.
7755 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
7756 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
7757 if test "$cross_compiling" = yes; then
7758 ac_sectionLDflags=yes
7760 cat >conftest.$ac_ext <<_ACEOF
7761 #line $LINENO "configure"
7764 cat confdefs.h >>conftest.$ac_ext
7765 cat >>conftest.$ac_ext <<_ACEOF
7766 /* end confdefs.h. */
7776 rm -f conftest$ac_exeext
7777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7778 (eval $ac_link) 2>&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); }; }; then
7787 ac_sectionLDflags=yes
7789 echo "$as_me: program exited with status $ac_status" >&5
7790 echo "$as_me: failed program was:" >&5
7791 sed 's/^/| /' conftest.$ac_ext >&5
7794 ac_sectionLDflags=no
7796 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7798 if test "$ac_test_CFLAGS" = set; then
7799 CFLAGS="$ac_save_CFLAGS"
7801 # this is the suspicious part
7804 if test "$ac_sectionLDflags" = "yes"; then
7805 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7807 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
7808 echo "${ECHO_T}$ac_sectionLDflags" >&6
7811 # Set linker optimization flags.
7812 if test x"$with_gnu_ld" = x"yes"; then
7813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7820 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7821 ac_save_CXXFLAGS="$CXXFLAGS"
7822 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
7824 echo "$as_me:$LINENO: checking for sin in -lm" >&5
7825 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
7826 if test "${ac_cv_lib_m_sin+set}" = set; then
7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 ac_check_lib_save_LIBS=$LIBS
7831 if test x$gcc_no_link = xyes; then
7832 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7834 { (exit 1); exit 1; }; }
7836 cat >conftest.$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7844 /* Override any gcc2 internal prototype to avoid an error. */
7848 /* We use char because int might match the return type of a gcc2
7849 builtin and then its argument prototype would still apply. */
7859 rm -f conftest.$ac_objext conftest$ac_exeext
7860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7861 (eval $ac_link) 2>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -s conftest$ac_exeext'
7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }; }; then
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
7882 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
7883 if test $ac_cv_lib_m_sin = yes; then
7887 ac_save_LIBS="$LIBS"
7892 echo "$as_me:$LINENO: checking for isinf declaration" >&5
7893 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
7894 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
7895 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
7896 echo $ECHO_N "(cached) $ECHO_C" >&6
7902 ac_cpp='$CXXCPP $CPPFLAGS'
7903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7907 cat >conftest.$ac_ext <<_ACEOF
7908 #line $LINENO "configure"
7911 cat confdefs.h >>conftest.$ac_ext
7912 cat >>conftest.$ac_ext <<_ACEOF
7913 /* end confdefs.h. */
7915 #ifdef HAVE_IEEEFP_H
7927 rm -f conftest.$ac_objext
7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7929 (eval $ac_compile) 2>&5
7931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932 (exit $ac_status); } &&
7933 { ac_try='test -s conftest.$ac_objext'
7934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); }; }; then
7939 glibcxx_cv_func_isinf_use=yes
7941 echo "$as_me: failed program was:" >&5
7942 sed 's/^/| /' conftest.$ac_ext >&5
7944 glibcxx_cv_func_isinf_use=no
7946 rm -f conftest.$ac_objext conftest.$ac_ext
7948 ac_cpp='$CPP $CPPFLAGS'
7949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7957 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
7958 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
7960 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
7962 for ac_func in isinf
7964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7965 echo "$as_me:$LINENO: checking for $ac_func" >&5
7966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7967 if eval "test \"\${$as_ac_var+set}\" = set"; then
7968 echo $ECHO_N "(cached) $ECHO_C" >&6
7970 if test x$gcc_no_link = xyes; then
7971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7973 { (exit 1); exit 1; }; }
7975 cat >conftest.$ac_ext <<_ACEOF
7976 #line $LINENO "configure"
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7982 /* System header to define __stub macros and hopefully few prototypes,
7983 which can conflict with char $ac_func (); below.
7984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7985 <limits.h> exists even on freestanding compilers. */
7987 # include <limits.h>
7989 # include <assert.h>
7991 /* Override any gcc2 internal prototype to avoid an error. */
7996 /* We use char because int might match the return type of a gcc2
7997 builtin and then its argument prototype would still apply. */
7999 /* The GNU C library defines this for functions which it implements
8000 to always fail with ENOSYS. Some functions are actually named
8001 something starting with __ and the normal name is an alias. */
8002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8005 char (*f) () = $ac_func;
8014 return f != $ac_func;
8019 rm -f conftest.$ac_objext conftest$ac_exeext
8020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8021 (eval $ac_link) 2>&5
8023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8024 (exit $ac_status); } &&
8025 { ac_try='test -s conftest$ac_exeext'
8026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); }; }; then
8031 eval "$as_ac_var=yes"
8033 echo "$as_me: failed program was:" >&5
8034 sed 's/^/| /' conftest.$ac_ext >&5
8036 eval "$as_ac_var=no"
8038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8042 if test `eval echo '${'$as_ac_var'}'` = yes; then
8043 cat >>confdefs.h <<_ACEOF
8044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8052 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8053 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8054 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8055 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8056 echo $ECHO_N "(cached) $ECHO_C" >&6
8062 ac_cpp='$CXXCPP $CPPFLAGS'
8063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8067 cat >conftest.$ac_ext <<_ACEOF
8068 #line $LINENO "configure"
8071 cat confdefs.h >>conftest.$ac_ext
8072 cat >>conftest.$ac_ext <<_ACEOF
8073 /* end confdefs.h. */
8075 #ifdef HAVE_IEEEFP_H
8087 rm -f conftest.$ac_objext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089 (eval $ac_compile) 2>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } &&
8093 { ac_try='test -s conftest.$ac_objext'
8094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); }; }; then
8099 glibcxx_cv_func__isinf_use=yes
8101 echo "$as_me: failed program was:" >&5
8102 sed 's/^/| /' conftest.$ac_ext >&5
8104 glibcxx_cv_func__isinf_use=no
8106 rm -f conftest.$ac_objext conftest.$ac_ext
8108 ac_cpp='$CPP $CPPFLAGS'
8109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8117 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8118 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8120 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8122 for ac_func in _isinf
8124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8125 echo "$as_me:$LINENO: checking for $ac_func" >&5
8126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8127 if eval "test \"\${$as_ac_var+set}\" = set"; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 if test x$gcc_no_link = xyes; then
8131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8133 { (exit 1); exit 1; }; }
8135 cat >conftest.$ac_ext <<_ACEOF
8136 #line $LINENO "configure"
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8142 /* System header to define __stub macros and hopefully few prototypes,
8143 which can conflict with char $ac_func (); below.
8144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8145 <limits.h> exists even on freestanding compilers. */
8147 # include <limits.h>
8149 # include <assert.h>
8151 /* Override any gcc2 internal prototype to avoid an error. */
8156 /* We use char because int might match the return type of a gcc2
8157 builtin and then its argument prototype would still apply. */
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8165 char (*f) () = $ac_func;
8174 return f != $ac_func;
8179 rm -f conftest.$ac_objext conftest$ac_exeext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 (eval $ac_link) 2>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -s conftest$ac_exeext'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; }; then
8191 eval "$as_ac_var=yes"
8193 echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.$ac_ext >&5
8196 eval "$as_ac_var=no"
8198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8202 if test `eval echo '${'$as_ac_var'}'` = yes; then
8203 cat >>confdefs.h <<_ACEOF
8204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8215 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8216 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8217 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8218 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8225 ac_cpp='$CXXCPP $CPPFLAGS'
8226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8230 cat >conftest.$ac_ext <<_ACEOF
8231 #line $LINENO "configure"
8234 cat confdefs.h >>conftest.$ac_ext
8235 cat >>conftest.$ac_ext <<_ACEOF
8236 /* end confdefs.h. */
8238 #ifdef HAVE_IEEEFP_H
8250 rm -f conftest.$ac_objext
8251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8252 (eval $ac_compile) 2>&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } &&
8256 { ac_try='test -s conftest.$ac_objext'
8257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8261 (exit $ac_status); }; }; then
8262 glibcxx_cv_func_isnan_use=yes
8264 echo "$as_me: failed program was:" >&5
8265 sed 's/^/| /' conftest.$ac_ext >&5
8267 glibcxx_cv_func_isnan_use=no
8269 rm -f conftest.$ac_objext conftest.$ac_ext
8271 ac_cpp='$CPP $CPPFLAGS'
8272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8281 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8283 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8285 for ac_func in isnan
8287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8288 echo "$as_me:$LINENO: checking for $ac_func" >&5
8289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8290 if eval "test \"\${$as_ac_var+set}\" = set"; then
8291 echo $ECHO_N "(cached) $ECHO_C" >&6
8293 if test x$gcc_no_link = xyes; then
8294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8296 { (exit 1); exit 1; }; }
8298 cat >conftest.$ac_ext <<_ACEOF
8299 #line $LINENO "configure"
8302 cat confdefs.h >>conftest.$ac_ext
8303 cat >>conftest.$ac_ext <<_ACEOF
8304 /* end confdefs.h. */
8305 /* System header to define __stub macros and hopefully few prototypes,
8306 which can conflict with char $ac_func (); below.
8307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8308 <limits.h> exists even on freestanding compilers. */
8310 # include <limits.h>
8312 # include <assert.h>
8314 /* Override any gcc2 internal prototype to avoid an error. */
8319 /* We use char because int might match the return type of a gcc2
8320 builtin and then its argument prototype would still apply. */
8322 /* The GNU C library defines this for functions which it implements
8323 to always fail with ENOSYS. Some functions are actually named
8324 something starting with __ and the normal name is an alias. */
8325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8328 char (*f) () = $ac_func;
8337 return f != $ac_func;
8342 rm -f conftest.$ac_objext conftest$ac_exeext
8343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8344 (eval $ac_link) 2>&5
8346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8347 (exit $ac_status); } &&
8348 { ac_try='test -s conftest$ac_exeext'
8349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8353 (exit $ac_status); }; }; then
8354 eval "$as_ac_var=yes"
8356 echo "$as_me: failed program was:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8359 eval "$as_ac_var=no"
8361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8365 if test `eval echo '${'$as_ac_var'}'` = yes; then
8366 cat >>confdefs.h <<_ACEOF
8367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8375 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8376 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8377 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8378 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8379 echo $ECHO_N "(cached) $ECHO_C" >&6
8385 ac_cpp='$CXXCPP $CPPFLAGS'
8386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8390 cat >conftest.$ac_ext <<_ACEOF
8391 #line $LINENO "configure"
8394 cat confdefs.h >>conftest.$ac_ext
8395 cat >>conftest.$ac_ext <<_ACEOF
8396 /* end confdefs.h. */
8398 #ifdef HAVE_IEEEFP_H
8410 rm -f conftest.$ac_objext
8411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8412 (eval $ac_compile) 2>&5
8414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8415 (exit $ac_status); } &&
8416 { ac_try='test -s conftest.$ac_objext'
8417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8421 (exit $ac_status); }; }; then
8422 glibcxx_cv_func__isnan_use=yes
8424 echo "$as_me: failed program was:" >&5
8425 sed 's/^/| /' conftest.$ac_ext >&5
8427 glibcxx_cv_func__isnan_use=no
8429 rm -f conftest.$ac_objext conftest.$ac_ext
8431 ac_cpp='$CPP $CPPFLAGS'
8432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8440 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8441 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8443 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8445 for ac_func in _isnan
8447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8448 echo "$as_me:$LINENO: checking for $ac_func" >&5
8449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8450 if eval "test \"\${$as_ac_var+set}\" = set"; then
8451 echo $ECHO_N "(cached) $ECHO_C" >&6
8453 if test x$gcc_no_link = xyes; then
8454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8456 { (exit 1); exit 1; }; }
8458 cat >conftest.$ac_ext <<_ACEOF
8459 #line $LINENO "configure"
8462 cat confdefs.h >>conftest.$ac_ext
8463 cat >>conftest.$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8465 /* System header to define __stub macros and hopefully few prototypes,
8466 which can conflict with char $ac_func (); below.
8467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8468 <limits.h> exists even on freestanding compilers. */
8470 # include <limits.h>
8472 # include <assert.h>
8474 /* Override any gcc2 internal prototype to avoid an error. */
8479 /* We use char because int might match the return type of a gcc2
8480 builtin and then its argument prototype would still apply. */
8482 /* The GNU C library defines this for functions which it implements
8483 to always fail with ENOSYS. Some functions are actually named
8484 something starting with __ and the normal name is an alias. */
8485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8488 char (*f) () = $ac_func;
8497 return f != $ac_func;
8502 rm -f conftest.$ac_objext conftest$ac_exeext
8503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8504 (eval $ac_link) 2>&5
8506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8507 (exit $ac_status); } &&
8508 { ac_try='test -s conftest$ac_exeext'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; }; then
8514 eval "$as_ac_var=yes"
8516 echo "$as_me: failed program was:" >&5
8517 sed 's/^/| /' conftest.$ac_ext >&5
8519 eval "$as_ac_var=no"
8521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8525 if test `eval echo '${'$as_ac_var'}'` = yes; then
8526 cat >>confdefs.h <<_ACEOF
8527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8538 echo "$as_me:$LINENO: checking for finite declaration" >&5
8539 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
8540 if test x${glibcxx_cv_func_finite_use+set} != xset; then
8541 if test "${glibcxx_cv_func_finite_use+set}" = set; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 ac_cpp='$CXXCPP $CPPFLAGS'
8549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8553 cat >conftest.$ac_ext <<_ACEOF
8554 #line $LINENO "configure"
8557 cat confdefs.h >>conftest.$ac_ext
8558 cat >>conftest.$ac_ext <<_ACEOF
8559 /* end confdefs.h. */
8561 #ifdef HAVE_IEEEFP_H
8573 rm -f conftest.$ac_objext
8574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8575 (eval $ac_compile) 2>&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try='test -s conftest.$ac_objext'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; }; then
8585 glibcxx_cv_func_finite_use=yes
8587 echo "$as_me: failed program was:" >&5
8588 sed 's/^/| /' conftest.$ac_ext >&5
8590 glibcxx_cv_func_finite_use=no
8592 rm -f conftest.$ac_objext conftest.$ac_ext
8594 ac_cpp='$CPP $CPPFLAGS'
8595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8603 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
8604 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
8606 if test x$glibcxx_cv_func_finite_use = x"yes"; then
8608 for ac_func in finite
8610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8611 echo "$as_me:$LINENO: checking for $ac_func" >&5
8612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8613 if eval "test \"\${$as_ac_var+set}\" = set"; then
8614 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 if test x$gcc_no_link = xyes; then
8617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8619 { (exit 1); exit 1; }; }
8621 cat >conftest.$ac_ext <<_ACEOF
8622 #line $LINENO "configure"
8625 cat confdefs.h >>conftest.$ac_ext
8626 cat >>conftest.$ac_ext <<_ACEOF
8627 /* end confdefs.h. */
8628 /* System header to define __stub macros and hopefully few prototypes,
8629 which can conflict with char $ac_func (); below.
8630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8631 <limits.h> exists even on freestanding compilers. */
8633 # include <limits.h>
8635 # include <assert.h>
8637 /* Override any gcc2 internal prototype to avoid an error. */
8642 /* We use char because int might match the return type of a gcc2
8643 builtin and then its argument prototype would still apply. */
8645 /* The GNU C library defines this for functions which it implements
8646 to always fail with ENOSYS. Some functions are actually named
8647 something starting with __ and the normal name is an alias. */
8648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8651 char (*f) () = $ac_func;
8660 return f != $ac_func;
8665 rm -f conftest.$ac_objext conftest$ac_exeext
8666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8667 (eval $ac_link) 2>&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } &&
8671 { ac_try='test -s conftest$ac_exeext'
8672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8676 (exit $ac_status); }; }; then
8677 eval "$as_ac_var=yes"
8679 echo "$as_me: failed program was:" >&5
8680 sed 's/^/| /' conftest.$ac_ext >&5
8682 eval "$as_ac_var=no"
8684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8688 if test `eval echo '${'$as_ac_var'}'` = yes; then
8689 cat >>confdefs.h <<_ACEOF
8690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8698 echo "$as_me:$LINENO: checking for _finite declaration" >&5
8699 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
8700 if test x${glibcxx_cv_func__finite_use+set} != xset; then
8701 if test "${glibcxx_cv_func__finite_use+set}" = set; then
8702 echo $ECHO_N "(cached) $ECHO_C" >&6
8708 ac_cpp='$CXXCPP $CPPFLAGS'
8709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8713 cat >conftest.$ac_ext <<_ACEOF
8714 #line $LINENO "configure"
8717 cat confdefs.h >>conftest.$ac_ext
8718 cat >>conftest.$ac_ext <<_ACEOF
8719 /* end confdefs.h. */
8721 #ifdef HAVE_IEEEFP_H
8733 rm -f conftest.$ac_objext
8734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8735 (eval $ac_compile) 2>&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); } &&
8739 { ac_try='test -s conftest.$ac_objext'
8740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744 (exit $ac_status); }; }; then
8745 glibcxx_cv_func__finite_use=yes
8747 echo "$as_me: failed program was:" >&5
8748 sed 's/^/| /' conftest.$ac_ext >&5
8750 glibcxx_cv_func__finite_use=no
8752 rm -f conftest.$ac_objext conftest.$ac_ext
8754 ac_cpp='$CPP $CPPFLAGS'
8755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8763 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
8764 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
8766 if test x$glibcxx_cv_func__finite_use = x"yes"; then
8768 for ac_func in _finite
8770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8771 echo "$as_me:$LINENO: checking for $ac_func" >&5
8772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8773 if eval "test \"\${$as_ac_var+set}\" = set"; then
8774 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 if test x$gcc_no_link = xyes; then
8777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8779 { (exit 1); exit 1; }; }
8781 cat >conftest.$ac_ext <<_ACEOF
8782 #line $LINENO "configure"
8785 cat confdefs.h >>conftest.$ac_ext
8786 cat >>conftest.$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8788 /* System header to define __stub macros and hopefully few prototypes,
8789 which can conflict with char $ac_func (); below.
8790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8791 <limits.h> exists even on freestanding compilers. */
8793 # include <limits.h>
8795 # include <assert.h>
8797 /* Override any gcc2 internal prototype to avoid an error. */
8802 /* We use char because int might match the return type of a gcc2
8803 builtin and then its argument prototype would still apply. */
8805 /* The GNU C library defines this for functions which it implements
8806 to always fail with ENOSYS. Some functions are actually named
8807 something starting with __ and the normal name is an alias. */
8808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8811 char (*f) () = $ac_func;
8820 return f != $ac_func;
8825 rm -f conftest.$ac_objext conftest$ac_exeext
8826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8827 (eval $ac_link) 2>&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } &&
8831 { ac_try='test -s conftest$ac_exeext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 eval "$as_ac_var=yes"
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.$ac_ext >&5
8842 eval "$as_ac_var=no"
8844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8848 if test `eval echo '${'$as_ac_var'}'` = yes; then
8849 cat >>confdefs.h <<_ACEOF
8850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8861 echo "$as_me:$LINENO: checking for copysign declaration" >&5
8862 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
8863 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
8864 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
8865 echo $ECHO_N "(cached) $ECHO_C" >&6
8871 ac_cpp='$CXXCPP $CPPFLAGS'
8872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8876 cat >conftest.$ac_ext <<_ACEOF
8877 #line $LINENO "configure"
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8892 rm -f conftest.$ac_objext
8893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8894 (eval $ac_compile) 2>&5
8896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8897 (exit $ac_status); } &&
8898 { ac_try='test -s conftest.$ac_objext'
8899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }; }; then
8904 glibcxx_cv_func_copysign_use=yes
8906 echo "$as_me: failed program was:" >&5
8907 sed 's/^/| /' conftest.$ac_ext >&5
8909 glibcxx_cv_func_copysign_use=no
8911 rm -f conftest.$ac_objext conftest.$ac_ext
8913 ac_cpp='$CPP $CPPFLAGS'
8914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
8923 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
8925 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
8927 for ac_func in copysign
8929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8930 echo "$as_me:$LINENO: checking for $ac_func" >&5
8931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8932 if eval "test \"\${$as_ac_var+set}\" = set"; then
8933 echo $ECHO_N "(cached) $ECHO_C" >&6
8935 if test x$gcc_no_link = xyes; then
8936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8938 { (exit 1); exit 1; }; }
8940 cat >conftest.$ac_ext <<_ACEOF
8941 #line $LINENO "configure"
8944 cat confdefs.h >>conftest.$ac_ext
8945 cat >>conftest.$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8947 /* System header to define __stub macros and hopefully few prototypes,
8948 which can conflict with char $ac_func (); below.
8949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8950 <limits.h> exists even on freestanding compilers. */
8952 # include <limits.h>
8954 # include <assert.h>
8956 /* Override any gcc2 internal prototype to avoid an error. */
8961 /* We use char because int might match the return type of a gcc2
8962 builtin and then its argument prototype would still apply. */
8964 /* The GNU C library defines this for functions which it implements
8965 to always fail with ENOSYS. Some functions are actually named
8966 something starting with __ and the normal name is an alias. */
8967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8970 char (*f) () = $ac_func;
8979 return f != $ac_func;
8984 rm -f conftest.$ac_objext conftest$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>&5
8988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8989 (exit $ac_status); } &&
8990 { ac_try='test -s conftest$ac_exeext'
8991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8995 (exit $ac_status); }; }; then
8996 eval "$as_ac_var=yes"
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 eval "$as_ac_var=no"
9003 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9007 if test `eval echo '${'$as_ac_var'}'` = yes; then
9008 cat >>confdefs.h <<_ACEOF
9009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9017 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9018 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9019 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9020 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9021 echo $ECHO_N "(cached) $ECHO_C" >&6
9027 ac_cpp='$CXXCPP $CPPFLAGS'
9028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9032 cat >conftest.$ac_ext <<_ACEOF
9033 #line $LINENO "configure"
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9048 rm -f conftest.$ac_objext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9050 (eval $ac_compile) 2>&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); } &&
9054 { ac_try='test -s conftest.$ac_objext'
9055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059 (exit $ac_status); }; }; then
9060 glibcxx_cv_func__copysign_use=yes
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.$ac_ext >&5
9065 glibcxx_cv_func__copysign_use=no
9067 rm -f conftest.$ac_objext conftest.$ac_ext
9069 ac_cpp='$CPP $CPPFLAGS'
9070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9078 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9079 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9081 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9083 for ac_func in _copysign
9085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9086 echo "$as_me:$LINENO: checking for $ac_func" >&5
9087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9088 if eval "test \"\${$as_ac_var+set}\" = set"; then
9089 echo $ECHO_N "(cached) $ECHO_C" >&6
9091 if test x$gcc_no_link = xyes; then
9092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9094 { (exit 1); exit 1; }; }
9096 cat >conftest.$ac_ext <<_ACEOF
9097 #line $LINENO "configure"
9100 cat confdefs.h >>conftest.$ac_ext
9101 cat >>conftest.$ac_ext <<_ACEOF
9102 /* end confdefs.h. */
9103 /* System header to define __stub macros and hopefully few prototypes,
9104 which can conflict with char $ac_func (); below.
9105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9106 <limits.h> exists even on freestanding compilers. */
9108 # include <limits.h>
9110 # include <assert.h>
9112 /* Override any gcc2 internal prototype to avoid an error. */
9117 /* We use char because int might match the return type of a gcc2
9118 builtin and then its argument prototype would still apply. */
9120 /* The GNU C library defines this for functions which it implements
9121 to always fail with ENOSYS. Some functions are actually named
9122 something starting with __ and the normal name is an alias. */
9123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9126 char (*f) () = $ac_func;
9135 return f != $ac_func;
9140 rm -f conftest.$ac_objext conftest$ac_exeext
9141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9142 (eval $ac_link) 2>&5
9144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9145 (exit $ac_status); } &&
9146 { ac_try='test -s conftest$ac_exeext'
9147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); }; }; then
9152 eval "$as_ac_var=yes"
9154 echo "$as_me: failed program was:" >&5
9155 sed 's/^/| /' conftest.$ac_ext >&5
9157 eval "$as_ac_var=no"
9159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9163 if test `eval echo '${'$as_ac_var'}'` = yes; then
9164 cat >>confdefs.h <<_ACEOF
9165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9176 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9177 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9178 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9179 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 ac_cpp='$CXXCPP $CPPFLAGS'
9187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9191 cat >conftest.$ac_ext <<_ACEOF
9192 #line $LINENO "configure"
9195 cat confdefs.h >>conftest.$ac_ext
9196 cat >>conftest.$ac_ext <<_ACEOF
9197 /* end confdefs.h. */
9207 rm -f conftest.$ac_objext
9208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9209 (eval $ac_compile) 2>&5
9211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9212 (exit $ac_status); } &&
9213 { ac_try='test -s conftest.$ac_objext'
9214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9218 (exit $ac_status); }; }; then
9219 glibcxx_cv_func_sincos_use=yes
9221 echo "$as_me: failed program was:" >&5
9222 sed 's/^/| /' conftest.$ac_ext >&5
9224 glibcxx_cv_func_sincos_use=no
9226 rm -f conftest.$ac_objext conftest.$ac_ext
9228 ac_cpp='$CPP $CPPFLAGS'
9229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9237 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9238 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9240 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9242 for ac_func in sincos
9244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9245 echo "$as_me:$LINENO: checking for $ac_func" >&5
9246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9247 if eval "test \"\${$as_ac_var+set}\" = set"; then
9248 echo $ECHO_N "(cached) $ECHO_C" >&6
9250 if test x$gcc_no_link = xyes; then
9251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9253 { (exit 1); exit 1; }; }
9255 cat >conftest.$ac_ext <<_ACEOF
9256 #line $LINENO "configure"
9259 cat confdefs.h >>conftest.$ac_ext
9260 cat >>conftest.$ac_ext <<_ACEOF
9261 /* end confdefs.h. */
9262 /* System header to define __stub macros and hopefully few prototypes,
9263 which can conflict with char $ac_func (); below.
9264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9265 <limits.h> exists even on freestanding compilers. */
9267 # include <limits.h>
9269 # include <assert.h>
9271 /* Override any gcc2 internal prototype to avoid an error. */
9276 /* We use char because int might match the return type of a gcc2
9277 builtin and then its argument prototype would still apply. */
9279 /* The GNU C library defines this for functions which it implements
9280 to always fail with ENOSYS. Some functions are actually named
9281 something starting with __ and the normal name is an alias. */
9282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9285 char (*f) () = $ac_func;
9294 return f != $ac_func;
9299 rm -f conftest.$ac_objext conftest$ac_exeext
9300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9301 (eval $ac_link) 2>&5
9303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } &&
9305 { ac_try='test -s conftest$ac_exeext'
9306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); }; }; then
9311 eval "$as_ac_var=yes"
9313 echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.$ac_ext >&5
9316 eval "$as_ac_var=no"
9318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9322 if test `eval echo '${'$as_ac_var'}'` = yes; then
9323 cat >>confdefs.h <<_ACEOF
9324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9332 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9333 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9334 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9335 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9336 echo $ECHO_N "(cached) $ECHO_C" >&6
9342 ac_cpp='$CXXCPP $CPPFLAGS'
9343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9347 cat >conftest.$ac_ext <<_ACEOF
9348 #line $LINENO "configure"
9351 cat confdefs.h >>conftest.$ac_ext
9352 cat >>conftest.$ac_ext <<_ACEOF
9353 /* end confdefs.h. */
9363 rm -f conftest.$ac_objext
9364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9365 (eval $ac_compile) 2>&5
9367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9368 (exit $ac_status); } &&
9369 { ac_try='test -s conftest.$ac_objext'
9370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9374 (exit $ac_status); }; }; then
9375 glibcxx_cv_func__sincos_use=yes
9377 echo "$as_me: failed program was:" >&5
9378 sed 's/^/| /' conftest.$ac_ext >&5
9380 glibcxx_cv_func__sincos_use=no
9382 rm -f conftest.$ac_objext conftest.$ac_ext
9384 ac_cpp='$CPP $CPPFLAGS'
9385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
9394 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
9396 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
9398 for ac_func in _sincos
9400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9401 echo "$as_me:$LINENO: checking for $ac_func" >&5
9402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9403 if eval "test \"\${$as_ac_var+set}\" = set"; then
9404 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 if test x$gcc_no_link = xyes; then
9407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9409 { (exit 1); exit 1; }; }
9411 cat >conftest.$ac_ext <<_ACEOF
9412 #line $LINENO "configure"
9415 cat confdefs.h >>conftest.$ac_ext
9416 cat >>conftest.$ac_ext <<_ACEOF
9417 /* end confdefs.h. */
9418 /* System header to define __stub macros and hopefully few prototypes,
9419 which can conflict with char $ac_func (); below.
9420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9421 <limits.h> exists even on freestanding compilers. */
9423 # include <limits.h>
9425 # include <assert.h>
9427 /* Override any gcc2 internal prototype to avoid an error. */
9432 /* We use char because int might match the return type of a gcc2
9433 builtin and then its argument prototype would still apply. */
9435 /* The GNU C library defines this for functions which it implements
9436 to always fail with ENOSYS. Some functions are actually named
9437 something starting with __ and the normal name is an alias. */
9438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9441 char (*f) () = $ac_func;
9450 return f != $ac_func;
9455 rm -f conftest.$ac_objext conftest$ac_exeext
9456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9457 (eval $ac_link) 2>&5
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); } &&
9461 { ac_try='test -s conftest$ac_exeext'
9462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466 (exit $ac_status); }; }; then
9467 eval "$as_ac_var=yes"
9469 echo "$as_me: failed program was:" >&5
9470 sed 's/^/| /' conftest.$ac_ext >&5
9472 eval "$as_ac_var=no"
9474 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9478 if test `eval echo '${'$as_ac_var'}'` = yes; then
9479 cat >>confdefs.h <<_ACEOF
9480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9491 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
9492 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
9493 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
9494 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 ac_cpp='$CXXCPP $CPPFLAGS'
9502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9506 cat >conftest.$ac_ext <<_ACEOF
9507 #line $LINENO "configure"
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9514 #ifdef HAVE_IEEEFP_H
9526 rm -f conftest.$ac_objext
9527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9528 (eval $ac_compile) 2>&5
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); } &&
9532 { ac_try='test -s conftest.$ac_objext'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; }; then
9538 glibcxx_cv_func_fpclass_use=yes
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 glibcxx_cv_func_fpclass_use=no
9545 rm -f conftest.$ac_objext conftest.$ac_ext
9547 ac_cpp='$CPP $CPPFLAGS'
9548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
9557 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
9559 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
9561 for ac_func in fpclass
9563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9564 echo "$as_me:$LINENO: checking for $ac_func" >&5
9565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9566 if eval "test \"\${$as_ac_var+set}\" = set"; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 if test x$gcc_no_link = xyes; then
9570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9572 { (exit 1); exit 1; }; }
9574 cat >conftest.$ac_ext <<_ACEOF
9575 #line $LINENO "configure"
9578 cat confdefs.h >>conftest.$ac_ext
9579 cat >>conftest.$ac_ext <<_ACEOF
9580 /* end confdefs.h. */
9581 /* System header to define __stub macros and hopefully few prototypes,
9582 which can conflict with char $ac_func (); below.
9583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9584 <limits.h> exists even on freestanding compilers. */
9586 # include <limits.h>
9588 # include <assert.h>
9590 /* Override any gcc2 internal prototype to avoid an error. */
9595 /* We use char because int might match the return type of a gcc2
9596 builtin and then its argument prototype would still apply. */
9598 /* The GNU C library defines this for functions which it implements
9599 to always fail with ENOSYS. Some functions are actually named
9600 something starting with __ and the normal name is an alias. */
9601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9604 char (*f) () = $ac_func;
9613 return f != $ac_func;
9618 rm -f conftest.$ac_objext conftest$ac_exeext
9619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9620 (eval $ac_link) 2>&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); } &&
9624 { ac_try='test -s conftest$ac_exeext'
9625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9629 (exit $ac_status); }; }; then
9630 eval "$as_ac_var=yes"
9632 echo "$as_me: failed program was:" >&5
9633 sed 's/^/| /' conftest.$ac_ext >&5
9635 eval "$as_ac_var=no"
9637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9641 if test `eval echo '${'$as_ac_var'}'` = yes; then
9642 cat >>confdefs.h <<_ACEOF
9643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9651 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
9652 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
9653 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
9654 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
9655 echo $ECHO_N "(cached) $ECHO_C" >&6
9661 ac_cpp='$CXXCPP $CPPFLAGS'
9662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9666 cat >conftest.$ac_ext <<_ACEOF
9667 #line $LINENO "configure"
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h. */
9674 #ifdef HAVE_IEEEFP_H
9686 rm -f conftest.$ac_objext
9687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9688 (eval $ac_compile) 2>&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try='test -s conftest.$ac_objext'
9693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9697 (exit $ac_status); }; }; then
9698 glibcxx_cv_func__fpclass_use=yes
9700 echo "$as_me: failed program was:" >&5
9701 sed 's/^/| /' conftest.$ac_ext >&5
9703 glibcxx_cv_func__fpclass_use=no
9705 rm -f conftest.$ac_objext conftest.$ac_ext
9707 ac_cpp='$CPP $CPPFLAGS'
9708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9716 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
9717 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
9719 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
9721 for ac_func in _fpclass
9723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9724 echo "$as_me:$LINENO: checking for $ac_func" >&5
9725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9726 if eval "test \"\${$as_ac_var+set}\" = set"; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 if test x$gcc_no_link = xyes; then
9730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9732 { (exit 1); exit 1; }; }
9734 cat >conftest.$ac_ext <<_ACEOF
9735 #line $LINENO "configure"
9738 cat confdefs.h >>conftest.$ac_ext
9739 cat >>conftest.$ac_ext <<_ACEOF
9740 /* end confdefs.h. */
9741 /* System header to define __stub macros and hopefully few prototypes,
9742 which can conflict with char $ac_func (); below.
9743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9744 <limits.h> exists even on freestanding compilers. */
9746 # include <limits.h>
9748 # include <assert.h>
9750 /* Override any gcc2 internal prototype to avoid an error. */
9755 /* We use char because int might match the return type of a gcc2
9756 builtin and then its argument prototype would still apply. */
9758 /* The GNU C library defines this for functions which it implements
9759 to always fail with ENOSYS. Some functions are actually named
9760 something starting with __ and the normal name is an alias. */
9761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9764 char (*f) () = $ac_func;
9773 return f != $ac_func;
9778 rm -f conftest.$ac_objext conftest$ac_exeext
9779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9780 (eval $ac_link) 2>&5
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); } &&
9784 { ac_try='test -s conftest$ac_exeext'
9785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); }; }; then
9790 eval "$as_ac_var=yes"
9792 echo "$as_me: failed program was:" >&5
9793 sed 's/^/| /' conftest.$ac_ext >&5
9795 eval "$as_ac_var=no"
9797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9801 if test `eval echo '${'$as_ac_var'}'` = yes; then
9802 cat >>confdefs.h <<_ACEOF
9803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9814 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
9815 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
9816 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
9817 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9824 ac_cpp='$CXXCPP $CPPFLAGS'
9825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9829 cat >conftest.$ac_ext <<_ACEOF
9830 #line $LINENO "configure"
9833 cat confdefs.h >>conftest.$ac_ext
9834 cat >>conftest.$ac_ext <<_ACEOF
9835 /* end confdefs.h. */
9837 #ifdef HAVE_IEEEFP_H
9849 rm -f conftest.$ac_objext
9850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9851 (eval $ac_compile) 2>&5
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); } &&
9855 { ac_try='test -s conftest.$ac_objext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9861 glibcxx_cv_func_qfpclass_use=yes
9863 echo "$as_me: failed program was:" >&5
9864 sed 's/^/| /' conftest.$ac_ext >&5
9866 glibcxx_cv_func_qfpclass_use=no
9868 rm -f conftest.$ac_objext conftest.$ac_ext
9870 ac_cpp='$CPP $CPPFLAGS'
9871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
9880 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
9882 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
9884 for ac_func in qfpclass
9886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9887 echo "$as_me:$LINENO: checking for $ac_func" >&5
9888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9889 if eval "test \"\${$as_ac_var+set}\" = set"; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9892 if test x$gcc_no_link = xyes; then
9893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9895 { (exit 1); exit 1; }; }
9897 cat >conftest.$ac_ext <<_ACEOF
9898 #line $LINENO "configure"
9901 cat confdefs.h >>conftest.$ac_ext
9902 cat >>conftest.$ac_ext <<_ACEOF
9903 /* end confdefs.h. */
9904 /* System header to define __stub macros and hopefully few prototypes,
9905 which can conflict with char $ac_func (); below.
9906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9907 <limits.h> exists even on freestanding compilers. */
9909 # include <limits.h>
9911 # include <assert.h>
9913 /* Override any gcc2 internal prototype to avoid an error. */
9918 /* We use char because int might match the return type of a gcc2
9919 builtin and then its argument prototype would still apply. */
9921 /* The GNU C library defines this for functions which it implements
9922 to always fail with ENOSYS. Some functions are actually named
9923 something starting with __ and the normal name is an alias. */
9924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9927 char (*f) () = $ac_func;
9936 return f != $ac_func;
9941 rm -f conftest.$ac_objext conftest$ac_exeext
9942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9943 (eval $ac_link) 2>&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } &&
9947 { ac_try='test -s conftest$ac_exeext'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; }; then
9953 eval "$as_ac_var=yes"
9955 echo "$as_me: failed program was:" >&5
9956 sed 's/^/| /' conftest.$ac_ext >&5
9958 eval "$as_ac_var=no"
9960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9964 if test `eval echo '${'$as_ac_var'}'` = yes; then
9965 cat >>confdefs.h <<_ACEOF
9966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9974 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
9975 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
9976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
9977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 ac_cpp='$CXXCPP $CPPFLAGS'
9985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9989 cat >conftest.$ac_ext <<_ACEOF
9990 #line $LINENO "configure"
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9997 #ifdef HAVE_IEEEFP_H
10009 rm -f conftest.$ac_objext
10010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10011 (eval $ac_compile) 2>&5
10013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10014 (exit $ac_status); } &&
10015 { ac_try='test -s conftest.$ac_objext'
10016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10017 (eval $ac_try) 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 glibcxx_cv_func__qfpclass_use=yes
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 glibcxx_cv_func__qfpclass_use=no
10028 rm -f conftest.$ac_objext conftest.$ac_ext
10030 ac_cpp='$CPP $CPPFLAGS'
10031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10040 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10042 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10044 for ac_func in _qfpclass
10046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10047 echo "$as_me:$LINENO: checking for $ac_func" >&5
10048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10049 if eval "test \"\${$as_ac_var+set}\" = set"; then
10050 echo $ECHO_N "(cached) $ECHO_C" >&6
10052 if test x$gcc_no_link = xyes; then
10053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10055 { (exit 1); exit 1; }; }
10057 cat >conftest.$ac_ext <<_ACEOF
10058 #line $LINENO "configure"
10061 cat confdefs.h >>conftest.$ac_ext
10062 cat >>conftest.$ac_ext <<_ACEOF
10063 /* end confdefs.h. */
10064 /* System header to define __stub macros and hopefully few prototypes,
10065 which can conflict with char $ac_func (); below.
10066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10067 <limits.h> exists even on freestanding compilers. */
10069 # include <limits.h>
10071 # include <assert.h>
10073 /* Override any gcc2 internal prototype to avoid an error. */
10078 /* We use char because int might match the return type of a gcc2
10079 builtin and then its argument prototype would still apply. */
10081 /* The GNU C library defines this for functions which it implements
10082 to always fail with ENOSYS. Some functions are actually named
10083 something starting with __ and the normal name is an alias. */
10084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10087 char (*f) () = $ac_func;
10096 return f != $ac_func;
10101 rm -f conftest.$ac_objext conftest$ac_exeext
10102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10103 (eval $ac_link) 2>&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try='test -s conftest$ac_exeext'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; }; then
10113 eval "$as_ac_var=yes"
10115 echo "$as_me: failed program was:" >&5
10116 sed 's/^/| /' conftest.$ac_ext >&5
10118 eval "$as_ac_var=no"
10120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10124 if test `eval echo '${'$as_ac_var'}'` = yes; then
10125 cat >>confdefs.h <<_ACEOF
10126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10137 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10138 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10139 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10140 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10141 echo $ECHO_N "(cached) $ECHO_C" >&6
10147 ac_cpp='$CXXCPP $CPPFLAGS'
10148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10152 cat >conftest.$ac_ext <<_ACEOF
10153 #line $LINENO "configure"
10156 cat confdefs.h >>conftest.$ac_ext
10157 cat >>conftest.$ac_ext <<_ACEOF
10158 /* end confdefs.h. */
10168 rm -f conftest.$ac_objext
10169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10170 (eval $ac_compile) 2>&5
10172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10173 (exit $ac_status); } &&
10174 { ac_try='test -s conftest.$ac_objext'
10175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10176 (eval $ac_try) 2>&5
10178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10179 (exit $ac_status); }; }; then
10180 glibcxx_cv_func_hypot_use=yes
10182 echo "$as_me: failed program was:" >&5
10183 sed 's/^/| /' conftest.$ac_ext >&5
10185 glibcxx_cv_func_hypot_use=no
10187 rm -f conftest.$ac_objext conftest.$ac_ext
10189 ac_cpp='$CPP $CPPFLAGS'
10190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10198 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
10199 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
10201 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
10203 for ac_func in hypot
10205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10206 echo "$as_me:$LINENO: checking for $ac_func" >&5
10207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10208 if eval "test \"\${$as_ac_var+set}\" = set"; then
10209 echo $ECHO_N "(cached) $ECHO_C" >&6
10211 if test x$gcc_no_link = xyes; then
10212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10214 { (exit 1); exit 1; }; }
10216 cat >conftest.$ac_ext <<_ACEOF
10217 #line $LINENO "configure"
10220 cat confdefs.h >>conftest.$ac_ext
10221 cat >>conftest.$ac_ext <<_ACEOF
10222 /* end confdefs.h. */
10223 /* System header to define __stub macros and hopefully few prototypes,
10224 which can conflict with char $ac_func (); below.
10225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10226 <limits.h> exists even on freestanding compilers. */
10228 # include <limits.h>
10230 # include <assert.h>
10232 /* Override any gcc2 internal prototype to avoid an error. */
10237 /* We use char because int might match the return type of a gcc2
10238 builtin and then its argument prototype would still apply. */
10240 /* The GNU C library defines this for functions which it implements
10241 to always fail with ENOSYS. Some functions are actually named
10242 something starting with __ and the normal name is an alias. */
10243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10246 char (*f) () = $ac_func;
10255 return f != $ac_func;
10260 rm -f conftest.$ac_objext conftest$ac_exeext
10261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10262 (eval $ac_link) 2>&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -s conftest$ac_exeext'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; }; then
10272 eval "$as_ac_var=yes"
10274 echo "$as_me: failed program was:" >&5
10275 sed 's/^/| /' conftest.$ac_ext >&5
10277 eval "$as_ac_var=no"
10279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10283 if test `eval echo '${'$as_ac_var'}'` = yes; then
10284 cat >>confdefs.h <<_ACEOF
10285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10293 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
10294 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
10295 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
10296 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10303 ac_cpp='$CXXCPP $CPPFLAGS'
10304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10308 cat >conftest.$ac_ext <<_ACEOF
10309 #line $LINENO "configure"
10312 cat confdefs.h >>conftest.$ac_ext
10313 cat >>conftest.$ac_ext <<_ACEOF
10314 /* end confdefs.h. */
10324 rm -f conftest.$ac_objext
10325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10326 (eval $ac_compile) 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } &&
10330 { ac_try='test -s conftest.$ac_objext'
10331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10332 (eval $ac_try) 2>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); }; }; then
10336 glibcxx_cv_func__hypot_use=yes
10338 echo "$as_me: failed program was:" >&5
10339 sed 's/^/| /' conftest.$ac_ext >&5
10341 glibcxx_cv_func__hypot_use=no
10343 rm -f conftest.$ac_objext conftest.$ac_ext
10345 ac_cpp='$CPP $CPPFLAGS'
10346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
10355 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
10357 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
10359 for ac_func in _hypot
10361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10362 echo "$as_me:$LINENO: checking for $ac_func" >&5
10363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10364 if eval "test \"\${$as_ac_var+set}\" = set"; then
10365 echo $ECHO_N "(cached) $ECHO_C" >&6
10367 if test x$gcc_no_link = xyes; then
10368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10370 { (exit 1); exit 1; }; }
10372 cat >conftest.$ac_ext <<_ACEOF
10373 #line $LINENO "configure"
10376 cat confdefs.h >>conftest.$ac_ext
10377 cat >>conftest.$ac_ext <<_ACEOF
10378 /* end confdefs.h. */
10379 /* System header to define __stub macros and hopefully few prototypes,
10380 which can conflict with char $ac_func (); below.
10381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10382 <limits.h> exists even on freestanding compilers. */
10384 # include <limits.h>
10386 # include <assert.h>
10388 /* Override any gcc2 internal prototype to avoid an error. */
10393 /* We use char because int might match the return type of a gcc2
10394 builtin and then its argument prototype would still apply. */
10396 /* The GNU C library defines this for functions which it implements
10397 to always fail with ENOSYS. Some functions are actually named
10398 something starting with __ and the normal name is an alias. */
10399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10402 char (*f) () = $ac_func;
10411 return f != $ac_func;
10416 rm -f conftest.$ac_objext conftest$ac_exeext
10417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10418 (eval $ac_link) 2>&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); } &&
10422 { ac_try='test -s conftest$ac_exeext'
10423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10424 (eval $ac_try) 2>&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; }; then
10428 eval "$as_ac_var=yes"
10430 echo "$as_me: failed program was:" >&5
10431 sed 's/^/| /' conftest.$ac_ext >&5
10433 eval "$as_ac_var=no"
10435 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10438 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10439 if test `eval echo '${'$as_ac_var'}'` = yes; then
10440 cat >>confdefs.h <<_ACEOF
10441 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10452 echo "$as_me:$LINENO: checking for float trig functions" >&5
10453 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
10454 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
10455 echo $ECHO_N "(cached) $ECHO_C" >&6
10461 ac_cpp='$CXXCPP $CPPFLAGS'
10462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10466 cat >conftest.$ac_ext <<_ACEOF
10467 #line $LINENO "configure"
10470 cat confdefs.h >>conftest.$ac_ext
10471 cat >>conftest.$ac_ext <<_ACEOF
10472 /* end confdefs.h. */
10477 `for x in acosf asinf atanf \
10479 coshf sinhf tanhf; do echo "$x (0);"; done`
10484 rm -f conftest.$ac_objext
10485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10486 (eval $ac_compile) 2>&5
10488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10489 (exit $ac_status); } &&
10490 { ac_try='test -s conftest.$ac_objext'
10491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10492 (eval $ac_try) 2>&5
10494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10495 (exit $ac_status); }; }; then
10496 glibcxx_cv_func_float_trig_use=yes
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.$ac_ext >&5
10501 glibcxx_cv_func_float_trig_use=no
10503 rm -f conftest.$ac_objext conftest.$ac_ext
10505 ac_cpp='$CPP $CPPFLAGS'
10506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
10513 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
10514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
10524 for ac_func in acosf asinf atanf \
10528 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10529 echo "$as_me:$LINENO: checking for $ac_func" >&5
10530 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10531 if eval "test \"\${$as_ac_var+set}\" = set"; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 if test x$gcc_no_link = xyes; then
10535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10537 { (exit 1); exit 1; }; }
10539 cat >conftest.$ac_ext <<_ACEOF
10540 #line $LINENO "configure"
10543 cat confdefs.h >>conftest.$ac_ext
10544 cat >>conftest.$ac_ext <<_ACEOF
10545 /* end confdefs.h. */
10546 /* System header to define __stub macros and hopefully few prototypes,
10547 which can conflict with char $ac_func (); below.
10548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10549 <limits.h> exists even on freestanding compilers. */
10551 # include <limits.h>
10553 # include <assert.h>
10555 /* Override any gcc2 internal prototype to avoid an error. */
10560 /* We use char because int might match the return type of a gcc2
10561 builtin and then its argument prototype would still apply. */
10563 /* The GNU C library defines this for functions which it implements
10564 to always fail with ENOSYS. Some functions are actually named
10565 something starting with __ and the normal name is an alias. */
10566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10569 char (*f) () = $ac_func;
10578 return f != $ac_func;
10583 rm -f conftest.$ac_objext conftest$ac_exeext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10585 (eval $ac_link) 2>&5
10587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10588 (exit $ac_status); } &&
10589 { ac_try='test -s conftest$ac_exeext'
10590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10591 (eval $ac_try) 2>&5
10593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10594 (exit $ac_status); }; }; then
10595 eval "$as_ac_var=yes"
10597 echo "$as_me: failed program was:" >&5
10598 sed 's/^/| /' conftest.$ac_ext >&5
10600 eval "$as_ac_var=no"
10602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10606 if test `eval echo '${'$as_ac_var'}'` = yes; then
10607 cat >>confdefs.h <<_ACEOF
10608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10617 echo "$as_me:$LINENO: checking for float round functions" >&5
10618 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
10619 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10626 ac_cpp='$CXXCPP $CPPFLAGS'
10627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10631 cat >conftest.$ac_ext <<_ACEOF
10632 #line $LINENO "configure"
10635 cat confdefs.h >>conftest.$ac_ext
10636 cat >>conftest.$ac_ext <<_ACEOF
10637 /* end confdefs.h. */
10642 `for x in ceilf floorf; do echo "$x (0);"; done`
10647 rm -f conftest.$ac_objext
10648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10649 (eval $ac_compile) 2>&5
10651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10652 (exit $ac_status); } &&
10653 { ac_try='test -s conftest.$ac_objext'
10654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655 (eval $ac_try) 2>&5
10657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658 (exit $ac_status); }; }; then
10659 glibcxx_cv_func_float_round_use=yes
10661 echo "$as_me: failed program was:" >&5
10662 sed 's/^/| /' conftest.$ac_ext >&5
10664 glibcxx_cv_func_float_round_use=no
10666 rm -f conftest.$ac_objext conftest.$ac_ext
10668 ac_cpp='$CPP $CPPFLAGS'
10669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
10676 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
10677 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
10680 for ac_func in ceilf floorf
10682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10683 echo "$as_me:$LINENO: checking for $ac_func" >&5
10684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_var+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10688 if test x$gcc_no_link = xyes; then
10689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10691 { (exit 1); exit 1; }; }
10693 cat >conftest.$ac_ext <<_ACEOF
10694 #line $LINENO "configure"
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h. */
10700 /* System header to define __stub macros and hopefully few prototypes,
10701 which can conflict with char $ac_func (); below.
10702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10703 <limits.h> exists even on freestanding compilers. */
10705 # include <limits.h>
10707 # include <assert.h>
10709 /* Override any gcc2 internal prototype to avoid an error. */
10714 /* We use char because int might match the return type of a gcc2
10715 builtin and then its argument prototype would still apply. */
10717 /* The GNU C library defines this for functions which it implements
10718 to always fail with ENOSYS. Some functions are actually named
10719 something starting with __ and the normal name is an alias. */
10720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10723 char (*f) () = $ac_func;
10732 return f != $ac_func;
10737 rm -f conftest.$ac_objext conftest$ac_exeext
10738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10739 (eval $ac_link) 2>&5
10741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10742 (exit $ac_status); } &&
10743 { ac_try='test -s conftest$ac_exeext'
10744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10745 (eval $ac_try) 2>&5
10747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10748 (exit $ac_status); }; }; then
10749 eval "$as_ac_var=yes"
10751 echo "$as_me: failed program was:" >&5
10752 sed 's/^/| /' conftest.$ac_ext >&5
10754 eval "$as_ac_var=no"
10756 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10760 if test `eval echo '${'$as_ac_var'}'` = yes; then
10761 cat >>confdefs.h <<_ACEOF
10762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10772 echo "$as_me:$LINENO: checking for expf declaration" >&5
10773 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
10774 if test x${glibcxx_cv_func_expf_use+set} != xset; then
10775 if test "${glibcxx_cv_func_expf_use+set}" = set; then
10776 echo $ECHO_N "(cached) $ECHO_C" >&6
10782 ac_cpp='$CXXCPP $CPPFLAGS'
10783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10787 cat >conftest.$ac_ext <<_ACEOF
10788 #line $LINENO "configure"
10791 cat confdefs.h >>conftest.$ac_ext
10792 cat >>conftest.$ac_ext <<_ACEOF
10793 /* end confdefs.h. */
10795 #ifdef HAVE_IEEEFP_H
10796 #include <ieeefp.h>
10807 rm -f conftest.$ac_objext
10808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10809 (eval $ac_compile) 2>&5
10811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10812 (exit $ac_status); } &&
10813 { ac_try='test -s conftest.$ac_objext'
10814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10815 (eval $ac_try) 2>&5
10817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10818 (exit $ac_status); }; }; then
10819 glibcxx_cv_func_expf_use=yes
10821 echo "$as_me: failed program was:" >&5
10822 sed 's/^/| /' conftest.$ac_ext >&5
10824 glibcxx_cv_func_expf_use=no
10826 rm -f conftest.$ac_objext conftest.$ac_ext
10828 ac_cpp='$CPP $CPPFLAGS'
10829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10837 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
10838 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
10840 if test x$glibcxx_cv_func_expf_use = x"yes"; then
10842 for ac_func in expf
10844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10845 echo "$as_me:$LINENO: checking for $ac_func" >&5
10846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10847 if eval "test \"\${$as_ac_var+set}\" = set"; then
10848 echo $ECHO_N "(cached) $ECHO_C" >&6
10850 if test x$gcc_no_link = xyes; then
10851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10853 { (exit 1); exit 1; }; }
10855 cat >conftest.$ac_ext <<_ACEOF
10856 #line $LINENO "configure"
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10862 /* System header to define __stub macros and hopefully few prototypes,
10863 which can conflict with char $ac_func (); below.
10864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10865 <limits.h> exists even on freestanding compilers. */
10867 # include <limits.h>
10869 # include <assert.h>
10871 /* Override any gcc2 internal prototype to avoid an error. */
10876 /* We use char because int might match the return type of a gcc2
10877 builtin and then its argument prototype would still apply. */
10879 /* The GNU C library defines this for functions which it implements
10880 to always fail with ENOSYS. Some functions are actually named
10881 something starting with __ and the normal name is an alias. */
10882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10885 char (*f) () = $ac_func;
10894 return f != $ac_func;
10899 rm -f conftest.$ac_objext conftest$ac_exeext
10900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10901 (eval $ac_link) 2>&5
10903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10904 (exit $ac_status); } &&
10905 { ac_try='test -s conftest$ac_exeext'
10906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10907 (eval $ac_try) 2>&5
10909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10910 (exit $ac_status); }; }; then
10911 eval "$as_ac_var=yes"
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 eval "$as_ac_var=no"
10918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10922 if test `eval echo '${'$as_ac_var'}'` = yes; then
10923 cat >>confdefs.h <<_ACEOF
10924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10932 echo "$as_me:$LINENO: checking for _expf declaration" >&5
10933 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
10934 if test x${glibcxx_cv_func__expf_use+set} != xset; then
10935 if test "${glibcxx_cv_func__expf_use+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 ac_cpp='$CXXCPP $CPPFLAGS'
10943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10947 cat >conftest.$ac_ext <<_ACEOF
10948 #line $LINENO "configure"
10951 cat confdefs.h >>conftest.$ac_ext
10952 cat >>conftest.$ac_ext <<_ACEOF
10953 /* end confdefs.h. */
10955 #ifdef HAVE_IEEEFP_H
10956 #include <ieeefp.h>
10967 rm -f conftest.$ac_objext
10968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10969 (eval $ac_compile) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); } &&
10973 { ac_try='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 glibcxx_cv_func__expf_use=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.$ac_ext >&5
10984 glibcxx_cv_func__expf_use=no
10986 rm -f conftest.$ac_objext conftest.$ac_ext
10988 ac_cpp='$CPP $CPPFLAGS'
10989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10997 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
10998 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11000 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11002 for ac_func in _expf
11004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11005 echo "$as_me:$LINENO: checking for $ac_func" >&5
11006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11007 if eval "test \"\${$as_ac_var+set}\" = set"; then
11008 echo $ECHO_N "(cached) $ECHO_C" >&6
11010 if test x$gcc_no_link = xyes; then
11011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11013 { (exit 1); exit 1; }; }
11015 cat >conftest.$ac_ext <<_ACEOF
11016 #line $LINENO "configure"
11019 cat confdefs.h >>conftest.$ac_ext
11020 cat >>conftest.$ac_ext <<_ACEOF
11021 /* end confdefs.h. */
11022 /* System header to define __stub macros and hopefully few prototypes,
11023 which can conflict with char $ac_func (); below.
11024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11025 <limits.h> exists even on freestanding compilers. */
11027 # include <limits.h>
11029 # include <assert.h>
11031 /* Override any gcc2 internal prototype to avoid an error. */
11036 /* We use char because int might match the return type of a gcc2
11037 builtin and then its argument prototype would still apply. */
11039 /* The GNU C library defines this for functions which it implements
11040 to always fail with ENOSYS. Some functions are actually named
11041 something starting with __ and the normal name is an alias. */
11042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11045 char (*f) () = $ac_func;
11054 return f != $ac_func;
11059 rm -f conftest.$ac_objext conftest$ac_exeext
11060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11061 (eval $ac_link) 2>&5
11063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064 (exit $ac_status); } &&
11065 { ac_try='test -s conftest$ac_exeext'
11066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11067 (eval $ac_try) 2>&5
11069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11070 (exit $ac_status); }; }; then
11071 eval "$as_ac_var=yes"
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.$ac_ext >&5
11076 eval "$as_ac_var=no"
11078 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11082 if test `eval echo '${'$as_ac_var'}'` = yes; then
11083 cat >>confdefs.h <<_ACEOF
11084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11095 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
11096 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
11097 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
11098 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
11099 echo $ECHO_N "(cached) $ECHO_C" >&6
11105 ac_cpp='$CXXCPP $CPPFLAGS'
11106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11110 cat >conftest.$ac_ext <<_ACEOF
11111 #line $LINENO "configure"
11114 cat confdefs.h >>conftest.$ac_ext
11115 cat >>conftest.$ac_ext <<_ACEOF
11116 /* end confdefs.h. */
11118 #ifdef HAVE_IEEEFP_H
11119 #include <ieeefp.h>
11130 rm -f conftest.$ac_objext
11131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11132 (eval $ac_compile) 2>&5
11134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135 (exit $ac_status); } &&
11136 { ac_try='test -s conftest.$ac_objext'
11137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11138 (eval $ac_try) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); }; }; then
11142 glibcxx_cv_func_isnanf_use=yes
11144 echo "$as_me: failed program was:" >&5
11145 sed 's/^/| /' conftest.$ac_ext >&5
11147 glibcxx_cv_func_isnanf_use=no
11149 rm -f conftest.$ac_objext conftest.$ac_ext
11151 ac_cpp='$CPP $CPPFLAGS'
11152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
11161 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
11163 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
11165 for ac_func in isnanf
11167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11168 echo "$as_me:$LINENO: checking for $ac_func" >&5
11169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11170 if eval "test \"\${$as_ac_var+set}\" = set"; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 if test x$gcc_no_link = xyes; then
11174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11176 { (exit 1); exit 1; }; }
11178 cat >conftest.$ac_ext <<_ACEOF
11179 #line $LINENO "configure"
11182 cat confdefs.h >>conftest.$ac_ext
11183 cat >>conftest.$ac_ext <<_ACEOF
11184 /* end confdefs.h. */
11185 /* System header to define __stub macros and hopefully few prototypes,
11186 which can conflict with char $ac_func (); below.
11187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11188 <limits.h> exists even on freestanding compilers. */
11190 # include <limits.h>
11192 # include <assert.h>
11194 /* Override any gcc2 internal prototype to avoid an error. */
11199 /* We use char because int might match the return type of a gcc2
11200 builtin and then its argument prototype would still apply. */
11202 /* The GNU C library defines this for functions which it implements
11203 to always fail with ENOSYS. Some functions are actually named
11204 something starting with __ and the normal name is an alias. */
11205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11208 char (*f) () = $ac_func;
11217 return f != $ac_func;
11222 rm -f conftest.$ac_objext conftest$ac_exeext
11223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11224 (eval $ac_link) 2>&5
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); } &&
11228 { ac_try='test -s conftest$ac_exeext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 eval "$as_ac_var=yes"
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 eval "$as_ac_var=no"
11241 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11245 if test `eval echo '${'$as_ac_var'}'` = yes; then
11246 cat >>confdefs.h <<_ACEOF
11247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11255 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
11256 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
11257 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
11258 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
11259 echo $ECHO_N "(cached) $ECHO_C" >&6
11265 ac_cpp='$CXXCPP $CPPFLAGS'
11266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11270 cat >conftest.$ac_ext <<_ACEOF
11271 #line $LINENO "configure"
11274 cat confdefs.h >>conftest.$ac_ext
11275 cat >>conftest.$ac_ext <<_ACEOF
11276 /* end confdefs.h. */
11278 #ifdef HAVE_IEEEFP_H
11279 #include <ieeefp.h>
11290 rm -f conftest.$ac_objext
11291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11292 (eval $ac_compile) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } &&
11296 { ac_try='test -s conftest.$ac_objext'
11297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11298 (eval $ac_try) 2>&5
11300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301 (exit $ac_status); }; }; then
11302 glibcxx_cv_func__isnanf_use=yes
11304 echo "$as_me: failed program was:" >&5
11305 sed 's/^/| /' conftest.$ac_ext >&5
11307 glibcxx_cv_func__isnanf_use=no
11309 rm -f conftest.$ac_objext conftest.$ac_ext
11311 ac_cpp='$CPP $CPPFLAGS'
11312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
11321 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
11323 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
11325 for ac_func in _isnanf
11327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11328 echo "$as_me:$LINENO: checking for $ac_func" >&5
11329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11330 if eval "test \"\${$as_ac_var+set}\" = set"; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 if test x$gcc_no_link = xyes; then
11334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11336 { (exit 1); exit 1; }; }
11338 cat >conftest.$ac_ext <<_ACEOF
11339 #line $LINENO "configure"
11342 cat confdefs.h >>conftest.$ac_ext
11343 cat >>conftest.$ac_ext <<_ACEOF
11344 /* end confdefs.h. */
11345 /* System header to define __stub macros and hopefully few prototypes,
11346 which can conflict with char $ac_func (); below.
11347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11348 <limits.h> exists even on freestanding compilers. */
11350 # include <limits.h>
11352 # include <assert.h>
11354 /* Override any gcc2 internal prototype to avoid an error. */
11359 /* We use char because int might match the return type of a gcc2
11360 builtin and then its argument prototype would still apply. */
11362 /* The GNU C library defines this for functions which it implements
11363 to always fail with ENOSYS. Some functions are actually named
11364 something starting with __ and the normal name is an alias. */
11365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11368 char (*f) () = $ac_func;
11377 return f != $ac_func;
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11384 (eval $ac_link) 2>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try='test -s conftest$ac_exeext'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; }; then
11394 eval "$as_ac_var=yes"
11396 echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 eval "$as_ac_var=no"
11401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11405 if test `eval echo '${'$as_ac_var'}'` = yes; then
11406 cat >>confdefs.h <<_ACEOF
11407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11418 echo "$as_me:$LINENO: checking for isinff declaration" >&5
11419 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
11420 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
11421 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 ac_cpp='$CXXCPP $CPPFLAGS'
11429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11433 cat >conftest.$ac_ext <<_ACEOF
11434 #line $LINENO "configure"
11437 cat confdefs.h >>conftest.$ac_ext
11438 cat >>conftest.$ac_ext <<_ACEOF
11439 /* end confdefs.h. */
11441 #ifdef HAVE_IEEEFP_H
11442 #include <ieeefp.h>
11453 rm -f conftest.$ac_objext
11454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11455 (eval $ac_compile) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); } &&
11459 { ac_try='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 glibcxx_cv_func_isinff_use=yes
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.$ac_ext >&5
11470 glibcxx_cv_func_isinff_use=no
11472 rm -f conftest.$ac_objext conftest.$ac_ext
11474 ac_cpp='$CPP $CPPFLAGS'
11475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11483 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
11484 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
11486 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
11488 for ac_func in isinff
11490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11491 echo "$as_me:$LINENO: checking for $ac_func" >&5
11492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11493 if eval "test \"\${$as_ac_var+set}\" = set"; then
11494 echo $ECHO_N "(cached) $ECHO_C" >&6
11496 if test x$gcc_no_link = xyes; then
11497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11499 { (exit 1); exit 1; }; }
11501 cat >conftest.$ac_ext <<_ACEOF
11502 #line $LINENO "configure"
11505 cat confdefs.h >>conftest.$ac_ext
11506 cat >>conftest.$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11508 /* System header to define __stub macros and hopefully few prototypes,
11509 which can conflict with char $ac_func (); below.
11510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11511 <limits.h> exists even on freestanding compilers. */
11513 # include <limits.h>
11515 # include <assert.h>
11517 /* Override any gcc2 internal prototype to avoid an error. */
11522 /* We use char because int might match the return type of a gcc2
11523 builtin and then its argument prototype would still apply. */
11525 /* The GNU C library defines this for functions which it implements
11526 to always fail with ENOSYS. Some functions are actually named
11527 something starting with __ and the normal name is an alias. */
11528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11531 char (*f) () = $ac_func;
11540 return f != $ac_func;
11545 rm -f conftest.$ac_objext conftest$ac_exeext
11546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11547 (eval $ac_link) 2>&5
11549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11550 (exit $ac_status); } &&
11551 { ac_try='test -s conftest$ac_exeext'
11552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11553 (eval $ac_try) 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); }; }; then
11557 eval "$as_ac_var=yes"
11559 echo "$as_me: failed program was:" >&5
11560 sed 's/^/| /' conftest.$ac_ext >&5
11562 eval "$as_ac_var=no"
11564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11568 if test `eval echo '${'$as_ac_var'}'` = yes; then
11569 cat >>confdefs.h <<_ACEOF
11570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11578 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
11579 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
11580 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
11581 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
11582 echo $ECHO_N "(cached) $ECHO_C" >&6
11588 ac_cpp='$CXXCPP $CPPFLAGS'
11589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11593 cat >conftest.$ac_ext <<_ACEOF
11594 #line $LINENO "configure"
11597 cat confdefs.h >>conftest.$ac_ext
11598 cat >>conftest.$ac_ext <<_ACEOF
11599 /* end confdefs.h. */
11601 #ifdef HAVE_IEEEFP_H
11602 #include <ieeefp.h>
11613 rm -f conftest.$ac_objext
11614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11615 (eval $ac_compile) 2>&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } &&
11619 { ac_try='test -s conftest.$ac_objext'
11620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621 (eval $ac_try) 2>&5
11623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624 (exit $ac_status); }; }; then
11625 glibcxx_cv_func__isinff_use=yes
11627 echo "$as_me: failed program was:" >&5
11628 sed 's/^/| /' conftest.$ac_ext >&5
11630 glibcxx_cv_func__isinff_use=no
11632 rm -f conftest.$ac_objext conftest.$ac_ext
11634 ac_cpp='$CPP $CPPFLAGS'
11635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11643 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
11644 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
11646 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
11648 for ac_func in _isinff
11650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11651 echo "$as_me:$LINENO: checking for $ac_func" >&5
11652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11653 if eval "test \"\${$as_ac_var+set}\" = set"; then
11654 echo $ECHO_N "(cached) $ECHO_C" >&6
11656 if test x$gcc_no_link = xyes; then
11657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11659 { (exit 1); exit 1; }; }
11661 cat >conftest.$ac_ext <<_ACEOF
11662 #line $LINENO "configure"
11665 cat confdefs.h >>conftest.$ac_ext
11666 cat >>conftest.$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 /* System header to define __stub macros and hopefully few prototypes,
11669 which can conflict with char $ac_func (); below.
11670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11671 <limits.h> exists even on freestanding compilers. */
11673 # include <limits.h>
11675 # include <assert.h>
11677 /* Override any gcc2 internal prototype to avoid an error. */
11682 /* We use char because int might match the return type of a gcc2
11683 builtin and then its argument prototype would still apply. */
11685 /* The GNU C library defines this for functions which it implements
11686 to always fail with ENOSYS. Some functions are actually named
11687 something starting with __ and the normal name is an alias. */
11688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11691 char (*f) () = $ac_func;
11700 return f != $ac_func;
11705 rm -f conftest.$ac_objext conftest$ac_exeext
11706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11707 (eval $ac_link) 2>&5
11709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11710 (exit $ac_status); } &&
11711 { ac_try='test -s conftest$ac_exeext'
11712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11713 (eval $ac_try) 2>&5
11715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11716 (exit $ac_status); }; }; then
11717 eval "$as_ac_var=yes"
11719 echo "$as_me: failed program was:" >&5
11720 sed 's/^/| /' conftest.$ac_ext >&5
11722 eval "$as_ac_var=no"
11724 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11728 if test `eval echo '${'$as_ac_var'}'` = yes; then
11729 cat >>confdefs.h <<_ACEOF
11730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11741 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
11742 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
11743 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
11744 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
11745 echo $ECHO_N "(cached) $ECHO_C" >&6
11751 ac_cpp='$CXXCPP $CPPFLAGS'
11752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11756 cat >conftest.$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11760 cat confdefs.h >>conftest.$ac_ext
11761 cat >>conftest.$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11772 rm -f conftest.$ac_objext
11773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11774 (eval $ac_compile) 2>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try='test -s conftest.$ac_objext'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; }; then
11784 glibcxx_cv_func_atan2f_use=yes
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.$ac_ext >&5
11789 glibcxx_cv_func_atan2f_use=no
11791 rm -f conftest.$ac_objext conftest.$ac_ext
11793 ac_cpp='$CPP $CPPFLAGS'
11794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11802 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
11803 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
11805 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
11807 for ac_func in atan2f
11809 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11810 echo "$as_me:$LINENO: checking for $ac_func" >&5
11811 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11812 if eval "test \"\${$as_ac_var+set}\" = set"; then
11813 echo $ECHO_N "(cached) $ECHO_C" >&6
11815 if test x$gcc_no_link = xyes; then
11816 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11817 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11818 { (exit 1); exit 1; }; }
11820 cat >conftest.$ac_ext <<_ACEOF
11821 #line $LINENO "configure"
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11827 /* System header to define __stub macros and hopefully few prototypes,
11828 which can conflict with char $ac_func (); below.
11829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11830 <limits.h> exists even on freestanding compilers. */
11832 # include <limits.h>
11834 # include <assert.h>
11836 /* Override any gcc2 internal prototype to avoid an error. */
11841 /* We use char because int might match the return type of a gcc2
11842 builtin and then its argument prototype would still apply. */
11844 /* The GNU C library defines this for functions which it implements
11845 to always fail with ENOSYS. Some functions are actually named
11846 something starting with __ and the normal name is an alias. */
11847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11850 char (*f) () = $ac_func;
11859 return f != $ac_func;
11864 rm -f conftest.$ac_objext conftest$ac_exeext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11866 (eval $ac_link) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } &&
11870 { ac_try='test -s conftest$ac_exeext'
11871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11872 (eval $ac_try) 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }; }; then
11876 eval "$as_ac_var=yes"
11878 echo "$as_me: failed program was:" >&5
11879 sed 's/^/| /' conftest.$ac_ext >&5
11881 eval "$as_ac_var=no"
11883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11887 if test `eval echo '${'$as_ac_var'}'` = yes; then
11888 cat >>confdefs.h <<_ACEOF
11889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11897 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
11898 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
11899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
11900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11907 ac_cpp='$CXXCPP $CPPFLAGS'
11908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11912 cat >conftest.$ac_ext <<_ACEOF
11913 #line $LINENO "configure"
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11928 rm -f conftest.$ac_objext
11929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11930 (eval $ac_compile) 2>&5
11932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11933 (exit $ac_status); } &&
11934 { ac_try='test -s conftest.$ac_objext'
11935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11936 (eval $ac_try) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); }; }; then
11940 glibcxx_cv_func__atan2f_use=yes
11942 echo "$as_me: failed program was:" >&5
11943 sed 's/^/| /' conftest.$ac_ext >&5
11945 glibcxx_cv_func__atan2f_use=no
11947 rm -f conftest.$ac_objext conftest.$ac_ext
11949 ac_cpp='$CPP $CPPFLAGS'
11950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
11959 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
11961 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
11963 for ac_func in _atan2f
11965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11966 echo "$as_me:$LINENO: checking for $ac_func" >&5
11967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11968 if eval "test \"\${$as_ac_var+set}\" = set"; then
11969 echo $ECHO_N "(cached) $ECHO_C" >&6
11971 if test x$gcc_no_link = xyes; then
11972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11974 { (exit 1); exit 1; }; }
11976 cat >conftest.$ac_ext <<_ACEOF
11977 #line $LINENO "configure"
11980 cat confdefs.h >>conftest.$ac_ext
11981 cat >>conftest.$ac_ext <<_ACEOF
11982 /* end confdefs.h. */
11983 /* System header to define __stub macros and hopefully few prototypes,
11984 which can conflict with char $ac_func (); below.
11985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11986 <limits.h> exists even on freestanding compilers. */
11988 # include <limits.h>
11990 # include <assert.h>
11992 /* Override any gcc2 internal prototype to avoid an error. */
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
12000 /* The GNU C library defines this for functions which it implements
12001 to always fail with ENOSYS. Some functions are actually named
12002 something starting with __ and the normal name is an alias. */
12003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12006 char (*f) () = $ac_func;
12015 return f != $ac_func;
12020 rm -f conftest.$ac_objext conftest$ac_exeext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12022 (eval $ac_link) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try='test -s conftest$ac_exeext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 eval "$as_ac_var=yes"
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.$ac_ext >&5
12037 eval "$as_ac_var=no"
12039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12043 if test `eval echo '${'$as_ac_var'}'` = yes; then
12044 cat >>confdefs.h <<_ACEOF
12045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12056 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
12057 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
12058 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
12059 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 ac_cpp='$CXXCPP $CPPFLAGS'
12067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12071 cat >conftest.$ac_ext <<_ACEOF
12072 #line $LINENO "configure"
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12079 #ifdef HAVE_IEEEFP_H
12080 #include <ieeefp.h>
12091 rm -f conftest.$ac_objext
12092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12093 (eval $ac_compile) 2>&5
12095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12096 (exit $ac_status); } &&
12097 { ac_try='test -s conftest.$ac_objext'
12098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12099 (eval $ac_try) 2>&5
12101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); }; }; then
12103 glibcxx_cv_func_fabsf_use=yes
12105 echo "$as_me: failed program was:" >&5
12106 sed 's/^/| /' conftest.$ac_ext >&5
12108 glibcxx_cv_func_fabsf_use=no
12110 rm -f conftest.$ac_objext conftest.$ac_ext
12112 ac_cpp='$CPP $CPPFLAGS'
12113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
12122 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
12124 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
12126 for ac_func in fabsf
12128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12129 echo "$as_me:$LINENO: checking for $ac_func" >&5
12130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12131 if eval "test \"\${$as_ac_var+set}\" = set"; then
12132 echo $ECHO_N "(cached) $ECHO_C" >&6
12134 if test x$gcc_no_link = xyes; then
12135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12137 { (exit 1); exit 1; }; }
12139 cat >conftest.$ac_ext <<_ACEOF
12140 #line $LINENO "configure"
12143 cat confdefs.h >>conftest.$ac_ext
12144 cat >>conftest.$ac_ext <<_ACEOF
12145 /* end confdefs.h. */
12146 /* System header to define __stub macros and hopefully few prototypes,
12147 which can conflict with char $ac_func (); below.
12148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12149 <limits.h> exists even on freestanding compilers. */
12151 # include <limits.h>
12153 # include <assert.h>
12155 /* Override any gcc2 internal prototype to avoid an error. */
12160 /* We use char because int might match the return type of a gcc2
12161 builtin and then its argument prototype would still apply. */
12163 /* The GNU C library defines this for functions which it implements
12164 to always fail with ENOSYS. Some functions are actually named
12165 something starting with __ and the normal name is an alias. */
12166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12169 char (*f) () = $ac_func;
12178 return f != $ac_func;
12183 rm -f conftest.$ac_objext conftest$ac_exeext
12184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12185 (eval $ac_link) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); } &&
12189 { ac_try='test -s conftest$ac_exeext'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 eval "$as_ac_var=yes"
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.$ac_ext >&5
12200 eval "$as_ac_var=no"
12202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12206 if test `eval echo '${'$as_ac_var'}'` = yes; then
12207 cat >>confdefs.h <<_ACEOF
12208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12216 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
12217 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
12218 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
12219 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
12220 echo $ECHO_N "(cached) $ECHO_C" >&6
12226 ac_cpp='$CXXCPP $CPPFLAGS'
12227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12231 cat >conftest.$ac_ext <<_ACEOF
12232 #line $LINENO "configure"
12235 cat confdefs.h >>conftest.$ac_ext
12236 cat >>conftest.$ac_ext <<_ACEOF
12237 /* end confdefs.h. */
12239 #ifdef HAVE_IEEEFP_H
12240 #include <ieeefp.h>
12251 rm -f conftest.$ac_objext
12252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12253 (eval $ac_compile) 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 glibcxx_cv_func__fabsf_use=yes
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12268 glibcxx_cv_func__fabsf_use=no
12270 rm -f conftest.$ac_objext conftest.$ac_ext
12272 ac_cpp='$CPP $CPPFLAGS'
12273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12281 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
12282 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
12284 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
12286 for ac_func in _fabsf
12288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12289 echo "$as_me:$LINENO: checking for $ac_func" >&5
12290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12291 if eval "test \"\${$as_ac_var+set}\" = set"; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12294 if test x$gcc_no_link = xyes; then
12295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12297 { (exit 1); exit 1; }; }
12299 cat >conftest.$ac_ext <<_ACEOF
12300 #line $LINENO "configure"
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char $ac_func (); below.
12308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12309 <limits.h> exists even on freestanding compilers. */
12311 # include <limits.h>
12313 # include <assert.h>
12315 /* Override any gcc2 internal prototype to avoid an error. */
12320 /* We use char because int might match the return type of a gcc2
12321 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12329 char (*f) () = $ac_func;
12338 return f != $ac_func;
12343 rm -f conftest.$ac_objext conftest$ac_exeext
12344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12345 (eval $ac_link) 2>&5
12347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12348 (exit $ac_status); } &&
12349 { ac_try='test -s conftest$ac_exeext'
12350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12351 (eval $ac_try) 2>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); }; }; then
12355 eval "$as_ac_var=yes"
12357 echo "$as_me: failed program was:" >&5
12358 sed 's/^/| /' conftest.$ac_ext >&5
12360 eval "$as_ac_var=no"
12362 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12366 if test `eval echo '${'$as_ac_var'}'` = yes; then
12367 cat >>confdefs.h <<_ACEOF
12368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12379 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
12380 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
12381 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
12382 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
12383 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 ac_cpp='$CXXCPP $CPPFLAGS'
12390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12394 cat >conftest.$ac_ext <<_ACEOF
12395 #line $LINENO "configure"
12398 cat confdefs.h >>conftest.$ac_ext
12399 cat >>conftest.$ac_ext <<_ACEOF
12400 /* end confdefs.h. */
12410 rm -f conftest.$ac_objext
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5
12414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); } &&
12416 { ac_try='test -s conftest.$ac_objext'
12417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12418 (eval $ac_try) 2>&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); }; }; then
12422 glibcxx_cv_func_fmodf_use=yes
12424 echo "$as_me: failed program was:" >&5
12425 sed 's/^/| /' conftest.$ac_ext >&5
12427 glibcxx_cv_func_fmodf_use=no
12429 rm -f conftest.$ac_objext conftest.$ac_ext
12431 ac_cpp='$CPP $CPPFLAGS'
12432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
12441 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
12443 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
12445 for ac_func in fmodf
12447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12448 echo "$as_me:$LINENO: checking for $ac_func" >&5
12449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12450 if eval "test \"\${$as_ac_var+set}\" = set"; then
12451 echo $ECHO_N "(cached) $ECHO_C" >&6
12453 if test x$gcc_no_link = xyes; then
12454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12456 { (exit 1); exit 1; }; }
12458 cat >conftest.$ac_ext <<_ACEOF
12459 #line $LINENO "configure"
12462 cat confdefs.h >>conftest.$ac_ext
12463 cat >>conftest.$ac_ext <<_ACEOF
12464 /* end confdefs.h. */
12465 /* System header to define __stub macros and hopefully few prototypes,
12466 which can conflict with char $ac_func (); below.
12467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12468 <limits.h> exists even on freestanding compilers. */
12470 # include <limits.h>
12472 # include <assert.h>
12474 /* Override any gcc2 internal prototype to avoid an error. */
12479 /* We use char because int might match the return type of a gcc2
12480 builtin and then its argument prototype would still apply. */
12482 /* The GNU C library defines this for functions which it implements
12483 to always fail with ENOSYS. Some functions are actually named
12484 something starting with __ and the normal name is an alias. */
12485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12488 char (*f) () = $ac_func;
12497 return f != $ac_func;
12502 rm -f conftest.$ac_objext conftest$ac_exeext
12503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12504 (eval $ac_link) 2>&5
12506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12507 (exit $ac_status); } &&
12508 { ac_try='test -s conftest$ac_exeext'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; }; then
12514 eval "$as_ac_var=yes"
12516 echo "$as_me: failed program was:" >&5
12517 sed 's/^/| /' conftest.$ac_ext >&5
12519 eval "$as_ac_var=no"
12521 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12525 if test `eval echo '${'$as_ac_var'}'` = yes; then
12526 cat >>confdefs.h <<_ACEOF
12527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12535 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
12536 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
12537 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
12538 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12545 ac_cpp='$CXXCPP $CPPFLAGS'
12546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12550 cat >conftest.$ac_ext <<_ACEOF
12551 #line $LINENO "configure"
12554 cat confdefs.h >>conftest.$ac_ext
12555 cat >>conftest.$ac_ext <<_ACEOF
12556 /* end confdefs.h. */
12566 rm -f conftest.$ac_objext
12567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12568 (eval $ac_compile) 2>&5
12570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12571 (exit $ac_status); } &&
12572 { ac_try='test -s conftest.$ac_objext'
12573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12574 (eval $ac_try) 2>&5
12576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12577 (exit $ac_status); }; }; then
12578 glibcxx_cv_func__fmodf_use=yes
12580 echo "$as_me: failed program was:" >&5
12581 sed 's/^/| /' conftest.$ac_ext >&5
12583 glibcxx_cv_func__fmodf_use=no
12585 rm -f conftest.$ac_objext conftest.$ac_ext
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12596 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
12597 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
12599 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
12601 for ac_func in _fmodf
12603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12604 echo "$as_me:$LINENO: checking for $ac_func" >&5
12605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12606 if eval "test \"\${$as_ac_var+set}\" = set"; then
12607 echo $ECHO_N "(cached) $ECHO_C" >&6
12609 if test x$gcc_no_link = xyes; then
12610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12612 { (exit 1); exit 1; }; }
12614 cat >conftest.$ac_ext <<_ACEOF
12615 #line $LINENO "configure"
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 /* System header to define __stub macros and hopefully few prototypes,
12622 which can conflict with char $ac_func (); below.
12623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12624 <limits.h> exists even on freestanding compilers. */
12626 # include <limits.h>
12628 # include <assert.h>
12630 /* Override any gcc2 internal prototype to avoid an error. */
12635 /* We use char because int might match the return type of a gcc2
12636 builtin and then its argument prototype would still apply. */
12638 /* The GNU C library defines this for functions which it implements
12639 to always fail with ENOSYS. Some functions are actually named
12640 something starting with __ and the normal name is an alias. */
12641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12644 char (*f) () = $ac_func;
12653 return f != $ac_func;
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } &&
12664 { ac_try='test -s conftest$ac_exeext'
12665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12666 (eval $ac_try) 2>&5
12668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12669 (exit $ac_status); }; }; then
12670 eval "$as_ac_var=yes"
12672 echo "$as_me: failed program was:" >&5
12673 sed 's/^/| /' conftest.$ac_ext >&5
12675 eval "$as_ac_var=no"
12677 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12681 if test `eval echo '${'$as_ac_var'}'` = yes; then
12682 cat >>confdefs.h <<_ACEOF
12683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12694 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
12695 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
12696 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
12697 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
12698 echo $ECHO_N "(cached) $ECHO_C" >&6
12704 ac_cpp='$CXXCPP $CPPFLAGS'
12705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12709 cat >conftest.$ac_ext <<_ACEOF
12710 #line $LINENO "configure"
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12725 rm -f conftest.$ac_objext
12726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12727 (eval $ac_compile) 2>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } &&
12731 { ac_try='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12737 glibcxx_cv_func_frexpf_use=yes
12739 echo "$as_me: failed program was:" >&5
12740 sed 's/^/| /' conftest.$ac_ext >&5
12742 glibcxx_cv_func_frexpf_use=no
12744 rm -f conftest.$ac_objext conftest.$ac_ext
12746 ac_cpp='$CPP $CPPFLAGS'
12747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12755 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
12756 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
12758 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
12760 for ac_func in frexpf
12762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12763 echo "$as_me:$LINENO: checking for $ac_func" >&5
12764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12765 if eval "test \"\${$as_ac_var+set}\" = set"; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 if test x$gcc_no_link = xyes; then
12769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12771 { (exit 1); exit 1; }; }
12773 cat >conftest.$ac_ext <<_ACEOF
12774 #line $LINENO "configure"
12777 cat confdefs.h >>conftest.$ac_ext
12778 cat >>conftest.$ac_ext <<_ACEOF
12779 /* end confdefs.h. */
12780 /* System header to define __stub macros and hopefully few prototypes,
12781 which can conflict with char $ac_func (); below.
12782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12783 <limits.h> exists even on freestanding compilers. */
12785 # include <limits.h>
12787 # include <assert.h>
12789 /* Override any gcc2 internal prototype to avoid an error. */
12794 /* We use char because int might match the return type of a gcc2
12795 builtin and then its argument prototype would still apply. */
12797 /* The GNU C library defines this for functions which it implements
12798 to always fail with ENOSYS. Some functions are actually named
12799 something starting with __ and the normal name is an alias. */
12800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12803 char (*f) () = $ac_func;
12812 return f != $ac_func;
12817 rm -f conftest.$ac_objext conftest$ac_exeext
12818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12819 (eval $ac_link) 2>&5
12821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822 (exit $ac_status); } &&
12823 { ac_try='test -s conftest$ac_exeext'
12824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825 (eval $ac_try) 2>&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); }; }; then
12829 eval "$as_ac_var=yes"
12831 echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12834 eval "$as_ac_var=no"
12836 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12840 if test `eval echo '${'$as_ac_var'}'` = yes; then
12841 cat >>confdefs.h <<_ACEOF
12842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12850 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
12851 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
12852 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
12853 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 ac_cpp='$CXXCPP $CPPFLAGS'
12861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12865 cat >conftest.$ac_ext <<_ACEOF
12866 #line $LINENO "configure"
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12881 rm -f conftest.$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883 (eval $ac_compile) 2>&5
12885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12886 (exit $ac_status); } &&
12887 { ac_try='test -s conftest.$ac_objext'
12888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12889 (eval $ac_try) 2>&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); }; }; then
12893 glibcxx_cv_func__frexpf_use=yes
12895 echo "$as_me: failed program was:" >&5
12896 sed 's/^/| /' conftest.$ac_ext >&5
12898 glibcxx_cv_func__frexpf_use=no
12900 rm -f conftest.$ac_objext conftest.$ac_ext
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
12912 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
12914 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
12916 for ac_func in _frexpf
12918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12919 echo "$as_me:$LINENO: checking for $ac_func" >&5
12920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12921 if eval "test \"\${$as_ac_var+set}\" = set"; then
12922 echo $ECHO_N "(cached) $ECHO_C" >&6
12924 if test x$gcc_no_link = xyes; then
12925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12927 { (exit 1); exit 1; }; }
12929 cat >conftest.$ac_ext <<_ACEOF
12930 #line $LINENO "configure"
12933 cat confdefs.h >>conftest.$ac_ext
12934 cat >>conftest.$ac_ext <<_ACEOF
12935 /* end confdefs.h. */
12936 /* System header to define __stub macros and hopefully few prototypes,
12937 which can conflict with char $ac_func (); below.
12938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12939 <limits.h> exists even on freestanding compilers. */
12941 # include <limits.h>
12943 # include <assert.h>
12945 /* Override any gcc2 internal prototype to avoid an error. */
12950 /* We use char because int might match the return type of a gcc2
12951 builtin and then its argument prototype would still apply. */
12953 /* The GNU C library defines this for functions which it implements
12954 to always fail with ENOSYS. Some functions are actually named
12955 something starting with __ and the normal name is an alias. */
12956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12959 char (*f) () = $ac_func;
12968 return f != $ac_func;
12973 rm -f conftest.$ac_objext conftest$ac_exeext
12974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12975 (eval $ac_link) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); } &&
12979 { ac_try='test -s conftest$ac_exeext'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; }; then
12985 eval "$as_ac_var=yes"
12987 echo "$as_me: failed program was:" >&5
12988 sed 's/^/| /' conftest.$ac_ext >&5
12990 eval "$as_ac_var=no"
12992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12996 if test `eval echo '${'$as_ac_var'}'` = yes; then
12997 cat >>confdefs.h <<_ACEOF
12998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13009 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
13010 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
13011 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
13012 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
13013 echo $ECHO_N "(cached) $ECHO_C" >&6
13019 ac_cpp='$CXXCPP $CPPFLAGS'
13020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13024 cat >conftest.$ac_ext <<_ACEOF
13025 #line $LINENO "configure"
13028 cat confdefs.h >>conftest.$ac_ext
13029 cat >>conftest.$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13040 rm -f conftest.$ac_objext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13042 (eval $ac_compile) 2>&5
13044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13045 (exit $ac_status); } &&
13046 { ac_try='test -s conftest.$ac_objext'
13047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13048 (eval $ac_try) 2>&5
13050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13051 (exit $ac_status); }; }; then
13052 glibcxx_cv_func_hypotf_use=yes
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13057 glibcxx_cv_func_hypotf_use=no
13059 rm -f conftest.$ac_objext conftest.$ac_ext
13061 ac_cpp='$CPP $CPPFLAGS'
13062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
13071 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
13073 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
13075 for ac_func in hypotf
13077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13078 echo "$as_me:$LINENO: checking for $ac_func" >&5
13079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13080 if eval "test \"\${$as_ac_var+set}\" = set"; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 if test x$gcc_no_link = xyes; then
13084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13086 { (exit 1); exit 1; }; }
13088 cat >conftest.$ac_ext <<_ACEOF
13089 #line $LINENO "configure"
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 /* System header to define __stub macros and hopefully few prototypes,
13096 which can conflict with char $ac_func (); below.
13097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13098 <limits.h> exists even on freestanding compilers. */
13100 # include <limits.h>
13102 # include <assert.h>
13104 /* Override any gcc2 internal prototype to avoid an error. */
13109 /* We use char because int might match the return type of a gcc2
13110 builtin and then its argument prototype would still apply. */
13112 /* The GNU C library defines this for functions which it implements
13113 to always fail with ENOSYS. Some functions are actually named
13114 something starting with __ and the normal name is an alias. */
13115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13118 char (*f) () = $ac_func;
13127 return f != $ac_func;
13132 rm -f conftest.$ac_objext conftest$ac_exeext
13133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13134 (eval $ac_link) 2>&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -s conftest$ac_exeext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 eval "$as_ac_var=yes"
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13149 eval "$as_ac_var=no"
13151 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13154 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13155 if test `eval echo '${'$as_ac_var'}'` = yes; then
13156 cat >>confdefs.h <<_ACEOF
13157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13165 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
13166 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
13167 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
13168 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
13169 echo $ECHO_N "(cached) $ECHO_C" >&6
13175 ac_cpp='$CXXCPP $CPPFLAGS'
13176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13180 cat >conftest.$ac_ext <<_ACEOF
13181 #line $LINENO "configure"
13184 cat confdefs.h >>conftest.$ac_ext
13185 cat >>conftest.$ac_ext <<_ACEOF
13186 /* end confdefs.h. */
13196 rm -f conftest.$ac_objext
13197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13198 (eval $ac_compile) 2>&5
13200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13201 (exit $ac_status); } &&
13202 { ac_try='test -s conftest.$ac_objext'
13203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13204 (eval $ac_try) 2>&5
13206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207 (exit $ac_status); }; }; then
13208 glibcxx_cv_func__hypotf_use=yes
13210 echo "$as_me: failed program was:" >&5
13211 sed 's/^/| /' conftest.$ac_ext >&5
13213 glibcxx_cv_func__hypotf_use=no
13215 rm -f conftest.$ac_objext conftest.$ac_ext
13217 ac_cpp='$CPP $CPPFLAGS'
13218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13226 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
13227 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
13229 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
13231 for ac_func in _hypotf
13233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13234 echo "$as_me:$LINENO: checking for $ac_func" >&5
13235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13236 if eval "test \"\${$as_ac_var+set}\" = set"; then
13237 echo $ECHO_N "(cached) $ECHO_C" >&6
13239 if test x$gcc_no_link = xyes; then
13240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13242 { (exit 1); exit 1; }; }
13244 cat >conftest.$ac_ext <<_ACEOF
13245 #line $LINENO "configure"
13248 cat confdefs.h >>conftest.$ac_ext
13249 cat >>conftest.$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13251 /* System header to define __stub macros and hopefully few prototypes,
13252 which can conflict with char $ac_func (); below.
13253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13254 <limits.h> exists even on freestanding compilers. */
13256 # include <limits.h>
13258 # include <assert.h>
13260 /* Override any gcc2 internal prototype to avoid an error. */
13265 /* We use char because int might match the return type of a gcc2
13266 builtin and then its argument prototype would still apply. */
13268 /* The GNU C library defines this for functions which it implements
13269 to always fail with ENOSYS. Some functions are actually named
13270 something starting with __ and the normal name is an alias. */
13271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13274 char (*f) () = $ac_func;
13283 return f != $ac_func;
13288 rm -f conftest.$ac_objext conftest$ac_exeext
13289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13290 (eval $ac_link) 2>&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -s conftest$ac_exeext'
13295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13296 (eval $ac_try) 2>&5
13298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13299 (exit $ac_status); }; }; then
13300 eval "$as_ac_var=yes"
13302 echo "$as_me: failed program was:" >&5
13303 sed 's/^/| /' conftest.$ac_ext >&5
13305 eval "$as_ac_var=no"
13307 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13311 if test `eval echo '${'$as_ac_var'}'` = yes; then
13312 cat >>confdefs.h <<_ACEOF
13313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13324 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
13325 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
13326 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
13327 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13334 ac_cpp='$CXXCPP $CPPFLAGS'
13335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13339 cat >conftest.$ac_ext <<_ACEOF
13340 #line $LINENO "configure"
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h. */
13355 rm -f conftest.$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } &&
13361 { ac_try='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 glibcxx_cv_func_ldexpf_use=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.$ac_ext >&5
13372 glibcxx_cv_func_ldexpf_use=no
13374 rm -f conftest.$ac_objext conftest.$ac_ext
13376 ac_cpp='$CPP $CPPFLAGS'
13377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
13386 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
13388 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
13390 for ac_func in ldexpf
13392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13393 echo "$as_me:$LINENO: checking for $ac_func" >&5
13394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13395 if eval "test \"\${$as_ac_var+set}\" = set"; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13398 if test x$gcc_no_link = xyes; then
13399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13401 { (exit 1); exit 1; }; }
13403 cat >conftest.$ac_ext <<_ACEOF
13404 #line $LINENO "configure"
13407 cat confdefs.h >>conftest.$ac_ext
13408 cat >>conftest.$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410 /* System header to define __stub macros and hopefully few prototypes,
13411 which can conflict with char $ac_func (); below.
13412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13413 <limits.h> exists even on freestanding compilers. */
13415 # include <limits.h>
13417 # include <assert.h>
13419 /* Override any gcc2 internal prototype to avoid an error. */
13424 /* We use char because int might match the return type of a gcc2
13425 builtin and then its argument prototype would still apply. */
13427 /* The GNU C library defines this for functions which it implements
13428 to always fail with ENOSYS. Some functions are actually named
13429 something starting with __ and the normal name is an alias. */
13430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13433 char (*f) () = $ac_func;
13442 return f != $ac_func;
13447 rm -f conftest.$ac_objext conftest$ac_exeext
13448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13449 (eval $ac_link) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); } &&
13453 { ac_try='test -s conftest$ac_exeext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 eval "$as_ac_var=yes"
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13464 eval "$as_ac_var=no"
13466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13470 if test `eval echo '${'$as_ac_var'}'` = yes; then
13471 cat >>confdefs.h <<_ACEOF
13472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13480 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
13481 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
13482 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
13483 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
13484 echo $ECHO_N "(cached) $ECHO_C" >&6
13490 ac_cpp='$CXXCPP $CPPFLAGS'
13491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13495 cat >conftest.$ac_ext <<_ACEOF
13496 #line $LINENO "configure"
13499 cat confdefs.h >>conftest.$ac_ext
13500 cat >>conftest.$ac_ext <<_ACEOF
13501 /* end confdefs.h. */
13511 rm -f conftest.$ac_objext
13512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13513 (eval $ac_compile) 2>&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -s conftest.$ac_objext'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; }; then
13523 glibcxx_cv_func__ldexpf_use=yes
13525 echo "$as_me: failed program was:" >&5
13526 sed 's/^/| /' conftest.$ac_ext >&5
13528 glibcxx_cv_func__ldexpf_use=no
13530 rm -f conftest.$ac_objext conftest.$ac_ext
13532 ac_cpp='$CPP $CPPFLAGS'
13533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13541 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
13542 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
13544 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
13546 for ac_func in _ldexpf
13548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13549 echo "$as_me:$LINENO: checking for $ac_func" >&5
13550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13551 if eval "test \"\${$as_ac_var+set}\" = set"; then
13552 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 if test x$gcc_no_link = xyes; then
13555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13557 { (exit 1); exit 1; }; }
13559 cat >conftest.$ac_ext <<_ACEOF
13560 #line $LINENO "configure"
13563 cat confdefs.h >>conftest.$ac_ext
13564 cat >>conftest.$ac_ext <<_ACEOF
13565 /* end confdefs.h. */
13566 /* System header to define __stub macros and hopefully few prototypes,
13567 which can conflict with char $ac_func (); below.
13568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13569 <limits.h> exists even on freestanding compilers. */
13571 # include <limits.h>
13573 # include <assert.h>
13575 /* Override any gcc2 internal prototype to avoid an error. */
13580 /* We use char because int might match the return type of a gcc2
13581 builtin and then its argument prototype would still apply. */
13583 /* The GNU C library defines this for functions which it implements
13584 to always fail with ENOSYS. Some functions are actually named
13585 something starting with __ and the normal name is an alias. */
13586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 char (*f) () = $ac_func;
13598 return f != $ac_func;
13603 rm -f conftest.$ac_objext conftest$ac_exeext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13605 (eval $ac_link) 2>&5
13607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13608 (exit $ac_status); } &&
13609 { ac_try='test -s conftest$ac_exeext'
13610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13611 (eval $ac_try) 2>&5
13613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13614 (exit $ac_status); }; }; then
13615 eval "$as_ac_var=yes"
13617 echo "$as_me: failed program was:" >&5
13618 sed 's/^/| /' conftest.$ac_ext >&5
13620 eval "$as_ac_var=no"
13622 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13626 if test `eval echo '${'$as_ac_var'}'` = yes; then
13627 cat >>confdefs.h <<_ACEOF
13628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13639 echo "$as_me:$LINENO: checking for logf declaration" >&5
13640 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
13641 if test x${glibcxx_cv_func_logf_use+set} != xset; then
13642 if test "${glibcxx_cv_func_logf_use+set}" = set; then
13643 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 ac_cpp='$CXXCPP $CPPFLAGS'
13650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13654 cat >conftest.$ac_ext <<_ACEOF
13655 #line $LINENO "configure"
13658 cat confdefs.h >>conftest.$ac_ext
13659 cat >>conftest.$ac_ext <<_ACEOF
13660 /* end confdefs.h. */
13662 #ifdef HAVE_IEEEFP_H
13663 #include <ieeefp.h>
13674 rm -f conftest.$ac_objext
13675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13676 (eval $ac_compile) 2>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try='test -s conftest.$ac_objext'
13681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13682 (eval $ac_try) 2>&5
13684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13685 (exit $ac_status); }; }; then
13686 glibcxx_cv_func_logf_use=yes
13688 echo "$as_me: failed program was:" >&5
13689 sed 's/^/| /' conftest.$ac_ext >&5
13691 glibcxx_cv_func_logf_use=no
13693 rm -f conftest.$ac_objext conftest.$ac_ext
13695 ac_cpp='$CPP $CPPFLAGS'
13696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
13705 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
13707 if test x$glibcxx_cv_func_logf_use = x"yes"; then
13709 for ac_func in logf
13711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13712 echo "$as_me:$LINENO: checking for $ac_func" >&5
13713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13714 if eval "test \"\${$as_ac_var+set}\" = set"; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 if test x$gcc_no_link = xyes; then
13718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13720 { (exit 1); exit 1; }; }
13722 cat >conftest.$ac_ext <<_ACEOF
13723 #line $LINENO "configure"
13726 cat confdefs.h >>conftest.$ac_ext
13727 cat >>conftest.$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13729 /* System header to define __stub macros and hopefully few prototypes,
13730 which can conflict with char $ac_func (); below.
13731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13732 <limits.h> exists even on freestanding compilers. */
13734 # include <limits.h>
13736 # include <assert.h>
13738 /* Override any gcc2 internal prototype to avoid an error. */
13743 /* We use char because int might match the return type of a gcc2
13744 builtin and then its argument prototype would still apply. */
13746 /* The GNU C library defines this for functions which it implements
13747 to always fail with ENOSYS. Some functions are actually named
13748 something starting with __ and the normal name is an alias. */
13749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13752 char (*f) () = $ac_func;
13761 return f != $ac_func;
13766 rm -f conftest.$ac_objext conftest$ac_exeext
13767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13768 (eval $ac_link) 2>&5
13770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13771 (exit $ac_status); } &&
13772 { ac_try='test -s conftest$ac_exeext'
13773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13774 (eval $ac_try) 2>&5
13776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13777 (exit $ac_status); }; }; then
13778 eval "$as_ac_var=yes"
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13783 eval "$as_ac_var=no"
13785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13789 if test `eval echo '${'$as_ac_var'}'` = yes; then
13790 cat >>confdefs.h <<_ACEOF
13791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13799 echo "$as_me:$LINENO: checking for _logf declaration" >&5
13800 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
13801 if test x${glibcxx_cv_func__logf_use+set} != xset; then
13802 if test "${glibcxx_cv_func__logf_use+set}" = set; then
13803 echo $ECHO_N "(cached) $ECHO_C" >&6
13809 ac_cpp='$CXXCPP $CPPFLAGS'
13810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13814 cat >conftest.$ac_ext <<_ACEOF
13815 #line $LINENO "configure"
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13822 #ifdef HAVE_IEEEFP_H
13823 #include <ieeefp.h>
13834 rm -f conftest.$ac_objext
13835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13836 (eval $ac_compile) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); } &&
13840 { ac_try='test -s conftest.$ac_objext'
13841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13842 (eval $ac_try) 2>&5
13844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13845 (exit $ac_status); }; }; then
13846 glibcxx_cv_func__logf_use=yes
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13851 glibcxx_cv_func__logf_use=no
13853 rm -f conftest.$ac_objext conftest.$ac_ext
13855 ac_cpp='$CPP $CPPFLAGS'
13856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13864 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
13865 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
13867 if test x$glibcxx_cv_func__logf_use = x"yes"; then
13869 for ac_func in _logf
13871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13872 echo "$as_me:$LINENO: checking for $ac_func" >&5
13873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13874 if eval "test \"\${$as_ac_var+set}\" = set"; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13877 if test x$gcc_no_link = xyes; then
13878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13880 { (exit 1); exit 1; }; }
13882 cat >conftest.$ac_ext <<_ACEOF
13883 #line $LINENO "configure"
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889 /* System header to define __stub macros and hopefully few prototypes,
13890 which can conflict with char $ac_func (); below.
13891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13892 <limits.h> exists even on freestanding compilers. */
13894 # include <limits.h>
13896 # include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13903 /* We use char because int might match the return type of a gcc2
13904 builtin and then its argument prototype would still apply. */
13906 /* The GNU C library defines this for functions which it implements
13907 to always fail with ENOSYS. Some functions are actually named
13908 something starting with __ and the normal name is an alias. */
13909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13912 char (*f) () = $ac_func;
13921 return f != $ac_func;
13926 rm -f conftest.$ac_objext conftest$ac_exeext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13928 (eval $ac_link) 2>&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); } &&
13932 { ac_try='test -s conftest$ac_exeext'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; }; then
13938 eval "$as_ac_var=yes"
13940 echo "$as_me: failed program was:" >&5
13941 sed 's/^/| /' conftest.$ac_ext >&5
13943 eval "$as_ac_var=no"
13945 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13949 if test `eval echo '${'$as_ac_var'}'` = yes; then
13950 cat >>confdefs.h <<_ACEOF
13951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13962 echo "$as_me:$LINENO: checking for log10f declaration" >&5
13963 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
13964 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
13965 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 ac_cpp='$CXXCPP $CPPFLAGS'
13973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13977 cat >conftest.$ac_ext <<_ACEOF
13978 #line $LINENO "configure"
13981 cat confdefs.h >>conftest.$ac_ext
13982 cat >>conftest.$ac_ext <<_ACEOF
13983 /* end confdefs.h. */
13985 #ifdef HAVE_IEEEFP_H
13986 #include <ieeefp.h>
13997 rm -f conftest.$ac_objext
13998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13999 (eval $ac_compile) 2>&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } &&
14003 { ac_try='test -s conftest.$ac_objext'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; }; then
14009 glibcxx_cv_func_log10f_use=yes
14011 echo "$as_me: failed program was:" >&5
14012 sed 's/^/| /' conftest.$ac_ext >&5
14014 glibcxx_cv_func_log10f_use=no
14016 rm -f conftest.$ac_objext conftest.$ac_ext
14018 ac_cpp='$CPP $CPPFLAGS'
14019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
14028 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
14030 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
14032 for ac_func in log10f
14034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14035 echo "$as_me:$LINENO: checking for $ac_func" >&5
14036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14037 if eval "test \"\${$as_ac_var+set}\" = set"; then
14038 echo $ECHO_N "(cached) $ECHO_C" >&6
14040 if test x$gcc_no_link = xyes; then
14041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14043 { (exit 1); exit 1; }; }
14045 cat >conftest.$ac_ext <<_ACEOF
14046 #line $LINENO "configure"
14049 cat confdefs.h >>conftest.$ac_ext
14050 cat >>conftest.$ac_ext <<_ACEOF
14051 /* end confdefs.h. */
14052 /* System header to define __stub macros and hopefully few prototypes,
14053 which can conflict with char $ac_func (); below.
14054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14055 <limits.h> exists even on freestanding compilers. */
14057 # include <limits.h>
14059 # include <assert.h>
14061 /* Override any gcc2 internal prototype to avoid an error. */
14066 /* We use char because int might match the return type of a gcc2
14067 builtin and then its argument prototype would still apply. */
14069 /* The GNU C library defines this for functions which it implements
14070 to always fail with ENOSYS. Some functions are actually named
14071 something starting with __ and the normal name is an alias. */
14072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14075 char (*f) () = $ac_func;
14084 return f != $ac_func;
14089 rm -f conftest.$ac_objext conftest$ac_exeext
14090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14091 (eval $ac_link) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } &&
14095 { ac_try='test -s conftest$ac_exeext'
14096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097 (eval $ac_try) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; }; then
14101 eval "$as_ac_var=yes"
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.$ac_ext >&5
14106 eval "$as_ac_var=no"
14108 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14112 if test `eval echo '${'$as_ac_var'}'` = yes; then
14113 cat >>confdefs.h <<_ACEOF
14114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14122 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
14123 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
14124 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
14125 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14132 ac_cpp='$CXXCPP $CPPFLAGS'
14133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14137 cat >conftest.$ac_ext <<_ACEOF
14138 #line $LINENO "configure"
14141 cat confdefs.h >>conftest.$ac_ext
14142 cat >>conftest.$ac_ext <<_ACEOF
14143 /* end confdefs.h. */
14145 #ifdef HAVE_IEEEFP_H
14146 #include <ieeefp.h>
14157 rm -f conftest.$ac_objext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14159 (eval $ac_compile) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); } &&
14163 { ac_try='test -s conftest.$ac_objext'
14164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14165 (eval $ac_try) 2>&5
14167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14168 (exit $ac_status); }; }; then
14169 glibcxx_cv_func__log10f_use=yes
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 glibcxx_cv_func__log10f_use=no
14176 rm -f conftest.$ac_objext conftest.$ac_ext
14178 ac_cpp='$CPP $CPPFLAGS'
14179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14187 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
14188 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
14190 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
14192 for ac_func in _log10f
14194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14195 echo "$as_me:$LINENO: checking for $ac_func" >&5
14196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14197 if eval "test \"\${$as_ac_var+set}\" = set"; then
14198 echo $ECHO_N "(cached) $ECHO_C" >&6
14200 if test x$gcc_no_link = xyes; then
14201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14203 { (exit 1); exit 1; }; }
14205 cat >conftest.$ac_ext <<_ACEOF
14206 #line $LINENO "configure"
14209 cat confdefs.h >>conftest.$ac_ext
14210 cat >>conftest.$ac_ext <<_ACEOF
14211 /* end confdefs.h. */
14212 /* System header to define __stub macros and hopefully few prototypes,
14213 which can conflict with char $ac_func (); below.
14214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14215 <limits.h> exists even on freestanding compilers. */
14217 # include <limits.h>
14219 # include <assert.h>
14221 /* Override any gcc2 internal prototype to avoid an error. */
14226 /* We use char because int might match the return type of a gcc2
14227 builtin and then its argument prototype would still apply. */
14229 /* The GNU C library defines this for functions which it implements
14230 to always fail with ENOSYS. Some functions are actually named
14231 something starting with __ and the normal name is an alias. */
14232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14235 char (*f) () = $ac_func;
14244 return f != $ac_func;
14249 rm -f conftest.$ac_objext conftest$ac_exeext
14250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14251 (eval $ac_link) 2>&5
14253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14254 (exit $ac_status); } &&
14255 { ac_try='test -s conftest$ac_exeext'
14256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14257 (eval $ac_try) 2>&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); }; }; then
14261 eval "$as_ac_var=yes"
14263 echo "$as_me: failed program was:" >&5
14264 sed 's/^/| /' conftest.$ac_ext >&5
14266 eval "$as_ac_var=no"
14268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14272 if test `eval echo '${'$as_ac_var'}'` = yes; then
14273 cat >>confdefs.h <<_ACEOF
14274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14285 echo "$as_me:$LINENO: checking for modff declaration" >&5
14286 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
14287 if test x${glibcxx_cv_func_modff_use+set} != xset; then
14288 if test "${glibcxx_cv_func_modff_use+set}" = set; then
14289 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14300 cat >conftest.$ac_ext <<_ACEOF
14301 #line $LINENO "configure"
14304 cat confdefs.h >>conftest.$ac_ext
14305 cat >>conftest.$ac_ext <<_ACEOF
14306 /* end confdefs.h. */
14316 rm -f conftest.$ac_objext
14317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14318 (eval $ac_compile) 2>&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } &&
14322 { ac_try='test -s conftest.$ac_objext'
14323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14324 (eval $ac_try) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); }; }; then
14328 glibcxx_cv_func_modff_use=yes
14330 echo "$as_me: failed program was:" >&5
14331 sed 's/^/| /' conftest.$ac_ext >&5
14333 glibcxx_cv_func_modff_use=no
14335 rm -f conftest.$ac_objext conftest.$ac_ext
14337 ac_cpp='$CPP $CPPFLAGS'
14338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14346 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
14347 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
14349 if test x$glibcxx_cv_func_modff_use = x"yes"; then
14351 for ac_func in modff
14353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14354 echo "$as_me:$LINENO: checking for $ac_func" >&5
14355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14356 if eval "test \"\${$as_ac_var+set}\" = set"; then
14357 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 if test x$gcc_no_link = xyes; then
14360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14362 { (exit 1); exit 1; }; }
14364 cat >conftest.$ac_ext <<_ACEOF
14365 #line $LINENO "configure"
14368 cat confdefs.h >>conftest.$ac_ext
14369 cat >>conftest.$ac_ext <<_ACEOF
14370 /* end confdefs.h. */
14371 /* System header to define __stub macros and hopefully few prototypes,
14372 which can conflict with char $ac_func (); below.
14373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14374 <limits.h> exists even on freestanding compilers. */
14376 # include <limits.h>
14378 # include <assert.h>
14380 /* Override any gcc2 internal prototype to avoid an error. */
14385 /* We use char because int might match the return type of a gcc2
14386 builtin and then its argument prototype would still apply. */
14388 /* The GNU C library defines this for functions which it implements
14389 to always fail with ENOSYS. Some functions are actually named
14390 something starting with __ and the normal name is an alias. */
14391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14394 char (*f) () = $ac_func;
14403 return f != $ac_func;
14408 rm -f conftest.$ac_objext conftest$ac_exeext
14409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14410 (eval $ac_link) 2>&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try='test -s conftest$ac_exeext'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; }; then
14420 eval "$as_ac_var=yes"
14422 echo "$as_me: failed program was:" >&5
14423 sed 's/^/| /' conftest.$ac_ext >&5
14425 eval "$as_ac_var=no"
14427 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14431 if test `eval echo '${'$as_ac_var'}'` = yes; then
14432 cat >>confdefs.h <<_ACEOF
14433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14441 echo "$as_me:$LINENO: checking for _modff declaration" >&5
14442 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
14443 if test x${glibcxx_cv_func__modff_use+set} != xset; then
14444 if test "${glibcxx_cv_func__modff_use+set}" = set; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14451 ac_cpp='$CXXCPP $CPPFLAGS'
14452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14456 cat >conftest.$ac_ext <<_ACEOF
14457 #line $LINENO "configure"
14460 cat confdefs.h >>conftest.$ac_ext
14461 cat >>conftest.$ac_ext <<_ACEOF
14462 /* end confdefs.h. */
14472 rm -f conftest.$ac_objext
14473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14474 (eval $ac_compile) 2>&5
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); } &&
14478 { ac_try='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 glibcxx_cv_func__modff_use=yes
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14489 glibcxx_cv_func__modff_use=no
14491 rm -f conftest.$ac_objext conftest.$ac_ext
14493 ac_cpp='$CPP $CPPFLAGS'
14494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14502 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
14503 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
14505 if test x$glibcxx_cv_func__modff_use = x"yes"; then
14507 for ac_func in _modff
14509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14510 echo "$as_me:$LINENO: checking for $ac_func" >&5
14511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14512 if eval "test \"\${$as_ac_var+set}\" = set"; then
14513 echo $ECHO_N "(cached) $ECHO_C" >&6
14515 if test x$gcc_no_link = xyes; then
14516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14518 { (exit 1); exit 1; }; }
14520 cat >conftest.$ac_ext <<_ACEOF
14521 #line $LINENO "configure"
14524 cat confdefs.h >>conftest.$ac_ext
14525 cat >>conftest.$ac_ext <<_ACEOF
14526 /* end confdefs.h. */
14527 /* System header to define __stub macros and hopefully few prototypes,
14528 which can conflict with char $ac_func (); below.
14529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14530 <limits.h> exists even on freestanding compilers. */
14532 # include <limits.h>
14534 # include <assert.h>
14536 /* Override any gcc2 internal prototype to avoid an error. */
14541 /* We use char because int might match the return type of a gcc2
14542 builtin and then its argument prototype would still apply. */
14544 /* The GNU C library defines this for functions which it implements
14545 to always fail with ENOSYS. Some functions are actually named
14546 something starting with __ and the normal name is an alias. */
14547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14550 char (*f) () = $ac_func;
14559 return f != $ac_func;
14564 rm -f conftest.$ac_objext conftest$ac_exeext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14566 (eval $ac_link) 2>&5
14568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14569 (exit $ac_status); } &&
14570 { ac_try='test -s conftest$ac_exeext'
14571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14572 (eval $ac_try) 2>&5
14574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575 (exit $ac_status); }; }; then
14576 eval "$as_ac_var=yes"
14578 echo "$as_me: failed program was:" >&5
14579 sed 's/^/| /' conftest.$ac_ext >&5
14581 eval "$as_ac_var=no"
14583 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14587 if test `eval echo '${'$as_ac_var'}'` = yes; then
14588 cat >>confdefs.h <<_ACEOF
14589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14600 echo "$as_me:$LINENO: checking for powf declaration" >&5
14601 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
14602 if test x${glibcxx_cv_func_powf_use+set} != xset; then
14603 if test "${glibcxx_cv_func_powf_use+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14610 ac_cpp='$CXXCPP $CPPFLAGS'
14611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14615 cat >conftest.$ac_ext <<_ACEOF
14616 #line $LINENO "configure"
14619 cat confdefs.h >>conftest.$ac_ext
14620 cat >>conftest.$ac_ext <<_ACEOF
14621 /* end confdefs.h. */
14631 rm -f conftest.$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>&5
14635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14636 (exit $ac_status); } &&
14637 { ac_try='test -s conftest.$ac_objext'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; }; then
14643 glibcxx_cv_func_powf_use=yes
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.$ac_ext >&5
14648 glibcxx_cv_func_powf_use=no
14650 rm -f conftest.$ac_objext conftest.$ac_ext
14652 ac_cpp='$CPP $CPPFLAGS'
14653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
14662 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
14664 if test x$glibcxx_cv_func_powf_use = x"yes"; then
14666 for ac_func in powf
14668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14669 echo "$as_me:$LINENO: checking for $ac_func" >&5
14670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14671 if eval "test \"\${$as_ac_var+set}\" = set"; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 if test x$gcc_no_link = xyes; then
14675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14677 { (exit 1); exit 1; }; }
14679 cat >conftest.$ac_ext <<_ACEOF
14680 #line $LINENO "configure"
14683 cat confdefs.h >>conftest.$ac_ext
14684 cat >>conftest.$ac_ext <<_ACEOF
14685 /* end confdefs.h. */
14686 /* System header to define __stub macros and hopefully few prototypes,
14687 which can conflict with char $ac_func (); below.
14688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14689 <limits.h> exists even on freestanding compilers. */
14691 # include <limits.h>
14693 # include <assert.h>
14695 /* Override any gcc2 internal prototype to avoid an error. */
14700 /* We use char because int might match the return type of a gcc2
14701 builtin and then its argument prototype would still apply. */
14703 /* The GNU C library defines this for functions which it implements
14704 to always fail with ENOSYS. Some functions are actually named
14705 something starting with __ and the normal name is an alias. */
14706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14709 char (*f) () = $ac_func;
14718 return f != $ac_func;
14723 rm -f conftest.$ac_objext conftest$ac_exeext
14724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14725 (eval $ac_link) 2>&5
14727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728 (exit $ac_status); } &&
14729 { ac_try='test -s conftest$ac_exeext'
14730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14731 (eval $ac_try) 2>&5
14733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14734 (exit $ac_status); }; }; then
14735 eval "$as_ac_var=yes"
14737 echo "$as_me: failed program was:" >&5
14738 sed 's/^/| /' conftest.$ac_ext >&5
14740 eval "$as_ac_var=no"
14742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14746 if test `eval echo '${'$as_ac_var'}'` = yes; then
14747 cat >>confdefs.h <<_ACEOF
14748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14756 echo "$as_me:$LINENO: checking for _powf declaration" >&5
14757 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
14758 if test x${glibcxx_cv_func__powf_use+set} != xset; then
14759 if test "${glibcxx_cv_func__powf_use+set}" = set; then
14760 echo $ECHO_N "(cached) $ECHO_C" >&6
14766 ac_cpp='$CXXCPP $CPPFLAGS'
14767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14771 cat >conftest.$ac_ext <<_ACEOF
14772 #line $LINENO "configure"
14775 cat confdefs.h >>conftest.$ac_ext
14776 cat >>conftest.$ac_ext <<_ACEOF
14777 /* end confdefs.h. */
14787 rm -f conftest.$ac_objext
14788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14789 (eval $ac_compile) 2>&5
14791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14792 (exit $ac_status); } &&
14793 { ac_try='test -s conftest.$ac_objext'
14794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14795 (eval $ac_try) 2>&5
14797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14798 (exit $ac_status); }; }; then
14799 glibcxx_cv_func__powf_use=yes
14801 echo "$as_me: failed program was:" >&5
14802 sed 's/^/| /' conftest.$ac_ext >&5
14804 glibcxx_cv_func__powf_use=no
14806 rm -f conftest.$ac_objext conftest.$ac_ext
14808 ac_cpp='$CPP $CPPFLAGS'
14809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14817 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
14818 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
14820 if test x$glibcxx_cv_func__powf_use = x"yes"; then
14822 for ac_func in _powf
14824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14825 echo "$as_me:$LINENO: checking for $ac_func" >&5
14826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14827 if eval "test \"\${$as_ac_var+set}\" = set"; then
14828 echo $ECHO_N "(cached) $ECHO_C" >&6
14830 if test x$gcc_no_link = xyes; then
14831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14833 { (exit 1); exit 1; }; }
14835 cat >conftest.$ac_ext <<_ACEOF
14836 #line $LINENO "configure"
14839 cat confdefs.h >>conftest.$ac_ext
14840 cat >>conftest.$ac_ext <<_ACEOF
14841 /* end confdefs.h. */
14842 /* System header to define __stub macros and hopefully few prototypes,
14843 which can conflict with char $ac_func (); below.
14844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14845 <limits.h> exists even on freestanding compilers. */
14847 # include <limits.h>
14849 # include <assert.h>
14851 /* Override any gcc2 internal prototype to avoid an error. */
14856 /* We use char because int might match the return type of a gcc2
14857 builtin and then its argument prototype would still apply. */
14859 /* The GNU C library defines this for functions which it implements
14860 to always fail with ENOSYS. Some functions are actually named
14861 something starting with __ and the normal name is an alias. */
14862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14865 char (*f) () = $ac_func;
14874 return f != $ac_func;
14879 rm -f conftest.$ac_objext conftest$ac_exeext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881 (eval $ac_link) 2>&5
14883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14884 (exit $ac_status); } &&
14885 { ac_try='test -s conftest$ac_exeext'
14886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14887 (eval $ac_try) 2>&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); }; }; then
14891 eval "$as_ac_var=yes"
14893 echo "$as_me: failed program was:" >&5
14894 sed 's/^/| /' conftest.$ac_ext >&5
14896 eval "$as_ac_var=no"
14898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14902 if test `eval echo '${'$as_ac_var'}'` = yes; then
14903 cat >>confdefs.h <<_ACEOF
14904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14915 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
14916 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
14917 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
14918 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14925 ac_cpp='$CXXCPP $CPPFLAGS'
14926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14930 cat >conftest.$ac_ext <<_ACEOF
14931 #line $LINENO "configure"
14934 cat confdefs.h >>conftest.$ac_ext
14935 cat >>conftest.$ac_ext <<_ACEOF
14936 /* end confdefs.h. */
14938 #ifdef HAVE_IEEEFP_H
14939 #include <ieeefp.h>
14950 rm -f conftest.$ac_objext
14951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14952 (eval $ac_compile) 2>&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try='test -s conftest.$ac_objext'
14957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14958 (eval $ac_try) 2>&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); }; }; then
14962 glibcxx_cv_func_sqrtf_use=yes
14964 echo "$as_me: failed program was:" >&5
14965 sed 's/^/| /' conftest.$ac_ext >&5
14967 glibcxx_cv_func_sqrtf_use=no
14969 rm -f conftest.$ac_objext conftest.$ac_ext
14971 ac_cpp='$CPP $CPPFLAGS'
14972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
14981 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
14983 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
14985 for ac_func in sqrtf
14987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14988 echo "$as_me:$LINENO: checking for $ac_func" >&5
14989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14990 if eval "test \"\${$as_ac_var+set}\" = set"; then
14991 echo $ECHO_N "(cached) $ECHO_C" >&6
14993 if test x$gcc_no_link = xyes; then
14994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14996 { (exit 1); exit 1; }; }
14998 cat >conftest.$ac_ext <<_ACEOF
14999 #line $LINENO "configure"
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 /* System header to define __stub macros and hopefully few prototypes,
15006 which can conflict with char $ac_func (); below.
15007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15008 <limits.h> exists even on freestanding compilers. */
15010 # include <limits.h>
15012 # include <assert.h>
15014 /* Override any gcc2 internal prototype to avoid an error. */
15019 /* We use char because int might match the return type of a gcc2
15020 builtin and then its argument prototype would still apply. */
15022 /* The GNU C library defines this for functions which it implements
15023 to always fail with ENOSYS. Some functions are actually named
15024 something starting with __ and the normal name is an alias. */
15025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15028 char (*f) () = $ac_func;
15037 return f != $ac_func;
15042 rm -f conftest.$ac_objext conftest$ac_exeext
15043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15044 (eval $ac_link) 2>&5
15046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } &&
15048 { ac_try='test -s conftest$ac_exeext'
15049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15050 (eval $ac_try) 2>&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); }; }; then
15054 eval "$as_ac_var=yes"
15056 echo "$as_me: failed program was:" >&5
15057 sed 's/^/| /' conftest.$ac_ext >&5
15059 eval "$as_ac_var=no"
15061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15065 if test `eval echo '${'$as_ac_var'}'` = yes; then
15066 cat >>confdefs.h <<_ACEOF
15067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15075 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
15076 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
15077 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
15078 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
15079 echo $ECHO_N "(cached) $ECHO_C" >&6
15085 ac_cpp='$CXXCPP $CPPFLAGS'
15086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15090 cat >conftest.$ac_ext <<_ACEOF
15091 #line $LINENO "configure"
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15098 #ifdef HAVE_IEEEFP_H
15099 #include <ieeefp.h>
15110 rm -f conftest.$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>&5
15114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15115 (exit $ac_status); } &&
15116 { ac_try='test -s conftest.$ac_objext'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; }; then
15122 glibcxx_cv_func__sqrtf_use=yes
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15127 glibcxx_cv_func__sqrtf_use=no
15129 rm -f conftest.$ac_objext conftest.$ac_ext
15131 ac_cpp='$CPP $CPPFLAGS'
15132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15140 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
15141 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
15143 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
15145 for ac_func in _sqrtf
15147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15148 echo "$as_me:$LINENO: checking for $ac_func" >&5
15149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15150 if eval "test \"\${$as_ac_var+set}\" = set"; then
15151 echo $ECHO_N "(cached) $ECHO_C" >&6
15153 if test x$gcc_no_link = xyes; then
15154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15156 { (exit 1); exit 1; }; }
15158 cat >conftest.$ac_ext <<_ACEOF
15159 #line $LINENO "configure"
15162 cat confdefs.h >>conftest.$ac_ext
15163 cat >>conftest.$ac_ext <<_ACEOF
15164 /* end confdefs.h. */
15165 /* System header to define __stub macros and hopefully few prototypes,
15166 which can conflict with char $ac_func (); below.
15167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15168 <limits.h> exists even on freestanding compilers. */
15170 # include <limits.h>
15172 # include <assert.h>
15174 /* Override any gcc2 internal prototype to avoid an error. */
15179 /* We use char because int might match the return type of a gcc2
15180 builtin and then its argument prototype would still apply. */
15182 /* The GNU C library defines this for functions which it implements
15183 to always fail with ENOSYS. Some functions are actually named
15184 something starting with __ and the normal name is an alias. */
15185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15188 char (*f) () = $ac_func;
15197 return f != $ac_func;
15202 rm -f conftest.$ac_objext conftest$ac_exeext
15203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15204 (eval $ac_link) 2>&5
15206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15207 (exit $ac_status); } &&
15208 { ac_try='test -s conftest$ac_exeext'
15209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15210 (eval $ac_try) 2>&5
15212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15213 (exit $ac_status); }; }; then
15214 eval "$as_ac_var=yes"
15216 echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15219 eval "$as_ac_var=no"
15221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15225 if test `eval echo '${'$as_ac_var'}'` = yes; then
15226 cat >>confdefs.h <<_ACEOF
15227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15238 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
15239 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
15240 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
15241 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 ac_cpp='$CXXCPP $CPPFLAGS'
15249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15253 cat >conftest.$ac_ext <<_ACEOF
15254 #line $LINENO "configure"
15257 cat confdefs.h >>conftest.$ac_ext
15258 cat >>conftest.$ac_ext <<_ACEOF
15259 /* end confdefs.h. */
15269 rm -f conftest.$ac_objext
15270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15271 (eval $ac_compile) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); } &&
15275 { ac_try='test -s conftest.$ac_objext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15281 glibcxx_cv_func_sincosf_use=yes
15283 echo "$as_me: failed program was:" >&5
15284 sed 's/^/| /' conftest.$ac_ext >&5
15286 glibcxx_cv_func_sincosf_use=no
15288 rm -f conftest.$ac_objext conftest.$ac_ext
15290 ac_cpp='$CPP $CPPFLAGS'
15291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
15300 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
15302 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
15304 for ac_func in sincosf
15306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15307 echo "$as_me:$LINENO: checking for $ac_func" >&5
15308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15309 if eval "test \"\${$as_ac_var+set}\" = set"; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 if test x$gcc_no_link = xyes; then
15313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15315 { (exit 1); exit 1; }; }
15317 cat >conftest.$ac_ext <<_ACEOF
15318 #line $LINENO "configure"
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15324 /* System header to define __stub macros and hopefully few prototypes,
15325 which can conflict with char $ac_func (); below.
15326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15327 <limits.h> exists even on freestanding compilers. */
15329 # include <limits.h>
15331 # include <assert.h>
15333 /* Override any gcc2 internal prototype to avoid an error. */
15338 /* We use char because int might match the return type of a gcc2
15339 builtin and then its argument prototype would still apply. */
15341 /* The GNU C library defines this for functions which it implements
15342 to always fail with ENOSYS. Some functions are actually named
15343 something starting with __ and the normal name is an alias. */
15344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15347 char (*f) () = $ac_func;
15356 return f != $ac_func;
15361 rm -f conftest.$ac_objext conftest$ac_exeext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15363 (eval $ac_link) 2>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try='test -s conftest$ac_exeext'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; }; then
15373 eval "$as_ac_var=yes"
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 eval "$as_ac_var=no"
15380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15384 if test `eval echo '${'$as_ac_var'}'` = yes; then
15385 cat >>confdefs.h <<_ACEOF
15386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15394 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
15395 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
15396 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
15397 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
15398 echo $ECHO_N "(cached) $ECHO_C" >&6
15404 ac_cpp='$CXXCPP $CPPFLAGS'
15405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15409 cat >conftest.$ac_ext <<_ACEOF
15410 #line $LINENO "configure"
15413 cat confdefs.h >>conftest.$ac_ext
15414 cat >>conftest.$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15425 rm -f conftest.$ac_objext
15426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15427 (eval $ac_compile) 2>&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } &&
15431 { ac_try='test -s conftest.$ac_objext'
15432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15433 (eval $ac_try) 2>&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); }; }; then
15437 glibcxx_cv_func__sincosf_use=yes
15439 echo "$as_me: failed program was:" >&5
15440 sed 's/^/| /' conftest.$ac_ext >&5
15442 glibcxx_cv_func__sincosf_use=no
15444 rm -f conftest.$ac_objext conftest.$ac_ext
15446 ac_cpp='$CPP $CPPFLAGS'
15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15455 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
15456 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
15458 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
15460 for ac_func in _sincosf
15462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15463 echo "$as_me:$LINENO: checking for $ac_func" >&5
15464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15465 if eval "test \"\${$as_ac_var+set}\" = set"; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15468 if test x$gcc_no_link = xyes; then
15469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15471 { (exit 1); exit 1; }; }
15473 cat >conftest.$ac_ext <<_ACEOF
15474 #line $LINENO "configure"
15477 cat confdefs.h >>conftest.$ac_ext
15478 cat >>conftest.$ac_ext <<_ACEOF
15479 /* end confdefs.h. */
15480 /* System header to define __stub macros and hopefully few prototypes,
15481 which can conflict with char $ac_func (); below.
15482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15483 <limits.h> exists even on freestanding compilers. */
15485 # include <limits.h>
15487 # include <assert.h>
15489 /* Override any gcc2 internal prototype to avoid an error. */
15494 /* We use char because int might match the return type of a gcc2
15495 builtin and then its argument prototype would still apply. */
15497 /* The GNU C library defines this for functions which it implements
15498 to always fail with ENOSYS. Some functions are actually named
15499 something starting with __ and the normal name is an alias. */
15500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15503 char (*f) () = $ac_func;
15512 return f != $ac_func;
15517 rm -f conftest.$ac_objext conftest$ac_exeext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15519 (eval $ac_link) 2>&5
15521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522 (exit $ac_status); } &&
15523 { ac_try='test -s conftest$ac_exeext'
15524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15525 (eval $ac_try) 2>&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); }; }; then
15529 eval "$as_ac_var=yes"
15531 echo "$as_me: failed program was:" >&5
15532 sed 's/^/| /' conftest.$ac_ext >&5
15534 eval "$as_ac_var=no"
15536 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15540 if test `eval echo '${'$as_ac_var'}'` = yes; then
15541 cat >>confdefs.h <<_ACEOF
15542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15553 echo "$as_me:$LINENO: checking for finitef declaration" >&5
15554 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
15555 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
15556 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
15557 echo $ECHO_N "(cached) $ECHO_C" >&6
15563 ac_cpp='$CXXCPP $CPPFLAGS'
15564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15568 cat >conftest.$ac_ext <<_ACEOF
15569 #line $LINENO "configure"
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15576 #ifdef HAVE_IEEEFP_H
15577 #include <ieeefp.h>
15588 rm -f conftest.$ac_objext
15589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15590 (eval $ac_compile) 2>&5
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 glibcxx_cv_func_finitef_use=yes
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 glibcxx_cv_func_finitef_use=no
15607 rm -f conftest.$ac_objext conftest.$ac_ext
15609 ac_cpp='$CPP $CPPFLAGS'
15610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
15619 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
15621 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
15623 for ac_func in finitef
15625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15626 echo "$as_me:$LINENO: checking for $ac_func" >&5
15627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15628 if eval "test \"\${$as_ac_var+set}\" = set"; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 if test x$gcc_no_link = xyes; then
15632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15634 { (exit 1); exit 1; }; }
15636 cat >conftest.$ac_ext <<_ACEOF
15637 #line $LINENO "configure"
15640 cat confdefs.h >>conftest.$ac_ext
15641 cat >>conftest.$ac_ext <<_ACEOF
15642 /* end confdefs.h. */
15643 /* System header to define __stub macros and hopefully few prototypes,
15644 which can conflict with char $ac_func (); below.
15645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15646 <limits.h> exists even on freestanding compilers. */
15648 # include <limits.h>
15650 # include <assert.h>
15652 /* Override any gcc2 internal prototype to avoid an error. */
15657 /* We use char because int might match the return type of a gcc2
15658 builtin and then its argument prototype would still apply. */
15660 /* The GNU C library defines this for functions which it implements
15661 to always fail with ENOSYS. Some functions are actually named
15662 something starting with __ and the normal name is an alias. */
15663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15666 char (*f) () = $ac_func;
15675 return f != $ac_func;
15680 rm -f conftest.$ac_objext conftest$ac_exeext
15681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15682 (eval $ac_link) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -s conftest$ac_exeext'
15687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15688 (eval $ac_try) 2>&5
15690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15691 (exit $ac_status); }; }; then
15692 eval "$as_ac_var=yes"
15694 echo "$as_me: failed program was:" >&5
15695 sed 's/^/| /' conftest.$ac_ext >&5
15697 eval "$as_ac_var=no"
15699 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15703 if test `eval echo '${'$as_ac_var'}'` = yes; then
15704 cat >>confdefs.h <<_ACEOF
15705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15713 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
15714 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
15715 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
15716 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
15717 echo $ECHO_N "(cached) $ECHO_C" >&6
15723 ac_cpp='$CXXCPP $CPPFLAGS'
15724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15728 cat >conftest.$ac_ext <<_ACEOF
15729 #line $LINENO "configure"
15732 cat confdefs.h >>conftest.$ac_ext
15733 cat >>conftest.$ac_ext <<_ACEOF
15734 /* end confdefs.h. */
15736 #ifdef HAVE_IEEEFP_H
15737 #include <ieeefp.h>
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>&5
15752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15753 (exit $ac_status); } &&
15754 { ac_try='test -s conftest.$ac_objext'
15755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15756 (eval $ac_try) 2>&5
15758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15759 (exit $ac_status); }; }; then
15760 glibcxx_cv_func__finitef_use=yes
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15765 glibcxx_cv_func__finitef_use=no
15767 rm -f conftest.$ac_objext conftest.$ac_ext
15769 ac_cpp='$CPP $CPPFLAGS'
15770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
15779 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
15781 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
15783 for ac_func in _finitef
15785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15786 echo "$as_me:$LINENO: checking for $ac_func" >&5
15787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15788 if eval "test \"\${$as_ac_var+set}\" = set"; then
15789 echo $ECHO_N "(cached) $ECHO_C" >&6
15791 if test x$gcc_no_link = xyes; then
15792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15794 { (exit 1); exit 1; }; }
15796 cat >conftest.$ac_ext <<_ACEOF
15797 #line $LINENO "configure"
15800 cat confdefs.h >>conftest.$ac_ext
15801 cat >>conftest.$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 /* System header to define __stub macros and hopefully few prototypes,
15804 which can conflict with char $ac_func (); below.
15805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15806 <limits.h> exists even on freestanding compilers. */
15808 # include <limits.h>
15810 # include <assert.h>
15812 /* Override any gcc2 internal prototype to avoid an error. */
15817 /* We use char because int might match the return type of a gcc2
15818 builtin and then its argument prototype would still apply. */
15820 /* The GNU C library defines this for functions which it implements
15821 to always fail with ENOSYS. Some functions are actually named
15822 something starting with __ and the normal name is an alias. */
15823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15826 char (*f) () = $ac_func;
15835 return f != $ac_func;
15840 rm -f conftest.$ac_objext conftest$ac_exeext
15841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15842 (eval $ac_link) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } &&
15846 { ac_try='test -s conftest$ac_exeext'
15847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15848 (eval $ac_try) 2>&5
15850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15851 (exit $ac_status); }; }; then
15852 eval "$as_ac_var=yes"
15854 echo "$as_me: failed program was:" >&5
15855 sed 's/^/| /' conftest.$ac_ext >&5
15857 eval "$as_ac_var=no"
15859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15863 if test `eval echo '${'$as_ac_var'}'` = yes; then
15864 cat >>confdefs.h <<_ACEOF
15865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15876 echo "$as_me:$LINENO: checking for long double trig functions" >&5
15877 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
15878 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
15879 echo $ECHO_N "(cached) $ECHO_C" >&6
15885 ac_cpp='$CXXCPP $CPPFLAGS'
15886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15890 cat >conftest.$ac_ext <<_ACEOF
15891 #line $LINENO "configure"
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h. */
15901 `for x in acosl asinl atanl \
15903 coshl sinhl tanhl; do echo "$x (0);"; done`
15908 rm -f conftest.$ac_objext
15909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15910 (eval $ac_compile) 2>&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try='test -s conftest.$ac_objext'
15915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15916 (eval $ac_try) 2>&5
15918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15919 (exit $ac_status); }; }; then
15920 glibcxx_cv_func_long_double_trig_use=yes
15922 echo "$as_me: failed program was:" >&5
15923 sed 's/^/| /' conftest.$ac_ext >&5
15925 glibcxx_cv_func_long_double_trig_use=no
15927 rm -f conftest.$ac_objext conftest.$ac_ext
15929 ac_cpp='$CPP $CPPFLAGS'
15930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
15937 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
15938 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
15948 for ac_func in acosl asinl atanl \
15952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15953 echo "$as_me:$LINENO: checking for $ac_func" >&5
15954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15955 if eval "test \"\${$as_ac_var+set}\" = set"; then
15956 echo $ECHO_N "(cached) $ECHO_C" >&6
15958 if test x$gcc_no_link = xyes; then
15959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15961 { (exit 1); exit 1; }; }
15963 cat >conftest.$ac_ext <<_ACEOF
15964 #line $LINENO "configure"
15967 cat confdefs.h >>conftest.$ac_ext
15968 cat >>conftest.$ac_ext <<_ACEOF
15969 /* end confdefs.h. */
15970 /* System header to define __stub macros and hopefully few prototypes,
15971 which can conflict with char $ac_func (); below.
15972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15973 <limits.h> exists even on freestanding compilers. */
15975 # include <limits.h>
15977 # include <assert.h>
15979 /* Override any gcc2 internal prototype to avoid an error. */
15984 /* We use char because int might match the return type of a gcc2
15985 builtin and then its argument prototype would still apply. */
15987 /* The GNU C library defines this for functions which it implements
15988 to always fail with ENOSYS. Some functions are actually named
15989 something starting with __ and the normal name is an alias. */
15990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15993 char (*f) () = $ac_func;
16002 return f != $ac_func;
16007 rm -f conftest.$ac_objext conftest$ac_exeext
16008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16009 (eval $ac_link) 2>&5
16011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16012 (exit $ac_status); } &&
16013 { ac_try='test -s conftest$ac_exeext'
16014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16015 (eval $ac_try) 2>&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); }; }; then
16019 eval "$as_ac_var=yes"
16021 echo "$as_me: failed program was:" >&5
16022 sed 's/^/| /' conftest.$ac_ext >&5
16024 eval "$as_ac_var=no"
16026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16030 if test `eval echo '${'$as_ac_var'}'` = yes; then
16031 cat >>confdefs.h <<_ACEOF
16032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16041 echo "$as_me:$LINENO: checking for long double round functions" >&5
16042 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
16043 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
16044 echo $ECHO_N "(cached) $ECHO_C" >&6
16050 ac_cpp='$CXXCPP $CPPFLAGS'
16051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16055 cat >conftest.$ac_ext <<_ACEOF
16056 #line $LINENO "configure"
16059 cat confdefs.h >>conftest.$ac_ext
16060 cat >>conftest.$ac_ext <<_ACEOF
16061 /* end confdefs.h. */
16066 `for x in ceill floorl; do echo "$x (0);"; done`
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073 (eval $ac_compile) 2>&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } &&
16077 { ac_try='test -s conftest.$ac_objext'
16078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16079 (eval $ac_try) 2>&5
16081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16082 (exit $ac_status); }; }; then
16083 glibcxx_cv_func_long_double_round_use=yes
16085 echo "$as_me: failed program was:" >&5
16086 sed 's/^/| /' conftest.$ac_ext >&5
16088 glibcxx_cv_func_long_double_round_use=no
16090 rm -f conftest.$ac_objext conftest.$ac_ext
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16099 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
16100 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
16101 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
16104 for ac_func in ceill floorl
16106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16107 echo "$as_me:$LINENO: checking for $ac_func" >&5
16108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16109 if eval "test \"\${$as_ac_var+set}\" = set"; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 if test x$gcc_no_link = xyes; then
16113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16115 { (exit 1); exit 1; }; }
16117 cat >conftest.$ac_ext <<_ACEOF
16118 #line $LINENO "configure"
16121 cat confdefs.h >>conftest.$ac_ext
16122 cat >>conftest.$ac_ext <<_ACEOF
16123 /* end confdefs.h. */
16124 /* System header to define __stub macros and hopefully few prototypes,
16125 which can conflict with char $ac_func (); below.
16126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16127 <limits.h> exists even on freestanding compilers. */
16129 # include <limits.h>
16131 # include <assert.h>
16133 /* Override any gcc2 internal prototype to avoid an error. */
16138 /* We use char because int might match the return type of a gcc2
16139 builtin and then its argument prototype would still apply. */
16141 /* The GNU C library defines this for functions which it implements
16142 to always fail with ENOSYS. Some functions are actually named
16143 something starting with __ and the normal name is an alias. */
16144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16147 char (*f) () = $ac_func;
16156 return f != $ac_func;
16161 rm -f conftest.$ac_objext conftest$ac_exeext
16162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16163 (eval $ac_link) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -s conftest$ac_exeext'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; }; then
16173 eval "$as_ac_var=yes"
16175 echo "$as_me: failed program was:" >&5
16176 sed 's/^/| /' conftest.$ac_ext >&5
16178 eval "$as_ac_var=no"
16180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16184 if test `eval echo '${'$as_ac_var'}'` = yes; then
16185 cat >>confdefs.h <<_ACEOF
16186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16196 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
16197 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
16198 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
16199 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 ac_cpp='$CXXCPP $CPPFLAGS'
16207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16211 cat >conftest.$ac_ext <<_ACEOF
16212 #line $LINENO "configure"
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16219 #ifdef HAVE_IEEEFP_H
16220 #include <ieeefp.h>
16231 rm -f conftest.$ac_objext
16232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16233 (eval $ac_compile) 2>&5
16235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } &&
16237 { ac_try='test -s conftest.$ac_objext'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; }; then
16243 glibcxx_cv_func_isnanl_use=yes
16245 echo "$as_me: failed program was:" >&5
16246 sed 's/^/| /' conftest.$ac_ext >&5
16248 glibcxx_cv_func_isnanl_use=no
16250 rm -f conftest.$ac_objext conftest.$ac_ext
16252 ac_cpp='$CPP $CPPFLAGS'
16253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
16262 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
16264 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
16266 for ac_func in isnanl
16268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16269 echo "$as_me:$LINENO: checking for $ac_func" >&5
16270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16271 if eval "test \"\${$as_ac_var+set}\" = set"; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16274 if test x$gcc_no_link = xyes; then
16275 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16277 { (exit 1); exit 1; }; }
16279 cat >conftest.$ac_ext <<_ACEOF
16280 #line $LINENO "configure"
16283 cat confdefs.h >>conftest.$ac_ext
16284 cat >>conftest.$ac_ext <<_ACEOF
16285 /* end confdefs.h. */
16286 /* System header to define __stub macros and hopefully few prototypes,
16287 which can conflict with char $ac_func (); below.
16288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16289 <limits.h> exists even on freestanding compilers. */
16291 # include <limits.h>
16293 # include <assert.h>
16295 /* Override any gcc2 internal prototype to avoid an error. */
16300 /* We use char because int might match the return type of a gcc2
16301 builtin and then its argument prototype would still apply. */
16303 /* The GNU C library defines this for functions which it implements
16304 to always fail with ENOSYS. Some functions are actually named
16305 something starting with __ and the normal name is an alias. */
16306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16309 char (*f) () = $ac_func;
16318 return f != $ac_func;
16323 rm -f conftest.$ac_objext conftest$ac_exeext
16324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16325 (eval $ac_link) 2>&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } &&
16329 { ac_try='test -s conftest$ac_exeext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 eval "$as_ac_var=yes"
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16340 eval "$as_ac_var=no"
16342 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16346 if test `eval echo '${'$as_ac_var'}'` = yes; then
16347 cat >>confdefs.h <<_ACEOF
16348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16356 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
16357 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
16358 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
16359 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
16360 echo $ECHO_N "(cached) $ECHO_C" >&6
16366 ac_cpp='$CXXCPP $CPPFLAGS'
16367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16371 cat >conftest.$ac_ext <<_ACEOF
16372 #line $LINENO "configure"
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16379 #ifdef HAVE_IEEEFP_H
16380 #include <ieeefp.h>
16391 rm -f conftest.$ac_objext
16392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16393 (eval $ac_compile) 2>&5
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); } &&
16397 { ac_try='test -s conftest.$ac_objext'
16398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16399 (eval $ac_try) 2>&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); }; }; then
16403 glibcxx_cv_func__isnanl_use=yes
16405 echo "$as_me: failed program was:" >&5
16406 sed 's/^/| /' conftest.$ac_ext >&5
16408 glibcxx_cv_func__isnanl_use=no
16410 rm -f conftest.$ac_objext conftest.$ac_ext
16412 ac_cpp='$CPP $CPPFLAGS'
16413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16421 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
16422 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
16424 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
16426 for ac_func in _isnanl
16428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16429 echo "$as_me:$LINENO: checking for $ac_func" >&5
16430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16431 if eval "test \"\${$as_ac_var+set}\" = set"; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16434 if test x$gcc_no_link = xyes; then
16435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16437 { (exit 1); exit 1; }; }
16439 cat >conftest.$ac_ext <<_ACEOF
16440 #line $LINENO "configure"
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446 /* System header to define __stub macros and hopefully few prototypes,
16447 which can conflict with char $ac_func (); below.
16448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16449 <limits.h> exists even on freestanding compilers. */
16451 # include <limits.h>
16453 # include <assert.h>
16455 /* Override any gcc2 internal prototype to avoid an error. */
16460 /* We use char because int might match the return type of a gcc2
16461 builtin and then its argument prototype would still apply. */
16463 /* The GNU C library defines this for functions which it implements
16464 to always fail with ENOSYS. Some functions are actually named
16465 something starting with __ and the normal name is an alias. */
16466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16469 char (*f) () = $ac_func;
16478 return f != $ac_func;
16483 rm -f conftest.$ac_objext conftest$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485 (eval $ac_link) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try='test -s conftest$ac_exeext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 eval "$as_ac_var=yes"
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 eval "$as_ac_var=no"
16502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16506 if test `eval echo '${'$as_ac_var'}'` = yes; then
16507 cat >>confdefs.h <<_ACEOF
16508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16519 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
16520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
16521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
16522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16529 ac_cpp='$CXXCPP $CPPFLAGS'
16530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16534 cat >conftest.$ac_ext <<_ACEOF
16535 #line $LINENO "configure"
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16542 #ifdef HAVE_IEEEFP_H
16543 #include <ieeefp.h>
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try='test -s conftest.$ac_objext'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; }; then
16566 glibcxx_cv_func_isinfl_use=yes
16568 echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.$ac_ext >&5
16571 glibcxx_cv_func_isinfl_use=no
16573 rm -f conftest.$ac_objext conftest.$ac_ext
16575 ac_cpp='$CPP $CPPFLAGS'
16576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16584 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
16585 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
16587 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
16589 for ac_func in isinfl
16591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16592 echo "$as_me:$LINENO: checking for $ac_func" >&5
16593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16594 if eval "test \"\${$as_ac_var+set}\" = set"; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 if test x$gcc_no_link = xyes; then
16598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16600 { (exit 1); exit 1; }; }
16602 cat >conftest.$ac_ext <<_ACEOF
16603 #line $LINENO "configure"
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 /* System header to define __stub macros and hopefully few prototypes,
16610 which can conflict with char $ac_func (); below.
16611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16612 <limits.h> exists even on freestanding compilers. */
16614 # include <limits.h>
16616 # include <assert.h>
16618 /* Override any gcc2 internal prototype to avoid an error. */
16623 /* We use char because int might match the return type of a gcc2
16624 builtin and then its argument prototype would still apply. */
16626 /* The GNU C library defines this for functions which it implements
16627 to always fail with ENOSYS. Some functions are actually named
16628 something starting with __ and the normal name is an alias. */
16629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16632 char (*f) () = $ac_func;
16641 return f != $ac_func;
16646 rm -f conftest.$ac_objext conftest$ac_exeext
16647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16648 (eval $ac_link) 2>&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -s conftest$ac_exeext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 eval "$as_ac_var=yes"
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16663 eval "$as_ac_var=no"
16665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16669 if test `eval echo '${'$as_ac_var'}'` = yes; then
16670 cat >>confdefs.h <<_ACEOF
16671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16679 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
16680 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
16681 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
16682 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
16683 echo $ECHO_N "(cached) $ECHO_C" >&6
16689 ac_cpp='$CXXCPP $CPPFLAGS'
16690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16694 cat >conftest.$ac_ext <<_ACEOF
16695 #line $LINENO "configure"
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h. */
16702 #ifdef HAVE_IEEEFP_H
16703 #include <ieeefp.h>
16714 rm -f conftest.$ac_objext
16715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16716 (eval $ac_compile) 2>&5
16718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } &&
16720 { ac_try='test -s conftest.$ac_objext'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; }; then
16726 glibcxx_cv_func__isinfl_use=yes
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 glibcxx_cv_func__isinfl_use=no
16733 rm -f conftest.$ac_objext conftest.$ac_ext
16735 ac_cpp='$CPP $CPPFLAGS'
16736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
16745 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
16747 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
16749 for ac_func in _isinfl
16751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16752 echo "$as_me:$LINENO: checking for $ac_func" >&5
16753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16754 if eval "test \"\${$as_ac_var+set}\" = set"; then
16755 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 if test x$gcc_no_link = xyes; then
16758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16760 { (exit 1); exit 1; }; }
16762 cat >conftest.$ac_ext <<_ACEOF
16763 #line $LINENO "configure"
16766 cat confdefs.h >>conftest.$ac_ext
16767 cat >>conftest.$ac_ext <<_ACEOF
16768 /* end confdefs.h. */
16769 /* System header to define __stub macros and hopefully few prototypes,
16770 which can conflict with char $ac_func (); below.
16771 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16772 <limits.h> exists even on freestanding compilers. */
16774 # include <limits.h>
16776 # include <assert.h>
16778 /* Override any gcc2 internal prototype to avoid an error. */
16783 /* We use char because int might match the return type of a gcc2
16784 builtin and then its argument prototype would still apply. */
16786 /* The GNU C library defines this for functions which it implements
16787 to always fail with ENOSYS. Some functions are actually named
16788 something starting with __ and the normal name is an alias. */
16789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16792 char (*f) () = $ac_func;
16801 return f != $ac_func;
16806 rm -f conftest.$ac_objext conftest$ac_exeext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16808 (eval $ac_link) 2>&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } &&
16812 { ac_try='test -s conftest$ac_exeext'
16813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16814 (eval $ac_try) 2>&5
16816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16817 (exit $ac_status); }; }; then
16818 eval "$as_ac_var=yes"
16820 echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16823 eval "$as_ac_var=no"
16825 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16829 if test `eval echo '${'$as_ac_var'}'` = yes; then
16830 cat >>confdefs.h <<_ACEOF
16831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16842 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
16843 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
16844 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
16845 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
16846 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 ac_cpp='$CXXCPP $CPPFLAGS'
16853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16857 cat >conftest.$ac_ext <<_ACEOF
16858 #line $LINENO "configure"
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16873 rm -f conftest.$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875 (eval $ac_compile) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16885 glibcxx_cv_func_copysignl_use=yes
16887 echo "$as_me: failed program was:" >&5
16888 sed 's/^/| /' conftest.$ac_ext >&5
16890 glibcxx_cv_func_copysignl_use=no
16892 rm -f conftest.$ac_objext conftest.$ac_ext
16894 ac_cpp='$CPP $CPPFLAGS'
16895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
16904 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
16906 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
16908 for ac_func in copysignl
16910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16911 echo "$as_me:$LINENO: checking for $ac_func" >&5
16912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16913 if eval "test \"\${$as_ac_var+set}\" = set"; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 if test x$gcc_no_link = xyes; then
16917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16919 { (exit 1); exit 1; }; }
16921 cat >conftest.$ac_ext <<_ACEOF
16922 #line $LINENO "configure"
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 /* System header to define __stub macros and hopefully few prototypes,
16929 which can conflict with char $ac_func (); below.
16930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16931 <limits.h> exists even on freestanding compilers. */
16933 # include <limits.h>
16935 # include <assert.h>
16937 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16945 /* The GNU C library defines this for functions which it implements
16946 to always fail with ENOSYS. Some functions are actually named
16947 something starting with __ and the normal name is an alias. */
16948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16951 char (*f) () = $ac_func;
16960 return f != $ac_func;
16965 rm -f conftest.$ac_objext conftest$ac_exeext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16967 (eval $ac_link) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -s conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 eval "$as_ac_var=yes"
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 eval "$as_ac_var=no"
16984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16988 if test `eval echo '${'$as_ac_var'}'` = yes; then
16989 cat >>confdefs.h <<_ACEOF
16990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16998 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
16999 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
17000 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
17001 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17008 ac_cpp='$CXXCPP $CPPFLAGS'
17009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17013 cat >conftest.$ac_ext <<_ACEOF
17014 #line $LINENO "configure"
17017 cat confdefs.h >>conftest.$ac_ext
17018 cat >>conftest.$ac_ext <<_ACEOF
17019 /* end confdefs.h. */
17029 rm -f conftest.$ac_objext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17031 (eval $ac_compile) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try='test -s conftest.$ac_objext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 glibcxx_cv_func__copysignl_use=yes
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17046 glibcxx_cv_func__copysignl_use=no
17048 rm -f conftest.$ac_objext conftest.$ac_ext
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
17060 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
17062 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
17064 for ac_func in _copysignl
17066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17067 echo "$as_me:$LINENO: checking for $ac_func" >&5
17068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17069 if eval "test \"\${$as_ac_var+set}\" = set"; then
17070 echo $ECHO_N "(cached) $ECHO_C" >&6
17072 if test x$gcc_no_link = xyes; then
17073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17075 { (exit 1); exit 1; }; }
17077 cat >conftest.$ac_ext <<_ACEOF
17078 #line $LINENO "configure"
17081 cat confdefs.h >>conftest.$ac_ext
17082 cat >>conftest.$ac_ext <<_ACEOF
17083 /* end confdefs.h. */
17084 /* System header to define __stub macros and hopefully few prototypes,
17085 which can conflict with char $ac_func (); below.
17086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17087 <limits.h> exists even on freestanding compilers. */
17089 # include <limits.h>
17091 # include <assert.h>
17093 /* Override any gcc2 internal prototype to avoid an error. */
17098 /* We use char because int might match the return type of a gcc2
17099 builtin and then its argument prototype would still apply. */
17101 /* The GNU C library defines this for functions which it implements
17102 to always fail with ENOSYS. Some functions are actually named
17103 something starting with __ and the normal name is an alias. */
17104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17107 char (*f) () = $ac_func;
17116 return f != $ac_func;
17121 rm -f conftest.$ac_objext conftest$ac_exeext
17122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17123 (eval $ac_link) 2>&5
17125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17126 (exit $ac_status); } &&
17127 { ac_try='test -s conftest$ac_exeext'
17128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17129 (eval $ac_try) 2>&5
17131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17132 (exit $ac_status); }; }; then
17133 eval "$as_ac_var=yes"
17135 echo "$as_me: failed program was:" >&5
17136 sed 's/^/| /' conftest.$ac_ext >&5
17138 eval "$as_ac_var=no"
17140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17144 if test `eval echo '${'$as_ac_var'}'` = yes; then
17145 cat >>confdefs.h <<_ACEOF
17146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17157 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
17158 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
17159 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
17160 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17167 ac_cpp='$CXXCPP $CPPFLAGS'
17168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17172 cat >conftest.$ac_ext <<_ACEOF
17173 #line $LINENO "configure"
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } &&
17194 { ac_try='test -s conftest.$ac_objext'
17195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17196 (eval $ac_try) 2>&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); }; }; then
17200 glibcxx_cv_func_atan2l_use=yes
17202 echo "$as_me: failed program was:" >&5
17203 sed 's/^/| /' conftest.$ac_ext >&5
17205 glibcxx_cv_func_atan2l_use=no
17207 rm -f conftest.$ac_objext conftest.$ac_ext
17209 ac_cpp='$CPP $CPPFLAGS'
17210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17218 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
17219 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
17221 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
17223 for ac_func in atan2l
17225 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17226 echo "$as_me:$LINENO: checking for $ac_func" >&5
17227 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17228 if eval "test \"\${$as_ac_var+set}\" = set"; then
17229 echo $ECHO_N "(cached) $ECHO_C" >&6
17231 if test x$gcc_no_link = xyes; then
17232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17234 { (exit 1); exit 1; }; }
17236 cat >conftest.$ac_ext <<_ACEOF
17237 #line $LINENO "configure"
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 /* System header to define __stub macros and hopefully few prototypes,
17244 which can conflict with char $ac_func (); below.
17245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17246 <limits.h> exists even on freestanding compilers. */
17248 # include <limits.h>
17250 # include <assert.h>
17252 /* Override any gcc2 internal prototype to avoid an error. */
17257 /* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17260 /* The GNU C library defines this for functions which it implements
17261 to always fail with ENOSYS. Some functions are actually named
17262 something starting with __ and the normal name is an alias. */
17263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17266 char (*f) () = $ac_func;
17275 return f != $ac_func;
17280 rm -f conftest.$ac_objext conftest$ac_exeext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17282 (eval $ac_link) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -s conftest$ac_exeext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 eval "$as_ac_var=yes"
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17297 eval "$as_ac_var=no"
17299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17302 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17303 if test `eval echo '${'$as_ac_var'}'` = yes; then
17304 cat >>confdefs.h <<_ACEOF
17305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17313 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
17314 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
17315 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
17316 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
17317 echo $ECHO_N "(cached) $ECHO_C" >&6
17323 ac_cpp='$CXXCPP $CPPFLAGS'
17324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17328 cat >conftest.$ac_ext <<_ACEOF
17329 #line $LINENO "configure"
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h. */
17344 rm -f conftest.$ac_objext
17345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17346 (eval $ac_compile) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); } &&
17350 { ac_try='test -s conftest.$ac_objext'
17351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17352 (eval $ac_try) 2>&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); }; }; then
17356 glibcxx_cv_func__atan2l_use=yes
17358 echo "$as_me: failed program was:" >&5
17359 sed 's/^/| /' conftest.$ac_ext >&5
17361 glibcxx_cv_func__atan2l_use=no
17363 rm -f conftest.$ac_objext conftest.$ac_ext
17365 ac_cpp='$CPP $CPPFLAGS'
17366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
17375 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
17377 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
17379 for ac_func in _atan2l
17381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17382 echo "$as_me:$LINENO: checking for $ac_func" >&5
17383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17384 if eval "test \"\${$as_ac_var+set}\" = set"; then
17385 echo $ECHO_N "(cached) $ECHO_C" >&6
17387 if test x$gcc_no_link = xyes; then
17388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17390 { (exit 1); exit 1; }; }
17392 cat >conftest.$ac_ext <<_ACEOF
17393 #line $LINENO "configure"
17396 cat confdefs.h >>conftest.$ac_ext
17397 cat >>conftest.$ac_ext <<_ACEOF
17398 /* end confdefs.h. */
17399 /* System header to define __stub macros and hopefully few prototypes,
17400 which can conflict with char $ac_func (); below.
17401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17402 <limits.h> exists even on freestanding compilers. */
17404 # include <limits.h>
17406 # include <assert.h>
17408 /* Override any gcc2 internal prototype to avoid an error. */
17413 /* We use char because int might match the return type of a gcc2
17414 builtin and then its argument prototype would still apply. */
17416 /* The GNU C library defines this for functions which it implements
17417 to always fail with ENOSYS. Some functions are actually named
17418 something starting with __ and the normal name is an alias. */
17419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17422 char (*f) () = $ac_func;
17431 return f != $ac_func;
17436 rm -f conftest.$ac_objext conftest$ac_exeext
17437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17438 (eval $ac_link) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } &&
17442 { ac_try='test -s conftest$ac_exeext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 eval "$as_ac_var=yes"
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17453 eval "$as_ac_var=no"
17455 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17459 if test `eval echo '${'$as_ac_var'}'` = yes; then
17460 cat >>confdefs.h <<_ACEOF
17461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17472 echo "$as_me:$LINENO: checking for expl declaration" >&5
17473 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
17474 if test x${glibcxx_cv_func_expl_use+set} != xset; then
17475 if test "${glibcxx_cv_func_expl_use+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 ac_cpp='$CXXCPP $CPPFLAGS'
17483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17487 cat >conftest.$ac_ext <<_ACEOF
17488 #line $LINENO "configure"
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17495 #ifdef HAVE_IEEEFP_H
17496 #include <ieeefp.h>
17507 rm -f conftest.$ac_objext
17508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17509 (eval $ac_compile) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } &&
17513 { ac_try='test -s conftest.$ac_objext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 glibcxx_cv_func_expl_use=yes
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17524 glibcxx_cv_func_expl_use=no
17526 rm -f conftest.$ac_objext conftest.$ac_ext
17528 ac_cpp='$CPP $CPPFLAGS'
17529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
17538 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
17540 if test x$glibcxx_cv_func_expl_use = x"yes"; then
17542 for ac_func in expl
17544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17545 echo "$as_me:$LINENO: checking for $ac_func" >&5
17546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17547 if eval "test \"\${$as_ac_var+set}\" = set"; then
17548 echo $ECHO_N "(cached) $ECHO_C" >&6
17550 if test x$gcc_no_link = xyes; then
17551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17553 { (exit 1); exit 1; }; }
17555 cat >conftest.$ac_ext <<_ACEOF
17556 #line $LINENO "configure"
17559 cat confdefs.h >>conftest.$ac_ext
17560 cat >>conftest.$ac_ext <<_ACEOF
17561 /* end confdefs.h. */
17562 /* System header to define __stub macros and hopefully few prototypes,
17563 which can conflict with char $ac_func (); below.
17564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17565 <limits.h> exists even on freestanding compilers. */
17567 # include <limits.h>
17569 # include <assert.h>
17571 /* Override any gcc2 internal prototype to avoid an error. */
17576 /* We use char because int might match the return type of a gcc2
17577 builtin and then its argument prototype would still apply. */
17579 /* The GNU C library defines this for functions which it implements
17580 to always fail with ENOSYS. Some functions are actually named
17581 something starting with __ and the normal name is an alias. */
17582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17585 char (*f) () = $ac_func;
17594 return f != $ac_func;
17599 rm -f conftest.$ac_objext conftest$ac_exeext
17600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17601 (eval $ac_link) 2>&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } &&
17605 { ac_try='test -s conftest$ac_exeext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 eval "$as_ac_var=yes"
17613 echo "$as_me: failed program was:" >&5
17614 sed 's/^/| /' conftest.$ac_ext >&5
17616 eval "$as_ac_var=no"
17618 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17622 if test `eval echo '${'$as_ac_var'}'` = yes; then
17623 cat >>confdefs.h <<_ACEOF
17624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17632 echo "$as_me:$LINENO: checking for _expl declaration" >&5
17633 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
17634 if test x${glibcxx_cv_func__expl_use+set} != xset; then
17635 if test "${glibcxx_cv_func__expl_use+set}" = set; then
17636 echo $ECHO_N "(cached) $ECHO_C" >&6
17642 ac_cpp='$CXXCPP $CPPFLAGS'
17643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17647 cat >conftest.$ac_ext <<_ACEOF
17648 #line $LINENO "configure"
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17655 #ifdef HAVE_IEEEFP_H
17656 #include <ieeefp.h>
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); } &&
17673 { ac_try='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 glibcxx_cv_func__expl_use=yes
17681 echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17684 glibcxx_cv_func__expl_use=no
17686 rm -f conftest.$ac_objext conftest.$ac_ext
17688 ac_cpp='$CPP $CPPFLAGS'
17689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
17698 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
17700 if test x$glibcxx_cv_func__expl_use = x"yes"; then
17702 for ac_func in _expl
17704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17705 echo "$as_me:$LINENO: checking for $ac_func" >&5
17706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17707 if eval "test \"\${$as_ac_var+set}\" = set"; then
17708 echo $ECHO_N "(cached) $ECHO_C" >&6
17710 if test x$gcc_no_link = xyes; then
17711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17713 { (exit 1); exit 1; }; }
17715 cat >conftest.$ac_ext <<_ACEOF
17716 #line $LINENO "configure"
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h. */
17722 /* System header to define __stub macros and hopefully few prototypes,
17723 which can conflict with char $ac_func (); below.
17724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17725 <limits.h> exists even on freestanding compilers. */
17727 # include <limits.h>
17729 # include <assert.h>
17731 /* Override any gcc2 internal prototype to avoid an error. */
17736 /* We use char because int might match the return type of a gcc2
17737 builtin and then its argument prototype would still apply. */
17739 /* The GNU C library defines this for functions which it implements
17740 to always fail with ENOSYS. Some functions are actually named
17741 something starting with __ and the normal name is an alias. */
17742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17745 char (*f) () = $ac_func;
17754 return f != $ac_func;
17759 rm -f conftest.$ac_objext conftest$ac_exeext
17760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17761 (eval $ac_link) 2>&5
17763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17764 (exit $ac_status); } &&
17765 { ac_try='test -s conftest$ac_exeext'
17766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17767 (eval $ac_try) 2>&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); }; }; then
17771 eval "$as_ac_var=yes"
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17776 eval "$as_ac_var=no"
17778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17782 if test `eval echo '${'$as_ac_var'}'` = yes; then
17783 cat >>confdefs.h <<_ACEOF
17784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17795 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
17796 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
17797 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
17798 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17805 ac_cpp='$CXXCPP $CPPFLAGS'
17806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17810 cat >conftest.$ac_ext <<_ACEOF
17811 #line $LINENO "configure"
17814 cat confdefs.h >>conftest.$ac_ext
17815 cat >>conftest.$ac_ext <<_ACEOF
17816 /* end confdefs.h. */
17818 #ifdef HAVE_IEEEFP_H
17819 #include <ieeefp.h>
17830 rm -f conftest.$ac_objext
17831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17832 (eval $ac_compile) 2>&5
17834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17835 (exit $ac_status); } &&
17836 { ac_try='test -s conftest.$ac_objext'
17837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17838 (eval $ac_try) 2>&5
17840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17841 (exit $ac_status); }; }; then
17842 glibcxx_cv_func_fabsl_use=yes
17844 echo "$as_me: failed program was:" >&5
17845 sed 's/^/| /' conftest.$ac_ext >&5
17847 glibcxx_cv_func_fabsl_use=no
17849 rm -f conftest.$ac_objext conftest.$ac_ext
17851 ac_cpp='$CPP $CPPFLAGS'
17852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
17861 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
17863 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
17865 for ac_func in fabsl
17867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17868 echo "$as_me:$LINENO: checking for $ac_func" >&5
17869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17870 if eval "test \"\${$as_ac_var+set}\" = set"; then
17871 echo $ECHO_N "(cached) $ECHO_C" >&6
17873 if test x$gcc_no_link = xyes; then
17874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17876 { (exit 1); exit 1; }; }
17878 cat >conftest.$ac_ext <<_ACEOF
17879 #line $LINENO "configure"
17882 cat confdefs.h >>conftest.$ac_ext
17883 cat >>conftest.$ac_ext <<_ACEOF
17884 /* end confdefs.h. */
17885 /* System header to define __stub macros and hopefully few prototypes,
17886 which can conflict with char $ac_func (); below.
17887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17888 <limits.h> exists even on freestanding compilers. */
17890 # include <limits.h>
17892 # include <assert.h>
17894 /* Override any gcc2 internal prototype to avoid an error. */
17899 /* We use char because int might match the return type of a gcc2
17900 builtin and then its argument prototype would still apply. */
17902 /* The GNU C library defines this for functions which it implements
17903 to always fail with ENOSYS. Some functions are actually named
17904 something starting with __ and the normal name is an alias. */
17905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17908 char (*f) () = $ac_func;
17917 return f != $ac_func;
17922 rm -f conftest.$ac_objext conftest$ac_exeext
17923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17924 (eval $ac_link) 2>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); } &&
17928 { ac_try='test -s conftest$ac_exeext'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 eval "$as_ac_var=yes"
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17939 eval "$as_ac_var=no"
17941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17945 if test `eval echo '${'$as_ac_var'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17955 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
17956 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
17957 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
17958 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17965 ac_cpp='$CXXCPP $CPPFLAGS'
17966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17970 cat >conftest.$ac_ext <<_ACEOF
17971 #line $LINENO "configure"
17974 cat confdefs.h >>conftest.$ac_ext
17975 cat >>conftest.$ac_ext <<_ACEOF
17976 /* end confdefs.h. */
17978 #ifdef HAVE_IEEEFP_H
17979 #include <ieeefp.h>
17990 rm -f conftest.$ac_objext
17991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17992 (eval $ac_compile) 2>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try='test -s conftest.$ac_objext'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; }; then
18002 glibcxx_cv_func__fabsl_use=yes
18004 echo "$as_me: failed program was:" >&5
18005 sed 's/^/| /' conftest.$ac_ext >&5
18007 glibcxx_cv_func__fabsl_use=no
18009 rm -f conftest.$ac_objext conftest.$ac_ext
18011 ac_cpp='$CPP $CPPFLAGS'
18012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18020 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
18021 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
18023 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
18025 for ac_func in _fabsl
18027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18028 echo "$as_me:$LINENO: checking for $ac_func" >&5
18029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18030 if eval "test \"\${$as_ac_var+set}\" = set"; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 if test x$gcc_no_link = xyes; then
18034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18036 { (exit 1); exit 1; }; }
18038 cat >conftest.$ac_ext <<_ACEOF
18039 #line $LINENO "configure"
18042 cat confdefs.h >>conftest.$ac_ext
18043 cat >>conftest.$ac_ext <<_ACEOF
18044 /* end confdefs.h. */
18045 /* System header to define __stub macros and hopefully few prototypes,
18046 which can conflict with char $ac_func (); below.
18047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18048 <limits.h> exists even on freestanding compilers. */
18050 # include <limits.h>
18052 # include <assert.h>
18054 /* Override any gcc2 internal prototype to avoid an error. */
18059 /* We use char because int might match the return type of a gcc2
18060 builtin and then its argument prototype would still apply. */
18062 /* The GNU C library defines this for functions which it implements
18063 to always fail with ENOSYS. Some functions are actually named
18064 something starting with __ and the normal name is an alias. */
18065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18068 char (*f) () = $ac_func;
18077 return f != $ac_func;
18082 rm -f conftest.$ac_objext conftest$ac_exeext
18083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18084 (eval $ac_link) 2>&5
18086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18087 (exit $ac_status); } &&
18088 { ac_try='test -s conftest$ac_exeext'
18089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18090 (eval $ac_try) 2>&5
18092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18093 (exit $ac_status); }; }; then
18094 eval "$as_ac_var=yes"
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 eval "$as_ac_var=no"
18101 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18105 if test `eval echo '${'$as_ac_var'}'` = yes; then
18106 cat >>confdefs.h <<_ACEOF
18107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18118 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
18119 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
18120 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
18121 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
18122 echo $ECHO_N "(cached) $ECHO_C" >&6
18128 ac_cpp='$CXXCPP $CPPFLAGS'
18129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 cat >conftest.$ac_ext <<_ACEOF
18134 #line $LINENO "configure"
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18149 rm -f conftest.$ac_objext
18150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18151 (eval $ac_compile) 2>&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } &&
18155 { ac_try='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 glibcxx_cv_func_fmodl_use=yes
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18166 glibcxx_cv_func_fmodl_use=no
18168 rm -f conftest.$ac_objext conftest.$ac_ext
18170 ac_cpp='$CPP $CPPFLAGS'
18171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
18180 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
18182 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
18184 for ac_func in fmodl
18186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18187 echo "$as_me:$LINENO: checking for $ac_func" >&5
18188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18189 if eval "test \"\${$as_ac_var+set}\" = set"; then
18190 echo $ECHO_N "(cached) $ECHO_C" >&6
18192 if test x$gcc_no_link = xyes; then
18193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18195 { (exit 1); exit 1; }; }
18197 cat >conftest.$ac_ext <<_ACEOF
18198 #line $LINENO "configure"
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 /* System header to define __stub macros and hopefully few prototypes,
18205 which can conflict with char $ac_func (); below.
18206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18207 <limits.h> exists even on freestanding compilers. */
18209 # include <limits.h>
18211 # include <assert.h>
18213 /* Override any gcc2 internal prototype to avoid an error. */
18218 /* We use char because int might match the return type of a gcc2
18219 builtin and then its argument prototype would still apply. */
18221 /* The GNU C library defines this for functions which it implements
18222 to always fail with ENOSYS. Some functions are actually named
18223 something starting with __ and the normal name is an alias. */
18224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18227 char (*f) () = $ac_func;
18236 return f != $ac_func;
18241 rm -f conftest.$ac_objext conftest$ac_exeext
18242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18243 (eval $ac_link) 2>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -s conftest$ac_exeext'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; }; then
18253 eval "$as_ac_var=yes"
18255 echo "$as_me: failed program was:" >&5
18256 sed 's/^/| /' conftest.$ac_ext >&5
18258 eval "$as_ac_var=no"
18260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18264 if test `eval echo '${'$as_ac_var'}'` = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18274 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
18275 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
18276 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
18277 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18284 ac_cpp='$CXXCPP $CPPFLAGS'
18285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18289 cat >conftest.$ac_ext <<_ACEOF
18290 #line $LINENO "configure"
18293 cat confdefs.h >>conftest.$ac_ext
18294 cat >>conftest.$ac_ext <<_ACEOF
18295 /* end confdefs.h. */
18305 rm -f conftest.$ac_objext
18306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18307 (eval $ac_compile) 2>&5
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); } &&
18311 { ac_try='test -s conftest.$ac_objext'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; }; then
18317 glibcxx_cv_func__fmodl_use=yes
18319 echo "$as_me: failed program was:" >&5
18320 sed 's/^/| /' conftest.$ac_ext >&5
18322 glibcxx_cv_func__fmodl_use=no
18324 rm -f conftest.$ac_objext conftest.$ac_ext
18326 ac_cpp='$CPP $CPPFLAGS'
18327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
18336 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
18338 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
18340 for ac_func in _fmodl
18342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18343 echo "$as_me:$LINENO: checking for $ac_func" >&5
18344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18345 if eval "test \"\${$as_ac_var+set}\" = set"; then
18346 echo $ECHO_N "(cached) $ECHO_C" >&6
18348 if test x$gcc_no_link = xyes; then
18349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18351 { (exit 1); exit 1; }; }
18353 cat >conftest.$ac_ext <<_ACEOF
18354 #line $LINENO "configure"
18357 cat confdefs.h >>conftest.$ac_ext
18358 cat >>conftest.$ac_ext <<_ACEOF
18359 /* end confdefs.h. */
18360 /* System header to define __stub macros and hopefully few prototypes,
18361 which can conflict with char $ac_func (); below.
18362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18363 <limits.h> exists even on freestanding compilers. */
18365 # include <limits.h>
18367 # include <assert.h>
18369 /* Override any gcc2 internal prototype to avoid an error. */
18374 /* We use char because int might match the return type of a gcc2
18375 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18383 char (*f) () = $ac_func;
18392 return f != $ac_func;
18397 rm -f conftest.$ac_objext conftest$ac_exeext
18398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18399 (eval $ac_link) 2>&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try='test -s conftest$ac_exeext'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; }; then
18409 eval "$as_ac_var=yes"
18411 echo "$as_me: failed program was:" >&5
18412 sed 's/^/| /' conftest.$ac_ext >&5
18414 eval "$as_ac_var=no"
18416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18420 if test `eval echo '${'$as_ac_var'}'` = yes; then
18421 cat >>confdefs.h <<_ACEOF
18422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18433 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
18434 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
18435 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
18436 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
18437 echo $ECHO_N "(cached) $ECHO_C" >&6
18443 ac_cpp='$CXXCPP $CPPFLAGS'
18444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18448 cat >conftest.$ac_ext <<_ACEOF
18449 #line $LINENO "configure"
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18464 rm -f conftest.$ac_objext
18465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18466 (eval $ac_compile) 2>&5
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); } &&
18470 { ac_try='test -s conftest.$ac_objext'
18471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18472 (eval $ac_try) 2>&5
18474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18475 (exit $ac_status); }; }; then
18476 glibcxx_cv_func_frexpl_use=yes
18478 echo "$as_me: failed program was:" >&5
18479 sed 's/^/| /' conftest.$ac_ext >&5
18481 glibcxx_cv_func_frexpl_use=no
18483 rm -f conftest.$ac_objext conftest.$ac_ext
18485 ac_cpp='$CPP $CPPFLAGS'
18486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
18495 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
18497 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
18499 for ac_func in frexpl
18501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18502 echo "$as_me:$LINENO: checking for $ac_func" >&5
18503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18504 if eval "test \"\${$as_ac_var+set}\" = set"; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18507 if test x$gcc_no_link = xyes; then
18508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18510 { (exit 1); exit 1; }; }
18512 cat >conftest.$ac_ext <<_ACEOF
18513 #line $LINENO "configure"
18516 cat confdefs.h >>conftest.$ac_ext
18517 cat >>conftest.$ac_ext <<_ACEOF
18518 /* end confdefs.h. */
18519 /* System header to define __stub macros and hopefully few prototypes,
18520 which can conflict with char $ac_func (); below.
18521 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18522 <limits.h> exists even on freestanding compilers. */
18524 # include <limits.h>
18526 # include <assert.h>
18528 /* Override any gcc2 internal prototype to avoid an error. */
18533 /* We use char because int might match the return type of a gcc2
18534 builtin and then its argument prototype would still apply. */
18536 /* The GNU C library defines this for functions which it implements
18537 to always fail with ENOSYS. Some functions are actually named
18538 something starting with __ and the normal name is an alias. */
18539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18542 char (*f) () = $ac_func;
18551 return f != $ac_func;
18556 rm -f conftest.$ac_objext conftest$ac_exeext
18557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18558 (eval $ac_link) 2>&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } &&
18562 { ac_try='test -s conftest$ac_exeext'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; }; then
18568 eval "$as_ac_var=yes"
18570 echo "$as_me: failed program was:" >&5
18571 sed 's/^/| /' conftest.$ac_ext >&5
18573 eval "$as_ac_var=no"
18575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18579 if test `eval echo '${'$as_ac_var'}'` = yes; then
18580 cat >>confdefs.h <<_ACEOF
18581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18589 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
18590 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
18591 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
18592 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
18593 echo $ECHO_N "(cached) $ECHO_C" >&6
18599 ac_cpp='$CXXCPP $CPPFLAGS'
18600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18604 cat >conftest.$ac_ext <<_ACEOF
18605 #line $LINENO "configure"
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18620 rm -f conftest.$ac_objext
18621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18622 (eval $ac_compile) 2>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try='test -s conftest.$ac_objext'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; }; then
18632 glibcxx_cv_func__frexpl_use=yes
18634 echo "$as_me: failed program was:" >&5
18635 sed 's/^/| /' conftest.$ac_ext >&5
18637 glibcxx_cv_func__frexpl_use=no
18639 rm -f conftest.$ac_objext conftest.$ac_ext
18641 ac_cpp='$CPP $CPPFLAGS'
18642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18650 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
18651 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
18653 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
18655 for ac_func in _frexpl
18657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18658 echo "$as_me:$LINENO: checking for $ac_func" >&5
18659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18660 if eval "test \"\${$as_ac_var+set}\" = set"; then
18661 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 if test x$gcc_no_link = xyes; then
18664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18666 { (exit 1); exit 1; }; }
18668 cat >conftest.$ac_ext <<_ACEOF
18669 #line $LINENO "configure"
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18675 /* System header to define __stub macros and hopefully few prototypes,
18676 which can conflict with char $ac_func (); below.
18677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18678 <limits.h> exists even on freestanding compilers. */
18680 # include <limits.h>
18682 # include <assert.h>
18684 /* Override any gcc2 internal prototype to avoid an error. */
18689 /* We use char because int might match the return type of a gcc2
18690 builtin and then its argument prototype would still apply. */
18692 /* The GNU C library defines this for functions which it implements
18693 to always fail with ENOSYS. Some functions are actually named
18694 something starting with __ and the normal name is an alias. */
18695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18698 char (*f) () = $ac_func;
18707 return f != $ac_func;
18712 rm -f conftest.$ac_objext conftest$ac_exeext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18714 (eval $ac_link) 2>&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } &&
18718 { ac_try='test -s conftest$ac_exeext'
18719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720 (eval $ac_try) 2>&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); }; }; then
18724 eval "$as_ac_var=yes"
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 eval "$as_ac_var=no"
18731 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18735 if test `eval echo '${'$as_ac_var'}'` = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18748 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
18749 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
18750 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
18751 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
18752 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 ac_cpp='$CXXCPP $CPPFLAGS'
18759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18763 cat >conftest.$ac_ext <<_ACEOF
18764 #line $LINENO "configure"
18767 cat confdefs.h >>conftest.$ac_ext
18768 cat >>conftest.$ac_ext <<_ACEOF
18769 /* end confdefs.h. */
18779 rm -f conftest.$ac_objext
18780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18781 (eval $ac_compile) 2>&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -s conftest.$ac_objext'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; }; then
18791 glibcxx_cv_func_hypotl_use=yes
18793 echo "$as_me: failed program was:" >&5
18794 sed 's/^/| /' conftest.$ac_ext >&5
18796 glibcxx_cv_func_hypotl_use=no
18798 rm -f conftest.$ac_objext conftest.$ac_ext
18800 ac_cpp='$CPP $CPPFLAGS'
18801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
18810 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
18812 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
18814 for ac_func in hypotl
18816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18817 echo "$as_me:$LINENO: checking for $ac_func" >&5
18818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18819 if eval "test \"\${$as_ac_var+set}\" = set"; then
18820 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 if test x$gcc_no_link = xyes; then
18823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18825 { (exit 1); exit 1; }; }
18827 cat >conftest.$ac_ext <<_ACEOF
18828 #line $LINENO "configure"
18831 cat confdefs.h >>conftest.$ac_ext
18832 cat >>conftest.$ac_ext <<_ACEOF
18833 /* end confdefs.h. */
18834 /* System header to define __stub macros and hopefully few prototypes,
18835 which can conflict with char $ac_func (); below.
18836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18837 <limits.h> exists even on freestanding compilers. */
18839 # include <limits.h>
18841 # include <assert.h>
18843 /* Override any gcc2 internal prototype to avoid an error. */
18848 /* We use char because int might match the return type of a gcc2
18849 builtin and then its argument prototype would still apply. */
18851 /* The GNU C library defines this for functions which it implements
18852 to always fail with ENOSYS. Some functions are actually named
18853 something starting with __ and the normal name is an alias. */
18854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18857 char (*f) () = $ac_func;
18866 return f != $ac_func;
18871 rm -f conftest.$ac_objext conftest$ac_exeext
18872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18873 (eval $ac_link) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } &&
18877 { ac_try='test -s conftest$ac_exeext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 eval "$as_ac_var=yes"
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.$ac_ext >&5
18888 eval "$as_ac_var=no"
18890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18894 if test `eval echo '${'$as_ac_var'}'` = yes; then
18895 cat >>confdefs.h <<_ACEOF
18896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18904 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
18905 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
18906 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
18907 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
18908 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 ac_cpp='$CXXCPP $CPPFLAGS'
18915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18919 cat >conftest.$ac_ext <<_ACEOF
18920 #line $LINENO "configure"
18923 cat confdefs.h >>conftest.$ac_ext
18924 cat >>conftest.$ac_ext <<_ACEOF
18925 /* end confdefs.h. */
18935 rm -f conftest.$ac_objext
18936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18937 (eval $ac_compile) 2>&5
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); } &&
18941 { ac_try='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18947 glibcxx_cv_func__hypotl_use=yes
18949 echo "$as_me: failed program was:" >&5
18950 sed 's/^/| /' conftest.$ac_ext >&5
18952 glibcxx_cv_func__hypotl_use=no
18954 rm -f conftest.$ac_objext conftest.$ac_ext
18956 ac_cpp='$CPP $CPPFLAGS'
18957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
18966 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
18968 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
18970 for ac_func in _hypotl
18972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18973 echo "$as_me:$LINENO: checking for $ac_func" >&5
18974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18975 if eval "test \"\${$as_ac_var+set}\" = set"; then
18976 echo $ECHO_N "(cached) $ECHO_C" >&6
18978 if test x$gcc_no_link = xyes; then
18979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18981 { (exit 1); exit 1; }; }
18983 cat >conftest.$ac_ext <<_ACEOF
18984 #line $LINENO "configure"
18987 cat confdefs.h >>conftest.$ac_ext
18988 cat >>conftest.$ac_ext <<_ACEOF
18989 /* end confdefs.h. */
18990 /* System header to define __stub macros and hopefully few prototypes,
18991 which can conflict with char $ac_func (); below.
18992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18993 <limits.h> exists even on freestanding compilers. */
18995 # include <limits.h>
18997 # include <assert.h>
18999 /* Override any gcc2 internal prototype to avoid an error. */
19004 /* We use char because int might match the return type of a gcc2
19005 builtin and then its argument prototype would still apply. */
19007 /* The GNU C library defines this for functions which it implements
19008 to always fail with ENOSYS. Some functions are actually named
19009 something starting with __ and the normal name is an alias. */
19010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19013 char (*f) () = $ac_func;
19022 return f != $ac_func;
19027 rm -f conftest.$ac_objext conftest$ac_exeext
19028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19029 (eval $ac_link) 2>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try='test -s conftest$ac_exeext'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; }; then
19039 eval "$as_ac_var=yes"
19041 echo "$as_me: failed program was:" >&5
19042 sed 's/^/| /' conftest.$ac_ext >&5
19044 eval "$as_ac_var=no"
19046 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19050 if test `eval echo '${'$as_ac_var'}'` = yes; then
19051 cat >>confdefs.h <<_ACEOF
19052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19063 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
19064 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
19065 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
19066 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
19067 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 ac_cpp='$CXXCPP $CPPFLAGS'
19074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19078 cat >conftest.$ac_ext <<_ACEOF
19079 #line $LINENO "configure"
19082 cat confdefs.h >>conftest.$ac_ext
19083 cat >>conftest.$ac_ext <<_ACEOF
19084 /* end confdefs.h. */
19094 rm -f conftest.$ac_objext
19095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19096 (eval $ac_compile) 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); } &&
19100 { ac_try='test -s conftest.$ac_objext'
19101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19102 (eval $ac_try) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); }; }; then
19106 glibcxx_cv_func_ldexpl_use=yes
19108 echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19111 glibcxx_cv_func_ldexpl_use=no
19113 rm -f conftest.$ac_objext conftest.$ac_ext
19115 ac_cpp='$CPP $CPPFLAGS'
19116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19124 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
19125 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
19127 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
19129 for ac_func in ldexpl
19131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19132 echo "$as_me:$LINENO: checking for $ac_func" >&5
19133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19134 if eval "test \"\${$as_ac_var+set}\" = set"; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19137 if test x$gcc_no_link = xyes; then
19138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19140 { (exit 1); exit 1; }; }
19142 cat >conftest.$ac_ext <<_ACEOF
19143 #line $LINENO "configure"
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149 /* System header to define __stub macros and hopefully few prototypes,
19150 which can conflict with char $ac_func (); below.
19151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19152 <limits.h> exists even on freestanding compilers. */
19154 # include <limits.h>
19156 # include <assert.h>
19158 /* Override any gcc2 internal prototype to avoid an error. */
19163 /* We use char because int might match the return type of a gcc2
19164 builtin and then its argument prototype would still apply. */
19166 /* The GNU C library defines this for functions which it implements
19167 to always fail with ENOSYS. Some functions are actually named
19168 something starting with __ and the normal name is an alias. */
19169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19172 char (*f) () = $ac_func;
19181 return f != $ac_func;
19186 rm -f conftest.$ac_objext conftest$ac_exeext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19188 (eval $ac_link) 2>&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -s conftest$ac_exeext'
19193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19194 (eval $ac_try) 2>&5
19196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19197 (exit $ac_status); }; }; then
19198 eval "$as_ac_var=yes"
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19203 eval "$as_ac_var=no"
19205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19207 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19208 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19209 if test `eval echo '${'$as_ac_var'}'` = yes; then
19210 cat >>confdefs.h <<_ACEOF
19211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19219 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
19220 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
19221 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
19222 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19229 ac_cpp='$CXXCPP $CPPFLAGS'
19230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19234 cat >conftest.$ac_ext <<_ACEOF
19235 #line $LINENO "configure"
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); } &&
19256 { ac_try='test -s conftest.$ac_objext'
19257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19258 (eval $ac_try) 2>&5
19260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19261 (exit $ac_status); }; }; then
19262 glibcxx_cv_func__ldexpl_use=yes
19264 echo "$as_me: failed program was:" >&5
19265 sed 's/^/| /' conftest.$ac_ext >&5
19267 glibcxx_cv_func__ldexpl_use=no
19269 rm -f conftest.$ac_objext conftest.$ac_ext
19271 ac_cpp='$CPP $CPPFLAGS'
19272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19280 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
19281 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
19283 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
19285 for ac_func in _ldexpl
19287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 echo "$as_me:$LINENO: checking for $ac_func" >&5
19289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19290 if eval "test \"\${$as_ac_var+set}\" = set"; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 if test x$gcc_no_link = xyes; then
19294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296 { (exit 1); exit 1; }; }
19298 cat >conftest.$ac_ext <<_ACEOF
19299 #line $LINENO "configure"
19302 cat confdefs.h >>conftest.$ac_ext
19303 cat >>conftest.$ac_ext <<_ACEOF
19304 /* end confdefs.h. */
19305 /* System header to define __stub macros and hopefully few prototypes,
19306 which can conflict with char $ac_func (); below.
19307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19308 <limits.h> exists even on freestanding compilers. */
19310 # include <limits.h>
19312 # include <assert.h>
19314 /* Override any gcc2 internal prototype to avoid an error. */
19319 /* We use char because int might match the return type of a gcc2
19320 builtin and then its argument prototype would still apply. */
19322 /* The GNU C library defines this for functions which it implements
19323 to always fail with ENOSYS. Some functions are actually named
19324 something starting with __ and the normal name is an alias. */
19325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19328 char (*f) () = $ac_func;
19337 return f != $ac_func;
19342 rm -f conftest.$ac_objext conftest$ac_exeext
19343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19344 (eval $ac_link) 2>&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } &&
19348 { ac_try='test -s conftest$ac_exeext'
19349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19350 (eval $ac_try) 2>&5
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; }; then
19354 eval "$as_ac_var=yes"
19356 echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19359 eval "$as_ac_var=no"
19361 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19365 if test `eval echo '${'$as_ac_var'}'` = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19378 echo "$as_me:$LINENO: checking for logl declaration" >&5
19379 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
19380 if test x${glibcxx_cv_func_logl_use+set} != xset; then
19381 if test "${glibcxx_cv_func_logl_use+set}" = set; then
19382 echo $ECHO_N "(cached) $ECHO_C" >&6
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19393 cat >conftest.$ac_ext <<_ACEOF
19394 #line $LINENO "configure"
19397 cat confdefs.h >>conftest.$ac_ext
19398 cat >>conftest.$ac_ext <<_ACEOF
19399 /* end confdefs.h. */
19401 #ifdef HAVE_IEEEFP_H
19402 #include <ieeefp.h>
19413 rm -f conftest.$ac_objext
19414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19415 (eval $ac_compile) 2>&5
19417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418 (exit $ac_status); } &&
19419 { ac_try='test -s conftest.$ac_objext'
19420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19421 (eval $ac_try) 2>&5
19423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19424 (exit $ac_status); }; }; then
19425 glibcxx_cv_func_logl_use=yes
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19430 glibcxx_cv_func_logl_use=no
19432 rm -f conftest.$ac_objext conftest.$ac_ext
19434 ac_cpp='$CPP $CPPFLAGS'
19435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
19444 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
19446 if test x$glibcxx_cv_func_logl_use = x"yes"; then
19448 for ac_func in logl
19450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19451 echo "$as_me:$LINENO: checking for $ac_func" >&5
19452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19453 if eval "test \"\${$as_ac_var+set}\" = set"; then
19454 echo $ECHO_N "(cached) $ECHO_C" >&6
19456 if test x$gcc_no_link = xyes; then
19457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19459 { (exit 1); exit 1; }; }
19461 cat >conftest.$ac_ext <<_ACEOF
19462 #line $LINENO "configure"
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 /* System header to define __stub macros and hopefully few prototypes,
19469 which can conflict with char $ac_func (); below.
19470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19471 <limits.h> exists even on freestanding compilers. */
19473 # include <limits.h>
19475 # include <assert.h>
19477 /* Override any gcc2 internal prototype to avoid an error. */
19482 /* We use char because int might match the return type of a gcc2
19483 builtin and then its argument prototype would still apply. */
19485 /* The GNU C library defines this for functions which it implements
19486 to always fail with ENOSYS. Some functions are actually named
19487 something starting with __ and the normal name is an alias. */
19488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19491 char (*f) () = $ac_func;
19500 return f != $ac_func;
19505 rm -f conftest.$ac_objext conftest$ac_exeext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19507 (eval $ac_link) 2>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try='test -s conftest$ac_exeext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 eval "$as_ac_var=yes"
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19522 eval "$as_ac_var=no"
19524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19528 if test `eval echo '${'$as_ac_var'}'` = yes; then
19529 cat >>confdefs.h <<_ACEOF
19530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19538 echo "$as_me:$LINENO: checking for _logl declaration" >&5
19539 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
19540 if test x${glibcxx_cv_func__logl_use+set} != xset; then
19541 if test "${glibcxx_cv_func__logl_use+set}" = set; then
19542 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19553 cat >conftest.$ac_ext <<_ACEOF
19554 #line $LINENO "configure"
19557 cat confdefs.h >>conftest.$ac_ext
19558 cat >>conftest.$ac_ext <<_ACEOF
19559 /* end confdefs.h. */
19561 #ifdef HAVE_IEEEFP_H
19562 #include <ieeefp.h>
19573 rm -f conftest.$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575 (eval $ac_compile) 2>&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -s conftest.$ac_objext'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; }; then
19585 glibcxx_cv_func__logl_use=yes
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19590 glibcxx_cv_func__logl_use=no
19592 rm -f conftest.$ac_objext conftest.$ac_ext
19594 ac_cpp='$CPP $CPPFLAGS'
19595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
19604 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
19606 if test x$glibcxx_cv_func__logl_use = x"yes"; then
19608 for ac_func in _logl
19610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19611 echo "$as_me:$LINENO: checking for $ac_func" >&5
19612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19613 if eval "test \"\${$as_ac_var+set}\" = set"; then
19614 echo $ECHO_N "(cached) $ECHO_C" >&6
19616 if test x$gcc_no_link = xyes; then
19617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19619 { (exit 1); exit 1; }; }
19621 cat >conftest.$ac_ext <<_ACEOF
19622 #line $LINENO "configure"
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 /* System header to define __stub macros and hopefully few prototypes,
19629 which can conflict with char $ac_func (); below.
19630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19631 <limits.h> exists even on freestanding compilers. */
19633 # include <limits.h>
19635 # include <assert.h>
19637 /* Override any gcc2 internal prototype to avoid an error. */
19642 /* We use char because int might match the return type of a gcc2
19643 builtin and then its argument prototype would still apply. */
19645 /* The GNU C library defines this for functions which it implements
19646 to always fail with ENOSYS. Some functions are actually named
19647 something starting with __ and the normal name is an alias. */
19648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19651 char (*f) () = $ac_func;
19660 return f != $ac_func;
19665 rm -f conftest.$ac_objext conftest$ac_exeext
19666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19667 (eval $ac_link) 2>&5
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); } &&
19671 { ac_try='test -s conftest$ac_exeext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 eval "$as_ac_var=yes"
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19682 eval "$as_ac_var=no"
19684 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19688 if test `eval echo '${'$as_ac_var'}'` = yes; then
19689 cat >>confdefs.h <<_ACEOF
19690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19701 echo "$as_me:$LINENO: checking for log10l declaration" >&5
19702 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
19703 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
19704 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
19705 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 ac_cpp='$CXXCPP $CPPFLAGS'
19712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19716 cat >conftest.$ac_ext <<_ACEOF
19717 #line $LINENO "configure"
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19724 #ifdef HAVE_IEEEFP_H
19725 #include <ieeefp.h>
19736 rm -f conftest.$ac_objext
19737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19738 (eval $ac_compile) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); } &&
19742 { ac_try='test -s conftest.$ac_objext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 glibcxx_cv_func_log10l_use=yes
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19753 glibcxx_cv_func_log10l_use=no
19755 rm -f conftest.$ac_objext conftest.$ac_ext
19757 ac_cpp='$CPP $CPPFLAGS'
19758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
19767 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
19769 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
19771 for ac_func in log10l
19773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19774 echo "$as_me:$LINENO: checking for $ac_func" >&5
19775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19776 if eval "test \"\${$as_ac_var+set}\" = set"; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 if test x$gcc_no_link = xyes; then
19780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19782 { (exit 1); exit 1; }; }
19784 cat >conftest.$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 /* System header to define __stub macros and hopefully few prototypes,
19792 which can conflict with char $ac_func (); below.
19793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19794 <limits.h> exists even on freestanding compilers. */
19796 # include <limits.h>
19798 # include <assert.h>
19800 /* Override any gcc2 internal prototype to avoid an error. */
19805 /* We use char because int might match the return type of a gcc2
19806 builtin and then its argument prototype would still apply. */
19808 /* The GNU C library defines this for functions which it implements
19809 to always fail with ENOSYS. Some functions are actually named
19810 something starting with __ and the normal name is an alias. */
19811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19814 char (*f) () = $ac_func;
19823 return f != $ac_func;
19828 rm -f conftest.$ac_objext conftest$ac_exeext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19830 (eval $ac_link) 2>&5
19832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19833 (exit $ac_status); } &&
19834 { ac_try='test -s conftest$ac_exeext'
19835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19836 (eval $ac_try) 2>&5
19838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839 (exit $ac_status); }; }; then
19840 eval "$as_ac_var=yes"
19842 echo "$as_me: failed program was:" >&5
19843 sed 's/^/| /' conftest.$ac_ext >&5
19845 eval "$as_ac_var=no"
19847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19851 if test `eval echo '${'$as_ac_var'}'` = yes; then
19852 cat >>confdefs.h <<_ACEOF
19853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19861 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
19862 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
19863 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
19864 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
19865 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 ac_cpp='$CXXCPP $CPPFLAGS'
19872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19876 cat >conftest.$ac_ext <<_ACEOF
19877 #line $LINENO "configure"
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19884 #ifdef HAVE_IEEEFP_H
19885 #include <ieeefp.h>
19896 rm -f conftest.$ac_objext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19898 (eval $ac_compile) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } &&
19902 { ac_try='test -s conftest.$ac_objext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 glibcxx_cv_func__log10l_use=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 glibcxx_cv_func__log10l_use=no
19915 rm -f conftest.$ac_objext conftest.$ac_ext
19917 ac_cpp='$CPP $CPPFLAGS'
19918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
19927 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
19929 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
19931 for ac_func in _log10l
19933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19934 echo "$as_me:$LINENO: checking for $ac_func" >&5
19935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19936 if eval "test \"\${$as_ac_var+set}\" = set"; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 if test x$gcc_no_link = xyes; then
19940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19942 { (exit 1); exit 1; }; }
19944 cat >conftest.$ac_ext <<_ACEOF
19945 #line $LINENO "configure"
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 /* System header to define __stub macros and hopefully few prototypes,
19952 which can conflict with char $ac_func (); below.
19953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19954 <limits.h> exists even on freestanding compilers. */
19956 # include <limits.h>
19958 # include <assert.h>
19960 /* Override any gcc2 internal prototype to avoid an error. */
19965 /* We use char because int might match the return type of a gcc2
19966 builtin and then its argument prototype would still apply. */
19968 /* The GNU C library defines this for functions which it implements
19969 to always fail with ENOSYS. Some functions are actually named
19970 something starting with __ and the normal name is an alias. */
19971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19974 char (*f) () = $ac_func;
19983 return f != $ac_func;
19988 rm -f conftest.$ac_objext conftest$ac_exeext
19989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19990 (eval $ac_link) 2>&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } &&
19994 { ac_try='test -s conftest$ac_exeext'
19995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19996 (eval $ac_try) 2>&5
19998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19999 (exit $ac_status); }; }; then
20000 eval "$as_ac_var=yes"
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 eval "$as_ac_var=no"
20007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20011 if test `eval echo '${'$as_ac_var'}'` = yes; then
20012 cat >>confdefs.h <<_ACEOF
20013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20024 echo "$as_me:$LINENO: checking for modfl declaration" >&5
20025 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
20026 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
20027 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
20028 echo $ECHO_N "(cached) $ECHO_C" >&6
20034 ac_cpp='$CXXCPP $CPPFLAGS'
20035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20039 cat >conftest.$ac_ext <<_ACEOF
20040 #line $LINENO "configure"
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20055 rm -f conftest.$ac_objext
20056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20057 (eval $ac_compile) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -s conftest.$ac_objext'
20062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20063 (eval $ac_try) 2>&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); }; }; then
20067 glibcxx_cv_func_modfl_use=yes
20069 echo "$as_me: failed program was:" >&5
20070 sed 's/^/| /' conftest.$ac_ext >&5
20072 glibcxx_cv_func_modfl_use=no
20074 rm -f conftest.$ac_objext conftest.$ac_ext
20076 ac_cpp='$CPP $CPPFLAGS'
20077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
20086 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
20088 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
20090 for ac_func in modfl
20092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20093 echo "$as_me:$LINENO: checking for $ac_func" >&5
20094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20095 if eval "test \"\${$as_ac_var+set}\" = set"; then
20096 echo $ECHO_N "(cached) $ECHO_C" >&6
20098 if test x$gcc_no_link = xyes; then
20099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20101 { (exit 1); exit 1; }; }
20103 cat >conftest.$ac_ext <<_ACEOF
20104 #line $LINENO "configure"
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20110 /* System header to define __stub macros and hopefully few prototypes,
20111 which can conflict with char $ac_func (); below.
20112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20113 <limits.h> exists even on freestanding compilers. */
20115 # include <limits.h>
20117 # include <assert.h>
20119 /* Override any gcc2 internal prototype to avoid an error. */
20124 /* We use char because int might match the return type of a gcc2
20125 builtin and then its argument prototype would still apply. */
20127 /* The GNU C library defines this for functions which it implements
20128 to always fail with ENOSYS. Some functions are actually named
20129 something starting with __ and the normal name is an alias. */
20130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20133 char (*f) () = $ac_func;
20142 return f != $ac_func;
20147 rm -f conftest.$ac_objext conftest$ac_exeext
20148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20149 (eval $ac_link) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } &&
20153 { ac_try='test -s conftest$ac_exeext'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then
20159 eval "$as_ac_var=yes"
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20164 eval "$as_ac_var=no"
20166 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20170 if test `eval echo '${'$as_ac_var'}'` = yes; then
20171 cat >>confdefs.h <<_ACEOF
20172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20180 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
20181 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
20182 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
20183 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
20184 echo $ECHO_N "(cached) $ECHO_C" >&6
20190 ac_cpp='$CXXCPP $CPPFLAGS'
20191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20195 cat >conftest.$ac_ext <<_ACEOF
20196 #line $LINENO "configure"
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20211 rm -f conftest.$ac_objext
20212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20213 (eval $ac_compile) 2>&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -s conftest.$ac_objext'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; }; then
20223 glibcxx_cv_func__modfl_use=yes
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20228 glibcxx_cv_func__modfl_use=no
20230 rm -f conftest.$ac_objext conftest.$ac_ext
20232 ac_cpp='$CPP $CPPFLAGS'
20233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
20242 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
20244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
20246 for ac_func in _modfl
20248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20249 echo "$as_me:$LINENO: checking for $ac_func" >&5
20250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20251 if eval "test \"\${$as_ac_var+set}\" = set"; then
20252 echo $ECHO_N "(cached) $ECHO_C" >&6
20254 if test x$gcc_no_link = xyes; then
20255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20257 { (exit 1); exit 1; }; }
20259 cat >conftest.$ac_ext <<_ACEOF
20260 #line $LINENO "configure"
20263 cat confdefs.h >>conftest.$ac_ext
20264 cat >>conftest.$ac_ext <<_ACEOF
20265 /* end confdefs.h. */
20266 /* System header to define __stub macros and hopefully few prototypes,
20267 which can conflict with char $ac_func (); below.
20268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20269 <limits.h> exists even on freestanding compilers. */
20271 # include <limits.h>
20273 # include <assert.h>
20275 /* Override any gcc2 internal prototype to avoid an error. */
20280 /* We use char because int might match the return type of a gcc2
20281 builtin and then its argument prototype would still apply. */
20283 /* The GNU C library defines this for functions which it implements
20284 to always fail with ENOSYS. Some functions are actually named
20285 something starting with __ and the normal name is an alias. */
20286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20289 char (*f) () = $ac_func;
20298 return f != $ac_func;
20303 rm -f conftest.$ac_objext conftest$ac_exeext
20304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20305 (eval $ac_link) 2>&5
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); } &&
20309 { ac_try='test -s conftest$ac_exeext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 eval "$as_ac_var=yes"
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20320 eval "$as_ac_var=no"
20322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20326 if test `eval echo '${'$as_ac_var'}'` = yes; then
20327 cat >>confdefs.h <<_ACEOF
20328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20339 echo "$as_me:$LINENO: checking for powl declaration" >&5
20340 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
20341 if test x${glibcxx_cv_func_powl_use+set} != xset; then
20342 if test "${glibcxx_cv_func_powl_use+set}" = set; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20349 ac_cpp='$CXXCPP $CPPFLAGS'
20350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20354 cat >conftest.$ac_ext <<_ACEOF
20355 #line $LINENO "configure"
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20370 rm -f conftest.$ac_objext
20371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20372 (eval $ac_compile) 2>&5
20374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20375 (exit $ac_status); } &&
20376 { ac_try='test -s conftest.$ac_objext'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; }; then
20382 glibcxx_cv_func_powl_use=yes
20384 echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20387 glibcxx_cv_func_powl_use=no
20389 rm -f conftest.$ac_objext conftest.$ac_ext
20391 ac_cpp='$CPP $CPPFLAGS'
20392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20400 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
20401 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
20403 if test x$glibcxx_cv_func_powl_use = x"yes"; then
20405 for ac_func in powl
20407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20408 echo "$as_me:$LINENO: checking for $ac_func" >&5
20409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20410 if eval "test \"\${$as_ac_var+set}\" = set"; then
20411 echo $ECHO_N "(cached) $ECHO_C" >&6
20413 if test x$gcc_no_link = xyes; then
20414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20416 { (exit 1); exit 1; }; }
20418 cat >conftest.$ac_ext <<_ACEOF
20419 #line $LINENO "configure"
20422 cat confdefs.h >>conftest.$ac_ext
20423 cat >>conftest.$ac_ext <<_ACEOF
20424 /* end confdefs.h. */
20425 /* System header to define __stub macros and hopefully few prototypes,
20426 which can conflict with char $ac_func (); below.
20427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20428 <limits.h> exists even on freestanding compilers. */
20430 # include <limits.h>
20432 # include <assert.h>
20434 /* Override any gcc2 internal prototype to avoid an error. */
20439 /* We use char because int might match the return type of a gcc2
20440 builtin and then its argument prototype would still apply. */
20442 /* The GNU C library defines this for functions which it implements
20443 to always fail with ENOSYS. Some functions are actually named
20444 something starting with __ and the normal name is an alias. */
20445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20448 char (*f) () = $ac_func;
20457 return f != $ac_func;
20462 rm -f conftest.$ac_objext conftest$ac_exeext
20463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20464 (eval $ac_link) 2>&5
20466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20467 (exit $ac_status); } &&
20468 { ac_try='test -s conftest$ac_exeext'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; }; then
20474 eval "$as_ac_var=yes"
20476 echo "$as_me: failed program was:" >&5
20477 sed 's/^/| /' conftest.$ac_ext >&5
20479 eval "$as_ac_var=no"
20481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20485 if test `eval echo '${'$as_ac_var'}'` = yes; then
20486 cat >>confdefs.h <<_ACEOF
20487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20495 echo "$as_me:$LINENO: checking for _powl declaration" >&5
20496 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
20497 if test x${glibcxx_cv_func__powl_use+set} != xset; then
20498 if test "${glibcxx_cv_func__powl_use+set}" = set; then
20499 echo $ECHO_N "(cached) $ECHO_C" >&6
20505 ac_cpp='$CXXCPP $CPPFLAGS'
20506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20510 cat >conftest.$ac_ext <<_ACEOF
20511 #line $LINENO "configure"
20514 cat confdefs.h >>conftest.$ac_ext
20515 cat >>conftest.$ac_ext <<_ACEOF
20516 /* end confdefs.h. */
20526 rm -f conftest.$ac_objext
20527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20528 (eval $ac_compile) 2>&5
20530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20531 (exit $ac_status); } &&
20532 { ac_try='test -s conftest.$ac_objext'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; }; then
20538 glibcxx_cv_func__powl_use=yes
20540 echo "$as_me: failed program was:" >&5
20541 sed 's/^/| /' conftest.$ac_ext >&5
20543 glibcxx_cv_func__powl_use=no
20545 rm -f conftest.$ac_objext conftest.$ac_ext
20547 ac_cpp='$CPP $CPPFLAGS'
20548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20556 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
20557 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
20559 if test x$glibcxx_cv_func__powl_use = x"yes"; then
20561 for ac_func in _powl
20563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20564 echo "$as_me:$LINENO: checking for $ac_func" >&5
20565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20566 if eval "test \"\${$as_ac_var+set}\" = set"; then
20567 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 if test x$gcc_no_link = xyes; then
20570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20572 { (exit 1); exit 1; }; }
20574 cat >conftest.$ac_ext <<_ACEOF
20575 #line $LINENO "configure"
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20581 /* System header to define __stub macros and hopefully few prototypes,
20582 which can conflict with char $ac_func (); below.
20583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20584 <limits.h> exists even on freestanding compilers. */
20586 # include <limits.h>
20588 # include <assert.h>
20590 /* Override any gcc2 internal prototype to avoid an error. */
20595 /* We use char because int might match the return type of a gcc2
20596 builtin and then its argument prototype would still apply. */
20598 /* The GNU C library defines this for functions which it implements
20599 to always fail with ENOSYS. Some functions are actually named
20600 something starting with __ and the normal name is an alias. */
20601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20604 char (*f) () = $ac_func;
20613 return f != $ac_func;
20618 rm -f conftest.$ac_objext conftest$ac_exeext
20619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20620 (eval $ac_link) 2>&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -s conftest$ac_exeext'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; }; then
20630 eval "$as_ac_var=yes"
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20635 eval "$as_ac_var=no"
20637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20641 if test `eval echo '${'$as_ac_var'}'` = yes; then
20642 cat >>confdefs.h <<_ACEOF
20643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20654 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
20655 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
20656 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
20657 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20664 ac_cpp='$CXXCPP $CPPFLAGS'
20665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20669 cat >conftest.$ac_ext <<_ACEOF
20670 #line $LINENO "configure"
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20677 #ifdef HAVE_IEEEFP_H
20678 #include <ieeefp.h>
20689 rm -f conftest.$ac_objext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691 (eval $ac_compile) 2>&5
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } &&
20695 { ac_try='test -s conftest.$ac_objext'
20696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20697 (eval $ac_try) 2>&5
20699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20700 (exit $ac_status); }; }; then
20701 glibcxx_cv_func_sqrtl_use=yes
20703 echo "$as_me: failed program was:" >&5
20704 sed 's/^/| /' conftest.$ac_ext >&5
20706 glibcxx_cv_func_sqrtl_use=no
20708 rm -f conftest.$ac_objext conftest.$ac_ext
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20719 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
20720 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
20722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
20724 for ac_func in sqrtl
20726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20727 echo "$as_me:$LINENO: checking for $ac_func" >&5
20728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20729 if eval "test \"\${$as_ac_var+set}\" = set"; then
20730 echo $ECHO_N "(cached) $ECHO_C" >&6
20732 if test x$gcc_no_link = xyes; then
20733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20735 { (exit 1); exit 1; }; }
20737 cat >conftest.$ac_ext <<_ACEOF
20738 #line $LINENO "configure"
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 /* System header to define __stub macros and hopefully few prototypes,
20745 which can conflict with char $ac_func (); below.
20746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20747 <limits.h> exists even on freestanding compilers. */
20749 # include <limits.h>
20751 # include <assert.h>
20753 /* Override any gcc2 internal prototype to avoid an error. */
20758 /* We use char because int might match the return type of a gcc2
20759 builtin and then its argument prototype would still apply. */
20761 /* The GNU C library defines this for functions which it implements
20762 to always fail with ENOSYS. Some functions are actually named
20763 something starting with __ and the normal name is an alias. */
20764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20767 char (*f) () = $ac_func;
20776 return f != $ac_func;
20781 rm -f conftest.$ac_objext conftest$ac_exeext
20782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20783 (eval $ac_link) 2>&5
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); } &&
20787 { ac_try='test -s conftest$ac_exeext'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20793 eval "$as_ac_var=yes"
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20798 eval "$as_ac_var=no"
20800 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20804 if test `eval echo '${'$as_ac_var'}'` = yes; then
20805 cat >>confdefs.h <<_ACEOF
20806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20814 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
20815 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
20816 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
20817 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20824 ac_cpp='$CXXCPP $CPPFLAGS'
20825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20829 cat >conftest.$ac_ext <<_ACEOF
20830 #line $LINENO "configure"
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20837 #ifdef HAVE_IEEEFP_H
20838 #include <ieeefp.h>
20849 rm -f conftest.$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851 (eval $ac_compile) 2>&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } &&
20855 { ac_try='test -s conftest.$ac_objext'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; }; then
20861 glibcxx_cv_func__sqrtl_use=yes
20863 echo "$as_me: failed program was:" >&5
20864 sed 's/^/| /' conftest.$ac_ext >&5
20866 glibcxx_cv_func__sqrtl_use=no
20868 rm -f conftest.$ac_objext conftest.$ac_ext
20870 ac_cpp='$CPP $CPPFLAGS'
20871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20879 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
20880 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
20882 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
20884 for ac_func in _sqrtl
20886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20887 echo "$as_me:$LINENO: checking for $ac_func" >&5
20888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20889 if eval "test \"\${$as_ac_var+set}\" = set"; then
20890 echo $ECHO_N "(cached) $ECHO_C" >&6
20892 if test x$gcc_no_link = xyes; then
20893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20895 { (exit 1); exit 1; }; }
20897 cat >conftest.$ac_ext <<_ACEOF
20898 #line $LINENO "configure"
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 /* System header to define __stub macros and hopefully few prototypes,
20905 which can conflict with char $ac_func (); below.
20906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20907 <limits.h> exists even on freestanding compilers. */
20909 # include <limits.h>
20911 # include <assert.h>
20913 /* Override any gcc2 internal prototype to avoid an error. */
20918 /* We use char because int might match the return type of a gcc2
20919 builtin and then its argument prototype would still apply. */
20921 /* The GNU C library defines this for functions which it implements
20922 to always fail with ENOSYS. Some functions are actually named
20923 something starting with __ and the normal name is an alias. */
20924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20927 char (*f) () = $ac_func;
20936 return f != $ac_func;
20941 rm -f conftest.$ac_objext conftest$ac_exeext
20942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20943 (eval $ac_link) 2>&5
20945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20946 (exit $ac_status); } &&
20947 { ac_try='test -s conftest$ac_exeext'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; }; then
20953 eval "$as_ac_var=yes"
20955 echo "$as_me: failed program was:" >&5
20956 sed 's/^/| /' conftest.$ac_ext >&5
20958 eval "$as_ac_var=no"
20960 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20964 if test `eval echo '${'$as_ac_var'}'` = yes; then
20965 cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20977 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
20978 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
20979 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
20980 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
20981 echo $ECHO_N "(cached) $ECHO_C" >&6
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20992 cat >conftest.$ac_ext <<_ACEOF
20993 #line $LINENO "configure"
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
21008 rm -f conftest.$ac_objext
21009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21010 (eval $ac_compile) 2>&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } &&
21014 { ac_try='test -s conftest.$ac_objext'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; }; then
21020 glibcxx_cv_func_sincosl_use=yes
21022 echo "$as_me: failed program was:" >&5
21023 sed 's/^/| /' conftest.$ac_ext >&5
21025 glibcxx_cv_func_sincosl_use=no
21027 rm -f conftest.$ac_objext conftest.$ac_ext
21029 ac_cpp='$CPP $CPPFLAGS'
21030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21038 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
21039 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
21041 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
21043 for ac_func in sincosl
21045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21046 echo "$as_me:$LINENO: checking for $ac_func" >&5
21047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21048 if eval "test \"\${$as_ac_var+set}\" = set"; then
21049 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 if test x$gcc_no_link = xyes; then
21052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21054 { (exit 1); exit 1; }; }
21056 cat >conftest.$ac_ext <<_ACEOF
21057 #line $LINENO "configure"
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 /* System header to define __stub macros and hopefully few prototypes,
21064 which can conflict with char $ac_func (); below.
21065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21066 <limits.h> exists even on freestanding compilers. */
21068 # include <limits.h>
21070 # include <assert.h>
21072 /* Override any gcc2 internal prototype to avoid an error. */
21077 /* We use char because int might match the return type of a gcc2
21078 builtin and then its argument prototype would still apply. */
21080 /* The GNU C library defines this for functions which it implements
21081 to always fail with ENOSYS. Some functions are actually named
21082 something starting with __ and the normal name is an alias. */
21083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21086 char (*f) () = $ac_func;
21095 return f != $ac_func;
21100 rm -f conftest.$ac_objext conftest$ac_exeext
21101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21102 (eval $ac_link) 2>&5
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); } &&
21106 { ac_try='test -s conftest$ac_exeext'
21107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21108 (eval $ac_try) 2>&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); }; }; then
21112 eval "$as_ac_var=yes"
21114 echo "$as_me: failed program was:" >&5
21115 sed 's/^/| /' conftest.$ac_ext >&5
21117 eval "$as_ac_var=no"
21119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21123 if test `eval echo '${'$as_ac_var'}'` = yes; then
21124 cat >>confdefs.h <<_ACEOF
21125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21133 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
21134 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
21135 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
21136 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
21137 echo $ECHO_N "(cached) $ECHO_C" >&6
21143 ac_cpp='$CXXCPP $CPPFLAGS'
21144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21148 cat >conftest.$ac_ext <<_ACEOF
21149 #line $LINENO "configure"
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21164 rm -f conftest.$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } &&
21170 { ac_try='test -s conftest.$ac_objext'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; }; then
21176 glibcxx_cv_func__sincosl_use=yes
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21181 glibcxx_cv_func__sincosl_use=no
21183 rm -f conftest.$ac_objext conftest.$ac_ext
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
21195 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
21197 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
21199 for ac_func in _sincosl
21201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21202 echo "$as_me:$LINENO: checking for $ac_func" >&5
21203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21204 if eval "test \"\${$as_ac_var+set}\" = set"; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 if test x$gcc_no_link = xyes; then
21208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21210 { (exit 1); exit 1; }; }
21212 cat >conftest.$ac_ext <<_ACEOF
21213 #line $LINENO "configure"
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 /* System header to define __stub macros and hopefully few prototypes,
21220 which can conflict with char $ac_func (); below.
21221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21222 <limits.h> exists even on freestanding compilers. */
21224 # include <limits.h>
21226 # include <assert.h>
21228 /* Override any gcc2 internal prototype to avoid an error. */
21233 /* We use char because int might match the return type of a gcc2
21234 builtin and then its argument prototype would still apply. */
21236 /* The GNU C library defines this for functions which it implements
21237 to always fail with ENOSYS. Some functions are actually named
21238 something starting with __ and the normal name is an alias. */
21239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21242 char (*f) () = $ac_func;
21251 return f != $ac_func;
21256 rm -f conftest.$ac_objext conftest$ac_exeext
21257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21258 (eval $ac_link) 2>&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } &&
21262 { ac_try='test -s conftest$ac_exeext'
21263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21264 (eval $ac_try) 2>&5
21266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267 (exit $ac_status); }; }; then
21268 eval "$as_ac_var=yes"
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21273 eval "$as_ac_var=no"
21275 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21279 if test `eval echo '${'$as_ac_var'}'` = yes; then
21280 cat >>confdefs.h <<_ACEOF
21281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21292 echo "$as_me:$LINENO: checking for finitel declaration" >&5
21293 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
21294 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
21295 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
21296 echo $ECHO_N "(cached) $ECHO_C" >&6
21302 ac_cpp='$CXXCPP $CPPFLAGS'
21303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21307 cat >conftest.$ac_ext <<_ACEOF
21308 #line $LINENO "configure"
21311 cat confdefs.h >>conftest.$ac_ext
21312 cat >>conftest.$ac_ext <<_ACEOF
21313 /* end confdefs.h. */
21315 #ifdef HAVE_IEEEFP_H
21316 #include <ieeefp.h>
21327 rm -f conftest.$ac_objext
21328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21329 (eval $ac_compile) 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); } &&
21333 { ac_try='test -s conftest.$ac_objext'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; }; then
21339 glibcxx_cv_func_finitel_use=yes
21341 echo "$as_me: failed program was:" >&5
21342 sed 's/^/| /' conftest.$ac_ext >&5
21344 glibcxx_cv_func_finitel_use=no
21346 rm -f conftest.$ac_objext conftest.$ac_ext
21348 ac_cpp='$CPP $CPPFLAGS'
21349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21357 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
21358 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
21360 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
21362 for ac_func in finitel
21364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21365 echo "$as_me:$LINENO: checking for $ac_func" >&5
21366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21367 if eval "test \"\${$as_ac_var+set}\" = set"; then
21368 echo $ECHO_N "(cached) $ECHO_C" >&6
21370 if test x$gcc_no_link = xyes; then
21371 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21373 { (exit 1); exit 1; }; }
21375 cat >conftest.$ac_ext <<_ACEOF
21376 #line $LINENO "configure"
21379 cat confdefs.h >>conftest.$ac_ext
21380 cat >>conftest.$ac_ext <<_ACEOF
21381 /* end confdefs.h. */
21382 /* System header to define __stub macros and hopefully few prototypes,
21383 which can conflict with char $ac_func (); below.
21384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21385 <limits.h> exists even on freestanding compilers. */
21387 # include <limits.h>
21389 # include <assert.h>
21391 /* Override any gcc2 internal prototype to avoid an error. */
21396 /* We use char because int might match the return type of a gcc2
21397 builtin and then its argument prototype would still apply. */
21399 /* The GNU C library defines this for functions which it implements
21400 to always fail with ENOSYS. Some functions are actually named
21401 something starting with __ and the normal name is an alias. */
21402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21405 char (*f) () = $ac_func;
21414 return f != $ac_func;
21419 rm -f conftest.$ac_objext conftest$ac_exeext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21421 (eval $ac_link) 2>&5
21423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21424 (exit $ac_status); } &&
21425 { ac_try='test -s conftest$ac_exeext'
21426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21427 (eval $ac_try) 2>&5
21429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21430 (exit $ac_status); }; }; then
21431 eval "$as_ac_var=yes"
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21436 eval "$as_ac_var=no"
21438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21440 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21441 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21442 if test `eval echo '${'$as_ac_var'}'` = yes; then
21443 cat >>confdefs.h <<_ACEOF
21444 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21452 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
21453 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
21454 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
21455 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 ac_cpp='$CXXCPP $CPPFLAGS'
21463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21467 cat >conftest.$ac_ext <<_ACEOF
21468 #line $LINENO "configure"
21471 cat confdefs.h >>conftest.$ac_ext
21472 cat >>conftest.$ac_ext <<_ACEOF
21473 /* end confdefs.h. */
21475 #ifdef HAVE_IEEEFP_H
21476 #include <ieeefp.h>
21487 rm -f conftest.$ac_objext
21488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21489 (eval $ac_compile) 2>&5
21491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492 (exit $ac_status); } &&
21493 { ac_try='test -s conftest.$ac_objext'
21494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21495 (eval $ac_try) 2>&5
21497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21498 (exit $ac_status); }; }; then
21499 glibcxx_cv_func__finitel_use=yes
21501 echo "$as_me: failed program was:" >&5
21502 sed 's/^/| /' conftest.$ac_ext >&5
21504 glibcxx_cv_func__finitel_use=no
21506 rm -f conftest.$ac_objext conftest.$ac_ext
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21517 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
21518 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
21520 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
21522 for ac_func in _finitel
21524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21525 echo "$as_me:$LINENO: checking for $ac_func" >&5
21526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21527 if eval "test \"\${$as_ac_var+set}\" = set"; then
21528 echo $ECHO_N "(cached) $ECHO_C" >&6
21530 if test x$gcc_no_link = xyes; then
21531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21533 { (exit 1); exit 1; }; }
21535 cat >conftest.$ac_ext <<_ACEOF
21536 #line $LINENO "configure"
21539 cat confdefs.h >>conftest.$ac_ext
21540 cat >>conftest.$ac_ext <<_ACEOF
21541 /* end confdefs.h. */
21542 /* System header to define __stub macros and hopefully few prototypes,
21543 which can conflict with char $ac_func (); below.
21544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21545 <limits.h> exists even on freestanding compilers. */
21547 # include <limits.h>
21549 # include <assert.h>
21551 /* Override any gcc2 internal prototype to avoid an error. */
21556 /* We use char because int might match the return type of a gcc2
21557 builtin and then its argument prototype would still apply. */
21559 /* The GNU C library defines this for functions which it implements
21560 to always fail with ENOSYS. Some functions are actually named
21561 something starting with __ and the normal name is an alias. */
21562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21565 char (*f) () = $ac_func;
21574 return f != $ac_func;
21579 rm -f conftest.$ac_objext conftest$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581 (eval $ac_link) 2>&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } &&
21585 { ac_try='test -s conftest$ac_exeext'
21586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587 (eval $ac_try) 2>&5
21589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590 (exit $ac_status); }; }; then
21591 eval "$as_ac_var=yes"
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.$ac_ext >&5
21596 eval "$as_ac_var=no"
21598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21602 if test `eval echo '${'$as_ac_var'}'` = yes; then
21603 cat >>confdefs.h <<_ACEOF
21604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21616 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21617 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21618 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21619 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 ac_cpp='$CXXCPP $CPPFLAGS'
21626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21630 cat >conftest.$ac_ext <<_ACEOF
21631 #line $LINENO "configure"
21634 cat confdefs.h >>conftest.$ac_ext
21635 cat >>conftest.$ac_ext <<_ACEOF
21636 /* end confdefs.h. */
21641 `for x in _acosf _asinf _atanf \
21642 _cosf _sinf _tanf \
21643 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
21648 rm -f conftest.$ac_objext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21650 (eval $ac_compile) 2>&5
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } &&
21654 { ac_try='test -s conftest.$ac_objext'
21655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656 (eval $ac_try) 2>&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); }; }; then
21660 glibcxx_cv_func__float_trig_use=yes
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21665 glibcxx_cv_func__float_trig_use=no
21667 rm -f conftest.$ac_objext conftest.$ac_ext
21669 ac_cpp='$CPP $CPPFLAGS'
21670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21676 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
21677 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
21678 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21688 for ac_func in _acosf _asinf _atanf \
21689 _cosf _sinf _tanf \
21690 _coshf _sinhf _tanhf
21692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21693 echo "$as_me:$LINENO: checking for $ac_func" >&5
21694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21695 if eval "test \"\${$as_ac_var+set}\" = set"; then
21696 echo $ECHO_N "(cached) $ECHO_C" >&6
21698 if test x$gcc_no_link = xyes; then
21699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21701 { (exit 1); exit 1; }; }
21703 cat >conftest.$ac_ext <<_ACEOF
21704 #line $LINENO "configure"
21707 cat confdefs.h >>conftest.$ac_ext
21708 cat >>conftest.$ac_ext <<_ACEOF
21709 /* end confdefs.h. */
21710 /* System header to define __stub macros and hopefully few prototypes,
21711 which can conflict with char $ac_func (); below.
21712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21713 <limits.h> exists even on freestanding compilers. */
21715 # include <limits.h>
21717 # include <assert.h>
21719 /* Override any gcc2 internal prototype to avoid an error. */
21724 /* We use char because int might match the return type of a gcc2
21725 builtin and then its argument prototype would still apply. */
21727 /* The GNU C library defines this for functions which it implements
21728 to always fail with ENOSYS. Some functions are actually named
21729 something starting with __ and the normal name is an alias. */
21730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21733 char (*f) () = $ac_func;
21742 return f != $ac_func;
21747 rm -f conftest.$ac_objext conftest$ac_exeext
21748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21749 (eval $ac_link) 2>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } &&
21753 { ac_try='test -s conftest$ac_exeext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 eval "$as_ac_var=yes"
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 eval "$as_ac_var=no"
21766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21770 if test `eval echo '${'$as_ac_var'}'` = yes; then
21771 cat >>confdefs.h <<_ACEOF
21772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21781 echo "$as_me:$LINENO: checking for _float round functions" >&5
21782 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21783 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21784 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21795 cat >conftest.$ac_ext <<_ACEOF
21796 #line $LINENO "configure"
21799 cat confdefs.h >>conftest.$ac_ext
21800 cat >>conftest.$ac_ext <<_ACEOF
21801 /* end confdefs.h. */
21806 `for x in _ceilf _floorf; do echo "$x (0);"; done`
21811 rm -f conftest.$ac_objext
21812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21813 (eval $ac_compile) 2>&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } &&
21817 { ac_try='test -s conftest.$ac_objext'
21818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21819 (eval $ac_try) 2>&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); }; }; then
21823 glibcxx_cv_func__float_round_use=yes
21825 echo "$as_me: failed program was:" >&5
21826 sed 's/^/| /' conftest.$ac_ext >&5
21828 glibcxx_cv_func__float_round_use=no
21830 rm -f conftest.$ac_objext conftest.$ac_ext
21832 ac_cpp='$CPP $CPPFLAGS'
21833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21840 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21841 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21844 for ac_func in _ceilf _floorf
21846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21847 echo "$as_me:$LINENO: checking for $ac_func" >&5
21848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21849 if eval "test \"\${$as_ac_var+set}\" = set"; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 if test x$gcc_no_link = xyes; then
21853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21855 { (exit 1); exit 1; }; }
21857 cat >conftest.$ac_ext <<_ACEOF
21858 #line $LINENO "configure"
21861 cat confdefs.h >>conftest.$ac_ext
21862 cat >>conftest.$ac_ext <<_ACEOF
21863 /* end confdefs.h. */
21864 /* System header to define __stub macros and hopefully few prototypes,
21865 which can conflict with char $ac_func (); below.
21866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21867 <limits.h> exists even on freestanding compilers. */
21869 # include <limits.h>
21871 # include <assert.h>
21873 /* Override any gcc2 internal prototype to avoid an error. */
21878 /* We use char because int might match the return type of a gcc2
21879 builtin and then its argument prototype would still apply. */
21881 /* The GNU C library defines this for functions which it implements
21882 to always fail with ENOSYS. Some functions are actually named
21883 something starting with __ and the normal name is an alias. */
21884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21887 char (*f) () = $ac_func;
21896 return f != $ac_func;
21901 rm -f conftest.$ac_objext conftest$ac_exeext
21902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21903 (eval $ac_link) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); } &&
21907 { ac_try='test -s conftest$ac_exeext'
21908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21909 (eval $ac_try) 2>&5
21911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21912 (exit $ac_status); }; }; then
21913 eval "$as_ac_var=yes"
21915 echo "$as_me: failed program was:" >&5
21916 sed 's/^/| /' conftest.$ac_ext >&5
21918 eval "$as_ac_var=no"
21920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21924 if test `eval echo '${'$as_ac_var'}'` = yes; then
21925 cat >>confdefs.h <<_ACEOF
21926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21936 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
21937 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
21938 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
21939 echo $ECHO_N "(cached) $ECHO_C" >&6
21945 ac_cpp='$CXXCPP $CPPFLAGS'
21946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21950 cat >conftest.$ac_ext <<_ACEOF
21951 #line $LINENO "configure"
21954 cat confdefs.h >>conftest.$ac_ext
21955 cat >>conftest.$ac_ext <<_ACEOF
21956 /* end confdefs.h. */
21961 `for x in _acosl _asinl _atanl \
21962 _cosl _sinl _tanl \
21963 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
21968 rm -f conftest.$ac_objext
21969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21970 (eval $ac_compile) 2>&5
21972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973 (exit $ac_status); } &&
21974 { ac_try='test -s conftest.$ac_objext'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 glibcxx_cv_func__long_double_trig_use=yes
21982 echo "$as_me: failed program was:" >&5
21983 sed 's/^/| /' conftest.$ac_ext >&5
21985 glibcxx_cv_func__long_double_trig_use=no
21987 rm -f conftest.$ac_objext conftest.$ac_ext
21989 ac_cpp='$CPP $CPPFLAGS'
21990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
21997 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
21998 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22008 for ac_func in _acosl _asinl _atanl \
22009 _cosl _sinl _tanl \
22010 _coshl _sinhl _tanhl
22012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22013 echo "$as_me:$LINENO: checking for $ac_func" >&5
22014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22015 if eval "test \"\${$as_ac_var+set}\" = set"; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22018 if test x$gcc_no_link = xyes; then
22019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22021 { (exit 1); exit 1; }; }
22023 cat >conftest.$ac_ext <<_ACEOF
22024 #line $LINENO "configure"
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 /* System header to define __stub macros and hopefully few prototypes,
22031 which can conflict with char $ac_func (); below.
22032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22033 <limits.h> exists even on freestanding compilers. */
22035 # include <limits.h>
22037 # include <assert.h>
22039 /* Override any gcc2 internal prototype to avoid an error. */
22044 /* We use char because int might match the return type of a gcc2
22045 builtin and then its argument prototype would still apply. */
22047 /* The GNU C library defines this for functions which it implements
22048 to always fail with ENOSYS. Some functions are actually named
22049 something starting with __ and the normal name is an alias. */
22050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22053 char (*f) () = $ac_func;
22062 return f != $ac_func;
22067 rm -f conftest.$ac_objext conftest$ac_exeext
22068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22069 (eval $ac_link) 2>&5
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); } &&
22073 { ac_try='test -s conftest$ac_exeext'
22074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22075 (eval $ac_try) 2>&5
22077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22078 (exit $ac_status); }; }; then
22079 eval "$as_ac_var=yes"
22081 echo "$as_me: failed program was:" >&5
22082 sed 's/^/| /' conftest.$ac_ext >&5
22084 eval "$as_ac_var=no"
22086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22090 if test `eval echo '${'$as_ac_var'}'` = yes; then
22091 cat >>confdefs.h <<_ACEOF
22092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22101 echo "$as_me:$LINENO: checking for _long double round functions" >&5
22102 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
22103 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22110 ac_cpp='$CXXCPP $CPPFLAGS'
22111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22115 cat >conftest.$ac_ext <<_ACEOF
22116 #line $LINENO "configure"
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22126 `for x in _ceill _floorl; do echo "$x (0);"; done`
22131 rm -f conftest.$ac_objext
22132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22133 (eval $ac_compile) 2>&5
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); } &&
22137 { ac_try='test -s conftest.$ac_objext'
22138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22139 (eval $ac_try) 2>&5
22141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22142 (exit $ac_status); }; }; then
22143 glibcxx_cv_func__long_double_round_use=yes
22145 echo "$as_me: failed program was:" >&5
22146 sed 's/^/| /' conftest.$ac_ext >&5
22148 glibcxx_cv_func__long_double_round_use=no
22150 rm -f conftest.$ac_objext conftest.$ac_ext
22152 ac_cpp='$CPP $CPPFLAGS'
22153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
22160 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
22161 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
22164 for ac_func in _ceill _floorl
22166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22167 echo "$as_me:$LINENO: checking for $ac_func" >&5
22168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22169 if eval "test \"\${$as_ac_var+set}\" = set"; then
22170 echo $ECHO_N "(cached) $ECHO_C" >&6
22172 if test x$gcc_no_link = xyes; then
22173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22175 { (exit 1); exit 1; }; }
22177 cat >conftest.$ac_ext <<_ACEOF
22178 #line $LINENO "configure"
22181 cat confdefs.h >>conftest.$ac_ext
22182 cat >>conftest.$ac_ext <<_ACEOF
22183 /* end confdefs.h. */
22184 /* System header to define __stub macros and hopefully few prototypes,
22185 which can conflict with char $ac_func (); below.
22186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22187 <limits.h> exists even on freestanding compilers. */
22189 # include <limits.h>
22191 # include <assert.h>
22193 /* Override any gcc2 internal prototype to avoid an error. */
22198 /* We use char because int might match the return type of a gcc2
22199 builtin and then its argument prototype would still apply. */
22201 /* The GNU C library defines this for functions which it implements
22202 to always fail with ENOSYS. Some functions are actually named
22203 something starting with __ and the normal name is an alias. */
22204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22207 char (*f) () = $ac_func;
22216 return f != $ac_func;
22221 rm -f conftest.$ac_objext conftest$ac_exeext
22222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22223 (eval $ac_link) 2>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } &&
22227 { ac_try='test -s conftest$ac_exeext'
22228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22229 (eval $ac_try) 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 eval "$as_ac_var=yes"
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 eval "$as_ac_var=no"
22240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22244 if test `eval echo '${'$as_ac_var'}'` = yes; then
22245 cat >>confdefs.h <<_ACEOF
22246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22255 LIBS="$ac_save_LIBS"
22256 CXXFLAGS="$ac_save_CXXFLAGS"
22260 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
22261 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
22262 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
22263 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
22264 echo $ECHO_N "(cached) $ECHO_C" >&6
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22275 cat >conftest.$ac_ext <<_ACEOF
22276 #line $LINENO "configure"
22279 cat confdefs.h >>conftest.$ac_ext
22280 cat >>conftest.$ac_ext <<_ACEOF
22281 /* end confdefs.h. */
22291 rm -f conftest.$ac_objext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22293 (eval $ac_compile) 2>&5
22295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22296 (exit $ac_status); } &&
22297 { ac_try='test -s conftest.$ac_objext'
22298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22299 (eval $ac_try) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); }; }; then
22303 glibcxx_cv_func___builtin_abs_use=yes
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 glibcxx_cv_func___builtin_abs_use=no
22310 rm -f conftest.$ac_objext conftest.$ac_ext
22312 ac_cpp='$CPP $CPPFLAGS'
22313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22321 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
22322 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
22323 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
22324 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
22325 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
22326 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
22327 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22331 if test x$gcc_no_link = xyes; then
22332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22334 { (exit 1); exit 1; }; }
22336 cat >conftest.$ac_ext <<_ACEOF
22337 #line $LINENO "configure"
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22352 rm -f conftest.$ac_objext conftest$ac_exeext
22353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22354 (eval $ac_link) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -s conftest$ac_exeext'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; }; then
22364 glibcxx_cv_func___builtin_abs_link=yes
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22369 glibcxx_cv_func___builtin_abs_link=no
22371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22376 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
22377 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
22378 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
22379 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22380 cat >>confdefs.h <<_ACEOF
22381 #define ${ac_tr_func} 1
22388 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
22389 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
22390 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
22391 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403 cat >conftest.$ac_ext <<_ACEOF
22404 #line $LINENO "configure"
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22414 __builtin_fabsf(0);
22419 rm -f conftest.$ac_objext
22420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22421 (eval $ac_compile) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); } &&
22425 { ac_try='test -s conftest.$ac_objext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 glibcxx_cv_func___builtin_fabsf_use=yes
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.$ac_ext >&5
22436 glibcxx_cv_func___builtin_fabsf_use=no
22438 rm -f conftest.$ac_objext conftest.$ac_ext
22440 ac_cpp='$CPP $CPPFLAGS'
22441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22449 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
22450 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
22451 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
22452 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
22453 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
22454 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
22455 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
22456 echo $ECHO_N "(cached) $ECHO_C" >&6
22459 if test x$gcc_no_link = xyes; then
22460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22462 { (exit 1); exit 1; }; }
22464 cat >conftest.$ac_ext <<_ACEOF
22465 #line $LINENO "configure"
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22475 __builtin_fabsf(0);
22480 rm -f conftest.$ac_objext conftest$ac_exeext
22481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22482 (eval $ac_link) 2>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } &&
22486 { ac_try='test -s conftest$ac_exeext'
22487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22488 (eval $ac_try) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); }; }; then
22492 glibcxx_cv_func___builtin_fabsf_link=yes
22494 echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.$ac_ext >&5
22497 glibcxx_cv_func___builtin_fabsf_link=no
22499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
22505 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
22506 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
22507 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22508 cat >>confdefs.h <<_ACEOF
22509 #define ${ac_tr_func} 1
22516 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
22517 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
22518 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
22519 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
22520 echo $ECHO_N "(cached) $ECHO_C" >&6
22526 ac_cpp='$CXXCPP $CPPFLAGS'
22527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22531 cat >conftest.$ac_ext <<_ACEOF
22532 #line $LINENO "configure"
22535 cat confdefs.h >>conftest.$ac_ext
22536 cat >>conftest.$ac_ext <<_ACEOF
22537 /* end confdefs.h. */
22547 rm -f conftest.$ac_objext
22548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22549 (eval $ac_compile) 2>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } &&
22553 { ac_try='test -s conftest.$ac_objext'
22554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555 (eval $ac_try) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); }; }; then
22559 glibcxx_cv_func___builtin_fabs_use=yes
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.$ac_ext >&5
22564 glibcxx_cv_func___builtin_fabs_use=no
22566 rm -f conftest.$ac_objext conftest.$ac_ext
22568 ac_cpp='$CPP $CPPFLAGS'
22569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22577 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
22578 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
22579 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
22580 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
22581 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
22582 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
22583 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
22584 echo $ECHO_N "(cached) $ECHO_C" >&6
22587 if test x$gcc_no_link = xyes; then
22588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22590 { (exit 1); exit 1; }; }
22592 cat >conftest.$ac_ext <<_ACEOF
22593 #line $LINENO "configure"
22596 cat confdefs.h >>conftest.$ac_ext
22597 cat >>conftest.$ac_ext <<_ACEOF
22598 /* end confdefs.h. */
22608 rm -f conftest.$ac_objext conftest$ac_exeext
22609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22610 (eval $ac_link) 2>&5
22612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22613 (exit $ac_status); } &&
22614 { ac_try='test -s conftest$ac_exeext'
22615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22616 (eval $ac_try) 2>&5
22618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22619 (exit $ac_status); }; }; then
22620 glibcxx_cv_func___builtin_fabs_link=yes
22622 echo "$as_me: failed program was:" >&5
22623 sed 's/^/| /' conftest.$ac_ext >&5
22625 glibcxx_cv_func___builtin_fabs_link=no
22627 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
22633 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
22634 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
22635 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22636 cat >>confdefs.h <<_ACEOF
22637 #define ${ac_tr_func} 1
22644 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
22645 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
22646 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
22647 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
22648 echo $ECHO_N "(cached) $ECHO_C" >&6
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat >conftest.$ac_ext <<_ACEOF
22660 #line $LINENO "configure"
22663 cat confdefs.h >>conftest.$ac_ext
22664 cat >>conftest.$ac_ext <<_ACEOF
22665 /* end confdefs.h. */
22670 __builtin_fabsl(0);
22675 rm -f conftest.$ac_objext
22676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22677 (eval $ac_compile) 2>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); } &&
22681 { ac_try='test -s conftest.$ac_objext'
22682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22683 (eval $ac_try) 2>&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); }; }; then
22687 glibcxx_cv_func___builtin_fabsl_use=yes
22689 echo "$as_me: failed program was:" >&5
22690 sed 's/^/| /' conftest.$ac_ext >&5
22692 glibcxx_cv_func___builtin_fabsl_use=no
22694 rm -f conftest.$ac_objext conftest.$ac_ext
22696 ac_cpp='$CPP $CPPFLAGS'
22697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
22706 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
22707 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
22708 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
22709 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
22710 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
22711 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
22712 echo $ECHO_N "(cached) $ECHO_C" >&6
22715 if test x$gcc_no_link = xyes; then
22716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22718 { (exit 1); exit 1; }; }
22720 cat >conftest.$ac_ext <<_ACEOF
22721 #line $LINENO "configure"
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22731 __builtin_fabsl(0);
22736 rm -f conftest.$ac_objext conftest$ac_exeext
22737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22738 (eval $ac_link) 2>&5
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); } &&
22742 { ac_try='test -s conftest$ac_exeext'
22743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744 (eval $ac_try) 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 glibcxx_cv_func___builtin_fabsl_link=yes
22750 echo "$as_me: failed program was:" >&5
22751 sed 's/^/| /' conftest.$ac_ext >&5
22753 glibcxx_cv_func___builtin_fabsl_link=no
22755 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
22761 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
22762 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
22763 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22764 cat >>confdefs.h <<_ACEOF
22765 #define ${ac_tr_func} 1
22772 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
22773 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
22774 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
22775 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
22776 echo $ECHO_N "(cached) $ECHO_C" >&6
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787 cat >conftest.$ac_ext <<_ACEOF
22788 #line $LINENO "configure"
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22803 rm -f conftest.$ac_objext
22804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22805 (eval $ac_compile) 2>&5
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); } &&
22809 { ac_try='test -s conftest.$ac_objext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 glibcxx_cv_func___builtin_labs_use=yes
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22820 glibcxx_cv_func___builtin_labs_use=no
22822 rm -f conftest.$ac_objext conftest.$ac_ext
22824 ac_cpp='$CPP $CPPFLAGS'
22825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22833 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
22834 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
22835 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
22836 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
22837 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
22838 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
22839 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
22840 echo $ECHO_N "(cached) $ECHO_C" >&6
22843 if test x$gcc_no_link = xyes; then
22844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22846 { (exit 1); exit 1; }; }
22848 cat >conftest.$ac_ext <<_ACEOF
22849 #line $LINENO "configure"
22852 cat confdefs.h >>conftest.$ac_ext
22853 cat >>conftest.$ac_ext <<_ACEOF
22854 /* end confdefs.h. */
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22866 (eval $ac_link) 2>&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -s conftest$ac_exeext'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; }; then
22876 glibcxx_cv_func___builtin_labs_link=yes
22878 echo "$as_me: failed program was:" >&5
22879 sed 's/^/| /' conftest.$ac_ext >&5
22881 glibcxx_cv_func___builtin_labs_link=no
22883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
22889 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
22890 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
22891 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22892 cat >>confdefs.h <<_ACEOF
22893 #define ${ac_tr_func} 1
22901 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
22902 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
22903 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
22904 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
22905 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22916 cat >conftest.$ac_ext <<_ACEOF
22917 #line $LINENO "configure"
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22927 __builtin_sqrtf(0);
22932 rm -f conftest.$ac_objext
22933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22934 (eval $ac_compile) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); } &&
22938 { ac_try='test -s conftest.$ac_objext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 glibcxx_cv_func___builtin_sqrtf_use=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22949 glibcxx_cv_func___builtin_sqrtf_use=no
22951 rm -f conftest.$ac_objext conftest.$ac_ext
22953 ac_cpp='$CPP $CPPFLAGS'
22954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22962 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
22963 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
22964 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
22965 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
22966 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
22967 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
22968 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
22969 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 if test x$gcc_no_link = xyes; then
22973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22975 { (exit 1); exit 1; }; }
22977 cat >conftest.$ac_ext <<_ACEOF
22978 #line $LINENO "configure"
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22988 __builtin_sqrtf(0);
22993 rm -f conftest.$ac_objext conftest$ac_exeext
22994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22995 (eval $ac_link) 2>&5
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); } &&
22999 { ac_try='test -s conftest$ac_exeext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 glibcxx_cv_func___builtin_sqrtf_link=yes
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23010 glibcxx_cv_func___builtin_sqrtf_link=no
23012 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
23018 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
23019 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
23020 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23021 cat >>confdefs.h <<_ACEOF
23022 #define ${ac_tr_func} 1
23029 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
23030 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
23031 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
23032 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
23033 echo $ECHO_N "(cached) $ECHO_C" >&6
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044 cat >conftest.$ac_ext <<_ACEOF
23045 #line $LINENO "configure"
23048 cat confdefs.h >>conftest.$ac_ext
23049 cat >>conftest.$ac_ext <<_ACEOF
23050 /* end confdefs.h. */
23060 rm -f conftest.$ac_objext
23061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23062 (eval $ac_compile) 2>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); } &&
23066 { ac_try='test -s conftest.$ac_objext'
23067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23068 (eval $ac_try) 2>&5
23070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23071 (exit $ac_status); }; }; then
23072 glibcxx_cv_func___builtin_sqrt_use=yes
23074 echo "$as_me: failed program was:" >&5
23075 sed 's/^/| /' conftest.$ac_ext >&5
23077 glibcxx_cv_func___builtin_sqrt_use=no
23079 rm -f conftest.$ac_objext conftest.$ac_ext
23081 ac_cpp='$CPP $CPPFLAGS'
23082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
23091 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
23092 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
23093 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
23094 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
23095 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
23096 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
23097 echo $ECHO_N "(cached) $ECHO_C" >&6
23100 if test x$gcc_no_link = xyes; then
23101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23103 { (exit 1); exit 1; }; }
23105 cat >conftest.$ac_ext <<_ACEOF
23106 #line $LINENO "configure"
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23121 rm -f conftest.$ac_objext conftest$ac_exeext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23123 (eval $ac_link) 2>&5
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); } &&
23127 { ac_try='test -s conftest$ac_exeext'
23128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129 (eval $ac_try) 2>&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); }; }; then
23133 glibcxx_cv_func___builtin_sqrt_link=yes
23135 echo "$as_me: failed program was:" >&5
23136 sed 's/^/| /' conftest.$ac_ext >&5
23138 glibcxx_cv_func___builtin_sqrt_link=no
23140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
23146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
23147 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
23148 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23149 cat >>confdefs.h <<_ACEOF
23150 #define ${ac_tr_func} 1
23157 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
23158 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
23159 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
23160 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
23161 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 ac_cpp='$CXXCPP $CPPFLAGS'
23168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23172 cat >conftest.$ac_ext <<_ACEOF
23173 #line $LINENO "configure"
23176 cat confdefs.h >>conftest.$ac_ext
23177 cat >>conftest.$ac_ext <<_ACEOF
23178 /* end confdefs.h. */
23183 __builtin_sqrtl(0);
23188 rm -f conftest.$ac_objext
23189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23190 (eval $ac_compile) 2>&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } &&
23194 { ac_try='test -s conftest.$ac_objext'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 glibcxx_cv_func___builtin_sqrtl_use=yes
23202 echo "$as_me: failed program was:" >&5
23203 sed 's/^/| /' conftest.$ac_ext >&5
23205 glibcxx_cv_func___builtin_sqrtl_use=no
23207 rm -f conftest.$ac_objext conftest.$ac_ext
23209 ac_cpp='$CPP $CPPFLAGS'
23210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23218 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
23219 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
23220 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
23221 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
23222 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
23223 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
23224 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
23225 echo $ECHO_N "(cached) $ECHO_C" >&6
23228 if test x$gcc_no_link = xyes; then
23229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23231 { (exit 1); exit 1; }; }
23233 cat >conftest.$ac_ext <<_ACEOF
23234 #line $LINENO "configure"
23237 cat confdefs.h >>conftest.$ac_ext
23238 cat >>conftest.$ac_ext <<_ACEOF
23239 /* end confdefs.h. */
23244 __builtin_sqrtl(0);
23249 rm -f conftest.$ac_objext conftest$ac_exeext
23250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23251 (eval $ac_link) 2>&5
23253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23254 (exit $ac_status); } &&
23255 { ac_try='test -s conftest$ac_exeext'
23256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257 (eval $ac_try) 2>&5
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); }; }; then
23261 glibcxx_cv_func___builtin_sqrtl_link=yes
23263 echo "$as_me: failed program was:" >&5
23264 sed 's/^/| /' conftest.$ac_ext >&5
23266 glibcxx_cv_func___builtin_sqrtl_link=no
23268 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
23274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
23275 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
23276 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23277 cat >>confdefs.h <<_ACEOF
23278 #define ${ac_tr_func} 1
23286 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
23287 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
23288 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
23289 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
23290 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 ac_cpp='$CXXCPP $CPPFLAGS'
23297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23301 cat >conftest.$ac_ext <<_ACEOF
23302 #line $LINENO "configure"
23305 cat confdefs.h >>conftest.$ac_ext
23306 cat >>conftest.$ac_ext <<_ACEOF
23307 /* end confdefs.h. */
23317 rm -f conftest.$ac_objext
23318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23319 (eval $ac_compile) 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); } &&
23323 { ac_try='test -s conftest.$ac_objext'
23324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325 (eval $ac_try) 2>&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); }; }; then
23329 glibcxx_cv_func___builtin_sinf_use=yes
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23334 glibcxx_cv_func___builtin_sinf_use=no
23336 rm -f conftest.$ac_objext conftest.$ac_ext
23338 ac_cpp='$CPP $CPPFLAGS'
23339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23347 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
23348 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
23349 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
23350 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
23351 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
23352 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
23353 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
23354 echo $ECHO_N "(cached) $ECHO_C" >&6
23357 if test x$gcc_no_link = xyes; then
23358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23360 { (exit 1); exit 1; }; }
23362 cat >conftest.$ac_ext <<_ACEOF
23363 #line $LINENO "configure"
23366 cat confdefs.h >>conftest.$ac_ext
23367 cat >>conftest.$ac_ext <<_ACEOF
23368 /* end confdefs.h. */
23378 rm -f conftest.$ac_objext conftest$ac_exeext
23379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23380 (eval $ac_link) 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); } &&
23384 { ac_try='test -s conftest$ac_exeext'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; }; then
23390 glibcxx_cv_func___builtin_sinf_link=yes
23392 echo "$as_me: failed program was:" >&5
23393 sed 's/^/| /' conftest.$ac_ext >&5
23395 glibcxx_cv_func___builtin_sinf_link=no
23397 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23402 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
23403 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
23404 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
23405 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23406 cat >>confdefs.h <<_ACEOF
23407 #define ${ac_tr_func} 1
23414 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
23415 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
23416 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
23417 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
23418 echo $ECHO_N "(cached) $ECHO_C" >&6
23424 ac_cpp='$CXXCPP $CPPFLAGS'
23425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23429 cat >conftest.$ac_ext <<_ACEOF
23430 #line $LINENO "configure"
23433 cat confdefs.h >>conftest.$ac_ext
23434 cat >>conftest.$ac_ext <<_ACEOF
23435 /* end confdefs.h. */
23445 rm -f conftest.$ac_objext
23446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23447 (eval $ac_compile) 2>&5
23449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23450 (exit $ac_status); } &&
23451 { ac_try='test -s conftest.$ac_objext'
23452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23453 (eval $ac_try) 2>&5
23455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23456 (exit $ac_status); }; }; then
23457 glibcxx_cv_func___builtin_sin_use=yes
23459 echo "$as_me: failed program was:" >&5
23460 sed 's/^/| /' conftest.$ac_ext >&5
23462 glibcxx_cv_func___builtin_sin_use=no
23464 rm -f conftest.$ac_objext conftest.$ac_ext
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23475 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
23476 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
23477 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
23478 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
23479 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
23480 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
23481 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
23482 echo $ECHO_N "(cached) $ECHO_C" >&6
23485 if test x$gcc_no_link = xyes; then
23486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23488 { (exit 1); exit 1; }; }
23490 cat >conftest.$ac_ext <<_ACEOF
23491 #line $LINENO "configure"
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23506 rm -f conftest.$ac_objext conftest$ac_exeext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23508 (eval $ac_link) 2>&5
23510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23511 (exit $ac_status); } &&
23512 { ac_try='test -s conftest$ac_exeext'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; }; then
23518 glibcxx_cv_func___builtin_sin_link=yes
23520 echo "$as_me: failed program was:" >&5
23521 sed 's/^/| /' conftest.$ac_ext >&5
23523 glibcxx_cv_func___builtin_sin_link=no
23525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23530 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
23531 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
23532 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
23533 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23534 cat >>confdefs.h <<_ACEOF
23535 #define ${ac_tr_func} 1
23542 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
23543 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
23544 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
23545 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
23546 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 ac_cpp='$CXXCPP $CPPFLAGS'
23553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23557 cat >conftest.$ac_ext <<_ACEOF
23558 #line $LINENO "configure"
23561 cat confdefs.h >>conftest.$ac_ext
23562 cat >>conftest.$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>&5
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); } &&
23579 { ac_try='test -s conftest.$ac_objext'
23580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23581 (eval $ac_try) 2>&5
23583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23584 (exit $ac_status); }; }; then
23585 glibcxx_cv_func___builtin_sinl_use=yes
23587 echo "$as_me: failed program was:" >&5
23588 sed 's/^/| /' conftest.$ac_ext >&5
23590 glibcxx_cv_func___builtin_sinl_use=no
23592 rm -f conftest.$ac_objext conftest.$ac_ext
23594 ac_cpp='$CPP $CPPFLAGS'
23595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23603 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
23604 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
23605 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
23606 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
23607 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
23608 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
23609 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 if test x$gcc_no_link = xyes; then
23614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23616 { (exit 1); exit 1; }; }
23618 cat >conftest.$ac_ext <<_ACEOF
23619 #line $LINENO "configure"
23622 cat confdefs.h >>conftest.$ac_ext
23623 cat >>conftest.$ac_ext <<_ACEOF
23624 /* end confdefs.h. */
23634 rm -f conftest.$ac_objext conftest$ac_exeext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23636 (eval $ac_link) 2>&5
23638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639 (exit $ac_status); } &&
23640 { ac_try='test -s conftest$ac_exeext'
23641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23642 (eval $ac_try) 2>&5
23644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23645 (exit $ac_status); }; }; then
23646 glibcxx_cv_func___builtin_sinl_link=yes
23648 echo "$as_me: failed program was:" >&5
23649 sed 's/^/| /' conftest.$ac_ext >&5
23651 glibcxx_cv_func___builtin_sinl_link=no
23653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
23659 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
23660 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
23661 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23662 cat >>confdefs.h <<_ACEOF
23663 #define ${ac_tr_func} 1
23671 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
23672 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
23673 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
23674 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
23675 echo $ECHO_N "(cached) $ECHO_C" >&6
23681 ac_cpp='$CXXCPP $CPPFLAGS'
23682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23686 cat >conftest.$ac_ext <<_ACEOF
23687 #line $LINENO "configure"
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23702 rm -f conftest.$ac_objext
23703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23704 (eval $ac_compile) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); } &&
23708 { ac_try='test -s conftest.$ac_objext'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23714 glibcxx_cv_func___builtin_cosf_use=yes
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.$ac_ext >&5
23719 glibcxx_cv_func___builtin_cosf_use=no
23721 rm -f conftest.$ac_objext conftest.$ac_ext
23723 ac_cpp='$CPP $CPPFLAGS'
23724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23732 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
23733 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
23734 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
23735 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
23736 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
23737 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
23738 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
23739 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 if test x$gcc_no_link = xyes; then
23743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23745 { (exit 1); exit 1; }; }
23747 cat >conftest.$ac_ext <<_ACEOF
23748 #line $LINENO "configure"
23751 cat confdefs.h >>conftest.$ac_ext
23752 cat >>conftest.$ac_ext <<_ACEOF
23753 /* end confdefs.h. */
23763 rm -f conftest.$ac_objext conftest$ac_exeext
23764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23765 (eval $ac_link) 2>&5
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); } &&
23769 { ac_try='test -s conftest$ac_exeext'
23770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23771 (eval $ac_try) 2>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); }; }; then
23775 glibcxx_cv_func___builtin_cosf_link=yes
23777 echo "$as_me: failed program was:" >&5
23778 sed 's/^/| /' conftest.$ac_ext >&5
23780 glibcxx_cv_func___builtin_cosf_link=no
23782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23787 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
23788 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
23789 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
23790 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23791 cat >>confdefs.h <<_ACEOF
23792 #define ${ac_tr_func} 1
23799 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
23800 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
23801 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
23802 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23809 ac_cpp='$CXXCPP $CPPFLAGS'
23810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23814 cat >conftest.$ac_ext <<_ACEOF
23815 #line $LINENO "configure"
23818 cat confdefs.h >>conftest.$ac_ext
23819 cat >>conftest.$ac_ext <<_ACEOF
23820 /* end confdefs.h. */
23830 rm -f conftest.$ac_objext
23831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23832 (eval $ac_compile) 2>&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } &&
23836 { ac_try='test -s conftest.$ac_objext'
23837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23838 (eval $ac_try) 2>&5
23840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23841 (exit $ac_status); }; }; then
23842 glibcxx_cv_func___builtin_cos_use=yes
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23847 glibcxx_cv_func___builtin_cos_use=no
23849 rm -f conftest.$ac_objext conftest.$ac_ext
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23860 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
23861 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
23862 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
23863 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
23864 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
23865 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
23866 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
23867 echo $ECHO_N "(cached) $ECHO_C" >&6
23870 if test x$gcc_no_link = xyes; then
23871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23873 { (exit 1); exit 1; }; }
23875 cat >conftest.$ac_ext <<_ACEOF
23876 #line $LINENO "configure"
23879 cat confdefs.h >>conftest.$ac_ext
23880 cat >>conftest.$ac_ext <<_ACEOF
23881 /* end confdefs.h. */
23891 rm -f conftest.$ac_objext conftest$ac_exeext
23892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23893 (eval $ac_link) 2>&5
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); } &&
23897 { ac_try='test -s conftest$ac_exeext'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; }; then
23903 glibcxx_cv_func___builtin_cos_link=yes
23905 echo "$as_me: failed program was:" >&5
23906 sed 's/^/| /' conftest.$ac_ext >&5
23908 glibcxx_cv_func___builtin_cos_link=no
23910 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23915 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
23916 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
23917 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
23918 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23919 cat >>confdefs.h <<_ACEOF
23920 #define ${ac_tr_func} 1
23927 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
23928 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
23929 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
23930 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23937 ac_cpp='$CXXCPP $CPPFLAGS'
23938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23942 cat >conftest.$ac_ext <<_ACEOF
23943 #line $LINENO "configure"
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23958 rm -f conftest.$ac_objext
23959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23960 (eval $ac_compile) 2>&5
23962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23963 (exit $ac_status); } &&
23964 { ac_try='test -s conftest.$ac_objext'
23965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23966 (eval $ac_try) 2>&5
23968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23969 (exit $ac_status); }; }; then
23970 glibcxx_cv_func___builtin_cosl_use=yes
23972 echo "$as_me: failed program was:" >&5
23973 sed 's/^/| /' conftest.$ac_ext >&5
23975 glibcxx_cv_func___builtin_cosl_use=no
23977 rm -f conftest.$ac_objext conftest.$ac_ext
23979 ac_cpp='$CPP $CPPFLAGS'
23980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
23989 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
23990 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
23991 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
23992 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
23993 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
23994 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
23995 echo $ECHO_N "(cached) $ECHO_C" >&6
23998 if test x$gcc_no_link = xyes; then
23999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24001 { (exit 1); exit 1; }; }
24003 cat >conftest.$ac_ext <<_ACEOF
24004 #line $LINENO "configure"
24007 cat confdefs.h >>conftest.$ac_ext
24008 cat >>conftest.$ac_ext <<_ACEOF
24009 /* end confdefs.h. */
24019 rm -f conftest.$ac_objext conftest$ac_exeext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24021 (eval $ac_link) 2>&5
24023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24024 (exit $ac_status); } &&
24025 { ac_try='test -s conftest$ac_exeext'
24026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24027 (eval $ac_try) 2>&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); }; }; then
24031 glibcxx_cv_func___builtin_cosl_link=yes
24033 echo "$as_me: failed program was:" >&5
24034 sed 's/^/| /' conftest.$ac_ext >&5
24036 glibcxx_cv_func___builtin_cosl_link=no
24038 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24043 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
24044 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
24045 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
24046 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
24047 cat >>confdefs.h <<_ACEOF
24048 #define ${ac_tr_func} 1
24056 if test x$dummyvar = x"yes"; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE___BUILTIN_ABS 1
24061 cat >>confdefs.h <<\_ACEOF
24062 #define HAVE___BUILTIN_LABS 1
24065 cat >>confdefs.h <<\_ACEOF
24066 #define HAVE___BUILTIN_COS 1
24069 cat >>confdefs.h <<\_ACEOF
24070 #define HAVE___BUILTIN_COSF 1
24073 cat >>confdefs.h <<\_ACEOF
24074 #define HAVE___BUILTIN_COSL 1
24077 cat >>confdefs.h <<\_ACEOF
24078 #define HAVE___BUILTIN_FABS 1
24081 cat >>confdefs.h <<\_ACEOF
24082 #define HAVE___BUILTIN_FABSF 1
24085 cat >>confdefs.h <<\_ACEOF
24086 #define HAVE___BUILTIN_FABSL 1
24089 cat >>confdefs.h <<\_ACEOF
24090 #define HAVE___BUILTIN_SIN 1
24093 cat >>confdefs.h <<\_ACEOF
24094 #define HAVE___BUILTIN_SINF 1
24097 cat >>confdefs.h <<\_ACEOF
24098 #define HAVE___BUILTIN_SINL 1
24101 cat >>confdefs.h <<\_ACEOF
24102 #define HAVE___BUILTIN_SQRT 1
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE___BUILTIN_SQRTF 1
24109 cat >>confdefs.h <<\_ACEOF
24110 #define HAVE___BUILTIN_SQRTL 1
24117 echo "$as_me:$LINENO: checking for main in -lm" >&5
24118 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
24119 if test "${ac_cv_lib_m_main+set}" = set; then
24120 echo $ECHO_N "(cached) $ECHO_C" >&6
24122 ac_check_lib_save_LIBS=$LIBS
24124 if test x$gcc_no_link = xyes; then
24125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24127 { (exit 1); exit 1; }; }
24129 cat >conftest.$ac_ext <<_ACEOF
24130 #line $LINENO "configure"
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24146 rm -f conftest.$ac_objext conftest$ac_exeext
24147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24148 (eval $ac_link) 2>&5
24150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151 (exit $ac_status); } &&
24152 { ac_try='test -s conftest$ac_exeext'
24153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24154 (eval $ac_try) 2>&5
24156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24157 (exit $ac_status); }; }; then
24158 ac_cv_lib_m_main=yes
24160 echo "$as_me: failed program was:" >&5
24161 sed 's/^/| /' conftest.$ac_ext >&5
24163 ac_cv_lib_m_main=no
24165 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24166 LIBS=$ac_check_lib_save_LIBS
24168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
24169 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
24170 if test $ac_cv_lib_m_main = yes; then
24171 cat >>confdefs.h <<_ACEOF
24172 #define HAVE_LIBM 1
24180 for ac_func in copysignf
24182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24183 echo "$as_me:$LINENO: checking for $ac_func" >&5
24184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24185 if eval "test \"\${$as_ac_var+set}\" = set"; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24188 if test x$gcc_no_link = xyes; then
24189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24191 { (exit 1); exit 1; }; }
24193 cat >conftest.$ac_ext <<_ACEOF
24194 #line $LINENO "configure"
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24200 /* System header to define __stub macros and hopefully few prototypes,
24201 which can conflict with char $ac_func (); below.
24202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24203 <limits.h> exists even on freestanding compilers. */
24205 # include <limits.h>
24207 # include <assert.h>
24209 /* Override any gcc2 internal prototype to avoid an error. */
24214 /* We use char because int might match the return type of a gcc2
24215 builtin and then its argument prototype would still apply. */
24217 /* The GNU C library defines this for functions which it implements
24218 to always fail with ENOSYS. Some functions are actually named
24219 something starting with __ and the normal name is an alias. */
24220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24223 char (*f) () = $ac_func;
24232 return f != $ac_func;
24237 rm -f conftest.$ac_objext conftest$ac_exeext
24238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24239 (eval $ac_link) 2>&5
24241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24242 (exit $ac_status); } &&
24243 { ac_try='test -s conftest$ac_exeext'
24244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24245 (eval $ac_try) 2>&5
24247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24248 (exit $ac_status); }; }; then
24249 eval "$as_ac_var=yes"
24251 echo "$as_me: failed program was:" >&5
24252 sed 's/^/| /' conftest.$ac_ext >&5
24254 eval "$as_ac_var=no"
24256 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24260 if test `eval echo '${'$as_ac_var'}'` = yes; then
24261 cat >>confdefs.h <<_ACEOF
24262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24266 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
24272 for ac_func in __signbit
24274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24275 echo "$as_me:$LINENO: checking for $ac_func" >&5
24276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24277 if eval "test \"\${$as_ac_var+set}\" = set"; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 if test x$gcc_no_link = xyes; then
24281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24283 { (exit 1); exit 1; }; }
24285 cat >conftest.$ac_ext <<_ACEOF
24286 #line $LINENO "configure"
24289 cat confdefs.h >>conftest.$ac_ext
24290 cat >>conftest.$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24292 /* System header to define __stub macros and hopefully few prototypes,
24293 which can conflict with char $ac_func (); below.
24294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24295 <limits.h> exists even on freestanding compilers. */
24297 # include <limits.h>
24299 # include <assert.h>
24301 /* Override any gcc2 internal prototype to avoid an error. */
24306 /* We use char because int might match the return type of a gcc2
24307 builtin and then its argument prototype would still apply. */
24309 /* The GNU C library defines this for functions which it implements
24310 to always fail with ENOSYS. Some functions are actually named
24311 something starting with __ and the normal name is an alias. */
24312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24315 char (*f) () = $ac_func;
24324 return f != $ac_func;
24329 rm -f conftest.$ac_objext conftest$ac_exeext
24330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24331 (eval $ac_link) 2>&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -s conftest$ac_exeext'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; }; then
24341 eval "$as_ac_var=yes"
24343 echo "$as_me: failed program was:" >&5
24344 sed 's/^/| /' conftest.$ac_ext >&5
24346 eval "$as_ac_var=no"
24348 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24352 if test `eval echo '${'$as_ac_var'}'` = yes; then
24353 cat >>confdefs.h <<_ACEOF
24354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24358 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
24363 for ac_func in __signbitf
24365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24366 echo "$as_me:$LINENO: checking for $ac_func" >&5
24367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24368 if eval "test \"\${$as_ac_var+set}\" = set"; then
24369 echo $ECHO_N "(cached) $ECHO_C" >&6
24371 if test x$gcc_no_link = xyes; then
24372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24374 { (exit 1); exit 1; }; }
24376 cat >conftest.$ac_ext <<_ACEOF
24377 #line $LINENO "configure"
24380 cat confdefs.h >>conftest.$ac_ext
24381 cat >>conftest.$ac_ext <<_ACEOF
24382 /* end confdefs.h. */
24383 /* System header to define __stub macros and hopefully few prototypes,
24384 which can conflict with char $ac_func (); below.
24385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24386 <limits.h> exists even on freestanding compilers. */
24388 # include <limits.h>
24390 # include <assert.h>
24392 /* Override any gcc2 internal prototype to avoid an error. */
24397 /* We use char because int might match the return type of a gcc2
24398 builtin and then its argument prototype would still apply. */
24400 /* The GNU C library defines this for functions which it implements
24401 to always fail with ENOSYS. Some functions are actually named
24402 something starting with __ and the normal name is an alias. */
24403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24406 char (*f) () = $ac_func;
24415 return f != $ac_func;
24420 rm -f conftest.$ac_objext conftest$ac_exeext
24421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24422 (eval $ac_link) 2>&5
24424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24425 (exit $ac_status); } &&
24426 { ac_try='test -s conftest$ac_exeext'
24427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24428 (eval $ac_try) 2>&5
24430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24431 (exit $ac_status); }; }; then
24432 eval "$as_ac_var=yes"
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.$ac_ext >&5
24437 eval "$as_ac_var=no"
24439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24443 if test `eval echo '${'$as_ac_var'}'` = yes; then
24444 cat >>confdefs.h <<_ACEOF
24445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24449 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
24454 if test x$ac_cv_func_copysignl = x"yes"; then
24456 for ac_func in __signbitl
24458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24459 echo "$as_me:$LINENO: checking for $ac_func" >&5
24460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24461 if eval "test \"\${$as_ac_var+set}\" = set"; then
24462 echo $ECHO_N "(cached) $ECHO_C" >&6
24464 if test x$gcc_no_link = xyes; then
24465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24467 { (exit 1); exit 1; }; }
24469 cat >conftest.$ac_ext <<_ACEOF
24470 #line $LINENO "configure"
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24476 /* System header to define __stub macros and hopefully few prototypes,
24477 which can conflict with char $ac_func (); below.
24478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24479 <limits.h> exists even on freestanding compilers. */
24481 # include <limits.h>
24483 # include <assert.h>
24485 /* Override any gcc2 internal prototype to avoid an error. */
24490 /* We use char because int might match the return type of a gcc2
24491 builtin and then its argument prototype would still apply. */
24493 /* The GNU C library defines this for functions which it implements
24494 to always fail with ENOSYS. Some functions are actually named
24495 something starting with __ and the normal name is an alias. */
24496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24499 char (*f) () = $ac_func;
24508 return f != $ac_func;
24513 rm -f conftest.$ac_objext conftest$ac_exeext
24514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24515 (eval $ac_link) 2>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); } &&
24519 { ac_try='test -s conftest$ac_exeext'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; }; then
24525 eval "$as_ac_var=yes"
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24530 eval "$as_ac_var=no"
24532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24536 if test `eval echo '${'$as_ac_var'}'` = yes; then
24537 cat >>confdefs.h <<_ACEOF
24538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24542 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
24548 # XXX Review this. Nothing uses it.
24549 if test -n "$LIBMATHOBJS"; then
24555 # Test wchar.h for mbstate_t, which is needed for char_traits and
24556 # others even if wchar_t support is not on.
24557 echo "$as_me:$LINENO: checking for mbstate_t" >&5
24558 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
24559 cat >conftest.$ac_ext <<_ACEOF
24560 #line $LINENO "configure"
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24570 mbstate_t teststate;
24575 rm -f conftest.$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577 (eval $ac_compile) 2>&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); } &&
24581 { ac_try='test -s conftest.$ac_objext'
24582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24583 (eval $ac_try) 2>&5
24585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24586 (exit $ac_status); }; }; then
24589 echo "$as_me: failed program was:" >&5
24590 sed 's/^/| /' conftest.$ac_ext >&5
24594 rm -f conftest.$ac_objext conftest.$ac_ext
24595 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
24596 echo "${ECHO_T}$have_mbstate_t" >&6
24597 if test x"$have_mbstate_t" = xyes; then
24598 cat >>confdefs.h <<\_ACEOF
24599 #define HAVE_MBSTATE_T 1
24604 # Sanity check for existence of ISO C99 headers for extended encoding.
24606 for ac_header in wchar.h
24608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24610 echo "$as_me:$LINENO: checking for $ac_header" >&5
24611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24613 echo $ECHO_N "(cached) $ECHO_C" >&6
24615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24616 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24618 # Is the header compilable?
24619 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24620 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24621 cat >conftest.$ac_ext <<_ACEOF
24622 #line $LINENO "configure"
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628 $ac_includes_default
24629 #include <$ac_header>
24631 rm -f conftest.$ac_objext
24632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24633 (eval $ac_compile) 2>&5
24635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636 (exit $ac_status); } &&
24637 { ac_try='test -s conftest.$ac_objext'
24638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24639 (eval $ac_try) 2>&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); }; }; then
24643 ac_header_compiler=yes
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24648 ac_header_compiler=no
24650 rm -f conftest.$ac_objext conftest.$ac_ext
24651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24652 echo "${ECHO_T}$ac_header_compiler" >&6
24654 # Is the header present?
24655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24657 cat >conftest.$ac_ext <<_ACEOF
24658 #line $LINENO "configure"
24661 cat confdefs.h >>conftest.$ac_ext
24662 cat >>conftest.$ac_ext <<_ACEOF
24663 /* end confdefs.h. */
24664 #include <$ac_header>
24666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24669 grep -v '^ *+' conftest.er1 >conftest.err
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } >/dev/null; then
24674 if test -s conftest.err; then
24675 ac_cpp_err=$ac_c_preproc_warn_flag
24682 if test -z "$ac_cpp_err"; then
24683 ac_header_preproc=yes
24685 echo "$as_me: failed program was:" >&5
24686 sed 's/^/| /' conftest.$ac_ext >&5
24688 ac_header_preproc=no
24690 rm -f conftest.err conftest.$ac_ext
24691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24692 echo "${ECHO_T}$ac_header_preproc" >&6
24694 # So? What about this header?
24695 case $ac_header_compiler:$ac_header_preproc in
24697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24703 ## ------------------------------------ ##
24704 ## Report this to bug-autoconf@gnu.org. ##
24705 ## ------------------------------------ ##
24708 sed "s/^/$as_me: WARNING: /" >&2
24711 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24712 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24713 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24714 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
24728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24730 echo $ECHO_N "(cached) $ECHO_C" >&6
24732 eval "$as_ac_Header=$ac_header_preproc"
24734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24739 cat >>confdefs.h <<_ACEOF
24740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24750 for ac_header in wctype.h
24752 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24754 echo "$as_me:$LINENO: checking for $ac_header" >&5
24755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24756 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24757 echo $ECHO_N "(cached) $ECHO_C" >&6
24759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24762 # Is the header compilable?
24763 echo "$as_me:$LINENO: checking $ac_header usability" >&5
24764 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
24765 cat >conftest.$ac_ext <<_ACEOF
24766 #line $LINENO "configure"
24769 cat confdefs.h >>conftest.$ac_ext
24770 cat >>conftest.$ac_ext <<_ACEOF
24771 /* end confdefs.h. */
24772 $ac_includes_default
24773 #include <$ac_header>
24775 rm -f conftest.$ac_objext
24776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24777 (eval $ac_compile) 2>&5
24779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24780 (exit $ac_status); } &&
24781 { ac_try='test -s conftest.$ac_objext'
24782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24783 (eval $ac_try) 2>&5
24785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786 (exit $ac_status); }; }; then
24787 ac_header_compiler=yes
24789 echo "$as_me: failed program was:" >&5
24790 sed 's/^/| /' conftest.$ac_ext >&5
24792 ac_header_compiler=no
24794 rm -f conftest.$ac_objext conftest.$ac_ext
24795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24796 echo "${ECHO_T}$ac_header_compiler" >&6
24798 # Is the header present?
24799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
24800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
24801 cat >conftest.$ac_ext <<_ACEOF
24802 #line $LINENO "configure"
24805 cat confdefs.h >>conftest.$ac_ext
24806 cat >>conftest.$ac_ext <<_ACEOF
24807 /* end confdefs.h. */
24808 #include <$ac_header>
24810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24811 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24813 grep -v '^ *+' conftest.er1 >conftest.err
24815 cat conftest.err >&5
24816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24817 (exit $ac_status); } >/dev/null; then
24818 if test -s conftest.err; then
24819 ac_cpp_err=$ac_c_preproc_warn_flag
24826 if test -z "$ac_cpp_err"; then
24827 ac_header_preproc=yes
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24832 ac_header_preproc=no
24834 rm -f conftest.err conftest.$ac_ext
24835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24836 echo "${ECHO_T}$ac_header_preproc" >&6
24838 # So? What about this header?
24839 case $ac_header_compiler:$ac_header_preproc in
24841 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24847 ## ------------------------------------ ##
24848 ## Report this to bug-autoconf@gnu.org. ##
24849 ## ------------------------------------ ##
24852 sed "s/^/$as_me: WARNING: /" >&2
24855 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24856 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24857 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24858 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&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: checking for $ac_header" >&5
24872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
24873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
24874 echo $ECHO_N "(cached) $ECHO_C" >&6
24876 eval "$as_ac_Header=$ac_header_preproc"
24878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
24879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
24883 cat >>confdefs.h <<_ACEOF
24884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24886 ac_has_wctype_h=yes
24894 # Only continue checking if the ISO C99 headers exist and support is on.
24895 if test x"$ac_has_wchar_h" = xyes &&
24896 test x"$ac_has_wctype_h" = xyes &&
24897 test x"$enable_c_mbchar" != xno; then
24899 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
24900 # numeric_limits can instantiate type_traits<wchar_t>
24901 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
24902 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
24903 cat >conftest.$ac_ext <<_ACEOF
24904 #line $LINENO "configure"
24907 cat confdefs.h >>conftest.$ac_ext
24908 cat >>conftest.$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24914 int i = WCHAR_MIN; int j = WCHAR_MAX;
24919 rm -f conftest.$ac_objext
24920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24921 (eval $ac_compile) 2>&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } &&
24925 { ac_try='test -s conftest.$ac_objext'
24926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927 (eval $ac_try) 2>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); }; }; then
24931 has_wchar_minmax=yes
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24936 has_wchar_minmax=no
24938 rm -f conftest.$ac_objext conftest.$ac_ext
24939 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
24940 echo "${ECHO_T}$has_wchar_minmax" >&6
24942 # Test wchar.h for WEOF, which is what we use to determine whether
24943 # to specialize for char_traits<wchar_t> or not.
24944 echo "$as_me:$LINENO: checking for WEOF" >&5
24945 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
24946 cat >conftest.$ac_ext <<_ACEOF
24947 #line $LINENO "configure"
24950 cat confdefs.h >>conftest.$ac_ext
24951 cat >>conftest.$ac_ext <<_ACEOF
24952 /* end confdefs.h. */
24955 #include <stddef.h>
24964 rm -f conftest.$ac_objext
24965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24966 (eval $ac_compile) 2>&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); } &&
24970 { ac_try='test -s conftest.$ac_objext'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; }; then
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24983 rm -f conftest.$ac_objext conftest.$ac_ext
24984 echo "$as_me:$LINENO: result: $has_weof" >&5
24985 echo "${ECHO_T}$has_weof" >&6
24987 # Tests for wide character functions used in char_traits<wchar_t>.
24995 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
24997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24998 echo "$as_me:$LINENO: checking for $ac_func" >&5
24999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25000 if eval "test \"\${$as_ac_var+set}\" = set"; then
25001 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 if test x$gcc_no_link = xyes; then
25004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25006 { (exit 1); exit 1; }; }
25008 cat >conftest.$ac_ext <<_ACEOF
25009 #line $LINENO "configure"
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25015 /* System header to define __stub macros and hopefully few prototypes,
25016 which can conflict with char $ac_func (); below.
25017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25018 <limits.h> exists even on freestanding compilers. */
25020 # include <limits.h>
25022 # include <assert.h>
25024 /* Override any gcc2 internal prototype to avoid an error. */
25029 /* We use char because int might match the return type of a gcc2
25030 builtin and then its argument prototype would still apply. */
25032 /* The GNU C library defines this for functions which it implements
25033 to always fail with ENOSYS. Some functions are actually named
25034 something starting with __ and the normal name is an alias. */
25035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25038 char (*f) () = $ac_func;
25047 return f != $ac_func;
25052 rm -f conftest.$ac_objext conftest$ac_exeext
25053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25054 (eval $ac_link) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); } &&
25058 { ac_try='test -s conftest$ac_exeext'
25059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060 (eval $ac_try) 2>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); }; }; then
25064 eval "$as_ac_var=yes"
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25069 eval "$as_ac_var=no"
25071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25074 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25075 if test `eval echo '${'$as_ac_var'}'` = yes; then
25076 cat >>confdefs.h <<_ACEOF
25077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25086 # Checks for names injected into std:: by the c_std headers.
25133 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
25134 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
25135 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
25136 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
25137 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
25138 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
25140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25141 echo "$as_me:$LINENO: checking for $ac_func" >&5
25142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25143 if eval "test \"\${$as_ac_var+set}\" = set"; then
25144 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 if test x$gcc_no_link = xyes; then
25147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25149 { (exit 1); exit 1; }; }
25151 cat >conftest.$ac_ext <<_ACEOF
25152 #line $LINENO "configure"
25155 cat confdefs.h >>conftest.$ac_ext
25156 cat >>conftest.$ac_ext <<_ACEOF
25157 /* end confdefs.h. */
25158 /* System header to define __stub macros and hopefully few prototypes,
25159 which can conflict with char $ac_func (); below.
25160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25161 <limits.h> exists even on freestanding compilers. */
25163 # include <limits.h>
25165 # include <assert.h>
25167 /* Override any gcc2 internal prototype to avoid an error. */
25172 /* We use char because int might match the return type of a gcc2
25173 builtin and then its argument prototype would still apply. */
25175 /* The GNU C library defines this for functions which it implements
25176 to always fail with ENOSYS. Some functions are actually named
25177 something starting with __ and the normal name is an alias. */
25178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25181 char (*f) () = $ac_func;
25190 return f != $ac_func;
25195 rm -f conftest.$ac_objext conftest$ac_exeext
25196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25197 (eval $ac_link) 2>&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); } &&
25201 { ac_try='test -s conftest$ac_exeext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 eval "$as_ac_var=yes"
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.$ac_ext >&5
25212 eval "$as_ac_var=no"
25214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25218 if test `eval echo '${'$as_ac_var'}'` = yes; then
25219 cat >>confdefs.h <<_ACEOF
25220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25229 # Checks for wide character functions that are not required
25230 # for basic wchar_t support. Don't disable support if they are missing.
25231 # Injection of these is wrapped with guard macros.
25237 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
25239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25240 echo "$as_me:$LINENO: checking for $ac_func" >&5
25241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25242 if eval "test \"\${$as_ac_var+set}\" = set"; then
25243 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 if test x$gcc_no_link = xyes; then
25246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25248 { (exit 1); exit 1; }; }
25250 cat >conftest.$ac_ext <<_ACEOF
25251 #line $LINENO "configure"
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25257 /* System header to define __stub macros and hopefully few prototypes,
25258 which can conflict with char $ac_func (); below.
25259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25260 <limits.h> exists even on freestanding compilers. */
25262 # include <limits.h>
25264 # include <assert.h>
25266 /* Override any gcc2 internal prototype to avoid an error. */
25271 /* We use char because int might match the return type of a gcc2
25272 builtin and then its argument prototype would still apply. */
25274 /* The GNU C library defines this for functions which it implements
25275 to always fail with ENOSYS. Some functions are actually named
25276 something starting with __ and the normal name is an alias. */
25277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25280 char (*f) () = $ac_func;
25289 return f != $ac_func;
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>&5
25298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25299 (exit $ac_status); } &&
25300 { ac_try='test -s conftest$ac_exeext'
25301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25302 (eval $ac_try) 2>&5
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); }; }; then
25306 eval "$as_ac_var=yes"
25308 echo "$as_me: failed program was:" >&5
25309 sed 's/^/| /' conftest.$ac_ext >&5
25311 eval "$as_ac_var=no"
25313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25317 if test `eval echo '${'$as_ac_var'}'` = yes; then
25318 cat >>confdefs.h <<_ACEOF
25319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25326 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
25327 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
25328 if test x"$has_weof" = xyes &&
25329 test x"$has_wchar_minmax" = xyes &&
25330 test x"$ac_wfuncs" = xyes;
25332 ac_isoC99_wchar_t=yes
25334 ac_isoC99_wchar_t=no
25336 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
25337 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
25339 # Use iconv for wchar_t to char conversions. As such, check for
25340 # X/Open Portability Guide, version 2 features (XPG2).
25341 if test "${ac_cv_header_iconv_h+set}" = set; then
25342 echo "$as_me:$LINENO: checking for iconv.h" >&5
25343 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25344 if test "${ac_cv_header_iconv_h+set}" = set; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25347 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25348 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25350 # Is the header compilable?
25351 echo "$as_me:$LINENO: checking iconv.h usability" >&5
25352 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
25353 cat >conftest.$ac_ext <<_ACEOF
25354 #line $LINENO "configure"
25357 cat confdefs.h >>conftest.$ac_ext
25358 cat >>conftest.$ac_ext <<_ACEOF
25359 /* end confdefs.h. */
25360 $ac_includes_default
25363 rm -f conftest.$ac_objext
25364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25365 (eval $ac_compile) 2>&5
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); } &&
25369 { ac_try='test -s conftest.$ac_objext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 ac_header_compiler=yes
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25380 ac_header_compiler=no
25382 rm -f conftest.$ac_objext conftest.$ac_ext
25383 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25384 echo "${ECHO_T}$ac_header_compiler" >&6
25386 # Is the header present?
25387 echo "$as_me:$LINENO: checking iconv.h presence" >&5
25388 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
25389 cat >conftest.$ac_ext <<_ACEOF
25390 #line $LINENO "configure"
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25401 grep -v '^ *+' conftest.er1 >conftest.err
25403 cat conftest.err >&5
25404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25405 (exit $ac_status); } >/dev/null; then
25406 if test -s conftest.err; then
25407 ac_cpp_err=$ac_c_preproc_warn_flag
25414 if test -z "$ac_cpp_err"; then
25415 ac_header_preproc=yes
25417 echo "$as_me: failed program was:" >&5
25418 sed 's/^/| /' conftest.$ac_ext >&5
25420 ac_header_preproc=no
25422 rm -f conftest.err conftest.$ac_ext
25423 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25424 echo "${ECHO_T}$ac_header_preproc" >&6
25426 # So? What about this header?
25427 case $ac_header_compiler:$ac_header_preproc in
25429 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
25430 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25431 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
25432 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
25435 ## ------------------------------------ ##
25436 ## Report this to bug-autoconf@gnu.org. ##
25437 ## ------------------------------------ ##
25440 sed "s/^/$as_me: WARNING: /" >&2
25443 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
25444 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
25445 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
25446 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&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: checking for iconv.h" >&5
25460 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
25461 if test "${ac_cv_header_iconv_h+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 ac_cv_header_iconv_h=$ac_header_preproc
25466 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
25467 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
25470 if test $ac_cv_header_iconv_h = yes; then
25477 if test "${ac_cv_header_langinfo_h+set}" = set; then
25478 echo "$as_me:$LINENO: checking for langinfo.h" >&5
25479 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25480 if test "${ac_cv_header_langinfo_h+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25483 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25484 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25486 # Is the header compilable?
25487 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
25488 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
25489 cat >conftest.$ac_ext <<_ACEOF
25490 #line $LINENO "configure"
25493 cat confdefs.h >>conftest.$ac_ext
25494 cat >>conftest.$ac_ext <<_ACEOF
25495 /* end confdefs.h. */
25496 $ac_includes_default
25497 #include <langinfo.h>
25499 rm -f conftest.$ac_objext
25500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25501 (eval $ac_compile) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); } &&
25505 { ac_try='test -s conftest.$ac_objext'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; }; then
25511 ac_header_compiler=yes
25513 echo "$as_me: failed program was:" >&5
25514 sed 's/^/| /' conftest.$ac_ext >&5
25516 ac_header_compiler=no
25518 rm -f conftest.$ac_objext conftest.$ac_ext
25519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25520 echo "${ECHO_T}$ac_header_compiler" >&6
25522 # Is the header present?
25523 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
25524 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
25525 cat >conftest.$ac_ext <<_ACEOF
25526 #line $LINENO "configure"
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532 #include <langinfo.h>
25534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25537 grep -v '^ *+' conftest.er1 >conftest.err
25539 cat conftest.err >&5
25540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25541 (exit $ac_status); } >/dev/null; then
25542 if test -s conftest.err; then
25543 ac_cpp_err=$ac_c_preproc_warn_flag
25550 if test -z "$ac_cpp_err"; then
25551 ac_header_preproc=yes
25553 echo "$as_me: failed program was:" >&5
25554 sed 's/^/| /' conftest.$ac_ext >&5
25556 ac_header_preproc=no
25558 rm -f conftest.err conftest.$ac_ext
25559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25560 echo "${ECHO_T}$ac_header_preproc" >&6
25562 # So? What about this header?
25563 case $ac_header_compiler:$ac_header_preproc in
25565 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
25566 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25567 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
25568 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
25571 ## ------------------------------------ ##
25572 ## Report this to bug-autoconf@gnu.org. ##
25573 ## ------------------------------------ ##
25576 sed "s/^/$as_me: WARNING: /" >&2
25579 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
25580 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
25581 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
25582 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&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: checking for langinfo.h" >&5
25596 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
25597 if test "${ac_cv_header_langinfo_h+set}" = set; then
25598 echo $ECHO_N "(cached) $ECHO_C" >&6
25600 ac_cv_header_langinfo_h=$ac_header_preproc
25602 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
25603 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
25606 if test $ac_cv_header_langinfo_h = yes; then
25607 ac_has_langinfo_h=yes
25609 ac_has_langinfo_h=no
25614 # Check for existence of libiconv.a providing XPG2 wchar_t support.
25615 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
25616 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
25617 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
25618 echo $ECHO_N "(cached) $ECHO_C" >&6
25620 ac_check_lib_save_LIBS=$LIBS
25621 LIBS="-liconv $LIBS"
25622 if test x$gcc_no_link = xyes; then
25623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25625 { (exit 1); exit 1; }; }
25627 cat >conftest.$ac_ext <<_ACEOF
25628 #line $LINENO "configure"
25631 cat confdefs.h >>conftest.$ac_ext
25632 cat >>conftest.$ac_ext <<_ACEOF
25633 /* end confdefs.h. */
25635 /* Override any gcc2 internal prototype to avoid an error. */
25639 /* We use char because int might match the return type of a gcc2
25640 builtin and then its argument prototype would still apply. */
25650 rm -f conftest.$ac_objext conftest$ac_exeext
25651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25652 (eval $ac_link) 2>&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } &&
25656 { ac_try='test -s conftest$ac_exeext'
25657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25658 (eval $ac_try) 2>&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); }; }; then
25662 ac_cv_lib_iconv_iconv=yes
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25667 ac_cv_lib_iconv_iconv=no
25669 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25670 LIBS=$ac_check_lib_save_LIBS
25672 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
25673 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
25674 if test $ac_cv_lib_iconv_iconv = yes; then
25678 ac_save_LIBS="$LIBS"
25679 LIBS="$LIBS $libiconv"
25685 for ac_func in iconv_open iconv_close iconv nl_langinfo
25687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25688 echo "$as_me:$LINENO: checking for $ac_func" >&5
25689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25690 if eval "test \"\${$as_ac_var+set}\" = set"; then
25691 echo $ECHO_N "(cached) $ECHO_C" >&6
25693 if test x$gcc_no_link = xyes; then
25694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25696 { (exit 1); exit 1; }; }
25698 cat >conftest.$ac_ext <<_ACEOF
25699 #line $LINENO "configure"
25702 cat confdefs.h >>conftest.$ac_ext
25703 cat >>conftest.$ac_ext <<_ACEOF
25704 /* end confdefs.h. */
25705 /* System header to define __stub macros and hopefully few prototypes,
25706 which can conflict with char $ac_func (); below.
25707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25708 <limits.h> exists even on freestanding compilers. */
25710 # include <limits.h>
25712 # include <assert.h>
25714 /* Override any gcc2 internal prototype to avoid an error. */
25719 /* We use char because int might match the return type of a gcc2
25720 builtin and then its argument prototype would still apply. */
25722 /* The GNU C library defines this for functions which it implements
25723 to always fail with ENOSYS. Some functions are actually named
25724 something starting with __ and the normal name is an alias. */
25725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25728 char (*f) () = $ac_func;
25737 return f != $ac_func;
25742 rm -f conftest.$ac_objext conftest$ac_exeext
25743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25744 (eval $ac_link) 2>&5
25746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25747 (exit $ac_status); } &&
25748 { ac_try='test -s conftest$ac_exeext'
25749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25750 (eval $ac_try) 2>&5
25752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25753 (exit $ac_status); }; }; then
25754 eval "$as_ac_var=yes"
25756 echo "$as_me: failed program was:" >&5
25757 sed 's/^/| /' conftest.$ac_ext >&5
25759 eval "$as_ac_var=no"
25761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25765 if test `eval echo '${'$as_ac_var'}'` = yes; then
25766 cat >>confdefs.h <<_ACEOF
25767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25776 LIBS="$ac_save_LIBS"
25778 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
25779 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
25780 if test x"$ac_has_iconv_h" = xyes &&
25781 test x"$ac_has_langinfo_h" = xyes &&
25782 test x"$ac_XPG2funcs" = xyes;
25784 ac_XPG2_wchar_t=yes
25788 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
25789 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
25791 # At the moment, only enable wchar_t specializations if all the
25792 # above support is present.
25793 if test x"$ac_isoC99_wchar_t" = xyes &&
25794 test x"$ac_XPG2_wchar_t" = xyes;
25796 cat >>confdefs.h <<\_ACEOF
25797 #define _GLIBCXX_USE_WCHAR_T 1
25803 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
25804 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
25805 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
25806 echo "${ECHO_T}$enable_wchar_t" >&6
25809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25810 ac_save_CXXFLAGS="$CXXFLAGS"
25811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25814 echo "$as_me:$LINENO: checking for strtold declaration" >&5
25815 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
25816 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25817 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25824 ac_cpp='$CXXCPP $CPPFLAGS'
25825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25829 cat >conftest.$ac_ext <<_ACEOF
25830 #line $LINENO "configure"
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25836 #include <stdlib.h>
25845 rm -f conftest.$ac_objext
25846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25847 (eval $ac_compile) 2>&5
25849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25850 (exit $ac_status); } &&
25851 { ac_try='test -s conftest.$ac_objext'
25852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25853 (eval $ac_try) 2>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); }; }; then
25857 glibcxx_cv_func_strtold_use=yes
25859 echo "$as_me: failed program was:" >&5
25860 sed 's/^/| /' conftest.$ac_ext >&5
25862 glibcxx_cv_func_strtold_use=no
25864 rm -f conftest.$ac_objext conftest.$ac_ext
25866 ac_cpp='$CPP $CPPFLAGS'
25867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25875 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
25876 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
25877 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25879 for ac_func in strtold
25881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25882 echo "$as_me:$LINENO: checking for $ac_func" >&5
25883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25884 if eval "test \"\${$as_ac_var+set}\" = set"; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25887 if test x$gcc_no_link = xyes; then
25888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25890 { (exit 1); exit 1; }; }
25892 cat >conftest.$ac_ext <<_ACEOF
25893 #line $LINENO "configure"
25896 cat confdefs.h >>conftest.$ac_ext
25897 cat >>conftest.$ac_ext <<_ACEOF
25898 /* end confdefs.h. */
25899 /* System header to define __stub macros and hopefully few prototypes,
25900 which can conflict with char $ac_func (); below.
25901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25902 <limits.h> exists even on freestanding compilers. */
25904 # include <limits.h>
25906 # include <assert.h>
25908 /* Override any gcc2 internal prototype to avoid an error. */
25913 /* We use char because int might match the return type of a gcc2
25914 builtin and then its argument prototype would still apply. */
25916 /* The GNU C library defines this for functions which it implements
25917 to always fail with ENOSYS. Some functions are actually named
25918 something starting with __ and the normal name is an alias. */
25919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25922 char (*f) () = $ac_func;
25931 return f != $ac_func;
25936 rm -f conftest.$ac_objext conftest$ac_exeext
25937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25938 (eval $ac_link) 2>&5
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); } &&
25942 { ac_try='test -s conftest$ac_exeext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 eval "$as_ac_var=yes"
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25953 eval "$as_ac_var=no"
25955 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25959 if test `eval echo '${'$as_ac_var'}'` = yes; then
25960 cat >>confdefs.h <<_ACEOF
25961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25970 echo "$as_me:$LINENO: checking for strtof declaration" >&5
25971 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
25972 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25973 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
25974 echo $ECHO_N "(cached) $ECHO_C" >&6
25980 ac_cpp='$CXXCPP $CPPFLAGS'
25981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25985 cat >conftest.$ac_ext <<_ACEOF
25986 #line $LINENO "configure"
25989 cat confdefs.h >>conftest.$ac_ext
25990 cat >>conftest.$ac_ext <<_ACEOF
25991 /* end confdefs.h. */
25992 #include <stdlib.h>
26001 rm -f conftest.$ac_objext
26002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26003 (eval $ac_compile) 2>&5
26005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006 (exit $ac_status); } &&
26007 { ac_try='test -s conftest.$ac_objext'
26008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26009 (eval $ac_try) 2>&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); }; }; then
26013 glibcxx_cv_func_strtof_use=yes
26015 echo "$as_me: failed program was:" >&5
26016 sed 's/^/| /' conftest.$ac_ext >&5
26018 glibcxx_cv_func_strtof_use=no
26020 rm -f conftest.$ac_objext conftest.$ac_ext
26022 ac_cpp='$CPP $CPPFLAGS'
26023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
26032 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
26033 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26035 for ac_func in strtof
26037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26038 echo "$as_me:$LINENO: checking for $ac_func" >&5
26039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26040 if eval "test \"\${$as_ac_var+set}\" = set"; then
26041 echo $ECHO_N "(cached) $ECHO_C" >&6
26043 if test x$gcc_no_link = xyes; then
26044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26046 { (exit 1); exit 1; }; }
26048 cat >conftest.$ac_ext <<_ACEOF
26049 #line $LINENO "configure"
26052 cat confdefs.h >>conftest.$ac_ext
26053 cat >>conftest.$ac_ext <<_ACEOF
26054 /* end confdefs.h. */
26055 /* System header to define __stub macros and hopefully few prototypes,
26056 which can conflict with char $ac_func (); below.
26057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26058 <limits.h> exists even on freestanding compilers. */
26060 # include <limits.h>
26062 # include <assert.h>
26064 /* Override any gcc2 internal prototype to avoid an error. */
26069 /* We use char because int might match the return type of a gcc2
26070 builtin and then its argument prototype would still apply. */
26072 /* The GNU C library defines this for functions which it implements
26073 to always fail with ENOSYS. Some functions are actually named
26074 something starting with __ and the normal name is an alias. */
26075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26078 char (*f) () = $ac_func;
26087 return f != $ac_func;
26092 rm -f conftest.$ac_objext conftest$ac_exeext
26093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26094 (eval $ac_link) 2>&5
26096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26097 (exit $ac_status); } &&
26098 { ac_try='test -s conftest$ac_exeext'
26099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26100 (eval $ac_try) 2>&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); }; }; then
26104 eval "$as_ac_var=yes"
26106 echo "$as_me: failed program was:" >&5
26107 sed 's/^/| /' conftest.$ac_ext >&5
26109 eval "$as_ac_var=no"
26111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26115 if test `eval echo '${'$as_ac_var'}'` = yes; then
26116 cat >>confdefs.h <<_ACEOF
26117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26126 CXXFLAGS="$ac_save_CXXFLAGS"
26129 # For showmanyc_helper().
26132 for ac_header in sys/ioctl.h sys/filio.h
26134 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26135 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26136 echo "$as_me:$LINENO: checking for $ac_header" >&5
26137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26139 echo $ECHO_N "(cached) $ECHO_C" >&6
26141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26144 # Is the header compilable?
26145 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26146 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26147 cat >conftest.$ac_ext <<_ACEOF
26148 #line $LINENO "configure"
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154 $ac_includes_default
26155 #include <$ac_header>
26157 rm -f conftest.$ac_objext
26158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26159 (eval $ac_compile) 2>&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); } &&
26163 { ac_try='test -s conftest.$ac_objext'
26164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26165 (eval $ac_try) 2>&5
26167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26168 (exit $ac_status); }; }; then
26169 ac_header_compiler=yes
26171 echo "$as_me: failed program was:" >&5
26172 sed 's/^/| /' conftest.$ac_ext >&5
26174 ac_header_compiler=no
26176 rm -f conftest.$ac_objext conftest.$ac_ext
26177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26178 echo "${ECHO_T}$ac_header_compiler" >&6
26180 # Is the header present?
26181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26183 cat >conftest.$ac_ext <<_ACEOF
26184 #line $LINENO "configure"
26187 cat confdefs.h >>conftest.$ac_ext
26188 cat >>conftest.$ac_ext <<_ACEOF
26189 /* end confdefs.h. */
26190 #include <$ac_header>
26192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26195 grep -v '^ *+' conftest.er1 >conftest.err
26197 cat conftest.err >&5
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); } >/dev/null; then
26200 if test -s conftest.err; then
26201 ac_cpp_err=$ac_c_preproc_warn_flag
26208 if test -z "$ac_cpp_err"; then
26209 ac_header_preproc=yes
26211 echo "$as_me: failed program was:" >&5
26212 sed 's/^/| /' conftest.$ac_ext >&5
26214 ac_header_preproc=no
26216 rm -f conftest.err conftest.$ac_ext
26217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26218 echo "${ECHO_T}$ac_header_preproc" >&6
26220 # So? What about this header?
26221 case $ac_header_compiler:$ac_header_preproc in
26223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26229 ## ------------------------------------ ##
26230 ## Report this to bug-autoconf@gnu.org. ##
26231 ## ------------------------------------ ##
26234 sed "s/^/$as_me: WARNING: /" >&2
26237 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26238 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26239 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26240 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26245 ## ------------------------------------ ##
26246 ## Report this to bug-autoconf@gnu.org. ##
26247 ## ------------------------------------ ##
26250 sed "s/^/$as_me: WARNING: /" >&2
26253 echo "$as_me:$LINENO: checking for $ac_header" >&5
26254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26256 echo $ECHO_N "(cached) $ECHO_C" >&6
26258 eval "$as_ac_Header=$ac_header_preproc"
26260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26265 cat >>confdefs.h <<_ACEOF
26266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26274 if test "${glibcxx_cv_POLL+set}" = set; then
26275 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 if test x$gcc_no_link = xyes; then
26279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26281 { (exit 1); exit 1; }; }
26283 cat >conftest.$ac_ext <<_ACEOF
26284 #line $LINENO "configure"
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26294 struct pollfd pfd[1];
26295 pfd[0].events = POLLIN;
26301 rm -f conftest.$ac_objext conftest$ac_exeext
26302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26303 (eval $ac_link) 2>&5
26305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26306 (exit $ac_status); } &&
26307 { ac_try='test -s conftest$ac_exeext'
26308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26309 (eval $ac_try) 2>&5
26311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26312 (exit $ac_status); }; }; then
26313 glibcxx_cv_POLL=yes
26315 echo "$as_me: failed program was:" >&5
26316 sed 's/^/| /' conftest.$ac_ext >&5
26320 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26324 if test $glibcxx_cv_POLL = yes; then
26325 cat >>confdefs.h <<\_ACEOF
26326 #define HAVE_POLL 1
26332 if test "${glibcxx_cv_S_ISREG+set}" = set; then
26333 echo $ECHO_N "(cached) $ECHO_C" >&6
26336 if test x$gcc_no_link = xyes; then
26337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26339 { (exit 1); exit 1; }; }
26341 cat >conftest.$ac_ext <<_ACEOF
26342 #line $LINENO "configure"
26345 cat confdefs.h >>conftest.$ac_ext
26346 cat >>conftest.$ac_ext <<_ACEOF
26347 /* end confdefs.h. */
26348 #include <sys/stat.h>
26352 struct stat buffer;
26354 S_ISREG(buffer.st_mode);
26359 rm -f conftest.$ac_objext conftest$ac_exeext
26360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26361 (eval $ac_link) 2>&5
26363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26364 (exit $ac_status); } &&
26365 { ac_try='test -s conftest$ac_exeext'
26366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26367 (eval $ac_try) 2>&5
26369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26370 (exit $ac_status); }; }; then
26371 glibcxx_cv_S_ISREG=yes
26373 echo "$as_me: failed program was:" >&5
26374 sed 's/^/| /' conftest.$ac_ext >&5
26376 glibcxx_cv_S_ISREG=no
26378 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26382 if test "${glibcxx_cv_S_IFREG+set}" = set; then
26383 echo $ECHO_N "(cached) $ECHO_C" >&6
26386 if test x$gcc_no_link = xyes; then
26387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26389 { (exit 1); exit 1; }; }
26391 cat >conftest.$ac_ext <<_ACEOF
26392 #line $LINENO "configure"
26395 cat confdefs.h >>conftest.$ac_ext
26396 cat >>conftest.$ac_ext <<_ACEOF
26397 /* end confdefs.h. */
26398 #include <sys/stat.h>
26402 struct stat buffer;
26404 S_IFREG & buffer.st_mode;
26409 rm -f conftest.$ac_objext conftest$ac_exeext
26410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26411 (eval $ac_link) 2>&5
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); } &&
26415 { ac_try='test -s conftest$ac_exeext'
26416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26417 (eval $ac_try) 2>&5
26419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26420 (exit $ac_status); }; }; then
26421 glibcxx_cv_S_IFREG=yes
26423 echo "$as_me: failed program was:" >&5
26424 sed 's/^/| /' conftest.$ac_ext >&5
26426 glibcxx_cv_S_IFREG=no
26428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26432 if test $glibcxx_cv_S_ISREG = yes; then
26433 cat >>confdefs.h <<\_ACEOF
26434 #define HAVE_S_ISREG 1
26437 elif test $glibcxx_cv_S_IFREG = yes; then
26438 cat >>confdefs.h <<\_ACEOF
26439 #define HAVE_S_IFREG 1
26447 for ac_header in sys/uio.h
26449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26451 echo "$as_me:$LINENO: checking for $ac_header" >&5
26452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26454 echo $ECHO_N "(cached) $ECHO_C" >&6
26456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26459 # Is the header compilable?
26460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26462 cat >conftest.$ac_ext <<_ACEOF
26463 #line $LINENO "configure"
26466 cat confdefs.h >>conftest.$ac_ext
26467 cat >>conftest.$ac_ext <<_ACEOF
26468 /* end confdefs.h. */
26469 $ac_includes_default
26470 #include <$ac_header>
26472 rm -f conftest.$ac_objext
26473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26474 (eval $ac_compile) 2>&5
26476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26477 (exit $ac_status); } &&
26478 { ac_try='test -s conftest.$ac_objext'
26479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26480 (eval $ac_try) 2>&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); }; }; then
26484 ac_header_compiler=yes
26486 echo "$as_me: failed program was:" >&5
26487 sed 's/^/| /' conftest.$ac_ext >&5
26489 ac_header_compiler=no
26491 rm -f conftest.$ac_objext conftest.$ac_ext
26492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26493 echo "${ECHO_T}$ac_header_compiler" >&6
26495 # Is the header present?
26496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26498 cat >conftest.$ac_ext <<_ACEOF
26499 #line $LINENO "configure"
26502 cat confdefs.h >>conftest.$ac_ext
26503 cat >>conftest.$ac_ext <<_ACEOF
26504 /* end confdefs.h. */
26505 #include <$ac_header>
26507 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26508 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26510 grep -v '^ *+' conftest.er1 >conftest.err
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } >/dev/null; then
26515 if test -s conftest.err; then
26516 ac_cpp_err=$ac_c_preproc_warn_flag
26523 if test -z "$ac_cpp_err"; then
26524 ac_header_preproc=yes
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26529 ac_header_preproc=no
26531 rm -f conftest.err conftest.$ac_ext
26532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26533 echo "${ECHO_T}$ac_header_preproc" >&6
26535 # So? What about this header?
26536 case $ac_header_compiler:$ac_header_preproc in
26538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26541 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26544 ## ------------------------------------ ##
26545 ## Report this to bug-autoconf@gnu.org. ##
26546 ## ------------------------------------ ##
26549 sed "s/^/$as_me: WARNING: /" >&2
26552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26560 ## ------------------------------------ ##
26561 ## Report this to bug-autoconf@gnu.org. ##
26562 ## ------------------------------------ ##
26565 sed "s/^/$as_me: WARNING: /" >&2
26568 echo "$as_me:$LINENO: checking for $ac_header" >&5
26569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26571 echo $ECHO_N "(cached) $ECHO_C" >&6
26573 eval "$as_ac_Header=$ac_header_preproc"
26575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26580 cat >>confdefs.h <<_ACEOF
26581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26589 if test "${glibcxx_cv_WRITEV+set}" = set; then
26590 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 if test x$gcc_no_link = xyes; then
26594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26596 { (exit 1); exit 1; }; }
26598 cat >conftest.$ac_ext <<_ACEOF
26599 #line $LINENO "configure"
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605 #include <sys/uio.h>
26609 struct iovec iov[2];
26615 rm -f conftest.$ac_objext conftest$ac_exeext
26616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26617 (eval $ac_link) 2>&5
26619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620 (exit $ac_status); } &&
26621 { ac_try='test -s conftest$ac_exeext'
26622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26623 (eval $ac_try) 2>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); }; }; then
26627 glibcxx_cv_WRITEV=yes
26629 echo "$as_me: failed program was:" >&5
26630 sed 's/^/| /' conftest.$ac_ext >&5
26632 glibcxx_cv_WRITEV=no
26634 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26638 if test $glibcxx_cv_WRITEV = yes; then
26639 cat >>confdefs.h <<\_ACEOF
26640 #define HAVE_WRITEV 1
26646 # For the __streamoff_base_type typedef.
26648 if test "${glibcxx_cv_INT64_T+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26652 cat >conftest.$ac_ext <<_ACEOF
26653 #line $LINENO "configure"
26656 cat confdefs.h >>conftest.$ac_ext
26657 cat >>conftest.$ac_ext <<_ACEOF
26658 /* end confdefs.h. */
26659 #include <stdint.h>
26668 rm -f conftest.$ac_objext
26669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26670 (eval $ac_compile) 2>&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } &&
26674 { ac_try='test -s conftest.$ac_objext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 glibcxx_cv_INT64_T=yes
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26685 glibcxx_cv_INT64_T=no
26687 rm -f conftest.$ac_objext conftest.$ac_ext
26691 if test $glibcxx_cv_INT64_T = yes; then
26692 cat >>confdefs.h <<\_ACEOF
26693 #define HAVE_INT64_T 1
26704 ac_cpp='$CXXCPP $CPPFLAGS'
26705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26709 ac_save_CXXFLAGS="$CXXFLAGS"
26710 CXXFLAGS="$CXXFLAGS -fno-exceptions"
26711 if test "${glibcxx_cv_LFS+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 if test x$gcc_no_link = xyes; then
26716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26718 { (exit 1); exit 1; }; }
26720 cat >conftest.$ac_ext <<_ACEOF
26721 #line $LINENO "configure"
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 #include <unistd.h>
26735 fseeko64(fp, 0, SEEK_CUR);
26737 lseek64(1, 0, SEEK_CUR);
26742 rm -f conftest.$ac_objext conftest$ac_exeext
26743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26744 (eval $ac_link) 2>&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } &&
26748 { ac_try='test -s conftest$ac_exeext'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; }; then
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26765 if test $glibcxx_cv_LFS = yes; then
26766 cat >>confdefs.h <<\_ACEOF
26767 #define _GLIBCXX_USE_LFS 1
26771 CXXFLAGS="$ac_save_CXXFLAGS"
26773 ac_cpp='$CPP $CPPFLAGS'
26774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26781 if test "${ac_cv_header_locale_h+set}" = set; then
26782 echo "$as_me:$LINENO: checking for locale.h" >&5
26783 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26784 if test "${ac_cv_header_locale_h+set}" = set; then
26785 echo $ECHO_N "(cached) $ECHO_C" >&6
26787 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26788 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26790 # Is the header compilable?
26791 echo "$as_me:$LINENO: checking locale.h usability" >&5
26792 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
26793 cat >conftest.$ac_ext <<_ACEOF
26794 #line $LINENO "configure"
26797 cat confdefs.h >>conftest.$ac_ext
26798 cat >>conftest.$ac_ext <<_ACEOF
26799 /* end confdefs.h. */
26800 $ac_includes_default
26801 #include <locale.h>
26803 rm -f conftest.$ac_objext
26804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26805 (eval $ac_compile) 2>&5
26807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808 (exit $ac_status); } &&
26809 { ac_try='test -s conftest.$ac_objext'
26810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811 (eval $ac_try) 2>&5
26813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814 (exit $ac_status); }; }; then
26815 ac_header_compiler=yes
26817 echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.$ac_ext >&5
26820 ac_header_compiler=no
26822 rm -f conftest.$ac_objext conftest.$ac_ext
26823 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26824 echo "${ECHO_T}$ac_header_compiler" >&6
26826 # Is the header present?
26827 echo "$as_me:$LINENO: checking locale.h presence" >&5
26828 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
26829 cat >conftest.$ac_ext <<_ACEOF
26830 #line $LINENO "configure"
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836 #include <locale.h>
26838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26841 grep -v '^ *+' conftest.er1 >conftest.err
26843 cat conftest.err >&5
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); } >/dev/null; then
26846 if test -s conftest.err; then
26847 ac_cpp_err=$ac_c_preproc_warn_flag
26854 if test -z "$ac_cpp_err"; then
26855 ac_header_preproc=yes
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26860 ac_header_preproc=no
26862 rm -f conftest.err conftest.$ac_ext
26863 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26864 echo "${ECHO_T}$ac_header_preproc" >&6
26866 # So? What about this header?
26867 case $ac_header_compiler:$ac_header_preproc in
26869 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
26870 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26871 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26872 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26875 ## ------------------------------------ ##
26876 ## Report this to bug-autoconf@gnu.org. ##
26877 ## ------------------------------------ ##
26880 sed "s/^/$as_me: WARNING: /" >&2
26883 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
26884 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
26885 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
26886 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
26887 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
26888 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
26891 ## ------------------------------------ ##
26892 ## Report this to bug-autoconf@gnu.org. ##
26893 ## ------------------------------------ ##
26896 sed "s/^/$as_me: WARNING: /" >&2
26899 echo "$as_me:$LINENO: checking for locale.h" >&5
26900 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
26901 if test "${ac_cv_header_locale_h+set}" = set; then
26902 echo $ECHO_N "(cached) $ECHO_C" >&6
26904 ac_cv_header_locale_h=$ac_header_preproc
26906 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
26907 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
26910 if test $ac_cv_header_locale_h = yes; then
26912 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
26913 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
26914 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 if test x$gcc_no_link = xyes; then
26918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26920 { (exit 1); exit 1; }; }
26922 cat >conftest.$ac_ext <<_ACEOF
26923 #line $LINENO "configure"
26926 cat confdefs.h >>conftest.$ac_ext
26927 cat >>conftest.$ac_ext <<_ACEOF
26928 /* end confdefs.h. */
26929 #include <locale.h>
26938 rm -f conftest.$ac_objext conftest$ac_exeext
26939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26940 (eval $ac_link) 2>&5
26942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26943 (exit $ac_status); } &&
26944 { ac_try='test -s conftest$ac_exeext'
26945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26946 (eval $ac_try) 2>&5
26948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26949 (exit $ac_status); }; }; then
26950 ac_cv_val_LC_MESSAGES=yes
26952 echo "$as_me: failed program was:" >&5
26953 sed 's/^/| /' conftest.$ac_ext >&5
26955 ac_cv_val_LC_MESSAGES=no
26957 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
26959 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
26960 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
26961 if test $ac_cv_val_LC_MESSAGES = yes; then
26962 cat >>confdefs.h <<\_ACEOF
26963 #define HAVE_LC_MESSAGES 1
26973 cat >conftest.$ac_ext <<_ACEOF
26974 #line $LINENO "configure"
26977 cat confdefs.h >>conftest.$ac_ext
26978 cat >>conftest.$ac_ext <<_ACEOF
26979 /* end confdefs.h. */
26980 #include <setjmp.h>
26985 while (! sigsetjmp (env, 1))
26986 siglongjmp (env, 1);
26992 rm -f conftest.$ac_objext
26993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26994 (eval $ac_compile) 2>&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try='test -s conftest.$ac_objext'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; }; then
27005 cat >>confdefs.h <<\_ACEOF
27006 #define HAVE_SIGSETJMP 1
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27014 rm -f conftest.$ac_objext conftest.$ac_ext
27016 if test x$gcc_no_link = xyes; then
27017 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27018 ac_cv_func_mmap_fixed_mapped=no
27021 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
27024 for ac_header in stdlib.h unistd.h
27026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27028 echo "$as_me:$LINENO: checking for $ac_header" >&5
27029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27031 echo $ECHO_N "(cached) $ECHO_C" >&6
27033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27036 # Is the header compilable?
27037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27039 cat >conftest.$ac_ext <<_ACEOF
27040 #line $LINENO "configure"
27043 cat confdefs.h >>conftest.$ac_ext
27044 cat >>conftest.$ac_ext <<_ACEOF
27045 /* end confdefs.h. */
27046 $ac_includes_default
27047 #include <$ac_header>
27049 rm -f conftest.$ac_objext
27050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27051 (eval $ac_compile) 2>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try='test -s conftest.$ac_objext'
27056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27057 (eval $ac_try) 2>&5
27059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27060 (exit $ac_status); }; }; then
27061 ac_header_compiler=yes
27063 echo "$as_me: failed program was:" >&5
27064 sed 's/^/| /' conftest.$ac_ext >&5
27066 ac_header_compiler=no
27068 rm -f conftest.$ac_objext conftest.$ac_ext
27069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27070 echo "${ECHO_T}$ac_header_compiler" >&6
27072 # Is the header present?
27073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27075 cat >conftest.$ac_ext <<_ACEOF
27076 #line $LINENO "configure"
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h. */
27082 #include <$ac_header>
27084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27087 grep -v '^ *+' conftest.er1 >conftest.err
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } >/dev/null; then
27092 if test -s conftest.err; then
27093 ac_cpp_err=$ac_c_preproc_warn_flag
27100 if test -z "$ac_cpp_err"; then
27101 ac_header_preproc=yes
27103 echo "$as_me: failed program was:" >&5
27104 sed 's/^/| /' conftest.$ac_ext >&5
27106 ac_header_preproc=no
27108 rm -f conftest.err conftest.$ac_ext
27109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27110 echo "${ECHO_T}$ac_header_preproc" >&6
27112 # So? What about this header?
27113 case $ac_header_compiler:$ac_header_preproc in
27115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27121 ## ------------------------------------ ##
27122 ## Report this to bug-autoconf@gnu.org. ##
27123 ## ------------------------------------ ##
27126 sed "s/^/$as_me: WARNING: /" >&2
27129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27137 ## ------------------------------------ ##
27138 ## Report this to bug-autoconf@gnu.org. ##
27139 ## ------------------------------------ ##
27142 sed "s/^/$as_me: WARNING: /" >&2
27145 echo "$as_me:$LINENO: checking for $ac_header" >&5
27146 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27147 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27150 eval "$as_ac_Header=$ac_header_preproc"
27152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27153 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27156 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27157 cat >>confdefs.h <<_ACEOF
27158 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27166 for ac_func in getpagesize
27168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27169 echo "$as_me:$LINENO: checking for $ac_func" >&5
27170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27171 if eval "test \"\${$as_ac_var+set}\" = set"; then
27172 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 if test x$gcc_no_link = xyes; then
27175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27177 { (exit 1); exit 1; }; }
27179 cat >conftest.$ac_ext <<_ACEOF
27180 #line $LINENO "configure"
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186 /* System header to define __stub macros and hopefully few prototypes,
27187 which can conflict with char $ac_func (); below.
27188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27189 <limits.h> exists even on freestanding compilers. */
27191 # include <limits.h>
27193 # include <assert.h>
27195 /* Override any gcc2 internal prototype to avoid an error. */
27200 /* We use char because int might match the return type of a gcc2
27201 builtin and then its argument prototype would still apply. */
27203 /* The GNU C library defines this for functions which it implements
27204 to always fail with ENOSYS. Some functions are actually named
27205 something starting with __ and the normal name is an alias. */
27206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27209 char (*f) () = $ac_func;
27218 return f != $ac_func;
27223 rm -f conftest.$ac_objext conftest$ac_exeext
27224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27225 (eval $ac_link) 2>&5
27227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27228 (exit $ac_status); } &&
27229 { ac_try='test -s conftest$ac_exeext'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; }; then
27235 eval "$as_ac_var=yes"
27237 echo "$as_me: failed program was:" >&5
27238 sed 's/^/| /' conftest.$ac_ext >&5
27240 eval "$as_ac_var=no"
27242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27246 if test `eval echo '${'$as_ac_var'}'` = yes; then
27247 cat >>confdefs.h <<_ACEOF
27248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27254 echo "$as_me:$LINENO: checking for working mmap" >&5
27255 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
27256 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
27257 echo $ECHO_N "(cached) $ECHO_C" >&6
27259 if test "$cross_compiling" = yes; then
27260 ac_cv_func_mmap_fixed_mapped=no
27262 cat >conftest.$ac_ext <<_ACEOF
27263 #line $LINENO "configure"
27266 cat confdefs.h >>conftest.$ac_ext
27267 cat >>conftest.$ac_ext <<_ACEOF
27268 /* end confdefs.h. */
27269 $ac_includes_default
27270 /* malloc might have been renamed as rpl_malloc. */
27273 /* Thanks to Mike Haertel and Jim Avera for this test.
27274 Here is a matrix of mmap possibilities:
27275 mmap private not fixed
27276 mmap private fixed at somewhere currently unmapped
27277 mmap private fixed at somewhere already mapped
27278 mmap shared not fixed
27279 mmap shared fixed at somewhere currently unmapped
27280 mmap shared fixed at somewhere already mapped
27281 For private mappings, we should verify that changes cannot be read()
27282 back from the file, nor mmap's back from the file at a different
27283 address. (There have been systems where private was not correctly
27284 implemented like the infamous i386 svr4.0, and systems where the
27285 VM page cache was not coherent with the file system buffer cache
27286 like early versions of FreeBSD and possibly contemporary NetBSD.)
27287 For shared mappings, we should conversely verify that changes get
27288 propagated back to all the places they're supposed to be.
27290 Grep wants private fixed already mapped.
27291 The main things grep needs to know about mmap are:
27292 * does it exist and is it safe to write into the mmap'd area
27293 * how to use it (BSD variants) */
27296 #include <sys/mman.h>
27298 #if !STDC_HEADERS && !HAVE_STDLIB_H
27302 /* This mess was copied from the GNU getpagesize.h. */
27303 #if !HAVE_GETPAGESIZE
27304 /* Assume that all systems that can run configure have sys/param.h. */
27305 # if !HAVE_SYS_PARAM_H
27306 # define HAVE_SYS_PARAM_H 1
27309 # ifdef _SC_PAGESIZE
27310 # define getpagesize() sysconf(_SC_PAGESIZE)
27311 # else /* no _SC_PAGESIZE */
27312 # if HAVE_SYS_PARAM_H
27313 # include <sys/param.h>
27314 # ifdef EXEC_PAGESIZE
27315 # define getpagesize() EXEC_PAGESIZE
27316 # else /* no EXEC_PAGESIZE */
27318 # define getpagesize() NBPG * CLSIZE
27321 # endif /* no CLSIZE */
27322 # else /* no NBPG */
27324 # define getpagesize() NBPC
27325 # else /* no NBPC */
27327 # define getpagesize() PAGESIZE
27328 # endif /* PAGESIZE */
27329 # endif /* no NBPC */
27330 # endif /* no NBPG */
27331 # endif /* no EXEC_PAGESIZE */
27332 # else /* no HAVE_SYS_PARAM_H */
27333 # define getpagesize() 8192 /* punt totally */
27334 # endif /* no HAVE_SYS_PARAM_H */
27335 # endif /* no _SC_PAGESIZE */
27337 #endif /* no HAVE_GETPAGESIZE */
27342 char *data, *data2, *data3;
27346 pagesize = getpagesize ();
27348 /* First, make a file with some known garbage in it. */
27349 data = (char *) malloc (pagesize);
27352 for (i = 0; i < pagesize; ++i)
27353 *(data + i) = rand ();
27355 fd = creat ("conftest.mmap", 0600);
27358 if (write (fd, data, pagesize) != pagesize)
27362 /* Next, try to mmap the file at a fixed address which already has
27363 something else allocated at it. If we can, also make sure that
27364 we see the same garbage. */
27365 fd = open ("conftest.mmap", O_RDWR);
27368 data2 = (char *) malloc (2 * pagesize);
27371 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
27372 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
27373 MAP_PRIVATE | MAP_FIXED, fd, 0L))
27375 for (i = 0; i < pagesize; ++i)
27376 if (*(data + i) != *(data2 + i))
27379 /* Finally, make sure that changes to the mapped area do not
27380 percolate back to the file as seen by read(). (This is a bug on
27381 some variants of i386 svr4.0.) */
27382 for (i = 0; i < pagesize; ++i)
27383 *(data2 + i) = *(data2 + i) + 1;
27384 data3 = (char *) malloc (pagesize);
27387 if (read (fd, data3, pagesize) != pagesize)
27389 for (i = 0; i < pagesize; ++i)
27390 if (*(data + i) != *(data3 + i))
27396 rm -f conftest$ac_exeext
27397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27398 (eval $ac_link) 2>&5
27400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403 (eval $ac_try) 2>&5
27405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406 (exit $ac_status); }; }; then
27407 ac_cv_func_mmap_fixed_mapped=yes
27409 echo "$as_me: program exited with status $ac_status" >&5
27410 echo "$as_me: failed program was:" >&5
27411 sed 's/^/| /' conftest.$ac_ext >&5
27413 ( exit $ac_status )
27414 ac_cv_func_mmap_fixed_mapped=no
27416 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27419 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
27420 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
27421 if test $ac_cv_func_mmap_fixed_mapped = yes; then
27423 cat >>confdefs.h <<\_ACEOF
27424 #define HAVE_MMAP 1
27428 rm -f conftest.mmap
27434 # This lets us hard-code the functionality we know we'll have in the cross
27435 # target environment. "Let" is a sugar-coated word placed on an especially
27436 # dull and tedious hack, actually.
27438 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27439 # that involve linking, can't be used:
27440 # "cannot open sim-crt0.o"
27441 # "cannot open crt0.o"
27442 # etc. All this is because there currently exists no unified, consistent
27443 # way for top level CC information to be passed down to target directories:
27444 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27445 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27446 # crosses can be removed.
27448 # If Canadian cross, then don't pick up tools from the build directory.
27449 # Used only in GLIBCXX_EXPORT_INCLUDES.
27450 if test -n "$with_cross_host" &&
27451 test x"$build_alias" != x"$with_cross_host" &&
27452 test x"$build" != x"$target";
27459 # Construct crosses by hand, eliminating bits that need ld...
27460 # GLIBCXX_CHECK_COMPILER_FEATURES
27461 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
27462 # GLIBCXX_CHECK_MATH_SUPPORT
27464 # First, test for "known" system libraries. We may be using newlib even
27465 # on a hosted environment.
27466 if test "x${with_newlib}" = "xyes"; then
27467 os_include_dir="os/newlib"
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_HYPOT 1
27473 # GLIBCXX_CHECK_STDLIB_SUPPORT
27474 cat >>confdefs.h <<\_ACEOF
27475 #define HAVE_STRTOF 1
27478 cat >>confdefs.h <<\_ACEOF
27479 #define HAVE_STRTOLD 1
27483 cat >>confdefs.h <<\_ACEOF
27484 #define HAVE_MMAP 1
27488 cat >>confdefs.h <<\_ACEOF
27489 #define HAVE_ACOSF 1
27492 cat >>confdefs.h <<\_ACEOF
27493 #define HAVE_ASINF 1
27496 cat >>confdefs.h <<\_ACEOF
27497 #define HAVE_ATAN2F 1
27500 cat >>confdefs.h <<\_ACEOF
27501 #define HAVE_ATANF 1
27504 cat >>confdefs.h <<\_ACEOF
27505 #define HAVE_CEILF 1
27508 cat >>confdefs.h <<\_ACEOF
27509 #define HAVE_COPYSIGN 1
27512 cat >>confdefs.h <<\_ACEOF
27513 #define HAVE_COPYSIGNF 1
27516 cat >>confdefs.h <<\_ACEOF
27517 #define HAVE_COSF 1
27520 cat >>confdefs.h <<\_ACEOF
27521 #define HAVE_COSHF 1
27524 cat >>confdefs.h <<\_ACEOF
27525 #define HAVE_EXPF 1
27528 cat >>confdefs.h <<\_ACEOF
27529 #define HAVE_FABSF 1
27532 cat >>confdefs.h <<\_ACEOF
27533 #define HAVE_FLOORF 1
27536 cat >>confdefs.h <<\_ACEOF
27537 #define HAVE_FMODF 1
27540 cat >>confdefs.h <<\_ACEOF
27541 #define HAVE_FREXPF 1
27544 cat >>confdefs.h <<\_ACEOF
27545 #define HAVE_LDEXPF 1
27548 cat >>confdefs.h <<\_ACEOF
27549 #define HAVE_LOG10F 1
27552 cat >>confdefs.h <<\_ACEOF
27553 #define HAVE_LOGF 1
27556 cat >>confdefs.h <<\_ACEOF
27557 #define HAVE_MODFF 1
27560 cat >>confdefs.h <<\_ACEOF
27561 #define HAVE_POWF 1
27564 cat >>confdefs.h <<\_ACEOF
27565 #define HAVE_SINF 1
27568 cat >>confdefs.h <<\_ACEOF
27569 #define HAVE_SINHF 1
27572 cat >>confdefs.h <<\_ACEOF
27573 #define HAVE_SQRTF 1
27576 cat >>confdefs.h <<\_ACEOF
27577 #define HAVE_TANF 1
27580 cat >>confdefs.h <<\_ACEOF
27581 #define HAVE_TANHF 1
27585 cat >>confdefs.h <<\_ACEOF
27586 #define HAVE_S_ISREG 1
27589 cat >>confdefs.h <<\_ACEOF
27590 #define HAVE_S_IFREG 1
27595 # Base decisions on target environment.
27598 # Darwin versions vary, but the linker should work in a cross environment,
27599 # so we just check for all the features here.
27600 # Check for available headers.
27614 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
27615 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
27618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27620 echo "$as_me:$LINENO: checking for $ac_header" >&5
27621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27626 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27628 # Is the header compilable?
27629 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27631 cat >conftest.$ac_ext <<_ACEOF
27632 #line $LINENO "configure"
27635 cat confdefs.h >>conftest.$ac_ext
27636 cat >>conftest.$ac_ext <<_ACEOF
27637 /* end confdefs.h. */
27638 $ac_includes_default
27639 #include <$ac_header>
27641 rm -f conftest.$ac_objext
27642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27643 (eval $ac_compile) 2>&5
27645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27646 (exit $ac_status); } &&
27647 { ac_try='test -s conftest.$ac_objext'
27648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27649 (eval $ac_try) 2>&5
27651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27652 (exit $ac_status); }; }; then
27653 ac_header_compiler=yes
27655 echo "$as_me: failed program was:" >&5
27656 sed 's/^/| /' conftest.$ac_ext >&5
27658 ac_header_compiler=no
27660 rm -f conftest.$ac_objext conftest.$ac_ext
27661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27662 echo "${ECHO_T}$ac_header_compiler" >&6
27664 # Is the header present?
27665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27667 cat >conftest.$ac_ext <<_ACEOF
27668 #line $LINENO "configure"
27671 cat confdefs.h >>conftest.$ac_ext
27672 cat >>conftest.$ac_ext <<_ACEOF
27673 /* end confdefs.h. */
27674 #include <$ac_header>
27676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27679 grep -v '^ *+' conftest.er1 >conftest.err
27681 cat conftest.err >&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); } >/dev/null; then
27684 if test -s conftest.err; then
27685 ac_cpp_err=$ac_c_preproc_warn_flag
27692 if test -z "$ac_cpp_err"; then
27693 ac_header_preproc=yes
27695 echo "$as_me: failed program was:" >&5
27696 sed 's/^/| /' conftest.$ac_ext >&5
27698 ac_header_preproc=no
27700 rm -f conftest.err conftest.$ac_ext
27701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27702 echo "${ECHO_T}$ac_header_preproc" >&6
27704 # So? What about this header?
27705 case $ac_header_compiler:$ac_header_preproc in
27707 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27709 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27710 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27713 ## ------------------------------------ ##
27714 ## Report this to bug-autoconf@gnu.org. ##
27715 ## ------------------------------------ ##
27718 sed "s/^/$as_me: WARNING: /" >&2
27721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27729 ## ------------------------------------ ##
27730 ## Report this to bug-autoconf@gnu.org. ##
27731 ## ------------------------------------ ##
27734 sed "s/^/$as_me: WARNING: /" >&2
27737 echo "$as_me:$LINENO: checking for $ac_header" >&5
27738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27740 echo $ECHO_N "(cached) $ECHO_C" >&6
27742 eval "$as_ac_Header=$ac_header_preproc"
27744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27759 # All these tests are for C++; save the language and the compiler flags.
27760 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27761 # found in GLIBCXX_CONFIGURE.
27765 ac_cpp='$CXXCPP $CPPFLAGS'
27766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27770 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27771 ac_save_CXXFLAGS="$CXXFLAGS"
27773 # Check for maintainer-mode bits.
27774 if test x"$USE_MAINTAINER_MODE" = xno; then
27780 # Check for -ffunction-sections -fdata-sections
27781 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27782 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
27783 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
27784 cat >conftest.$ac_ext <<_ACEOF
27785 #line $LINENO "configure"
27788 cat confdefs.h >>conftest.$ac_ext
27789 cat >>conftest.$ac_ext <<_ACEOF
27790 /* end confdefs.h. */
27800 rm -f conftest.$ac_objext
27801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27802 (eval $ac_compile) 2>&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } &&
27806 { ac_try='test -s conftest.$ac_objext'
27807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27808 (eval $ac_try) 2>&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); }; }; then
27814 echo "$as_me: failed program was:" >&5
27815 sed 's/^/| /' conftest.$ac_ext >&5
27819 rm -f conftest.$ac_objext conftest.$ac_ext
27820 if test "$ac_test_CXXFLAGS" = set; then
27821 CXXFLAGS="$ac_save_CXXFLAGS"
27823 # this is the suspicious part
27826 if test x"$ac_fdsections" = x"yes"; then
27827 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27829 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
27830 echo "${ECHO_T}$ac_fdsections" >&6
27833 ac_cpp='$CPP $CPPFLAGS'
27834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27841 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
27843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27844 ac_save_CXXFLAGS="$CXXFLAGS"
27845 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27847 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27848 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27849 if test "${ac_cv_lib_m_sin+set}" = set; then
27850 echo $ECHO_N "(cached) $ECHO_C" >&6
27852 ac_check_lib_save_LIBS=$LIBS
27854 if test x$gcc_no_link = xyes; then
27855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27857 { (exit 1); exit 1; }; }
27859 cat >conftest.$ac_ext <<_ACEOF
27860 #line $LINENO "configure"
27863 cat confdefs.h >>conftest.$ac_ext
27864 cat >>conftest.$ac_ext <<_ACEOF
27865 /* end confdefs.h. */
27867 /* Override any gcc2 internal prototype to avoid an error. */
27871 /* We use char because int might match the return type of a gcc2
27872 builtin and then its argument prototype would still apply. */
27882 rm -f conftest.$ac_objext conftest$ac_exeext
27883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27884 (eval $ac_link) 2>&5
27886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27887 (exit $ac_status); } &&
27888 { ac_try='test -s conftest$ac_exeext'
27889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27890 (eval $ac_try) 2>&5
27892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27893 (exit $ac_status); }; }; then
27894 ac_cv_lib_m_sin=yes
27896 echo "$as_me: failed program was:" >&5
27897 sed 's/^/| /' conftest.$ac_ext >&5
27901 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
27902 LIBS=$ac_check_lib_save_LIBS
27904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27905 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27906 if test $ac_cv_lib_m_sin = yes; then
27910 ac_save_LIBS="$LIBS"
27915 echo "$as_me:$LINENO: checking for isinf declaration" >&5
27916 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
27917 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27918 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
27919 echo $ECHO_N "(cached) $ECHO_C" >&6
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 cat >conftest.$ac_ext <<_ACEOF
27931 #line $LINENO "configure"
27934 cat confdefs.h >>conftest.$ac_ext
27935 cat >>conftest.$ac_ext <<_ACEOF
27936 /* end confdefs.h. */
27938 #ifdef HAVE_IEEEFP_H
27939 #include <ieeefp.h>
27950 rm -f conftest.$ac_objext
27951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27952 (eval $ac_compile) 2>&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); } &&
27956 { ac_try='test -s conftest.$ac_objext'
27957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27958 (eval $ac_try) 2>&5
27960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27961 (exit $ac_status); }; }; then
27962 glibcxx_cv_func_isinf_use=yes
27964 echo "$as_me: failed program was:" >&5
27965 sed 's/^/| /' conftest.$ac_ext >&5
27967 glibcxx_cv_func_isinf_use=no
27969 rm -f conftest.$ac_objext conftest.$ac_ext
27971 ac_cpp='$CPP $CPPFLAGS'
27972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27980 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
27981 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
27983 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27985 for ac_func in isinf
27987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27988 echo "$as_me:$LINENO: checking for $ac_func" >&5
27989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27990 if eval "test \"\${$as_ac_var+set}\" = set"; then
27991 echo $ECHO_N "(cached) $ECHO_C" >&6
27993 if test x$gcc_no_link = xyes; then
27994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27996 { (exit 1); exit 1; }; }
27998 cat >conftest.$ac_ext <<_ACEOF
27999 #line $LINENO "configure"
28002 cat confdefs.h >>conftest.$ac_ext
28003 cat >>conftest.$ac_ext <<_ACEOF
28004 /* end confdefs.h. */
28005 /* System header to define __stub macros and hopefully few prototypes,
28006 which can conflict with char $ac_func (); below.
28007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28008 <limits.h> exists even on freestanding compilers. */
28010 # include <limits.h>
28012 # include <assert.h>
28014 /* Override any gcc2 internal prototype to avoid an error. */
28019 /* We use char because int might match the return type of a gcc2
28020 builtin and then its argument prototype would still apply. */
28022 /* The GNU C library defines this for functions which it implements
28023 to always fail with ENOSYS. Some functions are actually named
28024 something starting with __ and the normal name is an alias. */
28025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28028 char (*f) () = $ac_func;
28037 return f != $ac_func;
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 eval "$as_ac_var=yes"
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28059 eval "$as_ac_var=no"
28061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28065 if test `eval echo '${'$as_ac_var'}'` = yes; then
28066 cat >>confdefs.h <<_ACEOF
28067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
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
28238 echo "$as_me:$LINENO: checking for isnan declaration" >&5
28239 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
28240 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28241 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
28242 echo $ECHO_N "(cached) $ECHO_C" >&6
28248 ac_cpp='$CXXCPP $CPPFLAGS'
28249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28253 cat >conftest.$ac_ext <<_ACEOF
28254 #line $LINENO "configure"
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28261 #ifdef HAVE_IEEEFP_H
28262 #include <ieeefp.h>
28273 rm -f conftest.$ac_objext
28274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28275 (eval $ac_compile) 2>&5
28277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28278 (exit $ac_status); } &&
28279 { ac_try='test -s conftest.$ac_objext'
28280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28281 (eval $ac_try) 2>&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); }; }; then
28285 glibcxx_cv_func_isnan_use=yes
28287 echo "$as_me: failed program was:" >&5
28288 sed 's/^/| /' conftest.$ac_ext >&5
28290 glibcxx_cv_func_isnan_use=no
28292 rm -f conftest.$ac_objext conftest.$ac_ext
28294 ac_cpp='$CPP $CPPFLAGS'
28295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28303 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
28304 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
28306 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28308 for ac_func in isnan
28310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28311 echo "$as_me:$LINENO: checking for $ac_func" >&5
28312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28313 if eval "test \"\${$as_ac_var+set}\" = set"; then
28314 echo $ECHO_N "(cached) $ECHO_C" >&6
28316 if test x$gcc_no_link = xyes; then
28317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28319 { (exit 1); exit 1; }; }
28321 cat >conftest.$ac_ext <<_ACEOF
28322 #line $LINENO "configure"
28325 cat confdefs.h >>conftest.$ac_ext
28326 cat >>conftest.$ac_ext <<_ACEOF
28327 /* end confdefs.h. */
28328 /* System header to define __stub macros and hopefully few prototypes,
28329 which can conflict with char $ac_func (); below.
28330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28331 <limits.h> exists even on freestanding compilers. */
28333 # include <limits.h>
28335 # include <assert.h>
28337 /* Override any gcc2 internal prototype to avoid an error. */
28342 /* We use char because int might match the return type of a gcc2
28343 builtin and then its argument prototype would still apply. */
28345 /* The GNU C library defines this for functions which it implements
28346 to always fail with ENOSYS. Some functions are actually named
28347 something starting with __ and the normal name is an alias. */
28348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28351 char (*f) () = $ac_func;
28360 return f != $ac_func;
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); } &&
28371 { ac_try='test -s conftest$ac_exeext'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; }; then
28377 eval "$as_ac_var=yes"
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28382 eval "$as_ac_var=no"
28384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28388 if test `eval echo '${'$as_ac_var'}'` = yes; then
28389 cat >>confdefs.h <<_ACEOF
28390 #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
28561 echo "$as_me:$LINENO: checking for finite declaration" >&5
28562 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
28563 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28564 if test "${glibcxx_cv_func_finite_use+set}" = set; then
28565 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 ac_cpp='$CXXCPP $CPPFLAGS'
28572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28576 cat >conftest.$ac_ext <<_ACEOF
28577 #line $LINENO "configure"
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28584 #ifdef HAVE_IEEEFP_H
28585 #include <ieeefp.h>
28596 rm -f conftest.$ac_objext
28597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28598 (eval $ac_compile) 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } &&
28602 { ac_try='test -s conftest.$ac_objext'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; }; then
28608 glibcxx_cv_func_finite_use=yes
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28613 glibcxx_cv_func_finite_use=no
28615 rm -f conftest.$ac_objext conftest.$ac_ext
28617 ac_cpp='$CPP $CPPFLAGS'
28618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28626 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
28627 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
28629 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28631 for ac_func in finite
28633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28634 echo "$as_me:$LINENO: checking for $ac_func" >&5
28635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28636 if eval "test \"\${$as_ac_var+set}\" = set"; then
28637 echo $ECHO_N "(cached) $ECHO_C" >&6
28639 if test x$gcc_no_link = xyes; then
28640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28642 { (exit 1); exit 1; }; }
28644 cat >conftest.$ac_ext <<_ACEOF
28645 #line $LINENO "configure"
28648 cat confdefs.h >>conftest.$ac_ext
28649 cat >>conftest.$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28651 /* System header to define __stub macros and hopefully few prototypes,
28652 which can conflict with char $ac_func (); below.
28653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28654 <limits.h> exists even on freestanding compilers. */
28656 # include <limits.h>
28658 # include <assert.h>
28660 /* Override any gcc2 internal prototype to avoid an error. */
28665 /* We use char because int might match the return type of a gcc2
28666 builtin and then its argument prototype would still apply. */
28668 /* The GNU C library defines this for functions which it implements
28669 to always fail with ENOSYS. Some functions are actually named
28670 something starting with __ and the normal name is an alias. */
28671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28674 char (*f) () = $ac_func;
28683 return f != $ac_func;
28688 rm -f conftest.$ac_objext conftest$ac_exeext
28689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28690 (eval $ac_link) 2>&5
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); } &&
28694 { ac_try='test -s conftest$ac_exeext'
28695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28696 (eval $ac_try) 2>&5
28698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28699 (exit $ac_status); }; }; then
28700 eval "$as_ac_var=yes"
28702 echo "$as_me: failed program was:" >&5
28703 sed 's/^/| /' conftest.$ac_ext >&5
28705 eval "$as_ac_var=no"
28707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
28709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28711 if test `eval echo '${'$as_ac_var'}'` = yes; then
28712 cat >>confdefs.h <<_ACEOF
28713 #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
28884 echo "$as_me:$LINENO: checking for copysign declaration" >&5
28885 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
28886 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
28887 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
28888 echo $ECHO_N "(cached) $ECHO_C" >&6
28894 ac_cpp='$CXXCPP $CPPFLAGS'
28895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28899 cat >conftest.$ac_ext <<_ACEOF
28900 #line $LINENO "configure"
28903 cat confdefs.h >>conftest.$ac_ext
28904 cat >>conftest.$ac_ext <<_ACEOF
28905 /* end confdefs.h. */
28915 rm -f conftest.$ac_objext
28916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28917 (eval $ac_compile) 2>&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try='test -s conftest.$ac_objext'
28922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28923 (eval $ac_try) 2>&5
28925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28926 (exit $ac_status); }; }; then
28927 glibcxx_cv_func_copysign_use=yes
28929 echo "$as_me: failed program was:" >&5
28930 sed 's/^/| /' conftest.$ac_ext >&5
28932 glibcxx_cv_func_copysign_use=no
28934 rm -f conftest.$ac_objext conftest.$ac_ext
28936 ac_cpp='$CPP $CPPFLAGS'
28937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
28946 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
28948 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
28950 for ac_func in copysign
28952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28953 echo "$as_me:$LINENO: checking for $ac_func" >&5
28954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28955 if eval "test \"\${$as_ac_var+set}\" = set"; then
28956 echo $ECHO_N "(cached) $ECHO_C" >&6
28958 if test x$gcc_no_link = xyes; then
28959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28961 { (exit 1); exit 1; }; }
28963 cat >conftest.$ac_ext <<_ACEOF
28964 #line $LINENO "configure"
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 /* System header to define __stub macros and hopefully few prototypes,
28971 which can conflict with char $ac_func (); below.
28972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28973 <limits.h> exists even on freestanding compilers. */
28975 # include <limits.h>
28977 # include <assert.h>
28979 /* Override any gcc2 internal prototype to avoid an error. */
28984 /* We use char because int might match the return type of a gcc2
28985 builtin and then its argument prototype would still apply. */
28987 /* The GNU C library defines this for functions which it implements
28988 to always fail with ENOSYS. Some functions are actually named
28989 something starting with __ and the normal name is an alias. */
28990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28993 char (*f) () = $ac_func;
29002 return f != $ac_func;
29007 rm -f conftest.$ac_objext conftest$ac_exeext
29008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29009 (eval $ac_link) 2>&5
29011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29012 (exit $ac_status); } &&
29013 { ac_try='test -s conftest$ac_exeext'
29014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29015 (eval $ac_try) 2>&5
29017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29018 (exit $ac_status); }; }; then
29019 eval "$as_ac_var=yes"
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.$ac_ext >&5
29024 eval "$as_ac_var=no"
29026 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29030 if test `eval echo '${'$as_ac_var'}'` = yes; then
29031 cat >>confdefs.h <<_ACEOF
29032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29040 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
29041 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
29042 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
29043 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
29044 echo $ECHO_N "(cached) $ECHO_C" >&6
29050 ac_cpp='$CXXCPP $CPPFLAGS'
29051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29055 cat >conftest.$ac_ext <<_ACEOF
29056 #line $LINENO "configure"
29059 cat confdefs.h >>conftest.$ac_ext
29060 cat >>conftest.$ac_ext <<_ACEOF
29061 /* end confdefs.h. */
29071 rm -f conftest.$ac_objext
29072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29073 (eval $ac_compile) 2>&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } &&
29077 { ac_try='test -s conftest.$ac_objext'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; }; then
29083 glibcxx_cv_func__copysign_use=yes
29085 echo "$as_me: failed program was:" >&5
29086 sed 's/^/| /' conftest.$ac_ext >&5
29088 glibcxx_cv_func__copysign_use=no
29090 rm -f conftest.$ac_objext conftest.$ac_ext
29092 ac_cpp='$CPP $CPPFLAGS'
29093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29101 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
29102 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
29104 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
29106 for ac_func in _copysign
29108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29109 echo "$as_me:$LINENO: checking for $ac_func" >&5
29110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29111 if eval "test \"\${$as_ac_var+set}\" = set"; then
29112 echo $ECHO_N "(cached) $ECHO_C" >&6
29114 if test x$gcc_no_link = xyes; then
29115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29117 { (exit 1); exit 1; }; }
29119 cat >conftest.$ac_ext <<_ACEOF
29120 #line $LINENO "configure"
29123 cat confdefs.h >>conftest.$ac_ext
29124 cat >>conftest.$ac_ext <<_ACEOF
29125 /* end confdefs.h. */
29126 /* System header to define __stub macros and hopefully few prototypes,
29127 which can conflict with char $ac_func (); below.
29128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29129 <limits.h> exists even on freestanding compilers. */
29131 # include <limits.h>
29133 # include <assert.h>
29135 /* Override any gcc2 internal prototype to avoid an error. */
29140 /* We use char because int might match the return type of a gcc2
29141 builtin and then its argument prototype would still apply. */
29143 /* The GNU C library defines this for functions which it implements
29144 to always fail with ENOSYS. Some functions are actually named
29145 something starting with __ and the normal name is an alias. */
29146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29149 char (*f) () = $ac_func;
29158 return f != $ac_func;
29163 rm -f conftest.$ac_objext conftest$ac_exeext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29165 (eval $ac_link) 2>&5
29167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168 (exit $ac_status); } &&
29169 { ac_try='test -s conftest$ac_exeext'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175 eval "$as_ac_var=yes"
29177 echo "$as_me: failed program was:" >&5
29178 sed 's/^/| /' conftest.$ac_ext >&5
29180 eval "$as_ac_var=no"
29182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29186 if test `eval echo '${'$as_ac_var'}'` = yes; then
29187 cat >>confdefs.h <<_ACEOF
29188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29199 echo "$as_me:$LINENO: checking for sincos declaration" >&5
29200 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
29201 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29202 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
29203 echo $ECHO_N "(cached) $ECHO_C" >&6
29209 ac_cpp='$CXXCPP $CPPFLAGS'
29210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29214 cat >conftest.$ac_ext <<_ACEOF
29215 #line $LINENO "configure"
29218 cat confdefs.h >>conftest.$ac_ext
29219 cat >>conftest.$ac_ext <<_ACEOF
29220 /* end confdefs.h. */
29230 rm -f conftest.$ac_objext
29231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29232 (eval $ac_compile) 2>&5
29234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29235 (exit $ac_status); } &&
29236 { ac_try='test -s conftest.$ac_objext'
29237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29238 (eval $ac_try) 2>&5
29240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29241 (exit $ac_status); }; }; then
29242 glibcxx_cv_func_sincos_use=yes
29244 echo "$as_me: failed program was:" >&5
29245 sed 's/^/| /' conftest.$ac_ext >&5
29247 glibcxx_cv_func_sincos_use=no
29249 rm -f conftest.$ac_objext conftest.$ac_ext
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
29261 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
29263 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29265 for ac_func in sincos
29267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29268 echo "$as_me:$LINENO: checking for $ac_func" >&5
29269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29270 if eval "test \"\${$as_ac_var+set}\" = set"; then
29271 echo $ECHO_N "(cached) $ECHO_C" >&6
29273 if test x$gcc_no_link = xyes; then
29274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29276 { (exit 1); exit 1; }; }
29278 cat >conftest.$ac_ext <<_ACEOF
29279 #line $LINENO "configure"
29282 cat confdefs.h >>conftest.$ac_ext
29283 cat >>conftest.$ac_ext <<_ACEOF
29284 /* end confdefs.h. */
29285 /* System header to define __stub macros and hopefully few prototypes,
29286 which can conflict with char $ac_func (); below.
29287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29288 <limits.h> exists even on freestanding compilers. */
29290 # include <limits.h>
29292 # include <assert.h>
29294 /* Override any gcc2 internal prototype to avoid an error. */
29299 /* We use char because int might match the return type of a gcc2
29300 builtin and then its argument prototype would still apply. */
29302 /* The GNU C library defines this for functions which it implements
29303 to always fail with ENOSYS. Some functions are actually named
29304 something starting with __ and the normal name is an alias. */
29305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29308 char (*f) () = $ac_func;
29317 return f != $ac_func;
29322 rm -f conftest.$ac_objext conftest$ac_exeext
29323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29324 (eval $ac_link) 2>&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try='test -s conftest$ac_exeext'
29329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29330 (eval $ac_try) 2>&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); }; }; then
29334 eval "$as_ac_var=yes"
29336 echo "$as_me: failed program was:" >&5
29337 sed 's/^/| /' conftest.$ac_ext >&5
29339 eval "$as_ac_var=no"
29341 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29345 if test `eval echo '${'$as_ac_var'}'` = yes; then
29346 cat >>confdefs.h <<_ACEOF
29347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29355 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
29356 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
29357 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29358 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
29359 echo $ECHO_N "(cached) $ECHO_C" >&6
29365 ac_cpp='$CXXCPP $CPPFLAGS'
29366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29370 cat >conftest.$ac_ext <<_ACEOF
29371 #line $LINENO "configure"
29374 cat confdefs.h >>conftest.$ac_ext
29375 cat >>conftest.$ac_ext <<_ACEOF
29376 /* end confdefs.h. */
29386 rm -f conftest.$ac_objext
29387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29388 (eval $ac_compile) 2>&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } &&
29392 { ac_try='test -s conftest.$ac_objext'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; }; then
29398 glibcxx_cv_func__sincos_use=yes
29400 echo "$as_me: failed program was:" >&5
29401 sed 's/^/| /' conftest.$ac_ext >&5
29403 glibcxx_cv_func__sincos_use=no
29405 rm -f conftest.$ac_objext conftest.$ac_ext
29407 ac_cpp='$CPP $CPPFLAGS'
29408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29416 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
29417 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
29419 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29421 for ac_func in _sincos
29423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29424 echo "$as_me:$LINENO: checking for $ac_func" >&5
29425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29426 if eval "test \"\${$as_ac_var+set}\" = set"; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 if test x$gcc_no_link = xyes; then
29430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29432 { (exit 1); exit 1; }; }
29434 cat >conftest.$ac_ext <<_ACEOF
29435 #line $LINENO "configure"
29438 cat confdefs.h >>conftest.$ac_ext
29439 cat >>conftest.$ac_ext <<_ACEOF
29440 /* end confdefs.h. */
29441 /* System header to define __stub macros and hopefully few prototypes,
29442 which can conflict with char $ac_func (); below.
29443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29444 <limits.h> exists even on freestanding compilers. */
29446 # include <limits.h>
29448 # include <assert.h>
29450 /* Override any gcc2 internal prototype to avoid an error. */
29455 /* We use char because int might match the return type of a gcc2
29456 builtin and then its argument prototype would still apply. */
29458 /* The GNU C library defines this for functions which it implements
29459 to always fail with ENOSYS. Some functions are actually named
29460 something starting with __ and the normal name is an alias. */
29461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29464 char (*f) () = $ac_func;
29473 return f != $ac_func;
29478 rm -f conftest.$ac_objext conftest$ac_exeext
29479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29480 (eval $ac_link) 2>&5
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); } &&
29484 { ac_try='test -s conftest$ac_exeext'
29485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486 (eval $ac_try) 2>&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); }; }; then
29490 eval "$as_ac_var=yes"
29492 echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29495 eval "$as_ac_var=no"
29497 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29501 if test `eval echo '${'$as_ac_var'}'` = yes; then
29502 cat >>confdefs.h <<_ACEOF
29503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29514 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
29515 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
29516 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29517 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
29518 echo $ECHO_N "(cached) $ECHO_C" >&6
29524 ac_cpp='$CXXCPP $CPPFLAGS'
29525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29529 cat >conftest.$ac_ext <<_ACEOF
29530 #line $LINENO "configure"
29533 cat confdefs.h >>conftest.$ac_ext
29534 cat >>conftest.$ac_ext <<_ACEOF
29535 /* end confdefs.h. */
29537 #ifdef HAVE_IEEEFP_H
29538 #include <ieeefp.h>
29549 rm -f conftest.$ac_objext
29550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29551 (eval $ac_compile) 2>&5
29553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29554 (exit $ac_status); } &&
29555 { ac_try='test -s conftest.$ac_objext'
29556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29557 (eval $ac_try) 2>&5
29559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29560 (exit $ac_status); }; }; then
29561 glibcxx_cv_func_fpclass_use=yes
29563 echo "$as_me: failed program was:" >&5
29564 sed 's/^/| /' conftest.$ac_ext >&5
29566 glibcxx_cv_func_fpclass_use=no
29568 rm -f conftest.$ac_objext conftest.$ac_ext
29570 ac_cpp='$CPP $CPPFLAGS'
29571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
29580 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
29582 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29584 for ac_func in fpclass
29586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29587 echo "$as_me:$LINENO: checking for $ac_func" >&5
29588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29589 if eval "test \"\${$as_ac_var+set}\" = set"; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29592 if test x$gcc_no_link = xyes; then
29593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29595 { (exit 1); exit 1; }; }
29597 cat >conftest.$ac_ext <<_ACEOF
29598 #line $LINENO "configure"
29601 cat confdefs.h >>conftest.$ac_ext
29602 cat >>conftest.$ac_ext <<_ACEOF
29603 /* end confdefs.h. */
29604 /* System header to define __stub macros and hopefully few prototypes,
29605 which can conflict with char $ac_func (); below.
29606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29607 <limits.h> exists even on freestanding compilers. */
29609 # include <limits.h>
29611 # include <assert.h>
29613 /* Override any gcc2 internal prototype to avoid an error. */
29618 /* We use char because int might match the return type of a gcc2
29619 builtin and then its argument prototype would still apply. */
29621 /* The GNU C library defines this for functions which it implements
29622 to always fail with ENOSYS. Some functions are actually named
29623 something starting with __ and the normal name is an alias. */
29624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29627 char (*f) () = $ac_func;
29636 return f != $ac_func;
29641 rm -f conftest.$ac_objext conftest$ac_exeext
29642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29643 (eval $ac_link) 2>&5
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); } &&
29647 { ac_try='test -s conftest$ac_exeext'
29648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29649 (eval $ac_try) 2>&5
29651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29652 (exit $ac_status); }; }; then
29653 eval "$as_ac_var=yes"
29655 echo "$as_me: failed program was:" >&5
29656 sed 's/^/| /' conftest.$ac_ext >&5
29658 eval "$as_ac_var=no"
29660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29664 if test `eval echo '${'$as_ac_var'}'` = yes; then
29665 cat >>confdefs.h <<_ACEOF
29666 #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
29837 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
29838 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
29839 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29840 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29847 ac_cpp='$CXXCPP $CPPFLAGS'
29848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29852 cat >conftest.$ac_ext <<_ACEOF
29853 #line $LINENO "configure"
29856 cat confdefs.h >>conftest.$ac_ext
29857 cat >>conftest.$ac_ext <<_ACEOF
29858 /* end confdefs.h. */
29860 #ifdef HAVE_IEEEFP_H
29861 #include <ieeefp.h>
29872 rm -f conftest.$ac_objext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29874 (eval $ac_compile) 2>&5
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); } &&
29878 { ac_try='test -s conftest.$ac_objext'
29879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29880 (eval $ac_try) 2>&5
29882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29883 (exit $ac_status); }; }; then
29884 glibcxx_cv_func_qfpclass_use=yes
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29889 glibcxx_cv_func_qfpclass_use=no
29891 rm -f conftest.$ac_objext conftest.$ac_ext
29893 ac_cpp='$CPP $CPPFLAGS'
29894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
29903 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
29905 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29907 for ac_func in qfpclass
29909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29910 echo "$as_me:$LINENO: checking for $ac_func" >&5
29911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29912 if eval "test \"\${$as_ac_var+set}\" = set"; then
29913 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 if test x$gcc_no_link = xyes; then
29916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29918 { (exit 1); exit 1; }; }
29920 cat >conftest.$ac_ext <<_ACEOF
29921 #line $LINENO "configure"
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29927 /* System header to define __stub macros and hopefully few prototypes,
29928 which can conflict with char $ac_func (); below.
29929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29930 <limits.h> exists even on freestanding compilers. */
29932 # include <limits.h>
29934 # include <assert.h>
29936 /* Override any gcc2 internal prototype to avoid an error. */
29941 /* We use char because int might match the return type of a gcc2
29942 builtin and then its argument prototype would still apply. */
29944 /* The GNU C library defines this for functions which it implements
29945 to always fail with ENOSYS. Some functions are actually named
29946 something starting with __ and the normal name is an alias. */
29947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29950 char (*f) () = $ac_func;
29959 return f != $ac_func;
29964 rm -f conftest.$ac_objext conftest$ac_exeext
29965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29966 (eval $ac_link) 2>&5
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); } &&
29970 { ac_try='test -s conftest$ac_exeext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 eval "$as_ac_var=yes"
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29981 eval "$as_ac_var=no"
29983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
29985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29987 if test `eval echo '${'$as_ac_var'}'` = yes; then
29988 cat >>confdefs.h <<_ACEOF
29989 #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
30160 echo "$as_me:$LINENO: checking for hypot declaration" >&5
30161 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
30162 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30163 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
30164 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 ac_cpp='$CXXCPP $CPPFLAGS'
30171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30175 cat >conftest.$ac_ext <<_ACEOF
30176 #line $LINENO "configure"
30179 cat confdefs.h >>conftest.$ac_ext
30180 cat >>conftest.$ac_ext <<_ACEOF
30181 /* end confdefs.h. */
30191 rm -f conftest.$ac_objext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30193 (eval $ac_compile) 2>&5
30195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30196 (exit $ac_status); } &&
30197 { ac_try='test -s conftest.$ac_objext'
30198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30199 (eval $ac_try) 2>&5
30201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30202 (exit $ac_status); }; }; then
30203 glibcxx_cv_func_hypot_use=yes
30205 echo "$as_me: failed program was:" >&5
30206 sed 's/^/| /' conftest.$ac_ext >&5
30208 glibcxx_cv_func_hypot_use=no
30210 rm -f conftest.$ac_objext conftest.$ac_ext
30212 ac_cpp='$CPP $CPPFLAGS'
30213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
30222 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
30224 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30226 for ac_func in hypot
30228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30229 echo "$as_me:$LINENO: checking for $ac_func" >&5
30230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30231 if eval "test \"\${$as_ac_var+set}\" = set"; then
30232 echo $ECHO_N "(cached) $ECHO_C" >&6
30234 if test x$gcc_no_link = xyes; then
30235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30237 { (exit 1); exit 1; }; }
30239 cat >conftest.$ac_ext <<_ACEOF
30240 #line $LINENO "configure"
30243 cat confdefs.h >>conftest.$ac_ext
30244 cat >>conftest.$ac_ext <<_ACEOF
30245 /* end confdefs.h. */
30246 /* System header to define __stub macros and hopefully few prototypes,
30247 which can conflict with char $ac_func (); below.
30248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30249 <limits.h> exists even on freestanding compilers. */
30251 # include <limits.h>
30253 # include <assert.h>
30255 /* Override any gcc2 internal prototype to avoid an error. */
30260 /* We use char because int might match the return type of a gcc2
30261 builtin and then its argument prototype would still apply. */
30263 /* The GNU C library defines this for functions which it implements
30264 to always fail with ENOSYS. Some functions are actually named
30265 something starting with __ and the normal name is an alias. */
30266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30269 char (*f) () = $ac_func;
30278 return f != $ac_func;
30283 rm -f conftest.$ac_objext conftest$ac_exeext
30284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30285 (eval $ac_link) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } &&
30289 { ac_try='test -s conftest$ac_exeext'
30290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30291 (eval $ac_try) 2>&5
30293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30294 (exit $ac_status); }; }; then
30295 eval "$as_ac_var=yes"
30297 echo "$as_me: failed program was:" >&5
30298 sed 's/^/| /' conftest.$ac_ext >&5
30300 eval "$as_ac_var=no"
30302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30306 if test `eval echo '${'$as_ac_var'}'` = yes; then
30307 cat >>confdefs.h <<_ACEOF
30308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30316 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
30317 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
30318 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30319 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 ac_cpp='$CXXCPP $CPPFLAGS'
30327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30331 cat >conftest.$ac_ext <<_ACEOF
30332 #line $LINENO "configure"
30335 cat confdefs.h >>conftest.$ac_ext
30336 cat >>conftest.$ac_ext <<_ACEOF
30337 /* end confdefs.h. */
30347 rm -f conftest.$ac_objext
30348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30349 (eval $ac_compile) 2>&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try='test -s conftest.$ac_objext'
30354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30355 (eval $ac_try) 2>&5
30357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30358 (exit $ac_status); }; }; then
30359 glibcxx_cv_func__hypot_use=yes
30361 echo "$as_me: failed program was:" >&5
30362 sed 's/^/| /' conftest.$ac_ext >&5
30364 glibcxx_cv_func__hypot_use=no
30366 rm -f conftest.$ac_objext conftest.$ac_ext
30368 ac_cpp='$CPP $CPPFLAGS'
30369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
30378 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
30380 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30382 for ac_func in _hypot
30384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30385 echo "$as_me:$LINENO: checking for $ac_func" >&5
30386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30387 if eval "test \"\${$as_ac_var+set}\" = set"; then
30388 echo $ECHO_N "(cached) $ECHO_C" >&6
30390 if test x$gcc_no_link = xyes; then
30391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30393 { (exit 1); exit 1; }; }
30395 cat >conftest.$ac_ext <<_ACEOF
30396 #line $LINENO "configure"
30399 cat confdefs.h >>conftest.$ac_ext
30400 cat >>conftest.$ac_ext <<_ACEOF
30401 /* end confdefs.h. */
30402 /* System header to define __stub macros and hopefully few prototypes,
30403 which can conflict with char $ac_func (); below.
30404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30405 <limits.h> exists even on freestanding compilers. */
30407 # include <limits.h>
30409 # include <assert.h>
30411 /* Override any gcc2 internal prototype to avoid an error. */
30416 /* We use char because int might match the return type of a gcc2
30417 builtin and then its argument prototype would still apply. */
30419 /* The GNU C library defines this for functions which it implements
30420 to always fail with ENOSYS. Some functions are actually named
30421 something starting with __ and the normal name is an alias. */
30422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30425 char (*f) () = $ac_func;
30434 return f != $ac_func;
30439 rm -f conftest.$ac_objext conftest$ac_exeext
30440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30441 (eval $ac_link) 2>&5
30443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30444 (exit $ac_status); } &&
30445 { ac_try='test -s conftest$ac_exeext'
30446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30447 (eval $ac_try) 2>&5
30449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30450 (exit $ac_status); }; }; then
30451 eval "$as_ac_var=yes"
30453 echo "$as_me: failed program was:" >&5
30454 sed 's/^/| /' conftest.$ac_ext >&5
30456 eval "$as_ac_var=no"
30458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30462 if test `eval echo '${'$as_ac_var'}'` = yes; then
30463 cat >>confdefs.h <<_ACEOF
30464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30475 echo "$as_me:$LINENO: checking for float trig functions" >&5
30476 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
30477 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30484 ac_cpp='$CXXCPP $CPPFLAGS'
30485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30489 cat >conftest.$ac_ext <<_ACEOF
30490 #line $LINENO "configure"
30493 cat confdefs.h >>conftest.$ac_ext
30494 cat >>conftest.$ac_ext <<_ACEOF
30495 /* end confdefs.h. */
30500 `for x in acosf asinf atanf \
30502 coshf sinhf tanhf; do echo "$x (0);"; done`
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_float_trig_use=yes
30521 echo "$as_me: failed program was:" >&5
30522 sed 's/^/| /' conftest.$ac_ext >&5
30524 glibcxx_cv_func_float_trig_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
30535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
30536 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
30537 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30547 for ac_func in acosf asinf atanf \
30551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30552 echo "$as_me:$LINENO: checking for $ac_func" >&5
30553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30554 if eval "test \"\${$as_ac_var+set}\" = set"; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30557 if test x$gcc_no_link = xyes; then
30558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30560 { (exit 1); exit 1; }; }
30562 cat >conftest.$ac_ext <<_ACEOF
30563 #line $LINENO "configure"
30566 cat confdefs.h >>conftest.$ac_ext
30567 cat >>conftest.$ac_ext <<_ACEOF
30568 /* end confdefs.h. */
30569 /* System header to define __stub macros and hopefully few prototypes,
30570 which can conflict with char $ac_func (); below.
30571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30572 <limits.h> exists even on freestanding compilers. */
30574 # include <limits.h>
30576 # include <assert.h>
30578 /* Override any gcc2 internal prototype to avoid an error. */
30583 /* We use char because int might match the return type of a gcc2
30584 builtin and then its argument prototype would still apply. */
30586 /* The GNU C library defines this for functions which it implements
30587 to always fail with ENOSYS. Some functions are actually named
30588 something starting with __ and the normal name is an alias. */
30589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30592 char (*f) () = $ac_func;
30601 return f != $ac_func;
30606 rm -f conftest.$ac_objext conftest$ac_exeext
30607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30608 (eval $ac_link) 2>&5
30610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30611 (exit $ac_status); } &&
30612 { ac_try='test -s conftest$ac_exeext'
30613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30614 (eval $ac_try) 2>&5
30616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30617 (exit $ac_status); }; }; then
30618 eval "$as_ac_var=yes"
30620 echo "$as_me: failed program was:" >&5
30621 sed 's/^/| /' conftest.$ac_ext >&5
30623 eval "$as_ac_var=no"
30625 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30629 if test `eval echo '${'$as_ac_var'}'` = yes; then
30630 cat >>confdefs.h <<_ACEOF
30631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30640 echo "$as_me:$LINENO: checking for float round functions" >&5
30641 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
30642 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
30643 echo $ECHO_N "(cached) $ECHO_C" >&6
30649 ac_cpp='$CXXCPP $CPPFLAGS'
30650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30654 cat >conftest.$ac_ext <<_ACEOF
30655 #line $LINENO "configure"
30658 cat confdefs.h >>conftest.$ac_ext
30659 cat >>conftest.$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30665 `for x in ceilf floorf; do echo "$x (0);"; done`
30670 rm -f conftest.$ac_objext
30671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30672 (eval $ac_compile) 2>&5
30674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30675 (exit $ac_status); } &&
30676 { ac_try='test -s conftest.$ac_objext'
30677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30678 (eval $ac_try) 2>&5
30680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30681 (exit $ac_status); }; }; then
30682 glibcxx_cv_func_float_round_use=yes
30684 echo "$as_me: failed program was:" >&5
30685 sed 's/^/| /' conftest.$ac_ext >&5
30687 glibcxx_cv_func_float_round_use=no
30689 rm -f conftest.$ac_objext conftest.$ac_ext
30691 ac_cpp='$CPP $CPPFLAGS'
30692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
30699 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
30700 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30703 for ac_func in ceilf floorf
30705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30706 echo "$as_me:$LINENO: checking for $ac_func" >&5
30707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30708 if eval "test \"\${$as_ac_var+set}\" = set"; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 if test x$gcc_no_link = xyes; then
30712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30714 { (exit 1); exit 1; }; }
30716 cat >conftest.$ac_ext <<_ACEOF
30717 #line $LINENO "configure"
30720 cat confdefs.h >>conftest.$ac_ext
30721 cat >>conftest.$ac_ext <<_ACEOF
30722 /* end confdefs.h. */
30723 /* System header to define __stub macros and hopefully few prototypes,
30724 which can conflict with char $ac_func (); below.
30725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30726 <limits.h> exists even on freestanding compilers. */
30728 # include <limits.h>
30730 # include <assert.h>
30732 /* Override any gcc2 internal prototype to avoid an error. */
30737 /* We use char because int might match the return type of a gcc2
30738 builtin and then its argument prototype would still apply. */
30740 /* The GNU C library defines this for functions which it implements
30741 to always fail with ENOSYS. Some functions are actually named
30742 something starting with __ and the normal name is an alias. */
30743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30746 char (*f) () = $ac_func;
30755 return f != $ac_func;
30760 rm -f conftest.$ac_objext conftest$ac_exeext
30761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30762 (eval $ac_link) 2>&5
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); } &&
30766 { ac_try='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 eval "$as_ac_var=yes"
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30777 eval "$as_ac_var=no"
30779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30783 if test `eval echo '${'$as_ac_var'}'` = yes; then
30784 cat >>confdefs.h <<_ACEOF
30785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30795 echo "$as_me:$LINENO: checking for expf declaration" >&5
30796 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
30797 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30798 if test "${glibcxx_cv_func_expf_use+set}" = set; then
30799 echo $ECHO_N "(cached) $ECHO_C" >&6
30805 ac_cpp='$CXXCPP $CPPFLAGS'
30806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30810 cat >conftest.$ac_ext <<_ACEOF
30811 #line $LINENO "configure"
30814 cat confdefs.h >>conftest.$ac_ext
30815 cat >>conftest.$ac_ext <<_ACEOF
30816 /* end confdefs.h. */
30818 #ifdef HAVE_IEEEFP_H
30819 #include <ieeefp.h>
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_expf_use=yes
30844 echo "$as_me: failed program was:" >&5
30845 sed 's/^/| /' conftest.$ac_ext >&5
30847 glibcxx_cv_func_expf_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
30860 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
30861 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
30863 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30865 for ac_func in expf
30867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30868 echo "$as_me:$LINENO: checking for $ac_func" >&5
30869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30870 if eval "test \"\${$as_ac_var+set}\" = set"; then
30871 echo $ECHO_N "(cached) $ECHO_C" >&6
30873 if test x$gcc_no_link = xyes; then
30874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30876 { (exit 1); exit 1; }; }
30878 cat >conftest.$ac_ext <<_ACEOF
30879 #line $LINENO "configure"
30882 cat confdefs.h >>conftest.$ac_ext
30883 cat >>conftest.$ac_ext <<_ACEOF
30884 /* end confdefs.h. */
30885 /* System header to define __stub macros and hopefully few prototypes,
30886 which can conflict with char $ac_func (); below.
30887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30888 <limits.h> exists even on freestanding compilers. */
30890 # include <limits.h>
30892 # include <assert.h>
30894 /* Override any gcc2 internal prototype to avoid an error. */
30899 /* We use char because int might match the return type of a gcc2
30900 builtin and then its argument prototype would still apply. */
30902 /* The GNU C library defines this for functions which it implements
30903 to always fail with ENOSYS. Some functions are actually named
30904 something starting with __ and the normal name is an alias. */
30905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30908 char (*f) () = $ac_func;
30917 return f != $ac_func;
30922 rm -f conftest.$ac_objext conftest$ac_exeext
30923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30924 (eval $ac_link) 2>&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } &&
30928 { ac_try='test -s conftest$ac_exeext'
30929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30930 (eval $ac_try) 2>&5
30932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30933 (exit $ac_status); }; }; then
30934 eval "$as_ac_var=yes"
30936 echo "$as_me: failed program was:" >&5
30937 sed 's/^/| /' conftest.$ac_ext >&5
30939 eval "$as_ac_var=no"
30941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
30943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30945 if test `eval echo '${'$as_ac_var'}'` = yes; then
30946 cat >>confdefs.h <<_ACEOF
30947 #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
31118 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
31119 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
31120 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31121 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
31122 echo $ECHO_N "(cached) $ECHO_C" >&6
31128 ac_cpp='$CXXCPP $CPPFLAGS'
31129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31133 cat >conftest.$ac_ext <<_ACEOF
31134 #line $LINENO "configure"
31137 cat confdefs.h >>conftest.$ac_ext
31138 cat >>conftest.$ac_ext <<_ACEOF
31139 /* end confdefs.h. */
31141 #ifdef HAVE_IEEEFP_H
31142 #include <ieeefp.h>
31153 rm -f conftest.$ac_objext
31154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31155 (eval $ac_compile) 2>&5
31157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31158 (exit $ac_status); } &&
31159 { ac_try='test -s conftest.$ac_objext'
31160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31161 (eval $ac_try) 2>&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); }; }; then
31165 glibcxx_cv_func_isnanf_use=yes
31167 echo "$as_me: failed program was:" >&5
31168 sed 's/^/| /' conftest.$ac_ext >&5
31170 glibcxx_cv_func_isnanf_use=no
31172 rm -f conftest.$ac_objext conftest.$ac_ext
31174 ac_cpp='$CPP $CPPFLAGS'
31175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
31184 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
31186 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31188 for ac_func in isnanf
31190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31191 echo "$as_me:$LINENO: checking for $ac_func" >&5
31192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31193 if eval "test \"\${$as_ac_var+set}\" = set"; then
31194 echo $ECHO_N "(cached) $ECHO_C" >&6
31196 if test x$gcc_no_link = xyes; then
31197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31199 { (exit 1); exit 1; }; }
31201 cat >conftest.$ac_ext <<_ACEOF
31202 #line $LINENO "configure"
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208 /* System header to define __stub macros and hopefully few prototypes,
31209 which can conflict with char $ac_func (); below.
31210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31211 <limits.h> exists even on freestanding compilers. */
31213 # include <limits.h>
31215 # include <assert.h>
31217 /* Override any gcc2 internal prototype to avoid an error. */
31222 /* We use char because int might match the return type of a gcc2
31223 builtin and then its argument prototype would still apply. */
31225 /* The GNU C library defines this for functions which it implements
31226 to always fail with ENOSYS. Some functions are actually named
31227 something starting with __ and the normal name is an alias. */
31228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31231 char (*f) () = $ac_func;
31240 return f != $ac_func;
31245 rm -f conftest.$ac_objext conftest$ac_exeext
31246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31247 (eval $ac_link) 2>&5
31249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31250 (exit $ac_status); } &&
31251 { ac_try='test -s conftest$ac_exeext'
31252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31253 (eval $ac_try) 2>&5
31255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31256 (exit $ac_status); }; }; then
31257 eval "$as_ac_var=yes"
31259 echo "$as_me: failed program was:" >&5
31260 sed 's/^/| /' conftest.$ac_ext >&5
31262 eval "$as_ac_var=no"
31264 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31268 if test `eval echo '${'$as_ac_var'}'` = yes; then
31269 cat >>confdefs.h <<_ACEOF
31270 #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
31441 echo "$as_me:$LINENO: checking for isinff declaration" >&5
31442 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
31443 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31444 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
31445 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 ac_cpp='$CXXCPP $CPPFLAGS'
31452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31456 cat >conftest.$ac_ext <<_ACEOF
31457 #line $LINENO "configure"
31460 cat confdefs.h >>conftest.$ac_ext
31461 cat >>conftest.$ac_ext <<_ACEOF
31462 /* end confdefs.h. */
31464 #ifdef HAVE_IEEEFP_H
31465 #include <ieeefp.h>
31476 rm -f conftest.$ac_objext
31477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31478 (eval $ac_compile) 2>&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try='test -s conftest.$ac_objext'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; }; then
31488 glibcxx_cv_func_isinff_use=yes
31490 echo "$as_me: failed program was:" >&5
31491 sed 's/^/| /' conftest.$ac_ext >&5
31493 glibcxx_cv_func_isinff_use=no
31495 rm -f conftest.$ac_objext conftest.$ac_ext
31497 ac_cpp='$CPP $CPPFLAGS'
31498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
31507 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
31509 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31511 for ac_func in isinff
31513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31514 echo "$as_me:$LINENO: checking for $ac_func" >&5
31515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31516 if eval "test \"\${$as_ac_var+set}\" = set"; then
31517 echo $ECHO_N "(cached) $ECHO_C" >&6
31519 if test x$gcc_no_link = xyes; then
31520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31522 { (exit 1); exit 1; }; }
31524 cat >conftest.$ac_ext <<_ACEOF
31525 #line $LINENO "configure"
31528 cat confdefs.h >>conftest.$ac_ext
31529 cat >>conftest.$ac_ext <<_ACEOF
31530 /* end confdefs.h. */
31531 /* System header to define __stub macros and hopefully few prototypes,
31532 which can conflict with char $ac_func (); below.
31533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31534 <limits.h> exists even on freestanding compilers. */
31536 # include <limits.h>
31538 # include <assert.h>
31540 /* Override any gcc2 internal prototype to avoid an error. */
31545 /* We use char because int might match the return type of a gcc2
31546 builtin and then its argument prototype would still apply. */
31548 /* The GNU C library defines this for functions which it implements
31549 to always fail with ENOSYS. Some functions are actually named
31550 something starting with __ and the normal name is an alias. */
31551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31554 char (*f) () = $ac_func;
31563 return f != $ac_func;
31568 rm -f conftest.$ac_objext conftest$ac_exeext
31569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31570 (eval $ac_link) 2>&5
31572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31573 (exit $ac_status); } &&
31574 { ac_try='test -s conftest$ac_exeext'
31575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31576 (eval $ac_try) 2>&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); }; }; then
31580 eval "$as_ac_var=yes"
31582 echo "$as_me: failed program was:" >&5
31583 sed 's/^/| /' conftest.$ac_ext >&5
31585 eval "$as_ac_var=no"
31587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31591 if test `eval echo '${'$as_ac_var'}'` = yes; then
31592 cat >>confdefs.h <<_ACEOF
31593 #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
31764 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
31765 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
31766 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31767 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
31768 echo $ECHO_N "(cached) $ECHO_C" >&6
31774 ac_cpp='$CXXCPP $CPPFLAGS'
31775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31779 cat >conftest.$ac_ext <<_ACEOF
31780 #line $LINENO "configure"
31783 cat confdefs.h >>conftest.$ac_ext
31784 cat >>conftest.$ac_ext <<_ACEOF
31785 /* end confdefs.h. */
31795 rm -f conftest.$ac_objext
31796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31797 (eval $ac_compile) 2>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } &&
31801 { ac_try='test -s conftest.$ac_objext'
31802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31803 (eval $ac_try) 2>&5
31805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31806 (exit $ac_status); }; }; then
31807 glibcxx_cv_func_atan2f_use=yes
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.$ac_ext >&5
31812 glibcxx_cv_func_atan2f_use=no
31814 rm -f conftest.$ac_objext conftest.$ac_ext
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31825 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
31826 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
31828 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31830 for ac_func in atan2f
31832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31833 echo "$as_me:$LINENO: checking for $ac_func" >&5
31834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31835 if eval "test \"\${$as_ac_var+set}\" = set"; then
31836 echo $ECHO_N "(cached) $ECHO_C" >&6
31838 if test x$gcc_no_link = xyes; then
31839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31841 { (exit 1); exit 1; }; }
31843 cat >conftest.$ac_ext <<_ACEOF
31844 #line $LINENO "configure"
31847 cat confdefs.h >>conftest.$ac_ext
31848 cat >>conftest.$ac_ext <<_ACEOF
31849 /* end confdefs.h. */
31850 /* System header to define __stub macros and hopefully few prototypes,
31851 which can conflict with char $ac_func (); below.
31852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31853 <limits.h> exists even on freestanding compilers. */
31855 # include <limits.h>
31857 # include <assert.h>
31859 /* Override any gcc2 internal prototype to avoid an error. */
31864 /* We use char because int might match the return type of a gcc2
31865 builtin and then its argument prototype would still apply. */
31867 /* The GNU C library defines this for functions which it implements
31868 to always fail with ENOSYS. Some functions are actually named
31869 something starting with __ and the normal name is an alias. */
31870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31873 char (*f) () = $ac_func;
31882 return f != $ac_func;
31887 rm -f conftest.$ac_objext conftest$ac_exeext
31888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31889 (eval $ac_link) 2>&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); } &&
31893 { ac_try='test -s conftest$ac_exeext'
31894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31895 (eval $ac_try) 2>&5
31897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31898 (exit $ac_status); }; }; then
31899 eval "$as_ac_var=yes"
31901 echo "$as_me: failed program was:" >&5
31902 sed 's/^/| /' conftest.$ac_ext >&5
31904 eval "$as_ac_var=no"
31906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
31908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31910 if test `eval echo '${'$as_ac_var'}'` = yes; then
31911 cat >>confdefs.h <<_ACEOF
31912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31920 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
31921 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
31922 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31923 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
31924 echo $ECHO_N "(cached) $ECHO_C" >&6
31930 ac_cpp='$CXXCPP $CPPFLAGS'
31931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31935 cat >conftest.$ac_ext <<_ACEOF
31936 #line $LINENO "configure"
31939 cat confdefs.h >>conftest.$ac_ext
31940 cat >>conftest.$ac_ext <<_ACEOF
31941 /* end confdefs.h. */
31951 rm -f conftest.$ac_objext
31952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31953 (eval $ac_compile) 2>&5
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); } &&
31957 { ac_try='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 glibcxx_cv_func__atan2f_use=yes
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31968 glibcxx_cv_func__atan2f_use=no
31970 rm -f conftest.$ac_objext conftest.$ac_ext
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
31982 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
31984 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31986 for ac_func in _atan2f
31988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31989 echo "$as_me:$LINENO: checking for $ac_func" >&5
31990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31991 if eval "test \"\${$as_ac_var+set}\" = set"; then
31992 echo $ECHO_N "(cached) $ECHO_C" >&6
31994 if test x$gcc_no_link = xyes; then
31995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31997 { (exit 1); exit 1; }; }
31999 cat >conftest.$ac_ext <<_ACEOF
32000 #line $LINENO "configure"
32003 cat confdefs.h >>conftest.$ac_ext
32004 cat >>conftest.$ac_ext <<_ACEOF
32005 /* end confdefs.h. */
32006 /* System header to define __stub macros and hopefully few prototypes,
32007 which can conflict with char $ac_func (); below.
32008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32009 <limits.h> exists even on freestanding compilers. */
32011 # include <limits.h>
32013 # include <assert.h>
32015 /* Override any gcc2 internal prototype to avoid an error. */
32020 /* We use char because int might match the return type of a gcc2
32021 builtin and then its argument prototype would still apply. */
32023 /* The GNU C library defines this for functions which it implements
32024 to always fail with ENOSYS. Some functions are actually named
32025 something starting with __ and the normal name is an alias. */
32026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32029 char (*f) () = $ac_func;
32038 return f != $ac_func;
32043 rm -f conftest.$ac_objext conftest$ac_exeext
32044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32045 (eval $ac_link) 2>&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try='test -s conftest$ac_exeext'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; }; then
32055 eval "$as_ac_var=yes"
32057 echo "$as_me: failed program was:" >&5
32058 sed 's/^/| /' conftest.$ac_ext >&5
32060 eval "$as_ac_var=no"
32062 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32066 if test `eval echo '${'$as_ac_var'}'` = yes; then
32067 cat >>confdefs.h <<_ACEOF
32068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32079 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
32080 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
32081 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
32082 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
32083 echo $ECHO_N "(cached) $ECHO_C" >&6
32089 ac_cpp='$CXXCPP $CPPFLAGS'
32090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32094 cat >conftest.$ac_ext <<_ACEOF
32095 #line $LINENO "configure"
32098 cat confdefs.h >>conftest.$ac_ext
32099 cat >>conftest.$ac_ext <<_ACEOF
32100 /* end confdefs.h. */
32102 #ifdef HAVE_IEEEFP_H
32103 #include <ieeefp.h>
32114 rm -f conftest.$ac_objext
32115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32116 (eval $ac_compile) 2>&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); } &&
32120 { ac_try='test -s conftest.$ac_objext'
32121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32122 (eval $ac_try) 2>&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); }; }; then
32126 glibcxx_cv_func_fabsf_use=yes
32128 echo "$as_me: failed program was:" >&5
32129 sed 's/^/| /' conftest.$ac_ext >&5
32131 glibcxx_cv_func_fabsf_use=no
32133 rm -f conftest.$ac_objext conftest.$ac_ext
32135 ac_cpp='$CPP $CPPFLAGS'
32136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32144 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
32145 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
32147 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
32149 for ac_func in fabsf
32151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32152 echo "$as_me:$LINENO: checking for $ac_func" >&5
32153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32154 if eval "test \"\${$as_ac_var+set}\" = set"; then
32155 echo $ECHO_N "(cached) $ECHO_C" >&6
32157 if test x$gcc_no_link = xyes; then
32158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32160 { (exit 1); exit 1; }; }
32162 cat >conftest.$ac_ext <<_ACEOF
32163 #line $LINENO "configure"
32166 cat confdefs.h >>conftest.$ac_ext
32167 cat >>conftest.$ac_ext <<_ACEOF
32168 /* end confdefs.h. */
32169 /* System header to define __stub macros and hopefully few prototypes,
32170 which can conflict with char $ac_func (); below.
32171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32172 <limits.h> exists even on freestanding compilers. */
32174 # include <limits.h>
32176 # include <assert.h>
32178 /* Override any gcc2 internal prototype to avoid an error. */
32183 /* We use char because int might match the return type of a gcc2
32184 builtin and then its argument prototype would still apply. */
32186 /* The GNU C library defines this for functions which it implements
32187 to always fail with ENOSYS. Some functions are actually named
32188 something starting with __ and the normal name is an alias. */
32189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32192 char (*f) () = $ac_func;
32201 return f != $ac_func;
32206 rm -f conftest.$ac_objext conftest$ac_exeext
32207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32208 (eval $ac_link) 2>&5
32210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32211 (exit $ac_status); } &&
32212 { ac_try='test -s conftest$ac_exeext'
32213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32214 (eval $ac_try) 2>&5
32216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32217 (exit $ac_status); }; }; then
32218 eval "$as_ac_var=yes"
32220 echo "$as_me: failed program was:" >&5
32221 sed 's/^/| /' conftest.$ac_ext >&5
32223 eval "$as_ac_var=no"
32225 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32229 if test `eval echo '${'$as_ac_var'}'` = yes; then
32230 cat >>confdefs.h <<_ACEOF
32231 #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
32402 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
32403 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
32404 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
32405 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32412 ac_cpp='$CXXCPP $CPPFLAGS'
32413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32417 cat >conftest.$ac_ext <<_ACEOF
32418 #line $LINENO "configure"
32421 cat confdefs.h >>conftest.$ac_ext
32422 cat >>conftest.$ac_ext <<_ACEOF
32423 /* end confdefs.h. */
32433 rm -f conftest.$ac_objext
32434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32435 (eval $ac_compile) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); } &&
32439 { ac_try='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 glibcxx_cv_func_fmodf_use=yes
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32450 glibcxx_cv_func_fmodf_use=no
32452 rm -f conftest.$ac_objext conftest.$ac_ext
32454 ac_cpp='$CPP $CPPFLAGS'
32455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32463 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
32464 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
32466 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
32468 for ac_func in fmodf
32470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32471 echo "$as_me:$LINENO: checking for $ac_func" >&5
32472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32473 if eval "test \"\${$as_ac_var+set}\" = set"; then
32474 echo $ECHO_N "(cached) $ECHO_C" >&6
32476 if test x$gcc_no_link = xyes; then
32477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32479 { (exit 1); exit 1; }; }
32481 cat >conftest.$ac_ext <<_ACEOF
32482 #line $LINENO "configure"
32485 cat confdefs.h >>conftest.$ac_ext
32486 cat >>conftest.$ac_ext <<_ACEOF
32487 /* end confdefs.h. */
32488 /* System header to define __stub macros and hopefully few prototypes,
32489 which can conflict with char $ac_func (); below.
32490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32491 <limits.h> exists even on freestanding compilers. */
32493 # include <limits.h>
32495 # include <assert.h>
32497 /* Override any gcc2 internal prototype to avoid an error. */
32502 /* We use char because int might match the return type of a gcc2
32503 builtin and then its argument prototype would still apply. */
32505 /* The GNU C library defines this for functions which it implements
32506 to always fail with ENOSYS. Some functions are actually named
32507 something starting with __ and the normal name is an alias. */
32508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32511 char (*f) () = $ac_func;
32520 return f != $ac_func;
32525 rm -f conftest.$ac_objext conftest$ac_exeext
32526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32527 (eval $ac_link) 2>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } &&
32531 { ac_try='test -s conftest$ac_exeext'
32532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32533 (eval $ac_try) 2>&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); }; }; then
32537 eval "$as_ac_var=yes"
32539 echo "$as_me: failed program was:" >&5
32540 sed 's/^/| /' conftest.$ac_ext >&5
32542 eval "$as_ac_var=no"
32544 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32548 if test `eval echo '${'$as_ac_var'}'` = yes; then
32549 cat >>confdefs.h <<_ACEOF
32550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32558 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
32559 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
32560 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
32561 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
32562 echo $ECHO_N "(cached) $ECHO_C" >&6
32568 ac_cpp='$CXXCPP $CPPFLAGS'
32569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32573 cat >conftest.$ac_ext <<_ACEOF
32574 #line $LINENO "configure"
32577 cat confdefs.h >>conftest.$ac_ext
32578 cat >>conftest.$ac_ext <<_ACEOF
32579 /* end confdefs.h. */
32589 rm -f conftest.$ac_objext
32590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32591 (eval $ac_compile) 2>&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try='test -s conftest.$ac_objext'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; }; then
32601 glibcxx_cv_func__fmodf_use=yes
32603 echo "$as_me: failed program was:" >&5
32604 sed 's/^/| /' conftest.$ac_ext >&5
32606 glibcxx_cv_func__fmodf_use=no
32608 rm -f conftest.$ac_objext conftest.$ac_ext
32610 ac_cpp='$CPP $CPPFLAGS'
32611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32619 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
32620 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
32622 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32624 for ac_func in _fmodf
32626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32627 echo "$as_me:$LINENO: checking for $ac_func" >&5
32628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32629 if eval "test \"\${$as_ac_var+set}\" = set"; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 if test x$gcc_no_link = xyes; then
32633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32635 { (exit 1); exit 1; }; }
32637 cat >conftest.$ac_ext <<_ACEOF
32638 #line $LINENO "configure"
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 /* System header to define __stub macros and hopefully few prototypes,
32645 which can conflict with char $ac_func (); below.
32646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32647 <limits.h> exists even on freestanding compilers. */
32649 # include <limits.h>
32651 # include <assert.h>
32653 /* Override any gcc2 internal prototype to avoid an error. */
32658 /* We use char because int might match the return type of a gcc2
32659 builtin and then its argument prototype would still apply. */
32661 /* The GNU C library defines this for functions which it implements
32662 to always fail with ENOSYS. Some functions are actually named
32663 something starting with __ and the normal name is an alias. */
32664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32667 char (*f) () = $ac_func;
32676 return f != $ac_func;
32681 rm -f conftest.$ac_objext conftest$ac_exeext
32682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32683 (eval $ac_link) 2>&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try='test -s conftest$ac_exeext'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; }; then
32693 eval "$as_ac_var=yes"
32695 echo "$as_me: failed program was:" >&5
32696 sed 's/^/| /' conftest.$ac_ext >&5
32698 eval "$as_ac_var=no"
32700 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32704 if test `eval echo '${'$as_ac_var'}'` = yes; then
32705 cat >>confdefs.h <<_ACEOF
32706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32717 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
32718 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
32719 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32720 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
32721 echo $ECHO_N "(cached) $ECHO_C" >&6
32727 ac_cpp='$CXXCPP $CPPFLAGS'
32728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732 cat >conftest.$ac_ext <<_ACEOF
32733 #line $LINENO "configure"
32736 cat confdefs.h >>conftest.$ac_ext
32737 cat >>conftest.$ac_ext <<_ACEOF
32738 /* end confdefs.h. */
32748 rm -f conftest.$ac_objext
32749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32750 (eval $ac_compile) 2>&5
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); } &&
32754 { ac_try='test -s conftest.$ac_objext'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; }; then
32760 glibcxx_cv_func_frexpf_use=yes
32762 echo "$as_me: failed program was:" >&5
32763 sed 's/^/| /' conftest.$ac_ext >&5
32765 glibcxx_cv_func_frexpf_use=no
32767 rm -f conftest.$ac_objext conftest.$ac_ext
32769 ac_cpp='$CPP $CPPFLAGS'
32770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
32779 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
32781 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32783 for ac_func in frexpf
32785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32786 echo "$as_me:$LINENO: checking for $ac_func" >&5
32787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32788 if eval "test \"\${$as_ac_var+set}\" = set"; then
32789 echo $ECHO_N "(cached) $ECHO_C" >&6
32791 if test x$gcc_no_link = xyes; then
32792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32794 { (exit 1); exit 1; }; }
32796 cat >conftest.$ac_ext <<_ACEOF
32797 #line $LINENO "configure"
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32803 /* System header to define __stub macros and hopefully few prototypes,
32804 which can conflict with char $ac_func (); below.
32805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32806 <limits.h> exists even on freestanding compilers. */
32808 # include <limits.h>
32810 # include <assert.h>
32812 /* Override any gcc2 internal prototype to avoid an error. */
32817 /* We use char because int might match the return type of a gcc2
32818 builtin and then its argument prototype would still apply. */
32820 /* The GNU C library defines this for functions which it implements
32821 to always fail with ENOSYS. Some functions are actually named
32822 something starting with __ and the normal name is an alias. */
32823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32826 char (*f) () = $ac_func;
32835 return f != $ac_func;
32840 rm -f conftest.$ac_objext conftest$ac_exeext
32841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32842 (eval $ac_link) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); } &&
32846 { ac_try='test -s conftest$ac_exeext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 eval "$as_ac_var=yes"
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 eval "$as_ac_var=no"
32859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
32861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32863 if test `eval echo '${'$as_ac_var'}'` = yes; then
32864 cat >>confdefs.h <<_ACEOF
32865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32873 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
32874 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
32875 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32876 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
32877 echo $ECHO_N "(cached) $ECHO_C" >&6
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32888 cat >conftest.$ac_ext <<_ACEOF
32889 #line $LINENO "configure"
32892 cat confdefs.h >>conftest.$ac_ext
32893 cat >>conftest.$ac_ext <<_ACEOF
32894 /* end confdefs.h. */
32904 rm -f conftest.$ac_objext
32905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32906 (eval $ac_compile) 2>&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } &&
32910 { ac_try='test -s conftest.$ac_objext'
32911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32912 (eval $ac_try) 2>&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); }; }; then
32916 glibcxx_cv_func__frexpf_use=yes
32918 echo "$as_me: failed program was:" >&5
32919 sed 's/^/| /' conftest.$ac_ext >&5
32921 glibcxx_cv_func__frexpf_use=no
32923 rm -f conftest.$ac_objext conftest.$ac_ext
32925 ac_cpp='$CPP $CPPFLAGS'
32926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
32935 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
32937 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32939 for ac_func in _frexpf
32941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32942 echo "$as_me:$LINENO: checking for $ac_func" >&5
32943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32944 if eval "test \"\${$as_ac_var+set}\" = set"; then
32945 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 if test x$gcc_no_link = xyes; then
32948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32950 { (exit 1); exit 1; }; }
32952 cat >conftest.$ac_ext <<_ACEOF
32953 #line $LINENO "configure"
32956 cat confdefs.h >>conftest.$ac_ext
32957 cat >>conftest.$ac_ext <<_ACEOF
32958 /* end confdefs.h. */
32959 /* System header to define __stub macros and hopefully few prototypes,
32960 which can conflict with char $ac_func (); below.
32961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32962 <limits.h> exists even on freestanding compilers. */
32964 # include <limits.h>
32966 # include <assert.h>
32968 /* Override any gcc2 internal prototype to avoid an error. */
32973 /* We use char because int might match the return type of a gcc2
32974 builtin and then its argument prototype would still apply. */
32976 /* The GNU C library defines this for functions which it implements
32977 to always fail with ENOSYS. Some functions are actually named
32978 something starting with __ and the normal name is an alias. */
32979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32982 char (*f) () = $ac_func;
32991 return f != $ac_func;
32996 rm -f conftest.$ac_objext conftest$ac_exeext
32997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32998 (eval $ac_link) 2>&5
33000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33001 (exit $ac_status); } &&
33002 { ac_try='test -s conftest$ac_exeext'
33003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33004 (eval $ac_try) 2>&5
33006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33007 (exit $ac_status); }; }; then
33008 eval "$as_ac_var=yes"
33010 echo "$as_me: failed program was:" >&5
33011 sed 's/^/| /' conftest.$ac_ext >&5
33013 eval "$as_ac_var=no"
33015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33019 if test `eval echo '${'$as_ac_var'}'` = yes; then
33020 cat >>confdefs.h <<_ACEOF
33021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33032 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
33033 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
33034 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
33035 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33042 ac_cpp='$CXXCPP $CPPFLAGS'
33043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33047 cat >conftest.$ac_ext <<_ACEOF
33048 #line $LINENO "configure"
33051 cat confdefs.h >>conftest.$ac_ext
33052 cat >>conftest.$ac_ext <<_ACEOF
33053 /* end confdefs.h. */
33063 rm -f conftest.$ac_objext
33064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33065 (eval $ac_compile) 2>&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); } &&
33069 { ac_try='test -s conftest.$ac_objext'
33070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33071 (eval $ac_try) 2>&5
33073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33074 (exit $ac_status); }; }; then
33075 glibcxx_cv_func_hypotf_use=yes
33077 echo "$as_me: failed program was:" >&5
33078 sed 's/^/| /' conftest.$ac_ext >&5
33080 glibcxx_cv_func_hypotf_use=no
33082 rm -f conftest.$ac_objext conftest.$ac_ext
33084 ac_cpp='$CPP $CPPFLAGS'
33085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33093 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
33094 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
33096 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
33098 for ac_func in hypotf
33100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_func" >&5
33102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_var+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33106 if test x$gcc_no_link = xyes; then
33107 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33108 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33109 { (exit 1); exit 1; }; }
33111 cat >conftest.$ac_ext <<_ACEOF
33112 #line $LINENO "configure"
33115 cat confdefs.h >>conftest.$ac_ext
33116 cat >>conftest.$ac_ext <<_ACEOF
33117 /* end confdefs.h. */
33118 /* System header to define __stub macros and hopefully few prototypes,
33119 which can conflict with char $ac_func (); below.
33120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33121 <limits.h> exists even on freestanding compilers. */
33123 # include <limits.h>
33125 # include <assert.h>
33127 /* Override any gcc2 internal prototype to avoid an error. */
33132 /* We use char because int might match the return type of a gcc2
33133 builtin and then its argument prototype would still apply. */
33135 /* The GNU C library defines this for functions which it implements
33136 to always fail with ENOSYS. Some functions are actually named
33137 something starting with __ and the normal name is an alias. */
33138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33141 char (*f) () = $ac_func;
33150 return f != $ac_func;
33155 rm -f conftest.$ac_objext conftest$ac_exeext
33156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33157 (eval $ac_link) 2>&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } &&
33161 { ac_try='test -s conftest$ac_exeext'
33162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33163 (eval $ac_try) 2>&5
33165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33166 (exit $ac_status); }; }; then
33167 eval "$as_ac_var=yes"
33169 echo "$as_me: failed program was:" >&5
33170 sed 's/^/| /' conftest.$ac_ext >&5
33172 eval "$as_ac_var=no"
33174 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33178 if test `eval echo '${'$as_ac_var'}'` = yes; then
33179 cat >>confdefs.h <<_ACEOF
33180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33188 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
33189 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
33190 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
33191 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
33192 echo $ECHO_N "(cached) $ECHO_C" >&6
33198 ac_cpp='$CXXCPP $CPPFLAGS'
33199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203 cat >conftest.$ac_ext <<_ACEOF
33204 #line $LINENO "configure"
33207 cat confdefs.h >>conftest.$ac_ext
33208 cat >>conftest.$ac_ext <<_ACEOF
33209 /* end confdefs.h. */
33219 rm -f conftest.$ac_objext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33221 (eval $ac_compile) 2>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); } &&
33225 { ac_try='test -s conftest.$ac_objext'
33226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33227 (eval $ac_try) 2>&5
33229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33230 (exit $ac_status); }; }; then
33231 glibcxx_cv_func__hypotf_use=yes
33233 echo "$as_me: failed program was:" >&5
33234 sed 's/^/| /' conftest.$ac_ext >&5
33236 glibcxx_cv_func__hypotf_use=no
33238 rm -f conftest.$ac_objext conftest.$ac_ext
33240 ac_cpp='$CPP $CPPFLAGS'
33241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33249 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
33250 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
33252 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
33254 for ac_func in _hypotf
33256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33257 echo "$as_me:$LINENO: checking for $ac_func" >&5
33258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33259 if eval "test \"\${$as_ac_var+set}\" = set"; then
33260 echo $ECHO_N "(cached) $ECHO_C" >&6
33262 if test x$gcc_no_link = xyes; then
33263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33265 { (exit 1); exit 1; }; }
33267 cat >conftest.$ac_ext <<_ACEOF
33268 #line $LINENO "configure"
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 /* System header to define __stub macros and hopefully few prototypes,
33275 which can conflict with char $ac_func (); below.
33276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33277 <limits.h> exists even on freestanding compilers. */
33279 # include <limits.h>
33281 # include <assert.h>
33283 /* Override any gcc2 internal prototype to avoid an error. */
33288 /* We use char because int might match the return type of a gcc2
33289 builtin and then its argument prototype would still apply. */
33291 /* The GNU C library defines this for functions which it implements
33292 to always fail with ENOSYS. Some functions are actually named
33293 something starting with __ and the normal name is an alias. */
33294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33297 char (*f) () = $ac_func;
33306 return f != $ac_func;
33311 rm -f conftest.$ac_objext conftest$ac_exeext
33312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33313 (eval $ac_link) 2>&5
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); } &&
33317 { ac_try='test -s conftest$ac_exeext'
33318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33319 (eval $ac_try) 2>&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); }; }; then
33323 eval "$as_ac_var=yes"
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33328 eval "$as_ac_var=no"
33330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33334 if test `eval echo '${'$as_ac_var'}'` = yes; then
33335 cat >>confdefs.h <<_ACEOF
33336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33347 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
33348 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
33349 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
33350 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
33351 echo $ECHO_N "(cached) $ECHO_C" >&6
33357 ac_cpp='$CXXCPP $CPPFLAGS'
33358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33362 cat >conftest.$ac_ext <<_ACEOF
33363 #line $LINENO "configure"
33366 cat confdefs.h >>conftest.$ac_ext
33367 cat >>conftest.$ac_ext <<_ACEOF
33368 /* end confdefs.h. */
33378 rm -f conftest.$ac_objext
33379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33380 (eval $ac_compile) 2>&5
33382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383 (exit $ac_status); } &&
33384 { ac_try='test -s conftest.$ac_objext'
33385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33386 (eval $ac_try) 2>&5
33388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33389 (exit $ac_status); }; }; then
33390 glibcxx_cv_func_ldexpf_use=yes
33392 echo "$as_me: failed program was:" >&5
33393 sed 's/^/| /' conftest.$ac_ext >&5
33395 glibcxx_cv_func_ldexpf_use=no
33397 rm -f conftest.$ac_objext conftest.$ac_ext
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
33409 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
33411 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
33413 for ac_func in ldexpf
33415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33416 echo "$as_me:$LINENO: checking for $ac_func" >&5
33417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33418 if eval "test \"\${$as_ac_var+set}\" = set"; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33421 if test x$gcc_no_link = xyes; then
33422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33424 { (exit 1); exit 1; }; }
33426 cat >conftest.$ac_ext <<_ACEOF
33427 #line $LINENO "configure"
33430 cat confdefs.h >>conftest.$ac_ext
33431 cat >>conftest.$ac_ext <<_ACEOF
33432 /* end confdefs.h. */
33433 /* System header to define __stub macros and hopefully few prototypes,
33434 which can conflict with char $ac_func (); below.
33435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33436 <limits.h> exists even on freestanding compilers. */
33438 # include <limits.h>
33440 # include <assert.h>
33442 /* Override any gcc2 internal prototype to avoid an error. */
33447 /* We use char because int might match the return type of a gcc2
33448 builtin and then its argument prototype would still apply. */
33450 /* The GNU C library defines this for functions which it implements
33451 to always fail with ENOSYS. Some functions are actually named
33452 something starting with __ and the normal name is an alias. */
33453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33456 char (*f) () = $ac_func;
33465 return f != $ac_func;
33470 rm -f conftest.$ac_objext conftest$ac_exeext
33471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33472 (eval $ac_link) 2>&5
33474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33475 (exit $ac_status); } &&
33476 { ac_try='test -s conftest$ac_exeext'
33477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33478 (eval $ac_try) 2>&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); }; }; then
33482 eval "$as_ac_var=yes"
33484 echo "$as_me: failed program was:" >&5
33485 sed 's/^/| /' conftest.$ac_ext >&5
33487 eval "$as_ac_var=no"
33489 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33493 if test `eval echo '${'$as_ac_var'}'` = yes; then
33494 cat >>confdefs.h <<_ACEOF
33495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33503 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
33504 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
33505 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
33506 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
33507 echo $ECHO_N "(cached) $ECHO_C" >&6
33513 ac_cpp='$CXXCPP $CPPFLAGS'
33514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33518 cat >conftest.$ac_ext <<_ACEOF
33519 #line $LINENO "configure"
33522 cat confdefs.h >>conftest.$ac_ext
33523 cat >>conftest.$ac_ext <<_ACEOF
33524 /* end confdefs.h. */
33534 rm -f conftest.$ac_objext
33535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33536 (eval $ac_compile) 2>&5
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); } &&
33540 { ac_try='test -s conftest.$ac_objext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
33546 glibcxx_cv_func__ldexpf_use=yes
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33551 glibcxx_cv_func__ldexpf_use=no
33553 rm -f conftest.$ac_objext conftest.$ac_ext
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33564 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
33565 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
33567 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
33569 for ac_func in _ldexpf
33571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33572 echo "$as_me:$LINENO: checking for $ac_func" >&5
33573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33574 if eval "test \"\${$as_ac_var+set}\" = set"; then
33575 echo $ECHO_N "(cached) $ECHO_C" >&6
33577 if test x$gcc_no_link = xyes; then
33578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33580 { (exit 1); exit 1; }; }
33582 cat >conftest.$ac_ext <<_ACEOF
33583 #line $LINENO "configure"
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589 /* System header to define __stub macros and hopefully few prototypes,
33590 which can conflict with char $ac_func (); below.
33591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33592 <limits.h> exists even on freestanding compilers. */
33594 # include <limits.h>
33596 # include <assert.h>
33598 /* Override any gcc2 internal prototype to avoid an error. */
33603 /* We use char because int might match the return type of a gcc2
33604 builtin and then its argument prototype would still apply. */
33606 /* The GNU C library defines this for functions which it implements
33607 to always fail with ENOSYS. Some functions are actually named
33608 something starting with __ and the normal name is an alias. */
33609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33612 char (*f) () = $ac_func;
33621 return f != $ac_func;
33626 rm -f conftest.$ac_objext conftest$ac_exeext
33627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33628 (eval $ac_link) 2>&5
33630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33631 (exit $ac_status); } &&
33632 { ac_try='test -s conftest$ac_exeext'
33633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33634 (eval $ac_try) 2>&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); }; }; then
33638 eval "$as_ac_var=yes"
33640 echo "$as_me: failed program was:" >&5
33641 sed 's/^/| /' conftest.$ac_ext >&5
33643 eval "$as_ac_var=no"
33645 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33649 if test `eval echo '${'$as_ac_var'}'` = yes; then
33650 cat >>confdefs.h <<_ACEOF
33651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33662 echo "$as_me:$LINENO: checking for logf declaration" >&5
33663 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
33664 if test x${glibcxx_cv_func_logf_use+set} != xset; then
33665 if test "${glibcxx_cv_func_logf_use+set}" = set; then
33666 echo $ECHO_N "(cached) $ECHO_C" >&6
33672 ac_cpp='$CXXCPP $CPPFLAGS'
33673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33677 cat >conftest.$ac_ext <<_ACEOF
33678 #line $LINENO "configure"
33681 cat confdefs.h >>conftest.$ac_ext
33682 cat >>conftest.$ac_ext <<_ACEOF
33683 /* end confdefs.h. */
33685 #ifdef HAVE_IEEEFP_H
33686 #include <ieeefp.h>
33697 rm -f conftest.$ac_objext
33698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33699 (eval $ac_compile) 2>&5
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); } &&
33703 { ac_try='test -s conftest.$ac_objext'
33704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33705 (eval $ac_try) 2>&5
33707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33708 (exit $ac_status); }; }; then
33709 glibcxx_cv_func_logf_use=yes
33711 echo "$as_me: failed program was:" >&5
33712 sed 's/^/| /' conftest.$ac_ext >&5
33714 glibcxx_cv_func_logf_use=no
33716 rm -f conftest.$ac_objext conftest.$ac_ext
33718 ac_cpp='$CPP $CPPFLAGS'
33719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33727 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
33728 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
33730 if test x$glibcxx_cv_func_logf_use = x"yes"; then
33732 for ac_func in logf
33734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33735 echo "$as_me:$LINENO: checking for $ac_func" >&5
33736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33737 if eval "test \"\${$as_ac_var+set}\" = set"; then
33738 echo $ECHO_N "(cached) $ECHO_C" >&6
33740 if test x$gcc_no_link = xyes; then
33741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33743 { (exit 1); exit 1; }; }
33745 cat >conftest.$ac_ext <<_ACEOF
33746 #line $LINENO "configure"
33749 cat confdefs.h >>conftest.$ac_ext
33750 cat >>conftest.$ac_ext <<_ACEOF
33751 /* end confdefs.h. */
33752 /* System header to define __stub macros and hopefully few prototypes,
33753 which can conflict with char $ac_func (); below.
33754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33755 <limits.h> exists even on freestanding compilers. */
33757 # include <limits.h>
33759 # include <assert.h>
33761 /* Override any gcc2 internal prototype to avoid an error. */
33766 /* We use char because int might match the return type of a gcc2
33767 builtin and then its argument prototype would still apply. */
33769 /* The GNU C library defines this for functions which it implements
33770 to always fail with ENOSYS. Some functions are actually named
33771 something starting with __ and the normal name is an alias. */
33772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33775 char (*f) () = $ac_func;
33784 return f != $ac_func;
33789 rm -f conftest.$ac_objext conftest$ac_exeext
33790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33791 (eval $ac_link) 2>&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -s conftest$ac_exeext'
33796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33797 (eval $ac_try) 2>&5
33799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33800 (exit $ac_status); }; }; then
33801 eval "$as_ac_var=yes"
33803 echo "$as_me: failed program was:" >&5
33804 sed 's/^/| /' conftest.$ac_ext >&5
33806 eval "$as_ac_var=no"
33808 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
33810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33812 if test `eval echo '${'$as_ac_var'}'` = yes; then
33813 cat >>confdefs.h <<_ACEOF
33814 #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
33985 echo "$as_me:$LINENO: checking for log10f declaration" >&5
33986 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
33987 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
33988 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
33989 echo $ECHO_N "(cached) $ECHO_C" >&6
33995 ac_cpp='$CXXCPP $CPPFLAGS'
33996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000 cat >conftest.$ac_ext <<_ACEOF
34001 #line $LINENO "configure"
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34008 #ifdef HAVE_IEEEFP_H
34009 #include <ieeefp.h>
34020 rm -f conftest.$ac_objext
34021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34022 (eval $ac_compile) 2>&5
34024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34025 (exit $ac_status); } &&
34026 { ac_try='test -s conftest.$ac_objext'
34027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34028 (eval $ac_try) 2>&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); }; }; then
34032 glibcxx_cv_func_log10f_use=yes
34034 echo "$as_me: failed program was:" >&5
34035 sed 's/^/| /' conftest.$ac_ext >&5
34037 glibcxx_cv_func_log10f_use=no
34039 rm -f conftest.$ac_objext conftest.$ac_ext
34041 ac_cpp='$CPP $CPPFLAGS'
34042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34050 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
34051 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
34053 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34055 for ac_func in log10f
34057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34058 echo "$as_me:$LINENO: checking for $ac_func" >&5
34059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34060 if eval "test \"\${$as_ac_var+set}\" = set"; then
34061 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 if test x$gcc_no_link = xyes; then
34064 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34066 { (exit 1); exit 1; }; }
34068 cat >conftest.$ac_ext <<_ACEOF
34069 #line $LINENO "configure"
34072 cat confdefs.h >>conftest.$ac_ext
34073 cat >>conftest.$ac_ext <<_ACEOF
34074 /* end confdefs.h. */
34075 /* System header to define __stub macros and hopefully few prototypes,
34076 which can conflict with char $ac_func (); below.
34077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34078 <limits.h> exists even on freestanding compilers. */
34080 # include <limits.h>
34082 # include <assert.h>
34084 /* Override any gcc2 internal prototype to avoid an error. */
34089 /* We use char because int might match the return type of a gcc2
34090 builtin and then its argument prototype would still apply. */
34092 /* The GNU C library defines this for functions which it implements
34093 to always fail with ENOSYS. Some functions are actually named
34094 something starting with __ and the normal name is an alias. */
34095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34098 char (*f) () = $ac_func;
34107 return f != $ac_func;
34112 rm -f conftest.$ac_objext conftest$ac_exeext
34113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34114 (eval $ac_link) 2>&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } &&
34118 { ac_try='test -s conftest$ac_exeext'
34119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34120 (eval $ac_try) 2>&5
34122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34123 (exit $ac_status); }; }; then
34124 eval "$as_ac_var=yes"
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34129 eval "$as_ac_var=no"
34131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34135 if test `eval echo '${'$as_ac_var'}'` = yes; then
34136 cat >>confdefs.h <<_ACEOF
34137 #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
34308 echo "$as_me:$LINENO: checking for modff declaration" >&5
34309 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
34310 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34311 if test "${glibcxx_cv_func_modff_use+set}" = set; then
34312 echo $ECHO_N "(cached) $ECHO_C" >&6
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34323 cat >conftest.$ac_ext <<_ACEOF
34324 #line $LINENO "configure"
34327 cat confdefs.h >>conftest.$ac_ext
34328 cat >>conftest.$ac_ext <<_ACEOF
34329 /* end confdefs.h. */
34339 rm -f conftest.$ac_objext
34340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34341 (eval $ac_compile) 2>&5
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } &&
34345 { ac_try='test -s conftest.$ac_objext'
34346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34347 (eval $ac_try) 2>&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); }; }; then
34351 glibcxx_cv_func_modff_use=yes
34353 echo "$as_me: failed program was:" >&5
34354 sed 's/^/| /' conftest.$ac_ext >&5
34356 glibcxx_cv_func_modff_use=no
34358 rm -f conftest.$ac_objext conftest.$ac_ext
34360 ac_cpp='$CPP $CPPFLAGS'
34361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
34370 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
34372 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34374 for ac_func in modff
34376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34377 echo "$as_me:$LINENO: checking for $ac_func" >&5
34378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34379 if eval "test \"\${$as_ac_var+set}\" = set"; then
34380 echo $ECHO_N "(cached) $ECHO_C" >&6
34382 if test x$gcc_no_link = xyes; then
34383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34385 { (exit 1); exit 1; }; }
34387 cat >conftest.$ac_ext <<_ACEOF
34388 #line $LINENO "configure"
34391 cat confdefs.h >>conftest.$ac_ext
34392 cat >>conftest.$ac_ext <<_ACEOF
34393 /* end confdefs.h. */
34394 /* System header to define __stub macros and hopefully few prototypes,
34395 which can conflict with char $ac_func (); below.
34396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34397 <limits.h> exists even on freestanding compilers. */
34399 # include <limits.h>
34401 # include <assert.h>
34403 /* Override any gcc2 internal prototype to avoid an error. */
34408 /* We use char because int might match the return type of a gcc2
34409 builtin and then its argument prototype would still apply. */
34411 /* The GNU C library defines this for functions which it implements
34412 to always fail with ENOSYS. Some functions are actually named
34413 something starting with __ and the normal name is an alias. */
34414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34417 char (*f) () = $ac_func;
34426 return f != $ac_func;
34431 rm -f conftest.$ac_objext conftest$ac_exeext
34432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34433 (eval $ac_link) 2>&5
34435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34436 (exit $ac_status); } &&
34437 { ac_try='test -s conftest$ac_exeext'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; }; then
34443 eval "$as_ac_var=yes"
34445 echo "$as_me: failed program was:" >&5
34446 sed 's/^/| /' conftest.$ac_ext >&5
34448 eval "$as_ac_var=no"
34450 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34454 if test `eval echo '${'$as_ac_var'}'` = yes; then
34455 cat >>confdefs.h <<_ACEOF
34456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34464 echo "$as_me:$LINENO: checking for _modff declaration" >&5
34465 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
34466 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34467 if test "${glibcxx_cv_func__modff_use+set}" = set; then
34468 echo $ECHO_N "(cached) $ECHO_C" >&6
34474 ac_cpp='$CXXCPP $CPPFLAGS'
34475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34479 cat >conftest.$ac_ext <<_ACEOF
34480 #line $LINENO "configure"
34483 cat confdefs.h >>conftest.$ac_ext
34484 cat >>conftest.$ac_ext <<_ACEOF
34485 /* end confdefs.h. */
34495 rm -f conftest.$ac_objext
34496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34497 (eval $ac_compile) 2>&5
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); } &&
34501 { ac_try='test -s conftest.$ac_objext'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; }; then
34507 glibcxx_cv_func__modff_use=yes
34509 echo "$as_me: failed program was:" >&5
34510 sed 's/^/| /' conftest.$ac_ext >&5
34512 glibcxx_cv_func__modff_use=no
34514 rm -f conftest.$ac_objext conftest.$ac_ext
34516 ac_cpp='$CPP $CPPFLAGS'
34517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34525 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
34526 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
34528 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34530 for ac_func in _modff
34532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34533 echo "$as_me:$LINENO: checking for $ac_func" >&5
34534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34535 if eval "test \"\${$as_ac_var+set}\" = set"; then
34536 echo $ECHO_N "(cached) $ECHO_C" >&6
34538 if test x$gcc_no_link = xyes; then
34539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34541 { (exit 1); exit 1; }; }
34543 cat >conftest.$ac_ext <<_ACEOF
34544 #line $LINENO "configure"
34547 cat confdefs.h >>conftest.$ac_ext
34548 cat >>conftest.$ac_ext <<_ACEOF
34549 /* end confdefs.h. */
34550 /* System header to define __stub macros and hopefully few prototypes,
34551 which can conflict with char $ac_func (); below.
34552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34553 <limits.h> exists even on freestanding compilers. */
34555 # include <limits.h>
34557 # include <assert.h>
34559 /* Override any gcc2 internal prototype to avoid an error. */
34564 /* We use char because int might match the return type of a gcc2
34565 builtin and then its argument prototype would still apply. */
34567 /* The GNU C library defines this for functions which it implements
34568 to always fail with ENOSYS. Some functions are actually named
34569 something starting with __ and the normal name is an alias. */
34570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34573 char (*f) () = $ac_func;
34582 return f != $ac_func;
34587 rm -f conftest.$ac_objext conftest$ac_exeext
34588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34589 (eval $ac_link) 2>&5
34591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34592 (exit $ac_status); } &&
34593 { ac_try='test -s conftest$ac_exeext'
34594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34595 (eval $ac_try) 2>&5
34597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34598 (exit $ac_status); }; }; then
34599 eval "$as_ac_var=yes"
34601 echo "$as_me: failed program was:" >&5
34602 sed 's/^/| /' conftest.$ac_ext >&5
34604 eval "$as_ac_var=no"
34606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34610 if test `eval echo '${'$as_ac_var'}'` = yes; then
34611 cat >>confdefs.h <<_ACEOF
34612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34623 echo "$as_me:$LINENO: checking for powf declaration" >&5
34624 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
34625 if test x${glibcxx_cv_func_powf_use+set} != xset; then
34626 if test "${glibcxx_cv_func_powf_use+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34633 ac_cpp='$CXXCPP $CPPFLAGS'
34634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638 cat >conftest.$ac_ext <<_ACEOF
34639 #line $LINENO "configure"
34642 cat confdefs.h >>conftest.$ac_ext
34643 cat >>conftest.$ac_ext <<_ACEOF
34644 /* end confdefs.h. */
34654 rm -f conftest.$ac_objext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34656 (eval $ac_compile) 2>&5
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); } &&
34660 { ac_try='test -s conftest.$ac_objext'
34661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34662 (eval $ac_try) 2>&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); }; }; then
34666 glibcxx_cv_func_powf_use=yes
34668 echo "$as_me: failed program was:" >&5
34669 sed 's/^/| /' conftest.$ac_ext >&5
34671 glibcxx_cv_func_powf_use=no
34673 rm -f conftest.$ac_objext conftest.$ac_ext
34675 ac_cpp='$CPP $CPPFLAGS'
34676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34684 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
34685 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
34687 if test x$glibcxx_cv_func_powf_use = x"yes"; then
34689 for ac_func in powf
34691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34692 echo "$as_me:$LINENO: checking for $ac_func" >&5
34693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34694 if eval "test \"\${$as_ac_var+set}\" = set"; then
34695 echo $ECHO_N "(cached) $ECHO_C" >&6
34697 if test x$gcc_no_link = xyes; then
34698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34700 { (exit 1); exit 1; }; }
34702 cat >conftest.$ac_ext <<_ACEOF
34703 #line $LINENO "configure"
34706 cat confdefs.h >>conftest.$ac_ext
34707 cat >>conftest.$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 /* System header to define __stub macros and hopefully few prototypes,
34710 which can conflict with char $ac_func (); below.
34711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34712 <limits.h> exists even on freestanding compilers. */
34714 # include <limits.h>
34716 # include <assert.h>
34718 /* Override any gcc2 internal prototype to avoid an error. */
34723 /* We use char because int might match the return type of a gcc2
34724 builtin and then its argument prototype would still apply. */
34726 /* The GNU C library defines this for functions which it implements
34727 to always fail with ENOSYS. Some functions are actually named
34728 something starting with __ and the normal name is an alias. */
34729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34732 char (*f) () = $ac_func;
34741 return f != $ac_func;
34746 rm -f conftest.$ac_objext conftest$ac_exeext
34747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34748 (eval $ac_link) 2>&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try='test -s conftest$ac_exeext'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; }; then
34758 eval "$as_ac_var=yes"
34760 echo "$as_me: failed program was:" >&5
34761 sed 's/^/| /' conftest.$ac_ext >&5
34763 eval "$as_ac_var=no"
34765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34769 if test `eval echo '${'$as_ac_var'}'` = yes; then
34770 cat >>confdefs.h <<_ACEOF
34771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34779 echo "$as_me:$LINENO: checking for _powf declaration" >&5
34780 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
34781 if test x${glibcxx_cv_func__powf_use+set} != xset; then
34782 if test "${glibcxx_cv_func__powf_use+set}" = set; then
34783 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34794 cat >conftest.$ac_ext <<_ACEOF
34795 #line $LINENO "configure"
34798 cat confdefs.h >>conftest.$ac_ext
34799 cat >>conftest.$ac_ext <<_ACEOF
34800 /* end confdefs.h. */
34810 rm -f conftest.$ac_objext
34811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34812 (eval $ac_compile) 2>&5
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); } &&
34816 { ac_try='test -s conftest.$ac_objext'
34817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34818 (eval $ac_try) 2>&5
34820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34821 (exit $ac_status); }; }; then
34822 glibcxx_cv_func__powf_use=yes
34824 echo "$as_me: failed program was:" >&5
34825 sed 's/^/| /' conftest.$ac_ext >&5
34827 glibcxx_cv_func__powf_use=no
34829 rm -f conftest.$ac_objext conftest.$ac_ext
34831 ac_cpp='$CPP $CPPFLAGS'
34832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34840 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
34841 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
34843 if test x$glibcxx_cv_func__powf_use = x"yes"; then
34845 for ac_func in _powf
34847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34848 echo "$as_me:$LINENO: checking for $ac_func" >&5
34849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34850 if eval "test \"\${$as_ac_var+set}\" = set"; then
34851 echo $ECHO_N "(cached) $ECHO_C" >&6
34853 if test x$gcc_no_link = xyes; then
34854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34856 { (exit 1); exit 1; }; }
34858 cat >conftest.$ac_ext <<_ACEOF
34859 #line $LINENO "configure"
34862 cat confdefs.h >>conftest.$ac_ext
34863 cat >>conftest.$ac_ext <<_ACEOF
34864 /* end confdefs.h. */
34865 /* System header to define __stub macros and hopefully few prototypes,
34866 which can conflict with char $ac_func (); below.
34867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34868 <limits.h> exists even on freestanding compilers. */
34870 # include <limits.h>
34872 # include <assert.h>
34874 /* Override any gcc2 internal prototype to avoid an error. */
34879 /* We use char because int might match the return type of a gcc2
34880 builtin and then its argument prototype would still apply. */
34882 /* The GNU C library defines this for functions which it implements
34883 to always fail with ENOSYS. Some functions are actually named
34884 something starting with __ and the normal name is an alias. */
34885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34888 char (*f) () = $ac_func;
34897 return f != $ac_func;
34902 rm -f conftest.$ac_objext conftest$ac_exeext
34903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34904 (eval $ac_link) 2>&5
34906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34907 (exit $ac_status); } &&
34908 { ac_try='test -s conftest$ac_exeext'
34909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34910 (eval $ac_try) 2>&5
34912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913 (exit $ac_status); }; }; then
34914 eval "$as_ac_var=yes"
34916 echo "$as_me: failed program was:" >&5
34917 sed 's/^/| /' conftest.$ac_ext >&5
34919 eval "$as_ac_var=no"
34921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
34923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34925 if test `eval echo '${'$as_ac_var'}'` = yes; then
34926 cat >>confdefs.h <<_ACEOF
34927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34938 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
34939 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
34940 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
34941 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
34942 echo $ECHO_N "(cached) $ECHO_C" >&6
34948 ac_cpp='$CXXCPP $CPPFLAGS'
34949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34953 cat >conftest.$ac_ext <<_ACEOF
34954 #line $LINENO "configure"
34957 cat confdefs.h >>conftest.$ac_ext
34958 cat >>conftest.$ac_ext <<_ACEOF
34959 /* end confdefs.h. */
34961 #ifdef HAVE_IEEEFP_H
34962 #include <ieeefp.h>
34973 rm -f conftest.$ac_objext
34974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34975 (eval $ac_compile) 2>&5
34977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34978 (exit $ac_status); } &&
34979 { ac_try='test -s conftest.$ac_objext'
34980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34981 (eval $ac_try) 2>&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); }; }; then
34985 glibcxx_cv_func_sqrtf_use=yes
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34990 glibcxx_cv_func_sqrtf_use=no
34992 rm -f conftest.$ac_objext conftest.$ac_ext
34994 ac_cpp='$CPP $CPPFLAGS'
34995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35003 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
35004 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
35006 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35008 for ac_func in sqrtf
35010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35011 echo "$as_me:$LINENO: checking for $ac_func" >&5
35012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35013 if eval "test \"\${$as_ac_var+set}\" = set"; then
35014 echo $ECHO_N "(cached) $ECHO_C" >&6
35016 if test x$gcc_no_link = xyes; then
35017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35019 { (exit 1); exit 1; }; }
35021 cat >conftest.$ac_ext <<_ACEOF
35022 #line $LINENO "configure"
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028 /* System header to define __stub macros and hopefully few prototypes,
35029 which can conflict with char $ac_func (); below.
35030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35031 <limits.h> exists even on freestanding compilers. */
35033 # include <limits.h>
35035 # include <assert.h>
35037 /* Override any gcc2 internal prototype to avoid an error. */
35042 /* We use char because int might match the return type of a gcc2
35043 builtin and then its argument prototype would still apply. */
35045 /* The GNU C library defines this for functions which it implements
35046 to always fail with ENOSYS. Some functions are actually named
35047 something starting with __ and the normal name is an alias. */
35048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35051 char (*f) () = $ac_func;
35060 return f != $ac_func;
35065 rm -f conftest.$ac_objext conftest$ac_exeext
35066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35067 (eval $ac_link) 2>&5
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); } &&
35071 { ac_try='test -s conftest$ac_exeext'
35072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35073 (eval $ac_try) 2>&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); }; }; then
35077 eval "$as_ac_var=yes"
35079 echo "$as_me: failed program was:" >&5
35080 sed 's/^/| /' conftest.$ac_ext >&5
35082 eval "$as_ac_var=no"
35084 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35088 if test `eval echo '${'$as_ac_var'}'` = yes; then
35089 cat >>confdefs.h <<_ACEOF
35090 #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
35261 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
35262 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
35263 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35264 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
35265 echo $ECHO_N "(cached) $ECHO_C" >&6
35271 ac_cpp='$CXXCPP $CPPFLAGS'
35272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35276 cat >conftest.$ac_ext <<_ACEOF
35277 #line $LINENO "configure"
35280 cat confdefs.h >>conftest.$ac_ext
35281 cat >>conftest.$ac_ext <<_ACEOF
35282 /* end confdefs.h. */
35292 rm -f conftest.$ac_objext
35293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35294 (eval $ac_compile) 2>&5
35296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35297 (exit $ac_status); } &&
35298 { ac_try='test -s conftest.$ac_objext'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; }; then
35304 glibcxx_cv_func_sincosf_use=yes
35306 echo "$as_me: failed program was:" >&5
35307 sed 's/^/| /' conftest.$ac_ext >&5
35309 glibcxx_cv_func_sincosf_use=no
35311 rm -f conftest.$ac_objext conftest.$ac_ext
35313 ac_cpp='$CPP $CPPFLAGS'
35314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35322 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
35323 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
35325 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35327 for ac_func in sincosf
35329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35330 echo "$as_me:$LINENO: checking for $ac_func" >&5
35331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35332 if eval "test \"\${$as_ac_var+set}\" = set"; then
35333 echo $ECHO_N "(cached) $ECHO_C" >&6
35335 if test x$gcc_no_link = xyes; then
35336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35338 { (exit 1); exit 1; }; }
35340 cat >conftest.$ac_ext <<_ACEOF
35341 #line $LINENO "configure"
35344 cat confdefs.h >>conftest.$ac_ext
35345 cat >>conftest.$ac_ext <<_ACEOF
35346 /* end confdefs.h. */
35347 /* System header to define __stub macros and hopefully few prototypes,
35348 which can conflict with char $ac_func (); below.
35349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35350 <limits.h> exists even on freestanding compilers. */
35352 # include <limits.h>
35354 # include <assert.h>
35356 /* Override any gcc2 internal prototype to avoid an error. */
35361 /* We use char because int might match the return type of a gcc2
35362 builtin and then its argument prototype would still apply. */
35364 /* The GNU C library defines this for functions which it implements
35365 to always fail with ENOSYS. Some functions are actually named
35366 something starting with __ and the normal name is an alias. */
35367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35370 char (*f) () = $ac_func;
35379 return f != $ac_func;
35384 rm -f conftest.$ac_objext conftest$ac_exeext
35385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35386 (eval $ac_link) 2>&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } &&
35390 { ac_try='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 eval "$as_ac_var=yes"
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35401 eval "$as_ac_var=no"
35403 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35407 if test `eval echo '${'$as_ac_var'}'` = yes; then
35408 cat >>confdefs.h <<_ACEOF
35409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35417 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
35418 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
35419 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35420 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
35421 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 ac_cpp='$CXXCPP $CPPFLAGS'
35428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432 cat >conftest.$ac_ext <<_ACEOF
35433 #line $LINENO "configure"
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35448 rm -f conftest.$ac_objext
35449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35450 (eval $ac_compile) 2>&5
35452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35453 (exit $ac_status); } &&
35454 { ac_try='test -s conftest.$ac_objext'
35455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35456 (eval $ac_try) 2>&5
35458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35459 (exit $ac_status); }; }; then
35460 glibcxx_cv_func__sincosf_use=yes
35462 echo "$as_me: failed program was:" >&5
35463 sed 's/^/| /' conftest.$ac_ext >&5
35465 glibcxx_cv_func__sincosf_use=no
35467 rm -f conftest.$ac_objext conftest.$ac_ext
35469 ac_cpp='$CPP $CPPFLAGS'
35470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
35479 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
35481 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35483 for ac_func in _sincosf
35485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35486 echo "$as_me:$LINENO: checking for $ac_func" >&5
35487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35488 if eval "test \"\${$as_ac_var+set}\" = set"; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35491 if test x$gcc_no_link = xyes; then
35492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35494 { (exit 1); exit 1; }; }
35496 cat >conftest.$ac_ext <<_ACEOF
35497 #line $LINENO "configure"
35500 cat confdefs.h >>conftest.$ac_ext
35501 cat >>conftest.$ac_ext <<_ACEOF
35502 /* end confdefs.h. */
35503 /* System header to define __stub macros and hopefully few prototypes,
35504 which can conflict with char $ac_func (); below.
35505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35506 <limits.h> exists even on freestanding compilers. */
35508 # include <limits.h>
35510 # include <assert.h>
35512 /* Override any gcc2 internal prototype to avoid an error. */
35517 /* We use char because int might match the return type of a gcc2
35518 builtin and then its argument prototype would still apply. */
35520 /* The GNU C library defines this for functions which it implements
35521 to always fail with ENOSYS. Some functions are actually named
35522 something starting with __ and the normal name is an alias. */
35523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35526 char (*f) () = $ac_func;
35535 return f != $ac_func;
35540 rm -f conftest.$ac_objext conftest$ac_exeext
35541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35542 (eval $ac_link) 2>&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); } &&
35546 { ac_try='test -s conftest$ac_exeext'
35547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35548 (eval $ac_try) 2>&5
35550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551 (exit $ac_status); }; }; then
35552 eval "$as_ac_var=yes"
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35557 eval "$as_ac_var=no"
35559 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35563 if test `eval echo '${'$as_ac_var'}'` = yes; then
35564 cat >>confdefs.h <<_ACEOF
35565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35576 echo "$as_me:$LINENO: checking for finitef declaration" >&5
35577 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
35578 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35579 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
35580 echo $ECHO_N "(cached) $ECHO_C" >&6
35586 ac_cpp='$CXXCPP $CPPFLAGS'
35587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591 cat >conftest.$ac_ext <<_ACEOF
35592 #line $LINENO "configure"
35595 cat confdefs.h >>conftest.$ac_ext
35596 cat >>conftest.$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35599 #ifdef HAVE_IEEEFP_H
35600 #include <ieeefp.h>
35611 rm -f conftest.$ac_objext
35612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35613 (eval $ac_compile) 2>&5
35615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35616 (exit $ac_status); } &&
35617 { ac_try='test -s conftest.$ac_objext'
35618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35619 (eval $ac_try) 2>&5
35621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35622 (exit $ac_status); }; }; then
35623 glibcxx_cv_func_finitef_use=yes
35625 echo "$as_me: failed program was:" >&5
35626 sed 's/^/| /' conftest.$ac_ext >&5
35628 glibcxx_cv_func_finitef_use=no
35630 rm -f conftest.$ac_objext conftest.$ac_ext
35632 ac_cpp='$CPP $CPPFLAGS'
35633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
35642 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
35644 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35646 for ac_func in finitef
35648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35649 echo "$as_me:$LINENO: checking for $ac_func" >&5
35650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35651 if eval "test \"\${$as_ac_var+set}\" = set"; then
35652 echo $ECHO_N "(cached) $ECHO_C" >&6
35654 if test x$gcc_no_link = xyes; then
35655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35657 { (exit 1); exit 1; }; }
35659 cat >conftest.$ac_ext <<_ACEOF
35660 #line $LINENO "configure"
35663 cat confdefs.h >>conftest.$ac_ext
35664 cat >>conftest.$ac_ext <<_ACEOF
35665 /* end confdefs.h. */
35666 /* System header to define __stub macros and hopefully few prototypes,
35667 which can conflict with char $ac_func (); below.
35668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35669 <limits.h> exists even on freestanding compilers. */
35671 # include <limits.h>
35673 # include <assert.h>
35675 /* Override any gcc2 internal prototype to avoid an error. */
35680 /* We use char because int might match the return type of a gcc2
35681 builtin and then its argument prototype would still apply. */
35683 /* The GNU C library defines this for functions which it implements
35684 to always fail with ENOSYS. Some functions are actually named
35685 something starting with __ and the normal name is an alias. */
35686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35689 char (*f) () = $ac_func;
35698 return f != $ac_func;
35703 rm -f conftest.$ac_objext conftest$ac_exeext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35705 (eval $ac_link) 2>&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } &&
35709 { ac_try='test -s conftest$ac_exeext'
35710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35711 (eval $ac_try) 2>&5
35713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35714 (exit $ac_status); }; }; then
35715 eval "$as_ac_var=yes"
35717 echo "$as_me: failed program was:" >&5
35718 sed 's/^/| /' conftest.$ac_ext >&5
35720 eval "$as_ac_var=no"
35722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
35724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35726 if test `eval echo '${'$as_ac_var'}'` = yes; then
35727 cat >>confdefs.h <<_ACEOF
35728 #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
35899 echo "$as_me:$LINENO: checking for long double trig functions" >&5
35900 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
35901 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
35902 echo $ECHO_N "(cached) $ECHO_C" >&6
35908 ac_cpp='$CXXCPP $CPPFLAGS'
35909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35913 cat >conftest.$ac_ext <<_ACEOF
35914 #line $LINENO "configure"
35917 cat confdefs.h >>conftest.$ac_ext
35918 cat >>conftest.$ac_ext <<_ACEOF
35919 /* end confdefs.h. */
35924 `for x in acosl asinl atanl \
35926 coshl sinhl tanhl; do echo "$x (0);"; done`
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_long_double_trig_use=yes
35945 echo "$as_me: failed program was:" >&5
35946 sed 's/^/| /' conftest.$ac_ext >&5
35948 glibcxx_cv_func_long_double_trig_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
35959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
35960 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
35961 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35971 for ac_func in acosl asinl atanl \
35975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35976 echo "$as_me:$LINENO: checking for $ac_func" >&5
35977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35978 if eval "test \"\${$as_ac_var+set}\" = set"; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 if test x$gcc_no_link = xyes; then
35982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35984 { (exit 1); exit 1; }; }
35986 cat >conftest.$ac_ext <<_ACEOF
35987 #line $LINENO "configure"
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 /* System header to define __stub macros and hopefully few prototypes,
35994 which can conflict with char $ac_func (); below.
35995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35996 <limits.h> exists even on freestanding compilers. */
35998 # include <limits.h>
36000 # include <assert.h>
36002 /* Override any gcc2 internal prototype to avoid an error. */
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36010 /* The GNU C library defines this for functions which it implements
36011 to always fail with ENOSYS. Some functions are actually named
36012 something starting with __ and the normal name is an alias. */
36013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36016 char (*f) () = $ac_func;
36025 return f != $ac_func;
36030 rm -f conftest.$ac_objext conftest$ac_exeext
36031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36032 (eval $ac_link) 2>&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); } &&
36036 { ac_try='test -s conftest$ac_exeext'
36037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36038 (eval $ac_try) 2>&5
36040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36041 (exit $ac_status); }; }; then
36042 eval "$as_ac_var=yes"
36044 echo "$as_me: failed program was:" >&5
36045 sed 's/^/| /' conftest.$ac_ext >&5
36047 eval "$as_ac_var=no"
36049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36053 if test `eval echo '${'$as_ac_var'}'` = yes; then
36054 cat >>confdefs.h <<_ACEOF
36055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36064 echo "$as_me:$LINENO: checking for long double round functions" >&5
36065 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
36066 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
36067 echo $ECHO_N "(cached) $ECHO_C" >&6
36073 ac_cpp='$CXXCPP $CPPFLAGS'
36074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36078 cat >conftest.$ac_ext <<_ACEOF
36079 #line $LINENO "configure"
36082 cat confdefs.h >>conftest.$ac_ext
36083 cat >>conftest.$ac_ext <<_ACEOF
36084 /* end confdefs.h. */
36089 `for x in ceill floorl; do echo "$x (0);"; done`
36094 rm -f conftest.$ac_objext
36095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36096 (eval $ac_compile) 2>&5
36098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36099 (exit $ac_status); } &&
36100 { ac_try='test -s conftest.$ac_objext'
36101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36102 (eval $ac_try) 2>&5
36104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36105 (exit $ac_status); }; }; then
36106 glibcxx_cv_func_long_double_round_use=yes
36108 echo "$as_me: failed program was:" >&5
36109 sed 's/^/| /' conftest.$ac_ext >&5
36111 glibcxx_cv_func_long_double_round_use=no
36113 rm -f conftest.$ac_objext conftest.$ac_ext
36115 ac_cpp='$CPP $CPPFLAGS'
36116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
36123 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
36124 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36127 for ac_func in ceill floorl
36129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36130 echo "$as_me:$LINENO: checking for $ac_func" >&5
36131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36132 if eval "test \"\${$as_ac_var+set}\" = set"; then
36133 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 if test x$gcc_no_link = xyes; then
36136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36138 { (exit 1); exit 1; }; }
36140 cat >conftest.$ac_ext <<_ACEOF
36141 #line $LINENO "configure"
36144 cat confdefs.h >>conftest.$ac_ext
36145 cat >>conftest.$ac_ext <<_ACEOF
36146 /* end confdefs.h. */
36147 /* System header to define __stub macros and hopefully few prototypes,
36148 which can conflict with char $ac_func (); below.
36149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36150 <limits.h> exists even on freestanding compilers. */
36152 # include <limits.h>
36154 # include <assert.h>
36156 /* Override any gcc2 internal prototype to avoid an error. */
36161 /* We use char because int might match the return type of a gcc2
36162 builtin and then its argument prototype would still apply. */
36164 /* The GNU C library defines this for functions which it implements
36165 to always fail with ENOSYS. Some functions are actually named
36166 something starting with __ and the normal name is an alias. */
36167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36170 char (*f) () = $ac_func;
36179 return f != $ac_func;
36184 rm -f conftest.$ac_objext conftest$ac_exeext
36185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36186 (eval $ac_link) 2>&5
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); } &&
36190 { ac_try='test -s conftest$ac_exeext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 eval "$as_ac_var=yes"
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.$ac_ext >&5
36201 eval "$as_ac_var=no"
36203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36207 if test `eval echo '${'$as_ac_var'}'` = yes; then
36208 cat >>confdefs.h <<_ACEOF
36209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36219 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
36220 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
36221 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36222 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
36223 echo $ECHO_N "(cached) $ECHO_C" >&6
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36234 cat >conftest.$ac_ext <<_ACEOF
36235 #line $LINENO "configure"
36238 cat confdefs.h >>conftest.$ac_ext
36239 cat >>conftest.$ac_ext <<_ACEOF
36240 /* end confdefs.h. */
36242 #ifdef HAVE_IEEEFP_H
36243 #include <ieeefp.h>
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_isnanl_use=yes
36268 echo "$as_me: failed program was:" >&5
36269 sed 's/^/| /' conftest.$ac_ext >&5
36271 glibcxx_cv_func_isnanl_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
36284 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
36285 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
36287 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36289 for ac_func in isnanl
36291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36292 echo "$as_me:$LINENO: checking for $ac_func" >&5
36293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36294 if eval "test \"\${$as_ac_var+set}\" = set"; then
36295 echo $ECHO_N "(cached) $ECHO_C" >&6
36297 if test x$gcc_no_link = xyes; then
36298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36300 { (exit 1); exit 1; }; }
36302 cat >conftest.$ac_ext <<_ACEOF
36303 #line $LINENO "configure"
36306 cat confdefs.h >>conftest.$ac_ext
36307 cat >>conftest.$ac_ext <<_ACEOF
36308 /* end confdefs.h. */
36309 /* System header to define __stub macros and hopefully few prototypes,
36310 which can conflict with char $ac_func (); below.
36311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36312 <limits.h> exists even on freestanding compilers. */
36314 # include <limits.h>
36316 # include <assert.h>
36318 /* Override any gcc2 internal prototype to avoid an error. */
36323 /* We use char because int might match the return type of a gcc2
36324 builtin and then its argument prototype would still apply. */
36326 /* The GNU C library defines this for functions which it implements
36327 to always fail with ENOSYS. Some functions are actually named
36328 something starting with __ and the normal name is an alias. */
36329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36332 char (*f) () = $ac_func;
36341 return f != $ac_func;
36346 rm -f conftest.$ac_objext conftest$ac_exeext
36347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36348 (eval $ac_link) 2>&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } &&
36352 { ac_try='test -s conftest$ac_exeext'
36353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36354 (eval $ac_try) 2>&5
36356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36357 (exit $ac_status); }; }; then
36358 eval "$as_ac_var=yes"
36360 echo "$as_me: failed program was:" >&5
36361 sed 's/^/| /' conftest.$ac_ext >&5
36363 eval "$as_ac_var=no"
36365 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36369 if test `eval echo '${'$as_ac_var'}'` = yes; then
36370 cat >>confdefs.h <<_ACEOF
36371 #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
36542 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
36543 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
36544 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36545 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36552 ac_cpp='$CXXCPP $CPPFLAGS'
36553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557 cat >conftest.$ac_ext <<_ACEOF
36558 #line $LINENO "configure"
36561 cat confdefs.h >>conftest.$ac_ext
36562 cat >>conftest.$ac_ext <<_ACEOF
36563 /* end confdefs.h. */
36565 #ifdef HAVE_IEEEFP_H
36566 #include <ieeefp.h>
36577 rm -f conftest.$ac_objext
36578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36579 (eval $ac_compile) 2>&5
36581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36582 (exit $ac_status); } &&
36583 { ac_try='test -s conftest.$ac_objext'
36584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36585 (eval $ac_try) 2>&5
36587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36588 (exit $ac_status); }; }; then
36589 glibcxx_cv_func_isinfl_use=yes
36591 echo "$as_me: failed program was:" >&5
36592 sed 's/^/| /' conftest.$ac_ext >&5
36594 glibcxx_cv_func_isinfl_use=no
36596 rm -f conftest.$ac_objext conftest.$ac_ext
36598 ac_cpp='$CPP $CPPFLAGS'
36599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
36608 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
36610 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36612 for ac_func in isinfl
36614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36615 echo "$as_me:$LINENO: checking for $ac_func" >&5
36616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36617 if eval "test \"\${$as_ac_var+set}\" = set"; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36620 if test x$gcc_no_link = xyes; then
36621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36623 { (exit 1); exit 1; }; }
36625 cat >conftest.$ac_ext <<_ACEOF
36626 #line $LINENO "configure"
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 /* System header to define __stub macros and hopefully few prototypes,
36633 which can conflict with char $ac_func (); below.
36634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36635 <limits.h> exists even on freestanding compilers. */
36637 # include <limits.h>
36639 # include <assert.h>
36641 /* Override any gcc2 internal prototype to avoid an error. */
36646 /* We use char because int might match the return type of a gcc2
36647 builtin and then its argument prototype would still apply. */
36649 /* The GNU C library defines this for functions which it implements
36650 to always fail with ENOSYS. Some functions are actually named
36651 something starting with __ and the normal name is an alias. */
36652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36655 char (*f) () = $ac_func;
36664 return f != $ac_func;
36669 rm -f conftest.$ac_objext conftest$ac_exeext
36670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36671 (eval $ac_link) 2>&5
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); } &&
36675 { ac_try='test -s conftest$ac_exeext'
36676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36677 (eval $ac_try) 2>&5
36679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36680 (exit $ac_status); }; }; then
36681 eval "$as_ac_var=yes"
36683 echo "$as_me: failed program was:" >&5
36684 sed 's/^/| /' conftest.$ac_ext >&5
36686 eval "$as_ac_var=no"
36688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
36690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36692 if test `eval echo '${'$as_ac_var'}'` = yes; then
36693 cat >>confdefs.h <<_ACEOF
36694 #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
36865 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
36866 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
36867 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
36868 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36875 ac_cpp='$CXXCPP $CPPFLAGS'
36876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36880 cat >conftest.$ac_ext <<_ACEOF
36881 #line $LINENO "configure"
36884 cat confdefs.h >>conftest.$ac_ext
36885 cat >>conftest.$ac_ext <<_ACEOF
36886 /* end confdefs.h. */
36896 rm -f conftest.$ac_objext
36897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36898 (eval $ac_compile) 2>&5
36900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36901 (exit $ac_status); } &&
36902 { ac_try='test -s conftest.$ac_objext'
36903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36904 (eval $ac_try) 2>&5
36906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36907 (exit $ac_status); }; }; then
36908 glibcxx_cv_func_copysignl_use=yes
36910 echo "$as_me: failed program was:" >&5
36911 sed 's/^/| /' conftest.$ac_ext >&5
36913 glibcxx_cv_func_copysignl_use=no
36915 rm -f conftest.$ac_objext conftest.$ac_ext
36917 ac_cpp='$CPP $CPPFLAGS'
36918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36926 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
36927 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
36929 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
36931 for ac_func in copysignl
36933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36934 echo "$as_me:$LINENO: checking for $ac_func" >&5
36935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36936 if eval "test \"\${$as_ac_var+set}\" = set"; then
36937 echo $ECHO_N "(cached) $ECHO_C" >&6
36939 if test x$gcc_no_link = xyes; then
36940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36942 { (exit 1); exit 1; }; }
36944 cat >conftest.$ac_ext <<_ACEOF
36945 #line $LINENO "configure"
36948 cat confdefs.h >>conftest.$ac_ext
36949 cat >>conftest.$ac_ext <<_ACEOF
36950 /* end confdefs.h. */
36951 /* System header to define __stub macros and hopefully few prototypes,
36952 which can conflict with char $ac_func (); below.
36953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36954 <limits.h> exists even on freestanding compilers. */
36956 # include <limits.h>
36958 # include <assert.h>
36960 /* Override any gcc2 internal prototype to avoid an error. */
36965 /* We use char because int might match the return type of a gcc2
36966 builtin and then its argument prototype would still apply. */
36968 /* The GNU C library defines this for functions which it implements
36969 to always fail with ENOSYS. Some functions are actually named
36970 something starting with __ and the normal name is an alias. */
36971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36974 char (*f) () = $ac_func;
36983 return f != $ac_func;
36988 rm -f conftest.$ac_objext conftest$ac_exeext
36989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36990 (eval $ac_link) 2>&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); } &&
36994 { ac_try='test -s conftest$ac_exeext'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; }; then
37000 eval "$as_ac_var=yes"
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37005 eval "$as_ac_var=no"
37007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37011 if test `eval echo '${'$as_ac_var'}'` = yes; then
37012 cat >>confdefs.h <<_ACEOF
37013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37021 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
37022 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
37023 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
37024 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
37025 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37036 cat >conftest.$ac_ext <<_ACEOF
37037 #line $LINENO "configure"
37040 cat confdefs.h >>conftest.$ac_ext
37041 cat >>conftest.$ac_ext <<_ACEOF
37042 /* end confdefs.h. */
37052 rm -f conftest.$ac_objext
37053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37054 (eval $ac_compile) 2>&5
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); } &&
37058 { ac_try='test -s conftest.$ac_objext'
37059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37060 (eval $ac_try) 2>&5
37062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37063 (exit $ac_status); }; }; then
37064 glibcxx_cv_func__copysignl_use=yes
37066 echo "$as_me: failed program was:" >&5
37067 sed 's/^/| /' conftest.$ac_ext >&5
37069 glibcxx_cv_func__copysignl_use=no
37071 rm -f conftest.$ac_objext conftest.$ac_ext
37073 ac_cpp='$CPP $CPPFLAGS'
37074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
37083 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
37085 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
37087 for ac_func in _copysignl
37089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37090 echo "$as_me:$LINENO: checking for $ac_func" >&5
37091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37092 if eval "test \"\${$as_ac_var+set}\" = set"; then
37093 echo $ECHO_N "(cached) $ECHO_C" >&6
37095 if test x$gcc_no_link = xyes; then
37096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37098 { (exit 1); exit 1; }; }
37100 cat >conftest.$ac_ext <<_ACEOF
37101 #line $LINENO "configure"
37104 cat confdefs.h >>conftest.$ac_ext
37105 cat >>conftest.$ac_ext <<_ACEOF
37106 /* end confdefs.h. */
37107 /* System header to define __stub macros and hopefully few prototypes,
37108 which can conflict with char $ac_func (); below.
37109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37110 <limits.h> exists even on freestanding compilers. */
37112 # include <limits.h>
37114 # include <assert.h>
37116 /* Override any gcc2 internal prototype to avoid an error. */
37121 /* We use char because int might match the return type of a gcc2
37122 builtin and then its argument prototype would still apply. */
37124 /* The GNU C library defines this for functions which it implements
37125 to always fail with ENOSYS. Some functions are actually named
37126 something starting with __ and the normal name is an alias. */
37127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37130 char (*f) () = $ac_func;
37139 return f != $ac_func;
37144 rm -f conftest.$ac_objext conftest$ac_exeext
37145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37146 (eval $ac_link) 2>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } &&
37150 { ac_try='test -s conftest$ac_exeext'
37151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37152 (eval $ac_try) 2>&5
37154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37155 (exit $ac_status); }; }; then
37156 eval "$as_ac_var=yes"
37158 echo "$as_me: failed program was:" >&5
37159 sed 's/^/| /' conftest.$ac_ext >&5
37161 eval "$as_ac_var=no"
37163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37167 if test `eval echo '${'$as_ac_var'}'` = yes; then
37168 cat >>confdefs.h <<_ACEOF
37169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37180 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
37181 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
37182 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37183 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
37184 echo $ECHO_N "(cached) $ECHO_C" >&6
37190 ac_cpp='$CXXCPP $CPPFLAGS'
37191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37195 cat >conftest.$ac_ext <<_ACEOF
37196 #line $LINENO "configure"
37199 cat confdefs.h >>conftest.$ac_ext
37200 cat >>conftest.$ac_ext <<_ACEOF
37201 /* end confdefs.h. */
37211 rm -f conftest.$ac_objext
37212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37213 (eval $ac_compile) 2>&5
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); } &&
37217 { ac_try='test -s conftest.$ac_objext'
37218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37219 (eval $ac_try) 2>&5
37221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37222 (exit $ac_status); }; }; then
37223 glibcxx_cv_func_atan2l_use=yes
37225 echo "$as_me: failed program was:" >&5
37226 sed 's/^/| /' conftest.$ac_ext >&5
37228 glibcxx_cv_func_atan2l_use=no
37230 rm -f conftest.$ac_objext conftest.$ac_ext
37232 ac_cpp='$CPP $CPPFLAGS'
37233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
37242 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
37244 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37246 for ac_func in atan2l
37248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37249 echo "$as_me:$LINENO: checking for $ac_func" >&5
37250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37251 if eval "test \"\${$as_ac_var+set}\" = set"; then
37252 echo $ECHO_N "(cached) $ECHO_C" >&6
37254 if test x$gcc_no_link = xyes; then
37255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37257 { (exit 1); exit 1; }; }
37259 cat >conftest.$ac_ext <<_ACEOF
37260 #line $LINENO "configure"
37263 cat confdefs.h >>conftest.$ac_ext
37264 cat >>conftest.$ac_ext <<_ACEOF
37265 /* end confdefs.h. */
37266 /* System header to define __stub macros and hopefully few prototypes,
37267 which can conflict with char $ac_func (); below.
37268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37269 <limits.h> exists even on freestanding compilers. */
37271 # include <limits.h>
37273 # include <assert.h>
37275 /* Override any gcc2 internal prototype to avoid an error. */
37280 /* We use char because int might match the return type of a gcc2
37281 builtin and then its argument prototype would still apply. */
37283 /* The GNU C library defines this for functions which it implements
37284 to always fail with ENOSYS. Some functions are actually named
37285 something starting with __ and the normal name is an alias. */
37286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37289 char (*f) () = $ac_func;
37298 return f != $ac_func;
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37305 (eval $ac_link) 2>&5
37307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37308 (exit $ac_status); } &&
37309 { ac_try='test -s conftest$ac_exeext'
37310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37311 (eval $ac_try) 2>&5
37313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37314 (exit $ac_status); }; }; then
37315 eval "$as_ac_var=yes"
37317 echo "$as_me: failed program was:" >&5
37318 sed 's/^/| /' conftest.$ac_ext >&5
37320 eval "$as_ac_var=no"
37322 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37326 if test `eval echo '${'$as_ac_var'}'` = yes; then
37327 cat >>confdefs.h <<_ACEOF
37328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37336 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
37337 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
37338 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37339 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
37340 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 ac_cpp='$CXXCPP $CPPFLAGS'
37347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37351 cat >conftest.$ac_ext <<_ACEOF
37352 #line $LINENO "configure"
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37367 rm -f conftest.$ac_objext
37368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37369 (eval $ac_compile) 2>&5
37371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37372 (exit $ac_status); } &&
37373 { ac_try='test -s conftest.$ac_objext'
37374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37375 (eval $ac_try) 2>&5
37377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37378 (exit $ac_status); }; }; then
37379 glibcxx_cv_func__atan2l_use=yes
37381 echo "$as_me: failed program was:" >&5
37382 sed 's/^/| /' conftest.$ac_ext >&5
37384 glibcxx_cv_func__atan2l_use=no
37386 rm -f conftest.$ac_objext conftest.$ac_ext
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
37398 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
37400 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37402 for ac_func in _atan2l
37404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37405 echo "$as_me:$LINENO: checking for $ac_func" >&5
37406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37407 if eval "test \"\${$as_ac_var+set}\" = set"; then
37408 echo $ECHO_N "(cached) $ECHO_C" >&6
37410 if test x$gcc_no_link = xyes; then
37411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37413 { (exit 1); exit 1; }; }
37415 cat >conftest.$ac_ext <<_ACEOF
37416 #line $LINENO "configure"
37419 cat confdefs.h >>conftest.$ac_ext
37420 cat >>conftest.$ac_ext <<_ACEOF
37421 /* end confdefs.h. */
37422 /* System header to define __stub macros and hopefully few prototypes,
37423 which can conflict with char $ac_func (); below.
37424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37425 <limits.h> exists even on freestanding compilers. */
37427 # include <limits.h>
37429 # include <assert.h>
37431 /* Override any gcc2 internal prototype to avoid an error. */
37436 /* We use char because int might match the return type of a gcc2
37437 builtin and then its argument prototype would still apply. */
37439 /* The GNU C library defines this for functions which it implements
37440 to always fail with ENOSYS. Some functions are actually named
37441 something starting with __ and the normal name is an alias. */
37442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37445 char (*f) () = $ac_func;
37454 return f != $ac_func;
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37461 (eval $ac_link) 2>&5
37463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37464 (exit $ac_status); } &&
37465 { ac_try='test -s conftest$ac_exeext'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; }; then
37471 eval "$as_ac_var=yes"
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.$ac_ext >&5
37476 eval "$as_ac_var=no"
37478 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37482 if test `eval echo '${'$as_ac_var'}'` = yes; then
37483 cat >>confdefs.h <<_ACEOF
37484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37495 echo "$as_me:$LINENO: checking for expl declaration" >&5
37496 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
37497 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37498 if test "${glibcxx_cv_func_expl_use+set}" = set; then
37499 echo $ECHO_N "(cached) $ECHO_C" >&6
37505 ac_cpp='$CXXCPP $CPPFLAGS'
37506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37510 cat >conftest.$ac_ext <<_ACEOF
37511 #line $LINENO "configure"
37514 cat confdefs.h >>conftest.$ac_ext
37515 cat >>conftest.$ac_ext <<_ACEOF
37516 /* end confdefs.h. */
37518 #ifdef HAVE_IEEEFP_H
37519 #include <ieeefp.h>
37530 rm -f conftest.$ac_objext
37531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37532 (eval $ac_compile) 2>&5
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); } &&
37536 { ac_try='test -s conftest.$ac_objext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 glibcxx_cv_func_expl_use=yes
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37547 glibcxx_cv_func_expl_use=no
37549 rm -f conftest.$ac_objext conftest.$ac_ext
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
37561 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
37563 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37565 for ac_func in expl
37567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 echo "$as_me:$LINENO: checking for $ac_func" >&5
37569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37570 if eval "test \"\${$as_ac_var+set}\" = set"; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 if test x$gcc_no_link = xyes; then
37574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37576 { (exit 1); exit 1; }; }
37578 cat >conftest.$ac_ext <<_ACEOF
37579 #line $LINENO "configure"
37582 cat confdefs.h >>conftest.$ac_ext
37583 cat >>conftest.$ac_ext <<_ACEOF
37584 /* end confdefs.h. */
37585 /* System header to define __stub macros and hopefully few prototypes,
37586 which can conflict with char $ac_func (); below.
37587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37588 <limits.h> exists even on freestanding compilers. */
37590 # include <limits.h>
37592 # include <assert.h>
37594 /* Override any gcc2 internal prototype to avoid an error. */
37599 /* We use char because int might match the return type of a gcc2
37600 builtin and then its argument prototype would still apply. */
37602 /* The GNU C library defines this for functions which it implements
37603 to always fail with ENOSYS. Some functions are actually named
37604 something starting with __ and the normal name is an alias. */
37605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37608 char (*f) () = $ac_func;
37617 return f != $ac_func;
37622 rm -f conftest.$ac_objext conftest$ac_exeext
37623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37624 (eval $ac_link) 2>&5
37626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37627 (exit $ac_status); } &&
37628 { ac_try='test -s conftest$ac_exeext'
37629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37630 (eval $ac_try) 2>&5
37632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37633 (exit $ac_status); }; }; then
37634 eval "$as_ac_var=yes"
37636 echo "$as_me: failed program was:" >&5
37637 sed 's/^/| /' conftest.$ac_ext >&5
37639 eval "$as_ac_var=no"
37641 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37645 if test `eval echo '${'$as_ac_var'}'` = yes; then
37646 cat >>confdefs.h <<_ACEOF
37647 #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
37818 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
37819 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
37820 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37821 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37828 ac_cpp='$CXXCPP $CPPFLAGS'
37829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37833 cat >conftest.$ac_ext <<_ACEOF
37834 #line $LINENO "configure"
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37841 #ifdef HAVE_IEEEFP_H
37842 #include <ieeefp.h>
37853 rm -f conftest.$ac_objext
37854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37855 (eval $ac_compile) 2>&5
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } &&
37859 { ac_try='test -s conftest.$ac_objext'
37860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37861 (eval $ac_try) 2>&5
37863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37864 (exit $ac_status); }; }; then
37865 glibcxx_cv_func_fabsl_use=yes
37867 echo "$as_me: failed program was:" >&5
37868 sed 's/^/| /' conftest.$ac_ext >&5
37870 glibcxx_cv_func_fabsl_use=no
37872 rm -f conftest.$ac_objext conftest.$ac_ext
37874 ac_cpp='$CPP $CPPFLAGS'
37875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
37884 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
37886 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37888 for ac_func in fabsl
37890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37891 echo "$as_me:$LINENO: checking for $ac_func" >&5
37892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37893 if eval "test \"\${$as_ac_var+set}\" = set"; then
37894 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 if test x$gcc_no_link = xyes; then
37897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37899 { (exit 1); exit 1; }; }
37901 cat >conftest.$ac_ext <<_ACEOF
37902 #line $LINENO "configure"
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* System header to define __stub macros and hopefully few prototypes,
37909 which can conflict with char $ac_func (); below.
37910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37911 <limits.h> exists even on freestanding compilers. */
37913 # include <limits.h>
37915 # include <assert.h>
37917 /* Override any gcc2 internal prototype to avoid an error. */
37922 /* We use char because int might match the return type of a gcc2
37923 builtin and then its argument prototype would still apply. */
37925 /* The GNU C library defines this for functions which it implements
37926 to always fail with ENOSYS. Some functions are actually named
37927 something starting with __ and the normal name is an alias. */
37928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37931 char (*f) () = $ac_func;
37940 return f != $ac_func;
37945 rm -f conftest.$ac_objext conftest$ac_exeext
37946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37947 (eval $ac_link) 2>&5
37949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37950 (exit $ac_status); } &&
37951 { ac_try='test -s conftest$ac_exeext'
37952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37953 (eval $ac_try) 2>&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); }; }; then
37957 eval "$as_ac_var=yes"
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37962 eval "$as_ac_var=no"
37964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
37966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37968 if test `eval echo '${'$as_ac_var'}'` = yes; then
37969 cat >>confdefs.h <<_ACEOF
37970 #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
38141 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
38142 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
38143 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38144 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
38145 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 ac_cpp='$CXXCPP $CPPFLAGS'
38152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38156 cat >conftest.$ac_ext <<_ACEOF
38157 #line $LINENO "configure"
38160 cat confdefs.h >>conftest.$ac_ext
38161 cat >>conftest.$ac_ext <<_ACEOF
38162 /* end confdefs.h. */
38172 rm -f conftest.$ac_objext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38174 (eval $ac_compile) 2>&5
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); } &&
38178 { ac_try='test -s conftest.$ac_objext'
38179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38180 (eval $ac_try) 2>&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); }; }; then
38184 glibcxx_cv_func_fmodl_use=yes
38186 echo "$as_me: failed program was:" >&5
38187 sed 's/^/| /' conftest.$ac_ext >&5
38189 glibcxx_cv_func_fmodl_use=no
38191 rm -f conftest.$ac_objext conftest.$ac_ext
38193 ac_cpp='$CPP $CPPFLAGS'
38194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
38203 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
38205 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38207 for ac_func in fmodl
38209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38210 echo "$as_me:$LINENO: checking for $ac_func" >&5
38211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38212 if eval "test \"\${$as_ac_var+set}\" = set"; then
38213 echo $ECHO_N "(cached) $ECHO_C" >&6
38215 if test x$gcc_no_link = xyes; then
38216 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38218 { (exit 1); exit 1; }; }
38220 cat >conftest.$ac_ext <<_ACEOF
38221 #line $LINENO "configure"
38224 cat confdefs.h >>conftest.$ac_ext
38225 cat >>conftest.$ac_ext <<_ACEOF
38226 /* end confdefs.h. */
38227 /* System header to define __stub macros and hopefully few prototypes,
38228 which can conflict with char $ac_func (); below.
38229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38230 <limits.h> exists even on freestanding compilers. */
38232 # include <limits.h>
38234 # include <assert.h>
38236 /* Override any gcc2 internal prototype to avoid an error. */
38241 /* We use char because int might match the return type of a gcc2
38242 builtin and then its argument prototype would still apply. */
38244 /* The GNU C library defines this for functions which it implements
38245 to always fail with ENOSYS. Some functions are actually named
38246 something starting with __ and the normal name is an alias. */
38247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38250 char (*f) () = $ac_func;
38259 return f != $ac_func;
38264 rm -f conftest.$ac_objext conftest$ac_exeext
38265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38266 (eval $ac_link) 2>&5
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); } &&
38270 { ac_try='test -s conftest$ac_exeext'
38271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38272 (eval $ac_try) 2>&5
38274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38275 (exit $ac_status); }; }; then
38276 eval "$as_ac_var=yes"
38278 echo "$as_me: failed program was:" >&5
38279 sed 's/^/| /' conftest.$ac_ext >&5
38281 eval "$as_ac_var=no"
38283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38287 if test `eval echo '${'$as_ac_var'}'` = yes; then
38288 cat >>confdefs.h <<_ACEOF
38289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38297 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
38298 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
38299 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38300 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
38301 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 ac_cpp='$CXXCPP $CPPFLAGS'
38308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38312 cat >conftest.$ac_ext <<_ACEOF
38313 #line $LINENO "configure"
38316 cat confdefs.h >>conftest.$ac_ext
38317 cat >>conftest.$ac_ext <<_ACEOF
38318 /* end confdefs.h. */
38328 rm -f conftest.$ac_objext
38329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38330 (eval $ac_compile) 2>&5
38332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38333 (exit $ac_status); } &&
38334 { ac_try='test -s conftest.$ac_objext'
38335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38336 (eval $ac_try) 2>&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); }; }; then
38340 glibcxx_cv_func__fmodl_use=yes
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38345 glibcxx_cv_func__fmodl_use=no
38347 rm -f conftest.$ac_objext conftest.$ac_ext
38349 ac_cpp='$CPP $CPPFLAGS'
38350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
38359 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
38361 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38363 for ac_func in _fmodl
38365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38366 echo "$as_me:$LINENO: checking for $ac_func" >&5
38367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38368 if eval "test \"\${$as_ac_var+set}\" = set"; then
38369 echo $ECHO_N "(cached) $ECHO_C" >&6
38371 if test x$gcc_no_link = xyes; then
38372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38374 { (exit 1); exit 1; }; }
38376 cat >conftest.$ac_ext <<_ACEOF
38377 #line $LINENO "configure"
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383 /* System header to define __stub macros and hopefully few prototypes,
38384 which can conflict with char $ac_func (); below.
38385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38386 <limits.h> exists even on freestanding compilers. */
38388 # include <limits.h>
38390 # include <assert.h>
38392 /* Override any gcc2 internal prototype to avoid an error. */
38397 /* We use char because int might match the return type of a gcc2
38398 builtin and then its argument prototype would still apply. */
38400 /* The GNU C library defines this for functions which it implements
38401 to always fail with ENOSYS. Some functions are actually named
38402 something starting with __ and the normal name is an alias. */
38403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38406 char (*f) () = $ac_func;
38415 return f != $ac_func;
38420 rm -f conftest.$ac_objext conftest$ac_exeext
38421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38422 (eval $ac_link) 2>&5
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); } &&
38426 { ac_try='test -s conftest$ac_exeext'
38427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38428 (eval $ac_try) 2>&5
38430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38431 (exit $ac_status); }; }; then
38432 eval "$as_ac_var=yes"
38434 echo "$as_me: failed program was:" >&5
38435 sed 's/^/| /' conftest.$ac_ext >&5
38437 eval "$as_ac_var=no"
38439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38443 if test `eval echo '${'$as_ac_var'}'` = yes; then
38444 cat >>confdefs.h <<_ACEOF
38445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38456 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
38457 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
38458 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38459 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
38460 echo $ECHO_N "(cached) $ECHO_C" >&6
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38471 cat >conftest.$ac_ext <<_ACEOF
38472 #line $LINENO "configure"
38475 cat confdefs.h >>conftest.$ac_ext
38476 cat >>conftest.$ac_ext <<_ACEOF
38477 /* end confdefs.h. */
38487 rm -f conftest.$ac_objext
38488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38489 (eval $ac_compile) 2>&5
38491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38492 (exit $ac_status); } &&
38493 { ac_try='test -s conftest.$ac_objext'
38494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38495 (eval $ac_try) 2>&5
38497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38498 (exit $ac_status); }; }; then
38499 glibcxx_cv_func_frexpl_use=yes
38501 echo "$as_me: failed program was:" >&5
38502 sed 's/^/| /' conftest.$ac_ext >&5
38504 glibcxx_cv_func_frexpl_use=no
38506 rm -f conftest.$ac_objext conftest.$ac_ext
38508 ac_cpp='$CPP $CPPFLAGS'
38509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38517 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
38518 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
38520 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38522 for ac_func in frexpl
38524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38525 echo "$as_me:$LINENO: checking for $ac_func" >&5
38526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38527 if eval "test \"\${$as_ac_var+set}\" = set"; then
38528 echo $ECHO_N "(cached) $ECHO_C" >&6
38530 if test x$gcc_no_link = xyes; then
38531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38533 { (exit 1); exit 1; }; }
38535 cat >conftest.$ac_ext <<_ACEOF
38536 #line $LINENO "configure"
38539 cat confdefs.h >>conftest.$ac_ext
38540 cat >>conftest.$ac_ext <<_ACEOF
38541 /* end confdefs.h. */
38542 /* System header to define __stub macros and hopefully few prototypes,
38543 which can conflict with char $ac_func (); below.
38544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38545 <limits.h> exists even on freestanding compilers. */
38547 # include <limits.h>
38549 # include <assert.h>
38551 /* Override any gcc2 internal prototype to avoid an error. */
38556 /* We use char because int might match the return type of a gcc2
38557 builtin and then its argument prototype would still apply. */
38559 /* The GNU C library defines this for functions which it implements
38560 to always fail with ENOSYS. Some functions are actually named
38561 something starting with __ and the normal name is an alias. */
38562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38565 char (*f) () = $ac_func;
38574 return f != $ac_func;
38579 rm -f conftest.$ac_objext conftest$ac_exeext
38580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38581 (eval $ac_link) 2>&5
38583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38584 (exit $ac_status); } &&
38585 { ac_try='test -s conftest$ac_exeext'
38586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38587 (eval $ac_try) 2>&5
38589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38590 (exit $ac_status); }; }; then
38591 eval "$as_ac_var=yes"
38593 echo "$as_me: failed program was:" >&5
38594 sed 's/^/| /' conftest.$ac_ext >&5
38596 eval "$as_ac_var=no"
38598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38602 if test `eval echo '${'$as_ac_var'}'` = yes; then
38603 cat >>confdefs.h <<_ACEOF
38604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38612 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
38613 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
38614 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38615 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
38616 echo $ECHO_N "(cached) $ECHO_C" >&6
38622 ac_cpp='$CXXCPP $CPPFLAGS'
38623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38627 cat >conftest.$ac_ext <<_ACEOF
38628 #line $LINENO "configure"
38631 cat confdefs.h >>conftest.$ac_ext
38632 cat >>conftest.$ac_ext <<_ACEOF
38633 /* end confdefs.h. */
38643 rm -f conftest.$ac_objext
38644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38645 (eval $ac_compile) 2>&5
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); } &&
38649 { ac_try='test -s conftest.$ac_objext'
38650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38651 (eval $ac_try) 2>&5
38653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38654 (exit $ac_status); }; }; then
38655 glibcxx_cv_func__frexpl_use=yes
38657 echo "$as_me: failed program was:" >&5
38658 sed 's/^/| /' conftest.$ac_ext >&5
38660 glibcxx_cv_func__frexpl_use=no
38662 rm -f conftest.$ac_objext conftest.$ac_ext
38664 ac_cpp='$CPP $CPPFLAGS'
38665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
38674 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
38676 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38678 for ac_func in _frexpl
38680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38681 echo "$as_me:$LINENO: checking for $ac_func" >&5
38682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38683 if eval "test \"\${$as_ac_var+set}\" = set"; then
38684 echo $ECHO_N "(cached) $ECHO_C" >&6
38686 if test x$gcc_no_link = xyes; then
38687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38689 { (exit 1); exit 1; }; }
38691 cat >conftest.$ac_ext <<_ACEOF
38692 #line $LINENO "configure"
38695 cat confdefs.h >>conftest.$ac_ext
38696 cat >>conftest.$ac_ext <<_ACEOF
38697 /* end confdefs.h. */
38698 /* System header to define __stub macros and hopefully few prototypes,
38699 which can conflict with char $ac_func (); below.
38700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38701 <limits.h> exists even on freestanding compilers. */
38703 # include <limits.h>
38705 # include <assert.h>
38707 /* Override any gcc2 internal prototype to avoid an error. */
38712 /* We use char because int might match the return type of a gcc2
38713 builtin and then its argument prototype would still apply. */
38715 /* The GNU C library defines this for functions which it implements
38716 to always fail with ENOSYS. Some functions are actually named
38717 something starting with __ and the normal name is an alias. */
38718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38721 char (*f) () = $ac_func;
38730 return f != $ac_func;
38735 rm -f conftest.$ac_objext conftest$ac_exeext
38736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38737 (eval $ac_link) 2>&5
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); } &&
38741 { ac_try='test -s conftest$ac_exeext'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; }; then
38747 eval "$as_ac_var=yes"
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38752 eval "$as_ac_var=no"
38754 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38758 if test `eval echo '${'$as_ac_var'}'` = yes; then
38759 cat >>confdefs.h <<_ACEOF
38760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38771 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
38772 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
38773 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38774 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
38775 echo $ECHO_N "(cached) $ECHO_C" >&6
38781 ac_cpp='$CXXCPP $CPPFLAGS'
38782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786 cat >conftest.$ac_ext <<_ACEOF
38787 #line $LINENO "configure"
38790 cat confdefs.h >>conftest.$ac_ext
38791 cat >>conftest.$ac_ext <<_ACEOF
38792 /* end confdefs.h. */
38802 rm -f conftest.$ac_objext
38803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38804 (eval $ac_compile) 2>&5
38806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38807 (exit $ac_status); } &&
38808 { ac_try='test -s conftest.$ac_objext'
38809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38810 (eval $ac_try) 2>&5
38812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38813 (exit $ac_status); }; }; then
38814 glibcxx_cv_func_hypotl_use=yes
38816 echo "$as_me: failed program was:" >&5
38817 sed 's/^/| /' conftest.$ac_ext >&5
38819 glibcxx_cv_func_hypotl_use=no
38821 rm -f conftest.$ac_objext conftest.$ac_ext
38823 ac_cpp='$CPP $CPPFLAGS'
38824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38832 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
38833 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
38835 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38837 for ac_func in hypotl
38839 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38840 echo "$as_me:$LINENO: checking for $ac_func" >&5
38841 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38842 if eval "test \"\${$as_ac_var+set}\" = set"; then
38843 echo $ECHO_N "(cached) $ECHO_C" >&6
38845 if test x$gcc_no_link = xyes; then
38846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38848 { (exit 1); exit 1; }; }
38850 cat >conftest.$ac_ext <<_ACEOF
38851 #line $LINENO "configure"
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 /* System header to define __stub macros and hopefully few prototypes,
38858 which can conflict with char $ac_func (); below.
38859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38860 <limits.h> exists even on freestanding compilers. */
38862 # include <limits.h>
38864 # include <assert.h>
38866 /* Override any gcc2 internal prototype to avoid an error. */
38871 /* We use char because int might match the return type of a gcc2
38872 builtin and then its argument prototype would still apply. */
38874 /* The GNU C library defines this for functions which it implements
38875 to always fail with ENOSYS. Some functions are actually named
38876 something starting with __ and the normal name is an alias. */
38877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38880 char (*f) () = $ac_func;
38889 return f != $ac_func;
38894 rm -f conftest.$ac_objext conftest$ac_exeext
38895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38896 (eval $ac_link) 2>&5
38898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38899 (exit $ac_status); } &&
38900 { ac_try='test -s conftest$ac_exeext'
38901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38902 (eval $ac_try) 2>&5
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); }; }; then
38906 eval "$as_ac_var=yes"
38908 echo "$as_me: failed program was:" >&5
38909 sed 's/^/| /' conftest.$ac_ext >&5
38911 eval "$as_ac_var=no"
38913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
38915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38917 if test `eval echo '${'$as_ac_var'}'` = yes; then
38918 cat >>confdefs.h <<_ACEOF
38919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
38928 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
38929 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38930 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38937 ac_cpp='$CXXCPP $CPPFLAGS'
38938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38942 cat >conftest.$ac_ext <<_ACEOF
38943 #line $LINENO "configure"
38946 cat confdefs.h >>conftest.$ac_ext
38947 cat >>conftest.$ac_ext <<_ACEOF
38948 /* end confdefs.h. */
38958 rm -f conftest.$ac_objext
38959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38960 (eval $ac_compile) 2>&5
38962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38963 (exit $ac_status); } &&
38964 { ac_try='test -s conftest.$ac_objext'
38965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38966 (eval $ac_try) 2>&5
38968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38969 (exit $ac_status); }; }; then
38970 glibcxx_cv_func__hypotl_use=yes
38972 echo "$as_me: failed program was:" >&5
38973 sed 's/^/| /' conftest.$ac_ext >&5
38975 glibcxx_cv_func__hypotl_use=no
38977 rm -f conftest.$ac_objext conftest.$ac_ext
38979 ac_cpp='$CPP $CPPFLAGS'
38980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
38989 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
38991 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38993 for ac_func in _hypotl
38995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38996 echo "$as_me:$LINENO: checking for $ac_func" >&5
38997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38998 if eval "test \"\${$as_ac_var+set}\" = set"; then
38999 echo $ECHO_N "(cached) $ECHO_C" >&6
39001 if test x$gcc_no_link = xyes; then
39002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39004 { (exit 1); exit 1; }; }
39006 cat >conftest.$ac_ext <<_ACEOF
39007 #line $LINENO "configure"
39010 cat confdefs.h >>conftest.$ac_ext
39011 cat >>conftest.$ac_ext <<_ACEOF
39012 /* end confdefs.h. */
39013 /* System header to define __stub macros and hopefully few prototypes,
39014 which can conflict with char $ac_func (); below.
39015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39016 <limits.h> exists even on freestanding compilers. */
39018 # include <limits.h>
39020 # include <assert.h>
39022 /* Override any gcc2 internal prototype to avoid an error. */
39027 /* We use char because int might match the return type of a gcc2
39028 builtin and then its argument prototype would still apply. */
39030 /* The GNU C library defines this for functions which it implements
39031 to always fail with ENOSYS. Some functions are actually named
39032 something starting with __ and the normal name is an alias. */
39033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39036 char (*f) () = $ac_func;
39045 return f != $ac_func;
39050 rm -f conftest.$ac_objext conftest$ac_exeext
39051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39052 (eval $ac_link) 2>&5
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); } &&
39056 { ac_try='test -s conftest$ac_exeext'
39057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058 (eval $ac_try) 2>&5
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); }; }; then
39062 eval "$as_ac_var=yes"
39064 echo "$as_me: failed program was:" >&5
39065 sed 's/^/| /' conftest.$ac_ext >&5
39067 eval "$as_ac_var=no"
39069 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39073 if test `eval echo '${'$as_ac_var'}'` = yes; then
39074 cat >>confdefs.h <<_ACEOF
39075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39086 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
39087 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
39088 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39089 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
39090 echo $ECHO_N "(cached) $ECHO_C" >&6
39096 ac_cpp='$CXXCPP $CPPFLAGS'
39097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39101 cat >conftest.$ac_ext <<_ACEOF
39102 #line $LINENO "configure"
39105 cat confdefs.h >>conftest.$ac_ext
39106 cat >>conftest.$ac_ext <<_ACEOF
39107 /* end confdefs.h. */
39117 rm -f conftest.$ac_objext
39118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39119 (eval $ac_compile) 2>&5
39121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39122 (exit $ac_status); } &&
39123 { ac_try='test -s conftest.$ac_objext'
39124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39125 (eval $ac_try) 2>&5
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); }; }; then
39129 glibcxx_cv_func_ldexpl_use=yes
39131 echo "$as_me: failed program was:" >&5
39132 sed 's/^/| /' conftest.$ac_ext >&5
39134 glibcxx_cv_func_ldexpl_use=no
39136 rm -f conftest.$ac_objext conftest.$ac_ext
39138 ac_cpp='$CPP $CPPFLAGS'
39139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
39148 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
39150 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39152 for ac_func in ldexpl
39154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39155 echo "$as_me:$LINENO: checking for $ac_func" >&5
39156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39157 if eval "test \"\${$as_ac_var+set}\" = set"; then
39158 echo $ECHO_N "(cached) $ECHO_C" >&6
39160 if test x$gcc_no_link = xyes; then
39161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39163 { (exit 1); exit 1; }; }
39165 cat >conftest.$ac_ext <<_ACEOF
39166 #line $LINENO "configure"
39169 cat confdefs.h >>conftest.$ac_ext
39170 cat >>conftest.$ac_ext <<_ACEOF
39171 /* end confdefs.h. */
39172 /* System header to define __stub macros and hopefully few prototypes,
39173 which can conflict with char $ac_func (); below.
39174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39175 <limits.h> exists even on freestanding compilers. */
39177 # include <limits.h>
39179 # include <assert.h>
39181 /* Override any gcc2 internal prototype to avoid an error. */
39186 /* We use char because int might match the return type of a gcc2
39187 builtin and then its argument prototype would still apply. */
39189 /* The GNU C library defines this for functions which it implements
39190 to always fail with ENOSYS. Some functions are actually named
39191 something starting with __ and the normal name is an alias. */
39192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39195 char (*f) () = $ac_func;
39204 return f != $ac_func;
39209 rm -f conftest.$ac_objext conftest$ac_exeext
39210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39211 (eval $ac_link) 2>&5
39213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39214 (exit $ac_status); } &&
39215 { ac_try='test -s conftest$ac_exeext'
39216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39217 (eval $ac_try) 2>&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); }; }; then
39221 eval "$as_ac_var=yes"
39223 echo "$as_me: failed program was:" >&5
39224 sed 's/^/| /' conftest.$ac_ext >&5
39226 eval "$as_ac_var=no"
39228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39232 if test `eval echo '${'$as_ac_var'}'` = yes; then
39233 cat >>confdefs.h <<_ACEOF
39234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39242 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
39243 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
39244 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39245 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
39246 echo $ECHO_N "(cached) $ECHO_C" >&6
39252 ac_cpp='$CXXCPP $CPPFLAGS'
39253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39257 cat >conftest.$ac_ext <<_ACEOF
39258 #line $LINENO "configure"
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39273 rm -f conftest.$ac_objext
39274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39275 (eval $ac_compile) 2>&5
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); } &&
39279 { ac_try='test -s conftest.$ac_objext'
39280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39281 (eval $ac_try) 2>&5
39283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39284 (exit $ac_status); }; }; then
39285 glibcxx_cv_func__ldexpl_use=yes
39287 echo "$as_me: failed program was:" >&5
39288 sed 's/^/| /' conftest.$ac_ext >&5
39290 glibcxx_cv_func__ldexpl_use=no
39292 rm -f conftest.$ac_objext conftest.$ac_ext
39294 ac_cpp='$CPP $CPPFLAGS'
39295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
39304 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
39306 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39308 for ac_func in _ldexpl
39310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39311 echo "$as_me:$LINENO: checking for $ac_func" >&5
39312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39313 if eval "test \"\${$as_ac_var+set}\" = set"; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 if test x$gcc_no_link = xyes; then
39317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39319 { (exit 1); exit 1; }; }
39321 cat >conftest.$ac_ext <<_ACEOF
39322 #line $LINENO "configure"
39325 cat confdefs.h >>conftest.$ac_ext
39326 cat >>conftest.$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 /* System header to define __stub macros and hopefully few prototypes,
39329 which can conflict with char $ac_func (); below.
39330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39331 <limits.h> exists even on freestanding compilers. */
39333 # include <limits.h>
39335 # include <assert.h>
39337 /* Override any gcc2 internal prototype to avoid an error. */
39342 /* We use char because int might match the return type of a gcc2
39343 builtin and then its argument prototype would still apply. */
39345 /* The GNU C library defines this for functions which it implements
39346 to always fail with ENOSYS. Some functions are actually named
39347 something starting with __ and the normal name is an alias. */
39348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39351 char (*f) () = $ac_func;
39360 return f != $ac_func;
39365 rm -f conftest.$ac_objext conftest$ac_exeext
39366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39367 (eval $ac_link) 2>&5
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); } &&
39371 { ac_try='test -s conftest$ac_exeext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 eval "$as_ac_var=yes"
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39382 eval "$as_ac_var=no"
39384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39388 if test `eval echo '${'$as_ac_var'}'` = yes; then
39389 cat >>confdefs.h <<_ACEOF
39390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39401 echo "$as_me:$LINENO: checking for logl declaration" >&5
39402 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
39403 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39404 if test "${glibcxx_cv_func_logl_use+set}" = set; then
39405 echo $ECHO_N "(cached) $ECHO_C" >&6
39411 ac_cpp='$CXXCPP $CPPFLAGS'
39412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39416 cat >conftest.$ac_ext <<_ACEOF
39417 #line $LINENO "configure"
39420 cat confdefs.h >>conftest.$ac_ext
39421 cat >>conftest.$ac_ext <<_ACEOF
39422 /* end confdefs.h. */
39424 #ifdef HAVE_IEEEFP_H
39425 #include <ieeefp.h>
39436 rm -f conftest.$ac_objext
39437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39438 (eval $ac_compile) 2>&5
39440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39441 (exit $ac_status); } &&
39442 { ac_try='test -s conftest.$ac_objext'
39443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39444 (eval $ac_try) 2>&5
39446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39447 (exit $ac_status); }; }; then
39448 glibcxx_cv_func_logl_use=yes
39450 echo "$as_me: failed program was:" >&5
39451 sed 's/^/| /' conftest.$ac_ext >&5
39453 glibcxx_cv_func_logl_use=no
39455 rm -f conftest.$ac_objext conftest.$ac_ext
39457 ac_cpp='$CPP $CPPFLAGS'
39458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39466 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
39467 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
39469 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39471 for ac_func in logl
39473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39474 echo "$as_me:$LINENO: checking for $ac_func" >&5
39475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39476 if eval "test \"\${$as_ac_var+set}\" = set"; then
39477 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 if test x$gcc_no_link = xyes; then
39480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39482 { (exit 1); exit 1; }; }
39484 cat >conftest.$ac_ext <<_ACEOF
39485 #line $LINENO "configure"
39488 cat confdefs.h >>conftest.$ac_ext
39489 cat >>conftest.$ac_ext <<_ACEOF
39490 /* end confdefs.h. */
39491 /* System header to define __stub macros and hopefully few prototypes,
39492 which can conflict with char $ac_func (); below.
39493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39494 <limits.h> exists even on freestanding compilers. */
39496 # include <limits.h>
39498 # include <assert.h>
39500 /* Override any gcc2 internal prototype to avoid an error. */
39505 /* We use char because int might match the return type of a gcc2
39506 builtin and then its argument prototype would still apply. */
39508 /* The GNU C library defines this for functions which it implements
39509 to always fail with ENOSYS. Some functions are actually named
39510 something starting with __ and the normal name is an alias. */
39511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39514 char (*f) () = $ac_func;
39523 return f != $ac_func;
39528 rm -f conftest.$ac_objext conftest$ac_exeext
39529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39530 (eval $ac_link) 2>&5
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); } &&
39534 { ac_try='test -s conftest$ac_exeext'
39535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39536 (eval $ac_try) 2>&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); }; }; then
39540 eval "$as_ac_var=yes"
39542 echo "$as_me: failed program was:" >&5
39543 sed 's/^/| /' conftest.$ac_ext >&5
39545 eval "$as_ac_var=no"
39547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39551 if test `eval echo '${'$as_ac_var'}'` = yes; then
39552 cat >>confdefs.h <<_ACEOF
39553 #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
39724 echo "$as_me:$LINENO: checking for log10l declaration" >&5
39725 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
39726 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39727 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
39728 echo $ECHO_N "(cached) $ECHO_C" >&6
39734 ac_cpp='$CXXCPP $CPPFLAGS'
39735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39739 cat >conftest.$ac_ext <<_ACEOF
39740 #line $LINENO "configure"
39743 cat confdefs.h >>conftest.$ac_ext
39744 cat >>conftest.$ac_ext <<_ACEOF
39745 /* end confdefs.h. */
39747 #ifdef HAVE_IEEEFP_H
39748 #include <ieeefp.h>
39759 rm -f conftest.$ac_objext
39760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39761 (eval $ac_compile) 2>&5
39763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39764 (exit $ac_status); } &&
39765 { ac_try='test -s conftest.$ac_objext'
39766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39767 (eval $ac_try) 2>&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); }; }; then
39771 glibcxx_cv_func_log10l_use=yes
39773 echo "$as_me: failed program was:" >&5
39774 sed 's/^/| /' conftest.$ac_ext >&5
39776 glibcxx_cv_func_log10l_use=no
39778 rm -f conftest.$ac_objext conftest.$ac_ext
39780 ac_cpp='$CPP $CPPFLAGS'
39781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39789 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
39790 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
39792 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39794 for ac_func in log10l
39796 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39797 echo "$as_me:$LINENO: checking for $ac_func" >&5
39798 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39799 if eval "test \"\${$as_ac_var+set}\" = set"; then
39800 echo $ECHO_N "(cached) $ECHO_C" >&6
39802 if test x$gcc_no_link = xyes; then
39803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39805 { (exit 1); exit 1; }; }
39807 cat >conftest.$ac_ext <<_ACEOF
39808 #line $LINENO "configure"
39811 cat confdefs.h >>conftest.$ac_ext
39812 cat >>conftest.$ac_ext <<_ACEOF
39813 /* end confdefs.h. */
39814 /* System header to define __stub macros and hopefully few prototypes,
39815 which can conflict with char $ac_func (); below.
39816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39817 <limits.h> exists even on freestanding compilers. */
39819 # include <limits.h>
39821 # include <assert.h>
39823 /* Override any gcc2 internal prototype to avoid an error. */
39828 /* We use char because int might match the return type of a gcc2
39829 builtin and then its argument prototype would still apply. */
39831 /* The GNU C library defines this for functions which it implements
39832 to always fail with ENOSYS. Some functions are actually named
39833 something starting with __ and the normal name is an alias. */
39834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39837 char (*f) () = $ac_func;
39846 return f != $ac_func;
39851 rm -f conftest.$ac_objext conftest$ac_exeext
39852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39853 (eval $ac_link) 2>&5
39855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39856 (exit $ac_status); } &&
39857 { ac_try='test -s conftest$ac_exeext'
39858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39859 (eval $ac_try) 2>&5
39861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39862 (exit $ac_status); }; }; then
39863 eval "$as_ac_var=yes"
39865 echo "$as_me: failed program was:" >&5
39866 sed 's/^/| /' conftest.$ac_ext >&5
39868 eval "$as_ac_var=no"
39870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
39872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39874 if test `eval echo '${'$as_ac_var'}'` = yes; then
39875 cat >>confdefs.h <<_ACEOF
39876 #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
40047 echo "$as_me:$LINENO: checking for modfl declaration" >&5
40048 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
40049 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40050 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
40051 echo $ECHO_N "(cached) $ECHO_C" >&6
40057 ac_cpp='$CXXCPP $CPPFLAGS'
40058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40062 cat >conftest.$ac_ext <<_ACEOF
40063 #line $LINENO "configure"
40066 cat confdefs.h >>conftest.$ac_ext
40067 cat >>conftest.$ac_ext <<_ACEOF
40068 /* end confdefs.h. */
40078 rm -f conftest.$ac_objext
40079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40080 (eval $ac_compile) 2>&5
40082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40083 (exit $ac_status); } &&
40084 { ac_try='test -s conftest.$ac_objext'
40085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40086 (eval $ac_try) 2>&5
40088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40089 (exit $ac_status); }; }; then
40090 glibcxx_cv_func_modfl_use=yes
40092 echo "$as_me: failed program was:" >&5
40093 sed 's/^/| /' conftest.$ac_ext >&5
40095 glibcxx_cv_func_modfl_use=no
40097 rm -f conftest.$ac_objext conftest.$ac_ext
40099 ac_cpp='$CPP $CPPFLAGS'
40100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40108 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
40109 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
40111 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40113 for ac_func in modfl
40115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40116 echo "$as_me:$LINENO: checking for $ac_func" >&5
40117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40118 if eval "test \"\${$as_ac_var+set}\" = set"; then
40119 echo $ECHO_N "(cached) $ECHO_C" >&6
40121 if test x$gcc_no_link = xyes; then
40122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40124 { (exit 1); exit 1; }; }
40126 cat >conftest.$ac_ext <<_ACEOF
40127 #line $LINENO "configure"
40130 cat confdefs.h >>conftest.$ac_ext
40131 cat >>conftest.$ac_ext <<_ACEOF
40132 /* end confdefs.h. */
40133 /* System header to define __stub macros and hopefully few prototypes,
40134 which can conflict with char $ac_func (); below.
40135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40136 <limits.h> exists even on freestanding compilers. */
40138 # include <limits.h>
40140 # include <assert.h>
40142 /* Override any gcc2 internal prototype to avoid an error. */
40147 /* We use char because int might match the return type of a gcc2
40148 builtin and then its argument prototype would still apply. */
40150 /* The GNU C library defines this for functions which it implements
40151 to always fail with ENOSYS. Some functions are actually named
40152 something starting with __ and the normal name is an alias. */
40153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40156 char (*f) () = $ac_func;
40165 return f != $ac_func;
40170 rm -f conftest.$ac_objext conftest$ac_exeext
40171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40172 (eval $ac_link) 2>&5
40174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40175 (exit $ac_status); } &&
40176 { ac_try='test -s conftest$ac_exeext'
40177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40178 (eval $ac_try) 2>&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); }; }; then
40182 eval "$as_ac_var=yes"
40184 echo "$as_me: failed program was:" >&5
40185 sed 's/^/| /' conftest.$ac_ext >&5
40187 eval "$as_ac_var=no"
40189 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40193 if test `eval echo '${'$as_ac_var'}'` = yes; then
40194 cat >>confdefs.h <<_ACEOF
40195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40203 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
40204 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
40205 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40206 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
40207 echo $ECHO_N "(cached) $ECHO_C" >&6
40213 ac_cpp='$CXXCPP $CPPFLAGS'
40214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40218 cat >conftest.$ac_ext <<_ACEOF
40219 #line $LINENO "configure"
40222 cat confdefs.h >>conftest.$ac_ext
40223 cat >>conftest.$ac_ext <<_ACEOF
40224 /* end confdefs.h. */
40234 rm -f conftest.$ac_objext
40235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40236 (eval $ac_compile) 2>&5
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); } &&
40240 { ac_try='test -s conftest.$ac_objext'
40241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40242 (eval $ac_try) 2>&5
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); }; }; then
40246 glibcxx_cv_func__modfl_use=yes
40248 echo "$as_me: failed program was:" >&5
40249 sed 's/^/| /' conftest.$ac_ext >&5
40251 glibcxx_cv_func__modfl_use=no
40253 rm -f conftest.$ac_objext conftest.$ac_ext
40255 ac_cpp='$CPP $CPPFLAGS'
40256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40264 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
40265 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
40267 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40269 for ac_func in _modfl
40271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40272 echo "$as_me:$LINENO: checking for $ac_func" >&5
40273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40274 if eval "test \"\${$as_ac_var+set}\" = set"; then
40275 echo $ECHO_N "(cached) $ECHO_C" >&6
40277 if test x$gcc_no_link = xyes; then
40278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40280 { (exit 1); exit 1; }; }
40282 cat >conftest.$ac_ext <<_ACEOF
40283 #line $LINENO "configure"
40286 cat confdefs.h >>conftest.$ac_ext
40287 cat >>conftest.$ac_ext <<_ACEOF
40288 /* end confdefs.h. */
40289 /* System header to define __stub macros and hopefully few prototypes,
40290 which can conflict with char $ac_func (); below.
40291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40292 <limits.h> exists even on freestanding compilers. */
40294 # include <limits.h>
40296 # include <assert.h>
40298 /* Override any gcc2 internal prototype to avoid an error. */
40303 /* We use char because int might match the return type of a gcc2
40304 builtin and then its argument prototype would still apply. */
40306 /* The GNU C library defines this for functions which it implements
40307 to always fail with ENOSYS. Some functions are actually named
40308 something starting with __ and the normal name is an alias. */
40309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40312 char (*f) () = $ac_func;
40321 return f != $ac_func;
40326 rm -f conftest.$ac_objext conftest$ac_exeext
40327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40328 (eval $ac_link) 2>&5
40330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40331 (exit $ac_status); } &&
40332 { ac_try='test -s conftest$ac_exeext'
40333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40334 (eval $ac_try) 2>&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); }; }; then
40338 eval "$as_ac_var=yes"
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 eval "$as_ac_var=no"
40345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40349 if test `eval echo '${'$as_ac_var'}'` = yes; then
40350 cat >>confdefs.h <<_ACEOF
40351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40362 echo "$as_me:$LINENO: checking for powl declaration" >&5
40363 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
40364 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40365 if test "${glibcxx_cv_func_powl_use+set}" = set; then
40366 echo $ECHO_N "(cached) $ECHO_C" >&6
40372 ac_cpp='$CXXCPP $CPPFLAGS'
40373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377 cat >conftest.$ac_ext <<_ACEOF
40378 #line $LINENO "configure"
40381 cat confdefs.h >>conftest.$ac_ext
40382 cat >>conftest.$ac_ext <<_ACEOF
40383 /* end confdefs.h. */
40393 rm -f conftest.$ac_objext
40394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40395 (eval $ac_compile) 2>&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } &&
40399 { ac_try='test -s conftest.$ac_objext'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; }; then
40405 glibcxx_cv_func_powl_use=yes
40407 echo "$as_me: failed program was:" >&5
40408 sed 's/^/| /' conftest.$ac_ext >&5
40410 glibcxx_cv_func_powl_use=no
40412 rm -f conftest.$ac_objext conftest.$ac_ext
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40423 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
40424 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
40426 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40428 for ac_func in powl
40430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40431 echo "$as_me:$LINENO: checking for $ac_func" >&5
40432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40433 if eval "test \"\${$as_ac_var+set}\" = set"; then
40434 echo $ECHO_N "(cached) $ECHO_C" >&6
40436 if test x$gcc_no_link = xyes; then
40437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40439 { (exit 1); exit 1; }; }
40441 cat >conftest.$ac_ext <<_ACEOF
40442 #line $LINENO "configure"
40445 cat confdefs.h >>conftest.$ac_ext
40446 cat >>conftest.$ac_ext <<_ACEOF
40447 /* end confdefs.h. */
40448 /* System header to define __stub macros and hopefully few prototypes,
40449 which can conflict with char $ac_func (); below.
40450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40451 <limits.h> exists even on freestanding compilers. */
40453 # include <limits.h>
40455 # include <assert.h>
40457 /* Override any gcc2 internal prototype to avoid an error. */
40462 /* We use char because int might match the return type of a gcc2
40463 builtin and then its argument prototype would still apply. */
40465 /* The GNU C library defines this for functions which it implements
40466 to always fail with ENOSYS. Some functions are actually named
40467 something starting with __ and the normal name is an alias. */
40468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40471 char (*f) () = $ac_func;
40480 return f != $ac_func;
40485 rm -f conftest.$ac_objext conftest$ac_exeext
40486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40487 (eval $ac_link) 2>&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } &&
40491 { ac_try='test -s conftest$ac_exeext'
40492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40493 (eval $ac_try) 2>&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); }; }; then
40497 eval "$as_ac_var=yes"
40499 echo "$as_me: failed program was:" >&5
40500 sed 's/^/| /' conftest.$ac_ext >&5
40502 eval "$as_ac_var=no"
40504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40508 if test `eval echo '${'$as_ac_var'}'` = yes; then
40509 cat >>confdefs.h <<_ACEOF
40510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40518 echo "$as_me:$LINENO: checking for _powl declaration" >&5
40519 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
40520 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40521 if test "${glibcxx_cv_func__powl_use+set}" = set; then
40522 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 ac_cpp='$CXXCPP $CPPFLAGS'
40529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533 cat >conftest.$ac_ext <<_ACEOF
40534 #line $LINENO "configure"
40537 cat confdefs.h >>conftest.$ac_ext
40538 cat >>conftest.$ac_ext <<_ACEOF
40539 /* end confdefs.h. */
40549 rm -f conftest.$ac_objext
40550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40551 (eval $ac_compile) 2>&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); } &&
40555 { ac_try='test -s conftest.$ac_objext'
40556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40557 (eval $ac_try) 2>&5
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); }; }; then
40561 glibcxx_cv_func__powl_use=yes
40563 echo "$as_me: failed program was:" >&5
40564 sed 's/^/| /' conftest.$ac_ext >&5
40566 glibcxx_cv_func__powl_use=no
40568 rm -f conftest.$ac_objext conftest.$ac_ext
40570 ac_cpp='$CPP $CPPFLAGS'
40571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
40580 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
40582 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40584 for ac_func in _powl
40586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40587 echo "$as_me:$LINENO: checking for $ac_func" >&5
40588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40589 if eval "test \"\${$as_ac_var+set}\" = set"; then
40590 echo $ECHO_N "(cached) $ECHO_C" >&6
40592 if test x$gcc_no_link = xyes; then
40593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40595 { (exit 1); exit 1; }; }
40597 cat >conftest.$ac_ext <<_ACEOF
40598 #line $LINENO "configure"
40601 cat confdefs.h >>conftest.$ac_ext
40602 cat >>conftest.$ac_ext <<_ACEOF
40603 /* end confdefs.h. */
40604 /* System header to define __stub macros and hopefully few prototypes,
40605 which can conflict with char $ac_func (); below.
40606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40607 <limits.h> exists even on freestanding compilers. */
40609 # include <limits.h>
40611 # include <assert.h>
40613 /* Override any gcc2 internal prototype to avoid an error. */
40618 /* We use char because int might match the return type of a gcc2
40619 builtin and then its argument prototype would still apply. */
40621 /* The GNU C library defines this for functions which it implements
40622 to always fail with ENOSYS. Some functions are actually named
40623 something starting with __ and the normal name is an alias. */
40624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40627 char (*f) () = $ac_func;
40636 return f != $ac_func;
40641 rm -f conftest.$ac_objext conftest$ac_exeext
40642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40643 (eval $ac_link) 2>&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } &&
40647 { ac_try='test -s conftest$ac_exeext'
40648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40649 (eval $ac_try) 2>&5
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); }; }; then
40653 eval "$as_ac_var=yes"
40655 echo "$as_me: failed program was:" >&5
40656 sed 's/^/| /' conftest.$ac_ext >&5
40658 eval "$as_ac_var=no"
40660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40664 if test `eval echo '${'$as_ac_var'}'` = yes; then
40665 cat >>confdefs.h <<_ACEOF
40666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40677 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
40678 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
40679 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40680 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
40681 echo $ECHO_N "(cached) $ECHO_C" >&6
40687 ac_cpp='$CXXCPP $CPPFLAGS'
40688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40692 cat >conftest.$ac_ext <<_ACEOF
40693 #line $LINENO "configure"
40696 cat confdefs.h >>conftest.$ac_ext
40697 cat >>conftest.$ac_ext <<_ACEOF
40698 /* end confdefs.h. */
40700 #ifdef HAVE_IEEEFP_H
40701 #include <ieeefp.h>
40712 rm -f conftest.$ac_objext
40713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40714 (eval $ac_compile) 2>&5
40716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40717 (exit $ac_status); } &&
40718 { ac_try='test -s conftest.$ac_objext'
40719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40720 (eval $ac_try) 2>&5
40722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40723 (exit $ac_status); }; }; then
40724 glibcxx_cv_func_sqrtl_use=yes
40726 echo "$as_me: failed program was:" >&5
40727 sed 's/^/| /' conftest.$ac_ext >&5
40729 glibcxx_cv_func_sqrtl_use=no
40731 rm -f conftest.$ac_objext conftest.$ac_ext
40733 ac_cpp='$CPP $CPPFLAGS'
40734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40742 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
40743 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
40745 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40747 for ac_func in sqrtl
40749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40750 echo "$as_me:$LINENO: checking for $ac_func" >&5
40751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40752 if eval "test \"\${$as_ac_var+set}\" = set"; then
40753 echo $ECHO_N "(cached) $ECHO_C" >&6
40755 if test x$gcc_no_link = xyes; then
40756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40758 { (exit 1); exit 1; }; }
40760 cat >conftest.$ac_ext <<_ACEOF
40761 #line $LINENO "configure"
40764 cat confdefs.h >>conftest.$ac_ext
40765 cat >>conftest.$ac_ext <<_ACEOF
40766 /* end confdefs.h. */
40767 /* System header to define __stub macros and hopefully few prototypes,
40768 which can conflict with char $ac_func (); below.
40769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40770 <limits.h> exists even on freestanding compilers. */
40772 # include <limits.h>
40774 # include <assert.h>
40776 /* Override any gcc2 internal prototype to avoid an error. */
40781 /* We use char because int might match the return type of a gcc2
40782 builtin and then its argument prototype would still apply. */
40784 /* The GNU C library defines this for functions which it implements
40785 to always fail with ENOSYS. Some functions are actually named
40786 something starting with __ and the normal name is an alias. */
40787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40790 char (*f) () = $ac_func;
40799 return f != $ac_func;
40804 rm -f conftest.$ac_objext conftest$ac_exeext
40805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40806 (eval $ac_link) 2>&5
40808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40809 (exit $ac_status); } &&
40810 { ac_try='test -s conftest$ac_exeext'
40811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40812 (eval $ac_try) 2>&5
40814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40815 (exit $ac_status); }; }; then
40816 eval "$as_ac_var=yes"
40818 echo "$as_me: failed program was:" >&5
40819 sed 's/^/| /' conftest.$ac_ext >&5
40821 eval "$as_ac_var=no"
40823 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
40825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40827 if test `eval echo '${'$as_ac_var'}'` = yes; then
40828 cat >>confdefs.h <<_ACEOF
40829 #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
41000 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
41001 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
41002 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41003 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
41004 echo $ECHO_N "(cached) $ECHO_C" >&6
41010 ac_cpp='$CXXCPP $CPPFLAGS'
41011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41015 cat >conftest.$ac_ext <<_ACEOF
41016 #line $LINENO "configure"
41019 cat confdefs.h >>conftest.$ac_ext
41020 cat >>conftest.$ac_ext <<_ACEOF
41021 /* end confdefs.h. */
41031 rm -f conftest.$ac_objext
41032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41033 (eval $ac_compile) 2>&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } &&
41037 { ac_try='test -s conftest.$ac_objext'
41038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41039 (eval $ac_try) 2>&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); }; }; then
41043 glibcxx_cv_func_sincosl_use=yes
41045 echo "$as_me: failed program was:" >&5
41046 sed 's/^/| /' conftest.$ac_ext >&5
41048 glibcxx_cv_func_sincosl_use=no
41050 rm -f conftest.$ac_objext conftest.$ac_ext
41052 ac_cpp='$CPP $CPPFLAGS'
41053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41061 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
41062 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
41064 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41066 for ac_func in sincosl
41068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41069 echo "$as_me:$LINENO: checking for $ac_func" >&5
41070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41071 if eval "test \"\${$as_ac_var+set}\" = set"; then
41072 echo $ECHO_N "(cached) $ECHO_C" >&6
41074 if test x$gcc_no_link = xyes; then
41075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41077 { (exit 1); exit 1; }; }
41079 cat >conftest.$ac_ext <<_ACEOF
41080 #line $LINENO "configure"
41083 cat confdefs.h >>conftest.$ac_ext
41084 cat >>conftest.$ac_ext <<_ACEOF
41085 /* end confdefs.h. */
41086 /* System header to define __stub macros and hopefully few prototypes,
41087 which can conflict with char $ac_func (); below.
41088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41089 <limits.h> exists even on freestanding compilers. */
41091 # include <limits.h>
41093 # include <assert.h>
41095 /* Override any gcc2 internal prototype to avoid an error. */
41100 /* We use char because int might match the return type of a gcc2
41101 builtin and then its argument prototype would still apply. */
41103 /* The GNU C library defines this for functions which it implements
41104 to always fail with ENOSYS. Some functions are actually named
41105 something starting with __ and the normal name is an alias. */
41106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41109 char (*f) () = $ac_func;
41118 return f != $ac_func;
41123 rm -f conftest.$ac_objext conftest$ac_exeext
41124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41125 (eval $ac_link) 2>&5
41127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41128 (exit $ac_status); } &&
41129 { ac_try='test -s conftest$ac_exeext'
41130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41131 (eval $ac_try) 2>&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); }; }; then
41135 eval "$as_ac_var=yes"
41137 echo "$as_me: failed program was:" >&5
41138 sed 's/^/| /' conftest.$ac_ext >&5
41140 eval "$as_ac_var=no"
41142 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41146 if test `eval echo '${'$as_ac_var'}'` = yes; then
41147 cat >>confdefs.h <<_ACEOF
41148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41156 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
41157 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
41158 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41159 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
41160 echo $ECHO_N "(cached) $ECHO_C" >&6
41166 ac_cpp='$CXXCPP $CPPFLAGS'
41167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41171 cat >conftest.$ac_ext <<_ACEOF
41172 #line $LINENO "configure"
41175 cat confdefs.h >>conftest.$ac_ext
41176 cat >>conftest.$ac_ext <<_ACEOF
41177 /* end confdefs.h. */
41187 rm -f conftest.$ac_objext
41188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41189 (eval $ac_compile) 2>&5
41191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41192 (exit $ac_status); } &&
41193 { ac_try='test -s conftest.$ac_objext'
41194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195 (eval $ac_try) 2>&5
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); }; }; then
41199 glibcxx_cv_func__sincosl_use=yes
41201 echo "$as_me: failed program was:" >&5
41202 sed 's/^/| /' conftest.$ac_ext >&5
41204 glibcxx_cv_func__sincosl_use=no
41206 rm -f conftest.$ac_objext conftest.$ac_ext
41208 ac_cpp='$CPP $CPPFLAGS'
41209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
41218 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
41220 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41222 for ac_func in _sincosl
41224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41225 echo "$as_me:$LINENO: checking for $ac_func" >&5
41226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41227 if eval "test \"\${$as_ac_var+set}\" = set"; then
41228 echo $ECHO_N "(cached) $ECHO_C" >&6
41230 if test x$gcc_no_link = xyes; then
41231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41233 { (exit 1); exit 1; }; }
41235 cat >conftest.$ac_ext <<_ACEOF
41236 #line $LINENO "configure"
41239 cat confdefs.h >>conftest.$ac_ext
41240 cat >>conftest.$ac_ext <<_ACEOF
41241 /* end confdefs.h. */
41242 /* System header to define __stub macros and hopefully few prototypes,
41243 which can conflict with char $ac_func (); below.
41244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41245 <limits.h> exists even on freestanding compilers. */
41247 # include <limits.h>
41249 # include <assert.h>
41251 /* Override any gcc2 internal prototype to avoid an error. */
41256 /* We use char because int might match the return type of a gcc2
41257 builtin and then its argument prototype would still apply. */
41259 /* The GNU C library defines this for functions which it implements
41260 to always fail with ENOSYS. Some functions are actually named
41261 something starting with __ and the normal name is an alias. */
41262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41265 char (*f) () = $ac_func;
41274 return f != $ac_func;
41279 rm -f conftest.$ac_objext conftest$ac_exeext
41280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41281 (eval $ac_link) 2>&5
41283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41284 (exit $ac_status); } &&
41285 { ac_try='test -s conftest$ac_exeext'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; }; then
41291 eval "$as_ac_var=yes"
41293 echo "$as_me: failed program was:" >&5
41294 sed 's/^/| /' conftest.$ac_ext >&5
41296 eval "$as_ac_var=no"
41298 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41302 if test `eval echo '${'$as_ac_var'}'` = yes; then
41303 cat >>confdefs.h <<_ACEOF
41304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41315 echo "$as_me:$LINENO: checking for finitel declaration" >&5
41316 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
41317 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41318 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
41319 echo $ECHO_N "(cached) $ECHO_C" >&6
41325 ac_cpp='$CXXCPP $CPPFLAGS'
41326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41330 cat >conftest.$ac_ext <<_ACEOF
41331 #line $LINENO "configure"
41334 cat confdefs.h >>conftest.$ac_ext
41335 cat >>conftest.$ac_ext <<_ACEOF
41336 /* end confdefs.h. */
41338 #ifdef HAVE_IEEEFP_H
41339 #include <ieeefp.h>
41350 rm -f conftest.$ac_objext
41351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41352 (eval $ac_compile) 2>&5
41354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41355 (exit $ac_status); } &&
41356 { ac_try='test -s conftest.$ac_objext'
41357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41358 (eval $ac_try) 2>&5
41360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41361 (exit $ac_status); }; }; then
41362 glibcxx_cv_func_finitel_use=yes
41364 echo "$as_me: failed program was:" >&5
41365 sed 's/^/| /' conftest.$ac_ext >&5
41367 glibcxx_cv_func_finitel_use=no
41369 rm -f conftest.$ac_objext conftest.$ac_ext
41371 ac_cpp='$CPP $CPPFLAGS'
41372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41380 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
41381 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
41383 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41385 for ac_func in finitel
41387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41388 echo "$as_me:$LINENO: checking for $ac_func" >&5
41389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41390 if eval "test \"\${$as_ac_var+set}\" = set"; then
41391 echo $ECHO_N "(cached) $ECHO_C" >&6
41393 if test x$gcc_no_link = xyes; then
41394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41396 { (exit 1); exit 1; }; }
41398 cat >conftest.$ac_ext <<_ACEOF
41399 #line $LINENO "configure"
41402 cat confdefs.h >>conftest.$ac_ext
41403 cat >>conftest.$ac_ext <<_ACEOF
41404 /* end confdefs.h. */
41405 /* System header to define __stub macros and hopefully few prototypes,
41406 which can conflict with char $ac_func (); below.
41407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41408 <limits.h> exists even on freestanding compilers. */
41410 # include <limits.h>
41412 # include <assert.h>
41414 /* Override any gcc2 internal prototype to avoid an error. */
41419 /* We use char because int might match the return type of a gcc2
41420 builtin and then its argument prototype would still apply. */
41422 /* The GNU C library defines this for functions which it implements
41423 to always fail with ENOSYS. Some functions are actually named
41424 something starting with __ and the normal name is an alias. */
41425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41428 char (*f) () = $ac_func;
41437 return f != $ac_func;
41442 rm -f conftest.$ac_objext conftest$ac_exeext
41443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41444 (eval $ac_link) 2>&5
41446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41447 (exit $ac_status); } &&
41448 { ac_try='test -s conftest$ac_exeext'
41449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41450 (eval $ac_try) 2>&5
41452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41453 (exit $ac_status); }; }; then
41454 eval "$as_ac_var=yes"
41456 echo "$as_me: failed program was:" >&5
41457 sed 's/^/| /' conftest.$ac_ext >&5
41459 eval "$as_ac_var=no"
41461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41465 if test `eval echo '${'$as_ac_var'}'` = yes; then
41466 cat >>confdefs.h <<_ACEOF
41467 #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
41639 echo "$as_me:$LINENO: checking for _float trig functions" >&5
41640 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
41641 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
41642 echo $ECHO_N "(cached) $ECHO_C" >&6
41648 ac_cpp='$CXXCPP $CPPFLAGS'
41649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653 cat >conftest.$ac_ext <<_ACEOF
41654 #line $LINENO "configure"
41657 cat confdefs.h >>conftest.$ac_ext
41658 cat >>conftest.$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41664 `for x in _acosf _asinf _atanf \
41665 _cosf _sinf _tanf \
41666 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
41671 rm -f conftest.$ac_objext
41672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41673 (eval $ac_compile) 2>&5
41675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41676 (exit $ac_status); } &&
41677 { ac_try='test -s conftest.$ac_objext'
41678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41679 (eval $ac_try) 2>&5
41681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41682 (exit $ac_status); }; }; then
41683 glibcxx_cv_func__float_trig_use=yes
41685 echo "$as_me: failed program was:" >&5
41686 sed 's/^/| /' conftest.$ac_ext >&5
41688 glibcxx_cv_func__float_trig_use=no
41690 rm -f conftest.$ac_objext conftest.$ac_ext
41692 ac_cpp='$CPP $CPPFLAGS'
41693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
41700 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
41701 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41711 for ac_func in _acosf _asinf _atanf \
41712 _cosf _sinf _tanf \
41713 _coshf _sinhf _tanhf
41715 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41716 echo "$as_me:$LINENO: checking for $ac_func" >&5
41717 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41718 if eval "test \"\${$as_ac_var+set}\" = set"; then
41719 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 if test x$gcc_no_link = xyes; then
41722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41724 { (exit 1); exit 1; }; }
41726 cat >conftest.$ac_ext <<_ACEOF
41727 #line $LINENO "configure"
41730 cat confdefs.h >>conftest.$ac_ext
41731 cat >>conftest.$ac_ext <<_ACEOF
41732 /* end confdefs.h. */
41733 /* System header to define __stub macros and hopefully few prototypes,
41734 which can conflict with char $ac_func (); below.
41735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41736 <limits.h> exists even on freestanding compilers. */
41738 # include <limits.h>
41740 # include <assert.h>
41742 /* Override any gcc2 internal prototype to avoid an error. */
41747 /* We use char because int might match the return type of a gcc2
41748 builtin and then its argument prototype would still apply. */
41750 /* The GNU C library defines this for functions which it implements
41751 to always fail with ENOSYS. Some functions are actually named
41752 something starting with __ and the normal name is an alias. */
41753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41756 char (*f) () = $ac_func;
41765 return f != $ac_func;
41770 rm -f conftest.$ac_objext conftest$ac_exeext
41771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41772 (eval $ac_link) 2>&5
41774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41775 (exit $ac_status); } &&
41776 { ac_try='test -s conftest$ac_exeext'
41777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41778 (eval $ac_try) 2>&5
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); }; }; then
41782 eval "$as_ac_var=yes"
41784 echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.$ac_ext >&5
41787 eval "$as_ac_var=no"
41789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41793 if test `eval echo '${'$as_ac_var'}'` = yes; then
41794 cat >>confdefs.h <<_ACEOF
41795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41804 echo "$as_me:$LINENO: checking for _float round functions" >&5
41805 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
41806 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
41807 echo $ECHO_N "(cached) $ECHO_C" >&6
41813 ac_cpp='$CXXCPP $CPPFLAGS'
41814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41818 cat >conftest.$ac_ext <<_ACEOF
41819 #line $LINENO "configure"
41822 cat confdefs.h >>conftest.$ac_ext
41823 cat >>conftest.$ac_ext <<_ACEOF
41824 /* end confdefs.h. */
41829 `for x in _ceilf _floorf; do echo "$x (0);"; done`
41834 rm -f conftest.$ac_objext
41835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41836 (eval $ac_compile) 2>&5
41838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839 (exit $ac_status); } &&
41840 { ac_try='test -s conftest.$ac_objext'
41841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41842 (eval $ac_try) 2>&5
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); }; }; then
41846 glibcxx_cv_func__float_round_use=yes
41848 echo "$as_me: failed program was:" >&5
41849 sed 's/^/| /' conftest.$ac_ext >&5
41851 glibcxx_cv_func__float_round_use=no
41853 rm -f conftest.$ac_objext conftest.$ac_ext
41855 ac_cpp='$CPP $CPPFLAGS'
41856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
41863 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
41864 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41867 for ac_func in _ceilf _floorf
41869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41870 echo "$as_me:$LINENO: checking for $ac_func" >&5
41871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41872 if eval "test \"\${$as_ac_var+set}\" = set"; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 if test x$gcc_no_link = xyes; then
41876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41878 { (exit 1); exit 1; }; }
41880 cat >conftest.$ac_ext <<_ACEOF
41881 #line $LINENO "configure"
41884 cat confdefs.h >>conftest.$ac_ext
41885 cat >>conftest.$ac_ext <<_ACEOF
41886 /* end confdefs.h. */
41887 /* System header to define __stub macros and hopefully few prototypes,
41888 which can conflict with char $ac_func (); below.
41889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41890 <limits.h> exists even on freestanding compilers. */
41892 # include <limits.h>
41894 # include <assert.h>
41896 /* Override any gcc2 internal prototype to avoid an error. */
41901 /* We use char because int might match the return type of a gcc2
41902 builtin and then its argument prototype would still apply. */
41904 /* The GNU C library defines this for functions which it implements
41905 to always fail with ENOSYS. Some functions are actually named
41906 something starting with __ and the normal name is an alias. */
41907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41910 char (*f) () = $ac_func;
41919 return f != $ac_func;
41924 rm -f conftest.$ac_objext conftest$ac_exeext
41925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41926 (eval $ac_link) 2>&5
41928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41929 (exit $ac_status); } &&
41930 { ac_try='test -s conftest$ac_exeext'
41931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41932 (eval $ac_try) 2>&5
41934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935 (exit $ac_status); }; }; then
41936 eval "$as_ac_var=yes"
41938 echo "$as_me: failed program was:" >&5
41939 sed 's/^/| /' conftest.$ac_ext >&5
41941 eval "$as_ac_var=no"
41943 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
41945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41947 if test `eval echo '${'$as_ac_var'}'` = yes; then
41948 cat >>confdefs.h <<_ACEOF
41949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41959 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
41960 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
41961 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
41962 echo $ECHO_N "(cached) $ECHO_C" >&6
41968 ac_cpp='$CXXCPP $CPPFLAGS'
41969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41973 cat >conftest.$ac_ext <<_ACEOF
41974 #line $LINENO "configure"
41977 cat confdefs.h >>conftest.$ac_ext
41978 cat >>conftest.$ac_ext <<_ACEOF
41979 /* end confdefs.h. */
41984 `for x in _acosl _asinl _atanl \
41985 _cosl _sinl _tanl \
41986 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
41991 rm -f conftest.$ac_objext
41992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41993 (eval $ac_compile) 2>&5
41995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41996 (exit $ac_status); } &&
41997 { ac_try='test -s conftest.$ac_objext'
41998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41999 (eval $ac_try) 2>&5
42001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42002 (exit $ac_status); }; }; then
42003 glibcxx_cv_func__long_double_trig_use=yes
42005 echo "$as_me: failed program was:" >&5
42006 sed 's/^/| /' conftest.$ac_ext >&5
42008 glibcxx_cv_func__long_double_trig_use=no
42010 rm -f conftest.$ac_objext conftest.$ac_ext
42012 ac_cpp='$CPP $CPPFLAGS'
42013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42019 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
42020 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
42021 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42031 for ac_func in _acosl _asinl _atanl \
42032 _cosl _sinl _tanl \
42033 _coshl _sinhl _tanhl
42035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42036 echo "$as_me:$LINENO: checking for $ac_func" >&5
42037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42038 if eval "test \"\${$as_ac_var+set}\" = set"; then
42039 echo $ECHO_N "(cached) $ECHO_C" >&6
42041 if test x$gcc_no_link = xyes; then
42042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42044 { (exit 1); exit 1; }; }
42046 cat >conftest.$ac_ext <<_ACEOF
42047 #line $LINENO "configure"
42050 cat confdefs.h >>conftest.$ac_ext
42051 cat >>conftest.$ac_ext <<_ACEOF
42052 /* end confdefs.h. */
42053 /* System header to define __stub macros and hopefully few prototypes,
42054 which can conflict with char $ac_func (); below.
42055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42056 <limits.h> exists even on freestanding compilers. */
42058 # include <limits.h>
42060 # include <assert.h>
42062 /* Override any gcc2 internal prototype to avoid an error. */
42067 /* We use char because int might match the return type of a gcc2
42068 builtin and then its argument prototype would still apply. */
42070 /* The GNU C library defines this for functions which it implements
42071 to always fail with ENOSYS. Some functions are actually named
42072 something starting with __ and the normal name is an alias. */
42073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42076 char (*f) () = $ac_func;
42085 return f != $ac_func;
42090 rm -f conftest.$ac_objext conftest$ac_exeext
42091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42092 (eval $ac_link) 2>&5
42094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42095 (exit $ac_status); } &&
42096 { ac_try='test -s conftest$ac_exeext'
42097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42098 (eval $ac_try) 2>&5
42100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42101 (exit $ac_status); }; }; then
42102 eval "$as_ac_var=yes"
42104 echo "$as_me: failed program was:" >&5
42105 sed 's/^/| /' conftest.$ac_ext >&5
42107 eval "$as_ac_var=no"
42109 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42113 if test `eval echo '${'$as_ac_var'}'` = yes; then
42114 cat >>confdefs.h <<_ACEOF
42115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42124 echo "$as_me:$LINENO: checking for _long double round functions" >&5
42125 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
42126 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
42127 echo $ECHO_N "(cached) $ECHO_C" >&6
42133 ac_cpp='$CXXCPP $CPPFLAGS'
42134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42138 cat >conftest.$ac_ext <<_ACEOF
42139 #line $LINENO "configure"
42142 cat confdefs.h >>conftest.$ac_ext
42143 cat >>conftest.$ac_ext <<_ACEOF
42144 /* end confdefs.h. */
42149 `for x in _ceill _floorl; do echo "$x (0);"; done`
42154 rm -f conftest.$ac_objext
42155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42156 (eval $ac_compile) 2>&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } &&
42160 { ac_try='test -s conftest.$ac_objext'
42161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42162 (eval $ac_try) 2>&5
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); }; }; then
42166 glibcxx_cv_func__long_double_round_use=yes
42168 echo "$as_me: failed program was:" >&5
42169 sed 's/^/| /' conftest.$ac_ext >&5
42171 glibcxx_cv_func__long_double_round_use=no
42173 rm -f conftest.$ac_objext conftest.$ac_ext
42175 ac_cpp='$CPP $CPPFLAGS'
42176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42182 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
42183 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
42184 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42187 for ac_func in _ceill _floorl
42189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42190 echo "$as_me:$LINENO: checking for $ac_func" >&5
42191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42192 if eval "test \"\${$as_ac_var+set}\" = set"; then
42193 echo $ECHO_N "(cached) $ECHO_C" >&6
42195 if test x$gcc_no_link = xyes; then
42196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42198 { (exit 1); exit 1; }; }
42200 cat >conftest.$ac_ext <<_ACEOF
42201 #line $LINENO "configure"
42204 cat confdefs.h >>conftest.$ac_ext
42205 cat >>conftest.$ac_ext <<_ACEOF
42206 /* end confdefs.h. */
42207 /* System header to define __stub macros and hopefully few prototypes,
42208 which can conflict with char $ac_func (); below.
42209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42210 <limits.h> exists even on freestanding compilers. */
42212 # include <limits.h>
42214 # include <assert.h>
42216 /* Override any gcc2 internal prototype to avoid an error. */
42221 /* We use char because int might match the return type of a gcc2
42222 builtin and then its argument prototype would still apply. */
42224 /* The GNU C library defines this for functions which it implements
42225 to always fail with ENOSYS. Some functions are actually named
42226 something starting with __ and the normal name is an alias. */
42227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42230 char (*f) () = $ac_func;
42239 return f != $ac_func;
42244 rm -f conftest.$ac_objext conftest$ac_exeext
42245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42246 (eval $ac_link) 2>&5
42248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42249 (exit $ac_status); } &&
42250 { ac_try='test -s conftest$ac_exeext'
42251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42252 (eval $ac_try) 2>&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); }; }; then
42256 eval "$as_ac_var=yes"
42258 echo "$as_me: failed program was:" >&5
42259 sed 's/^/| /' conftest.$ac_ext >&5
42261 eval "$as_ac_var=no"
42263 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42267 if test `eval echo '${'$as_ac_var'}'` = yes; then
42268 cat >>confdefs.h <<_ACEOF
42269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42278 LIBS="$ac_save_LIBS"
42279 CXXFLAGS="$ac_save_CXXFLAGS"
42283 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
42284 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
42285 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
42286 if test "${glibcxx_cv_func___builtin_abs_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. */
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___builtin_abs_use=yes
42328 echo "$as_me: failed program was:" >&5
42329 sed 's/^/| /' conftest.$ac_ext >&5
42331 glibcxx_cv_func___builtin_abs_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
42344 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
42345 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
42346 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
42347 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
42348 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
42349 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
42350 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
42351 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 if test x$gcc_no_link = xyes; then
42355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42357 { (exit 1); exit 1; }; }
42359 cat >conftest.$ac_ext <<_ACEOF
42360 #line $LINENO "configure"
42363 cat confdefs.h >>conftest.$ac_ext
42364 cat >>conftest.$ac_ext <<_ACEOF
42365 /* end confdefs.h. */
42375 rm -f conftest.$ac_objext conftest$ac_exeext
42376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42377 (eval $ac_link) 2>&5
42379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42380 (exit $ac_status); } &&
42381 { ac_try='test -s conftest$ac_exeext'
42382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42383 (eval $ac_try) 2>&5
42385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42386 (exit $ac_status); }; }; then
42387 glibcxx_cv_func___builtin_abs_link=yes
42389 echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42392 glibcxx_cv_func___builtin_abs_link=no
42394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42399 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
42400 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
42401 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
42402 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42403 cat >>confdefs.h <<_ACEOF
42404 #define ${ac_tr_func} 1
42411 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
42412 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
42413 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
42414 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42421 ac_cpp='$CXXCPP $CPPFLAGS'
42422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42426 cat >conftest.$ac_ext <<_ACEOF
42427 #line $LINENO "configure"
42430 cat confdefs.h >>conftest.$ac_ext
42431 cat >>conftest.$ac_ext <<_ACEOF
42432 /* end confdefs.h. */
42437 __builtin_fabsf(0);
42442 rm -f conftest.$ac_objext
42443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42444 (eval $ac_compile) 2>&5
42446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42447 (exit $ac_status); } &&
42448 { ac_try='test -s conftest.$ac_objext'
42449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42450 (eval $ac_try) 2>&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); }; }; then
42454 glibcxx_cv_func___builtin_fabsf_use=yes
42456 echo "$as_me: failed program was:" >&5
42457 sed 's/^/| /' conftest.$ac_ext >&5
42459 glibcxx_cv_func___builtin_fabsf_use=no
42461 rm -f conftest.$ac_objext conftest.$ac_ext
42463 ac_cpp='$CPP $CPPFLAGS'
42464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42472 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
42473 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
42474 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
42475 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
42476 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
42477 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
42478 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
42479 echo $ECHO_N "(cached) $ECHO_C" >&6
42482 if test x$gcc_no_link = xyes; then
42483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42485 { (exit 1); exit 1; }; }
42487 cat >conftest.$ac_ext <<_ACEOF
42488 #line $LINENO "configure"
42491 cat confdefs.h >>conftest.$ac_ext
42492 cat >>conftest.$ac_ext <<_ACEOF
42493 /* end confdefs.h. */
42498 __builtin_fabsf(0);
42503 rm -f conftest.$ac_objext conftest$ac_exeext
42504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42505 (eval $ac_link) 2>&5
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); } &&
42509 { ac_try='test -s conftest$ac_exeext'
42510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42511 (eval $ac_try) 2>&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); }; }; then
42515 glibcxx_cv_func___builtin_fabsf_link=yes
42517 echo "$as_me: failed program was:" >&5
42518 sed 's/^/| /' conftest.$ac_ext >&5
42520 glibcxx_cv_func___builtin_fabsf_link=no
42522 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
42528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
42529 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
42530 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42531 cat >>confdefs.h <<_ACEOF
42532 #define ${ac_tr_func} 1
42539 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
42540 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
42541 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
42542 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
42543 echo $ECHO_N "(cached) $ECHO_C" >&6
42549 ac_cpp='$CXXCPP $CPPFLAGS'
42550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42554 cat >conftest.$ac_ext <<_ACEOF
42555 #line $LINENO "configure"
42558 cat confdefs.h >>conftest.$ac_ext
42559 cat >>conftest.$ac_ext <<_ACEOF
42560 /* end confdefs.h. */
42570 rm -f conftest.$ac_objext
42571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42572 (eval $ac_compile) 2>&5
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); } &&
42576 { ac_try='test -s conftest.$ac_objext'
42577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42578 (eval $ac_try) 2>&5
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); }; }; then
42582 glibcxx_cv_func___builtin_fabs_use=yes
42584 echo "$as_me: failed program was:" >&5
42585 sed 's/^/| /' conftest.$ac_ext >&5
42587 glibcxx_cv_func___builtin_fabs_use=no
42589 rm -f conftest.$ac_objext conftest.$ac_ext
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42600 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
42601 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
42602 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
42603 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
42604 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
42605 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
42606 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
42607 echo $ECHO_N "(cached) $ECHO_C" >&6
42610 if test x$gcc_no_link = xyes; then
42611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42613 { (exit 1); exit 1; }; }
42615 cat >conftest.$ac_ext <<_ACEOF
42616 #line $LINENO "configure"
42619 cat confdefs.h >>conftest.$ac_ext
42620 cat >>conftest.$ac_ext <<_ACEOF
42621 /* end confdefs.h. */
42631 rm -f conftest.$ac_objext conftest$ac_exeext
42632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42633 (eval $ac_link) 2>&5
42635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42636 (exit $ac_status); } &&
42637 { ac_try='test -s conftest$ac_exeext'
42638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42639 (eval $ac_try) 2>&5
42641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42642 (exit $ac_status); }; }; then
42643 glibcxx_cv_func___builtin_fabs_link=yes
42645 echo "$as_me: failed program was:" >&5
42646 sed 's/^/| /' conftest.$ac_ext >&5
42648 glibcxx_cv_func___builtin_fabs_link=no
42650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42655 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
42656 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
42657 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
42658 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42659 cat >>confdefs.h <<_ACEOF
42660 #define ${ac_tr_func} 1
42667 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
42668 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
42669 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
42670 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
42671 echo $ECHO_N "(cached) $ECHO_C" >&6
42677 ac_cpp='$CXXCPP $CPPFLAGS'
42678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42682 cat >conftest.$ac_ext <<_ACEOF
42683 #line $LINENO "configure"
42686 cat confdefs.h >>conftest.$ac_ext
42687 cat >>conftest.$ac_ext <<_ACEOF
42688 /* end confdefs.h. */
42693 __builtin_fabsl(0);
42698 rm -f conftest.$ac_objext
42699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42700 (eval $ac_compile) 2>&5
42702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42703 (exit $ac_status); } &&
42704 { ac_try='test -s conftest.$ac_objext'
42705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42706 (eval $ac_try) 2>&5
42708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42709 (exit $ac_status); }; }; then
42710 glibcxx_cv_func___builtin_fabsl_use=yes
42712 echo "$as_me: failed program was:" >&5
42713 sed 's/^/| /' conftest.$ac_ext >&5
42715 glibcxx_cv_func___builtin_fabsl_use=no
42717 rm -f conftest.$ac_objext conftest.$ac_ext
42719 ac_cpp='$CPP $CPPFLAGS'
42720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42728 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
42729 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
42730 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
42731 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
42732 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
42733 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
42734 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
42735 echo $ECHO_N "(cached) $ECHO_C" >&6
42738 if test x$gcc_no_link = xyes; then
42739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42741 { (exit 1); exit 1; }; }
42743 cat >conftest.$ac_ext <<_ACEOF
42744 #line $LINENO "configure"
42747 cat confdefs.h >>conftest.$ac_ext
42748 cat >>conftest.$ac_ext <<_ACEOF
42749 /* end confdefs.h. */
42754 __builtin_fabsl(0);
42759 rm -f conftest.$ac_objext conftest$ac_exeext
42760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42761 (eval $ac_link) 2>&5
42763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42764 (exit $ac_status); } &&
42765 { ac_try='test -s conftest$ac_exeext'
42766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42767 (eval $ac_try) 2>&5
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); }; }; then
42771 glibcxx_cv_func___builtin_fabsl_link=yes
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42776 glibcxx_cv_func___builtin_fabsl_link=no
42778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42783 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
42784 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
42785 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
42786 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42787 cat >>confdefs.h <<_ACEOF
42788 #define ${ac_tr_func} 1
42795 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
42796 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
42797 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
42798 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
42799 echo $ECHO_N "(cached) $ECHO_C" >&6
42805 ac_cpp='$CXXCPP $CPPFLAGS'
42806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42810 cat >conftest.$ac_ext <<_ACEOF
42811 #line $LINENO "configure"
42814 cat confdefs.h >>conftest.$ac_ext
42815 cat >>conftest.$ac_ext <<_ACEOF
42816 /* end confdefs.h. */
42826 rm -f conftest.$ac_objext
42827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42828 (eval $ac_compile) 2>&5
42830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831 (exit $ac_status); } &&
42832 { ac_try='test -s conftest.$ac_objext'
42833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42834 (eval $ac_try) 2>&5
42836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837 (exit $ac_status); }; }; then
42838 glibcxx_cv_func___builtin_labs_use=yes
42840 echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42843 glibcxx_cv_func___builtin_labs_use=no
42845 rm -f conftest.$ac_objext conftest.$ac_ext
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42856 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
42857 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
42858 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
42859 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
42860 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
42861 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
42862 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
42863 echo $ECHO_N "(cached) $ECHO_C" >&6
42866 if test x$gcc_no_link = xyes; then
42867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42869 { (exit 1); exit 1; }; }
42871 cat >conftest.$ac_ext <<_ACEOF
42872 #line $LINENO "configure"
42875 cat confdefs.h >>conftest.$ac_ext
42876 cat >>conftest.$ac_ext <<_ACEOF
42877 /* end confdefs.h. */
42887 rm -f conftest.$ac_objext conftest$ac_exeext
42888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42889 (eval $ac_link) 2>&5
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); } &&
42893 { ac_try='test -s conftest$ac_exeext'
42894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42895 (eval $ac_try) 2>&5
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); }; }; then
42899 glibcxx_cv_func___builtin_labs_link=yes
42901 echo "$as_me: failed program was:" >&5
42902 sed 's/^/| /' conftest.$ac_ext >&5
42904 glibcxx_cv_func___builtin_labs_link=no
42906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
42911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
42912 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
42913 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
42914 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
42915 cat >>confdefs.h <<_ACEOF
42916 #define ${ac_tr_func} 1
42924 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
42925 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
42926 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
42927 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
42928 echo $ECHO_N "(cached) $ECHO_C" >&6
42934 ac_cpp='$CXXCPP $CPPFLAGS'
42935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939 cat >conftest.$ac_ext <<_ACEOF
42940 #line $LINENO "configure"
42943 cat confdefs.h >>conftest.$ac_ext
42944 cat >>conftest.$ac_ext <<_ACEOF
42945 /* end confdefs.h. */
42950 __builtin_sqrtf(0);
42955 rm -f conftest.$ac_objext
42956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42957 (eval $ac_compile) 2>&5
42959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42960 (exit $ac_status); } &&
42961 { ac_try='test -s conftest.$ac_objext'
42962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42963 (eval $ac_try) 2>&5
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); }; }; then
42967 glibcxx_cv_func___builtin_sqrtf_use=yes
42969 echo "$as_me: failed program was:" >&5
42970 sed 's/^/| /' conftest.$ac_ext >&5
42972 glibcxx_cv_func___builtin_sqrtf_use=no
42974 rm -f conftest.$ac_objext conftest.$ac_ext
42976 ac_cpp='$CPP $CPPFLAGS'
42977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
42986 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
42987 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
42988 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
42989 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
42990 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
42991 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
42992 echo $ECHO_N "(cached) $ECHO_C" >&6
42995 if test x$gcc_no_link = xyes; then
42996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42998 { (exit 1); exit 1; }; }
43000 cat >conftest.$ac_ext <<_ACEOF
43001 #line $LINENO "configure"
43004 cat confdefs.h >>conftest.$ac_ext
43005 cat >>conftest.$ac_ext <<_ACEOF
43006 /* end confdefs.h. */
43011 __builtin_sqrtf(0);
43016 rm -f conftest.$ac_objext conftest$ac_exeext
43017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43018 (eval $ac_link) 2>&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } &&
43022 { ac_try='test -s conftest$ac_exeext'
43023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43024 (eval $ac_try) 2>&5
43026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43027 (exit $ac_status); }; }; then
43028 glibcxx_cv_func___builtin_sqrtf_link=yes
43030 echo "$as_me: failed program was:" >&5
43031 sed 's/^/| /' conftest.$ac_ext >&5
43033 glibcxx_cv_func___builtin_sqrtf_link=no
43035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
43041 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
43042 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
43043 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43044 cat >>confdefs.h <<_ACEOF
43045 #define ${ac_tr_func} 1
43052 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
43053 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
43054 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
43055 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
43056 echo $ECHO_N "(cached) $ECHO_C" >&6
43062 ac_cpp='$CXXCPP $CPPFLAGS'
43063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43067 cat >conftest.$ac_ext <<_ACEOF
43068 #line $LINENO "configure"
43071 cat confdefs.h >>conftest.$ac_ext
43072 cat >>conftest.$ac_ext <<_ACEOF
43073 /* end confdefs.h. */
43083 rm -f conftest.$ac_objext
43084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43085 (eval $ac_compile) 2>&5
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); } &&
43089 { ac_try='test -s conftest.$ac_objext'
43090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43091 (eval $ac_try) 2>&5
43093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43094 (exit $ac_status); }; }; then
43095 glibcxx_cv_func___builtin_sqrt_use=yes
43097 echo "$as_me: failed program was:" >&5
43098 sed 's/^/| /' conftest.$ac_ext >&5
43100 glibcxx_cv_func___builtin_sqrt_use=no
43102 rm -f conftest.$ac_objext conftest.$ac_ext
43104 ac_cpp='$CPP $CPPFLAGS'
43105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43113 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
43114 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
43115 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
43116 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
43117 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
43118 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
43119 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 if test x$gcc_no_link = xyes; then
43124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43126 { (exit 1); exit 1; }; }
43128 cat >conftest.$ac_ext <<_ACEOF
43129 #line $LINENO "configure"
43132 cat confdefs.h >>conftest.$ac_ext
43133 cat >>conftest.$ac_ext <<_ACEOF
43134 /* end confdefs.h. */
43144 rm -f conftest.$ac_objext conftest$ac_exeext
43145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43146 (eval $ac_link) 2>&5
43148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43149 (exit $ac_status); } &&
43150 { ac_try='test -s conftest$ac_exeext'
43151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43152 (eval $ac_try) 2>&5
43154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43155 (exit $ac_status); }; }; then
43156 glibcxx_cv_func___builtin_sqrt_link=yes
43158 echo "$as_me: failed program was:" >&5
43159 sed 's/^/| /' conftest.$ac_ext >&5
43161 glibcxx_cv_func___builtin_sqrt_link=no
43163 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43168 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
43169 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
43170 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
43171 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43172 cat >>confdefs.h <<_ACEOF
43173 #define ${ac_tr_func} 1
43180 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
43181 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
43182 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
43183 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43190 ac_cpp='$CXXCPP $CPPFLAGS'
43191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43195 cat >conftest.$ac_ext <<_ACEOF
43196 #line $LINENO "configure"
43199 cat confdefs.h >>conftest.$ac_ext
43200 cat >>conftest.$ac_ext <<_ACEOF
43201 /* end confdefs.h. */
43206 __builtin_sqrtl(0);
43211 rm -f conftest.$ac_objext
43212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43213 (eval $ac_compile) 2>&5
43215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43216 (exit $ac_status); } &&
43217 { ac_try='test -s conftest.$ac_objext'
43218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43219 (eval $ac_try) 2>&5
43221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43222 (exit $ac_status); }; }; then
43223 glibcxx_cv_func___builtin_sqrtl_use=yes
43225 echo "$as_me: failed program was:" >&5
43226 sed 's/^/| /' conftest.$ac_ext >&5
43228 glibcxx_cv_func___builtin_sqrtl_use=no
43230 rm -f conftest.$ac_objext conftest.$ac_ext
43232 ac_cpp='$CPP $CPPFLAGS'
43233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
43242 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
43243 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
43244 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
43245 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
43246 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
43247 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
43248 echo $ECHO_N "(cached) $ECHO_C" >&6
43251 if test x$gcc_no_link = xyes; then
43252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43254 { (exit 1); exit 1; }; }
43256 cat >conftest.$ac_ext <<_ACEOF
43257 #line $LINENO "configure"
43260 cat confdefs.h >>conftest.$ac_ext
43261 cat >>conftest.$ac_ext <<_ACEOF
43262 /* end confdefs.h. */
43267 __builtin_sqrtl(0);
43272 rm -f conftest.$ac_objext conftest$ac_exeext
43273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43274 (eval $ac_link) 2>&5
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); } &&
43278 { ac_try='test -s conftest$ac_exeext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 glibcxx_cv_func___builtin_sqrtl_link=yes
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43289 glibcxx_cv_func___builtin_sqrtl_link=no
43291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43296 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
43297 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
43298 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
43299 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43300 cat >>confdefs.h <<_ACEOF
43301 #define ${ac_tr_func} 1
43309 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
43310 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
43311 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
43312 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
43313 echo $ECHO_N "(cached) $ECHO_C" >&6
43319 ac_cpp='$CXXCPP $CPPFLAGS'
43320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43324 cat >conftest.$ac_ext <<_ACEOF
43325 #line $LINENO "configure"
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43340 rm -f conftest.$ac_objext
43341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43342 (eval $ac_compile) 2>&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } &&
43346 { ac_try='test -s conftest.$ac_objext'
43347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43348 (eval $ac_try) 2>&5
43350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43351 (exit $ac_status); }; }; then
43352 glibcxx_cv_func___builtin_sinf_use=yes
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43357 glibcxx_cv_func___builtin_sinf_use=no
43359 rm -f conftest.$ac_objext conftest.$ac_ext
43361 ac_cpp='$CPP $CPPFLAGS'
43362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43370 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
43371 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
43372 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
43373 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
43374 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
43375 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
43376 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
43377 echo $ECHO_N "(cached) $ECHO_C" >&6
43380 if test x$gcc_no_link = xyes; then
43381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43383 { (exit 1); exit 1; }; }
43385 cat >conftest.$ac_ext <<_ACEOF
43386 #line $LINENO "configure"
43389 cat confdefs.h >>conftest.$ac_ext
43390 cat >>conftest.$ac_ext <<_ACEOF
43391 /* end confdefs.h. */
43401 rm -f conftest.$ac_objext conftest$ac_exeext
43402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43403 (eval $ac_link) 2>&5
43405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43406 (exit $ac_status); } &&
43407 { ac_try='test -s conftest$ac_exeext'
43408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43409 (eval $ac_try) 2>&5
43411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43412 (exit $ac_status); }; }; then
43413 glibcxx_cv_func___builtin_sinf_link=yes
43415 echo "$as_me: failed program was:" >&5
43416 sed 's/^/| /' conftest.$ac_ext >&5
43418 glibcxx_cv_func___builtin_sinf_link=no
43420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43425 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
43426 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
43427 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
43428 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43429 cat >>confdefs.h <<_ACEOF
43430 #define ${ac_tr_func} 1
43437 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
43438 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
43439 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
43440 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
43441 echo $ECHO_N "(cached) $ECHO_C" >&6
43447 ac_cpp='$CXXCPP $CPPFLAGS'
43448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43452 cat >conftest.$ac_ext <<_ACEOF
43453 #line $LINENO "configure"
43456 cat confdefs.h >>conftest.$ac_ext
43457 cat >>conftest.$ac_ext <<_ACEOF
43458 /* end confdefs.h. */
43468 rm -f conftest.$ac_objext
43469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43470 (eval $ac_compile) 2>&5
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); } &&
43474 { ac_try='test -s conftest.$ac_objext'
43475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43476 (eval $ac_try) 2>&5
43478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43479 (exit $ac_status); }; }; then
43480 glibcxx_cv_func___builtin_sin_use=yes
43482 echo "$as_me: failed program was:" >&5
43483 sed 's/^/| /' conftest.$ac_ext >&5
43485 glibcxx_cv_func___builtin_sin_use=no
43487 rm -f conftest.$ac_objext conftest.$ac_ext
43489 ac_cpp='$CPP $CPPFLAGS'
43490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43498 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
43499 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
43500 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
43501 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
43502 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
43503 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
43504 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
43505 echo $ECHO_N "(cached) $ECHO_C" >&6
43508 if test x$gcc_no_link = xyes; then
43509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43511 { (exit 1); exit 1; }; }
43513 cat >conftest.$ac_ext <<_ACEOF
43514 #line $LINENO "configure"
43517 cat confdefs.h >>conftest.$ac_ext
43518 cat >>conftest.$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43529 rm -f conftest.$ac_objext conftest$ac_exeext
43530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43531 (eval $ac_link) 2>&5
43533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43534 (exit $ac_status); } &&
43535 { ac_try='test -s conftest$ac_exeext'
43536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43537 (eval $ac_try) 2>&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); }; }; then
43541 glibcxx_cv_func___builtin_sin_link=yes
43543 echo "$as_me: failed program was:" >&5
43544 sed 's/^/| /' conftest.$ac_ext >&5
43546 glibcxx_cv_func___builtin_sin_link=no
43548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
43554 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
43555 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
43556 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43557 cat >>confdefs.h <<_ACEOF
43558 #define ${ac_tr_func} 1
43565 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
43566 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
43567 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
43568 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
43569 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 ac_cpp='$CXXCPP $CPPFLAGS'
43576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43580 cat >conftest.$ac_ext <<_ACEOF
43581 #line $LINENO "configure"
43584 cat confdefs.h >>conftest.$ac_ext
43585 cat >>conftest.$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43596 rm -f conftest.$ac_objext
43597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43598 (eval $ac_compile) 2>&5
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); } &&
43602 { ac_try='test -s conftest.$ac_objext'
43603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43604 (eval $ac_try) 2>&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); }; }; then
43608 glibcxx_cv_func___builtin_sinl_use=yes
43610 echo "$as_me: failed program was:" >&5
43611 sed 's/^/| /' conftest.$ac_ext >&5
43613 glibcxx_cv_func___builtin_sinl_use=no
43615 rm -f conftest.$ac_objext conftest.$ac_ext
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
43627 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
43628 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
43629 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
43630 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
43631 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
43632 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
43633 echo $ECHO_N "(cached) $ECHO_C" >&6
43636 if test x$gcc_no_link = xyes; then
43637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43639 { (exit 1); exit 1; }; }
43641 cat >conftest.$ac_ext <<_ACEOF
43642 #line $LINENO "configure"
43645 cat confdefs.h >>conftest.$ac_ext
43646 cat >>conftest.$ac_ext <<_ACEOF
43647 /* end confdefs.h. */
43657 rm -f conftest.$ac_objext conftest$ac_exeext
43658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43659 (eval $ac_link) 2>&5
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); } &&
43663 { ac_try='test -s conftest$ac_exeext'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; }; then
43669 glibcxx_cv_func___builtin_sinl_link=yes
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43674 glibcxx_cv_func___builtin_sinl_link=no
43676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43681 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
43682 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
43683 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
43684 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43685 cat >>confdefs.h <<_ACEOF
43686 #define ${ac_tr_func} 1
43694 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
43695 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
43696 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
43697 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
43698 echo $ECHO_N "(cached) $ECHO_C" >&6
43704 ac_cpp='$CXXCPP $CPPFLAGS'
43705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43709 cat >conftest.$ac_ext <<_ACEOF
43710 #line $LINENO "configure"
43713 cat confdefs.h >>conftest.$ac_ext
43714 cat >>conftest.$ac_ext <<_ACEOF
43715 /* end confdefs.h. */
43725 rm -f conftest.$ac_objext
43726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43727 (eval $ac_compile) 2>&5
43729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43730 (exit $ac_status); } &&
43731 { ac_try='test -s conftest.$ac_objext'
43732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43733 (eval $ac_try) 2>&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); }; }; then
43737 glibcxx_cv_func___builtin_cosf_use=yes
43739 echo "$as_me: failed program was:" >&5
43740 sed 's/^/| /' conftest.$ac_ext >&5
43742 glibcxx_cv_func___builtin_cosf_use=no
43744 rm -f conftest.$ac_objext conftest.$ac_ext
43746 ac_cpp='$CPP $CPPFLAGS'
43747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43755 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
43756 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
43757 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
43758 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
43759 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
43760 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
43761 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
43762 echo $ECHO_N "(cached) $ECHO_C" >&6
43765 if test x$gcc_no_link = xyes; then
43766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43768 { (exit 1); exit 1; }; }
43770 cat >conftest.$ac_ext <<_ACEOF
43771 #line $LINENO "configure"
43774 cat confdefs.h >>conftest.$ac_ext
43775 cat >>conftest.$ac_ext <<_ACEOF
43776 /* end confdefs.h. */
43786 rm -f conftest.$ac_objext conftest$ac_exeext
43787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43788 (eval $ac_link) 2>&5
43790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43791 (exit $ac_status); } &&
43792 { ac_try='test -s conftest$ac_exeext'
43793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43794 (eval $ac_try) 2>&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); }; }; then
43798 glibcxx_cv_func___builtin_cosf_link=yes
43800 echo "$as_me: failed program was:" >&5
43801 sed 's/^/| /' conftest.$ac_ext >&5
43803 glibcxx_cv_func___builtin_cosf_link=no
43805 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43810 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
43811 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
43812 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
43813 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43814 cat >>confdefs.h <<_ACEOF
43815 #define ${ac_tr_func} 1
43822 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
43823 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
43824 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
43825 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
43826 echo $ECHO_N "(cached) $ECHO_C" >&6
43832 ac_cpp='$CXXCPP $CPPFLAGS'
43833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43837 cat >conftest.$ac_ext <<_ACEOF
43838 #line $LINENO "configure"
43841 cat confdefs.h >>conftest.$ac_ext
43842 cat >>conftest.$ac_ext <<_ACEOF
43843 /* end confdefs.h. */
43853 rm -f conftest.$ac_objext
43854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43855 (eval $ac_compile) 2>&5
43857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43858 (exit $ac_status); } &&
43859 { ac_try='test -s conftest.$ac_objext'
43860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43861 (eval $ac_try) 2>&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); }; }; then
43865 glibcxx_cv_func___builtin_cos_use=yes
43867 echo "$as_me: failed program was:" >&5
43868 sed 's/^/| /' conftest.$ac_ext >&5
43870 glibcxx_cv_func___builtin_cos_use=no
43872 rm -f conftest.$ac_objext conftest.$ac_ext
43874 ac_cpp='$CPP $CPPFLAGS'
43875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43883 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
43884 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
43885 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
43886 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
43887 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
43888 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
43889 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
43890 echo $ECHO_N "(cached) $ECHO_C" >&6
43893 if test x$gcc_no_link = xyes; then
43894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43896 { (exit 1); exit 1; }; }
43898 cat >conftest.$ac_ext <<_ACEOF
43899 #line $LINENO "configure"
43902 cat confdefs.h >>conftest.$ac_ext
43903 cat >>conftest.$ac_ext <<_ACEOF
43904 /* end confdefs.h. */
43914 rm -f conftest.$ac_objext conftest$ac_exeext
43915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43916 (eval $ac_link) 2>&5
43918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43919 (exit $ac_status); } &&
43920 { ac_try='test -s conftest$ac_exeext'
43921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43922 (eval $ac_try) 2>&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); }; }; then
43926 glibcxx_cv_func___builtin_cos_link=yes
43928 echo "$as_me: failed program was:" >&5
43929 sed 's/^/| /' conftest.$ac_ext >&5
43931 glibcxx_cv_func___builtin_cos_link=no
43933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
43938 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
43939 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
43940 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
43941 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
43942 cat >>confdefs.h <<_ACEOF
43943 #define ${ac_tr_func} 1
43950 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
43951 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
43952 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
43953 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
43954 echo $ECHO_N "(cached) $ECHO_C" >&6
43960 ac_cpp='$CXXCPP $CPPFLAGS'
43961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965 cat >conftest.$ac_ext <<_ACEOF
43966 #line $LINENO "configure"
43969 cat confdefs.h >>conftest.$ac_ext
43970 cat >>conftest.$ac_ext <<_ACEOF
43971 /* end confdefs.h. */
43981 rm -f conftest.$ac_objext
43982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43983 (eval $ac_compile) 2>&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } &&
43987 { ac_try='test -s conftest.$ac_objext'
43988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43989 (eval $ac_try) 2>&5
43991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43992 (exit $ac_status); }; }; then
43993 glibcxx_cv_func___builtin_cosl_use=yes
43995 echo "$as_me: failed program was:" >&5
43996 sed 's/^/| /' conftest.$ac_ext >&5
43998 glibcxx_cv_func___builtin_cosl_use=no
44000 rm -f conftest.$ac_objext conftest.$ac_ext
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
44012 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
44013 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
44014 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
44015 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
44016 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
44017 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
44018 echo $ECHO_N "(cached) $ECHO_C" >&6
44021 if test x$gcc_no_link = xyes; then
44022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44024 { (exit 1); exit 1; }; }
44026 cat >conftest.$ac_ext <<_ACEOF
44027 #line $LINENO "configure"
44030 cat confdefs.h >>conftest.$ac_ext
44031 cat >>conftest.$ac_ext <<_ACEOF
44032 /* end confdefs.h. */
44042 rm -f conftest.$ac_objext conftest$ac_exeext
44043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44044 (eval $ac_link) 2>&5
44046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44047 (exit $ac_status); } &&
44048 { ac_try='test -s conftest$ac_exeext'
44049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44050 (eval $ac_try) 2>&5
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); }; }; then
44054 glibcxx_cv_func___builtin_cosl_link=yes
44056 echo "$as_me: failed program was:" >&5
44057 sed 's/^/| /' conftest.$ac_ext >&5
44059 glibcxx_cv_func___builtin_cosl_link=no
44061 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
44067 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
44068 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
44069 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
44070 cat >>confdefs.h <<_ACEOF
44071 #define ${ac_tr_func} 1
44079 if test x$dummyvar = x"yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define HAVE___BUILTIN_ABS 1
44084 cat >>confdefs.h <<\_ACEOF
44085 #define HAVE___BUILTIN_LABS 1
44088 cat >>confdefs.h <<\_ACEOF
44089 #define HAVE___BUILTIN_COS 1
44092 cat >>confdefs.h <<\_ACEOF
44093 #define HAVE___BUILTIN_COSF 1
44096 cat >>confdefs.h <<\_ACEOF
44097 #define HAVE___BUILTIN_COSL 1
44100 cat >>confdefs.h <<\_ACEOF
44101 #define HAVE___BUILTIN_FABS 1
44104 cat >>confdefs.h <<\_ACEOF
44105 #define HAVE___BUILTIN_FABSF 1
44108 cat >>confdefs.h <<\_ACEOF
44109 #define HAVE___BUILTIN_FABSL 1
44112 cat >>confdefs.h <<\_ACEOF
44113 #define HAVE___BUILTIN_SIN 1
44116 cat >>confdefs.h <<\_ACEOF
44117 #define HAVE___BUILTIN_SINF 1
44120 cat >>confdefs.h <<\_ACEOF
44121 #define HAVE___BUILTIN_SINL 1
44124 cat >>confdefs.h <<\_ACEOF
44125 #define HAVE___BUILTIN_SQRT 1
44128 cat >>confdefs.h <<\_ACEOF
44129 #define HAVE___BUILTIN_SQRTF 1
44132 cat >>confdefs.h <<\_ACEOF
44133 #define HAVE___BUILTIN_SQRTL 1
44140 echo "$as_me:$LINENO: checking for main in -lm" >&5
44141 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
44142 if test "${ac_cv_lib_m_main+set}" = set; then
44143 echo $ECHO_N "(cached) $ECHO_C" >&6
44145 ac_check_lib_save_LIBS=$LIBS
44147 if test x$gcc_no_link = xyes; then
44148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44150 { (exit 1); exit 1; }; }
44152 cat >conftest.$ac_ext <<_ACEOF
44153 #line $LINENO "configure"
44156 cat confdefs.h >>conftest.$ac_ext
44157 cat >>conftest.$ac_ext <<_ACEOF
44158 /* end confdefs.h. */
44169 rm -f conftest.$ac_objext conftest$ac_exeext
44170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44171 (eval $ac_link) 2>&5
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); } &&
44175 { ac_try='test -s conftest$ac_exeext'
44176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44177 (eval $ac_try) 2>&5
44179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44180 (exit $ac_status); }; }; then
44181 ac_cv_lib_m_main=yes
44183 echo "$as_me: failed program was:" >&5
44184 sed 's/^/| /' conftest.$ac_ext >&5
44186 ac_cv_lib_m_main=no
44188 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44189 LIBS=$ac_check_lib_save_LIBS
44191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
44192 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
44193 if test $ac_cv_lib_m_main = yes; then
44194 cat >>confdefs.h <<_ACEOF
44195 #define HAVE_LIBM 1
44203 for ac_func in copysignf
44205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44206 echo "$as_me:$LINENO: checking for $ac_func" >&5
44207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44208 if eval "test \"\${$as_ac_var+set}\" = set"; then
44209 echo $ECHO_N "(cached) $ECHO_C" >&6
44211 if test x$gcc_no_link = xyes; then
44212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44214 { (exit 1); exit 1; }; }
44216 cat >conftest.$ac_ext <<_ACEOF
44217 #line $LINENO "configure"
44220 cat confdefs.h >>conftest.$ac_ext
44221 cat >>conftest.$ac_ext <<_ACEOF
44222 /* end confdefs.h. */
44223 /* System header to define __stub macros and hopefully few prototypes,
44224 which can conflict with char $ac_func (); below.
44225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44226 <limits.h> exists even on freestanding compilers. */
44228 # include <limits.h>
44230 # include <assert.h>
44232 /* Override any gcc2 internal prototype to avoid an error. */
44237 /* We use char because int might match the return type of a gcc2
44238 builtin and then its argument prototype would still apply. */
44240 /* The GNU C library defines this for functions which it implements
44241 to always fail with ENOSYS. Some functions are actually named
44242 something starting with __ and the normal name is an alias. */
44243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44246 char (*f) () = $ac_func;
44255 return f != $ac_func;
44260 rm -f conftest.$ac_objext conftest$ac_exeext
44261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44262 (eval $ac_link) 2>&5
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); } &&
44266 { ac_try='test -s conftest$ac_exeext'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; }; then
44272 eval "$as_ac_var=yes"
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.$ac_ext >&5
44277 eval "$as_ac_var=no"
44279 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44283 if test `eval echo '${'$as_ac_var'}'` = yes; then
44284 cat >>confdefs.h <<_ACEOF
44285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44289 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
44295 for ac_func in __signbit
44297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44298 echo "$as_me:$LINENO: checking for $ac_func" >&5
44299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44300 if eval "test \"\${$as_ac_var+set}\" = set"; then
44301 echo $ECHO_N "(cached) $ECHO_C" >&6
44303 if test x$gcc_no_link = xyes; then
44304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44306 { (exit 1); exit 1; }; }
44308 cat >conftest.$ac_ext <<_ACEOF
44309 #line $LINENO "configure"
44312 cat confdefs.h >>conftest.$ac_ext
44313 cat >>conftest.$ac_ext <<_ACEOF
44314 /* end confdefs.h. */
44315 /* System header to define __stub macros and hopefully few prototypes,
44316 which can conflict with char $ac_func (); below.
44317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44318 <limits.h> exists even on freestanding compilers. */
44320 # include <limits.h>
44322 # include <assert.h>
44324 /* Override any gcc2 internal prototype to avoid an error. */
44329 /* We use char because int might match the return type of a gcc2
44330 builtin and then its argument prototype would still apply. */
44332 /* The GNU C library defines this for functions which it implements
44333 to always fail with ENOSYS. Some functions are actually named
44334 something starting with __ and the normal name is an alias. */
44335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44338 char (*f) () = $ac_func;
44347 return f != $ac_func;
44352 rm -f conftest.$ac_objext conftest$ac_exeext
44353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44354 (eval $ac_link) 2>&5
44356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44357 (exit $ac_status); } &&
44358 { ac_try='test -s conftest$ac_exeext'
44359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44360 (eval $ac_try) 2>&5
44362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44363 (exit $ac_status); }; }; then
44364 eval "$as_ac_var=yes"
44366 echo "$as_me: failed program was:" >&5
44367 sed 's/^/| /' conftest.$ac_ext >&5
44369 eval "$as_ac_var=no"
44371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44375 if test `eval echo '${'$as_ac_var'}'` = yes; then
44376 cat >>confdefs.h <<_ACEOF
44377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44381 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
44386 for ac_func in __signbitf
44388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44389 echo "$as_me:$LINENO: checking for $ac_func" >&5
44390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44391 if eval "test \"\${$as_ac_var+set}\" = set"; then
44392 echo $ECHO_N "(cached) $ECHO_C" >&6
44394 if test x$gcc_no_link = xyes; then
44395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44397 { (exit 1); exit 1; }; }
44399 cat >conftest.$ac_ext <<_ACEOF
44400 #line $LINENO "configure"
44403 cat confdefs.h >>conftest.$ac_ext
44404 cat >>conftest.$ac_ext <<_ACEOF
44405 /* end confdefs.h. */
44406 /* System header to define __stub macros and hopefully few prototypes,
44407 which can conflict with char $ac_func (); below.
44408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44409 <limits.h> exists even on freestanding compilers. */
44411 # include <limits.h>
44413 # include <assert.h>
44415 /* Override any gcc2 internal prototype to avoid an error. */
44420 /* We use char because int might match the return type of a gcc2
44421 builtin and then its argument prototype would still apply. */
44423 /* The GNU C library defines this for functions which it implements
44424 to always fail with ENOSYS. Some functions are actually named
44425 something starting with __ and the normal name is an alias. */
44426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44429 char (*f) () = $ac_func;
44438 return f != $ac_func;
44443 rm -f conftest.$ac_objext conftest$ac_exeext
44444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44445 (eval $ac_link) 2>&5
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); } &&
44449 { ac_try='test -s conftest$ac_exeext'
44450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44451 (eval $ac_try) 2>&5
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); }; }; then
44455 eval "$as_ac_var=yes"
44457 echo "$as_me: failed program was:" >&5
44458 sed 's/^/| /' conftest.$ac_ext >&5
44460 eval "$as_ac_var=no"
44462 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44466 if test `eval echo '${'$as_ac_var'}'` = yes; then
44467 cat >>confdefs.h <<_ACEOF
44468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44472 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
44477 if test x$ac_cv_func_copysignl = x"yes"; then
44479 for ac_func in __signbitl
44481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44482 echo "$as_me:$LINENO: checking for $ac_func" >&5
44483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44484 if eval "test \"\${$as_ac_var+set}\" = set"; then
44485 echo $ECHO_N "(cached) $ECHO_C" >&6
44487 if test x$gcc_no_link = xyes; then
44488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44490 { (exit 1); exit 1; }; }
44492 cat >conftest.$ac_ext <<_ACEOF
44493 #line $LINENO "configure"
44496 cat confdefs.h >>conftest.$ac_ext
44497 cat >>conftest.$ac_ext <<_ACEOF
44498 /* end confdefs.h. */
44499 /* System header to define __stub macros and hopefully few prototypes,
44500 which can conflict with char $ac_func (); below.
44501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44502 <limits.h> exists even on freestanding compilers. */
44504 # include <limits.h>
44506 # include <assert.h>
44508 /* Override any gcc2 internal prototype to avoid an error. */
44513 /* We use char because int might match the return type of a gcc2
44514 builtin and then its argument prototype would still apply. */
44516 /* The GNU C library defines this for functions which it implements
44517 to always fail with ENOSYS. Some functions are actually named
44518 something starting with __ and the normal name is an alias. */
44519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44522 char (*f) () = $ac_func;
44531 return f != $ac_func;
44536 rm -f conftest.$ac_objext conftest$ac_exeext
44537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44538 (eval $ac_link) 2>&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } &&
44542 { ac_try='test -s conftest$ac_exeext'
44543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44544 (eval $ac_try) 2>&5
44546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44547 (exit $ac_status); }; }; then
44548 eval "$as_ac_var=yes"
44550 echo "$as_me: failed program was:" >&5
44551 sed 's/^/| /' conftest.$ac_ext >&5
44553 eval "$as_ac_var=no"
44555 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44559 if test `eval echo '${'$as_ac_var'}'` = yes; then
44560 cat >>confdefs.h <<_ACEOF
44561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44565 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
44571 # XXX Review this. Nothing uses it.
44572 if test -n "$LIBMATHOBJS"; then
44578 # Test wchar.h for mbstate_t, which is needed for char_traits and
44579 # others even if wchar_t support is not on.
44580 echo "$as_me:$LINENO: checking for mbstate_t" >&5
44581 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
44582 cat >conftest.$ac_ext <<_ACEOF
44583 #line $LINENO "configure"
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44593 mbstate_t teststate;
44598 rm -f conftest.$ac_objext
44599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44600 (eval $ac_compile) 2>&5
44602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44603 (exit $ac_status); } &&
44604 { ac_try='test -s conftest.$ac_objext'
44605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44606 (eval $ac_try) 2>&5
44608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44609 (exit $ac_status); }; }; then
44612 echo "$as_me: failed program was:" >&5
44613 sed 's/^/| /' conftest.$ac_ext >&5
44617 rm -f conftest.$ac_objext conftest.$ac_ext
44618 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
44619 echo "${ECHO_T}$have_mbstate_t" >&6
44620 if test x"$have_mbstate_t" = xyes; then
44621 cat >>confdefs.h <<\_ACEOF
44622 #define HAVE_MBSTATE_T 1
44627 # Sanity check for existence of ISO C99 headers for extended encoding.
44629 for ac_header in wchar.h
44631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44633 echo "$as_me:$LINENO: checking for $ac_header" >&5
44634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44636 echo $ECHO_N "(cached) $ECHO_C" >&6
44638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44639 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44641 # Is the header compilable?
44642 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44643 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44644 cat >conftest.$ac_ext <<_ACEOF
44645 #line $LINENO "configure"
44648 cat confdefs.h >>conftest.$ac_ext
44649 cat >>conftest.$ac_ext <<_ACEOF
44650 /* end confdefs.h. */
44651 $ac_includes_default
44652 #include <$ac_header>
44654 rm -f conftest.$ac_objext
44655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44656 (eval $ac_compile) 2>&5
44658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44659 (exit $ac_status); } &&
44660 { ac_try='test -s conftest.$ac_objext'
44661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44662 (eval $ac_try) 2>&5
44664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44665 (exit $ac_status); }; }; then
44666 ac_header_compiler=yes
44668 echo "$as_me: failed program was:" >&5
44669 sed 's/^/| /' conftest.$ac_ext >&5
44671 ac_header_compiler=no
44673 rm -f conftest.$ac_objext conftest.$ac_ext
44674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44675 echo "${ECHO_T}$ac_header_compiler" >&6
44677 # Is the header present?
44678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44679 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44680 cat >conftest.$ac_ext <<_ACEOF
44681 #line $LINENO "configure"
44684 cat confdefs.h >>conftest.$ac_ext
44685 cat >>conftest.$ac_ext <<_ACEOF
44686 /* end confdefs.h. */
44687 #include <$ac_header>
44689 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44692 grep -v '^ *+' conftest.er1 >conftest.err
44694 cat conftest.err >&5
44695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44696 (exit $ac_status); } >/dev/null; then
44697 if test -s conftest.err; then
44698 ac_cpp_err=$ac_c_preproc_warn_flag
44705 if test -z "$ac_cpp_err"; then
44706 ac_header_preproc=yes
44708 echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.$ac_ext >&5
44711 ac_header_preproc=no
44713 rm -f conftest.err conftest.$ac_ext
44714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44715 echo "${ECHO_T}$ac_header_preproc" >&6
44717 # So? What about this header?
44718 case $ac_header_compiler:$ac_header_preproc in
44720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44726 ## ------------------------------------ ##
44727 ## Report this to bug-autoconf@gnu.org. ##
44728 ## ------------------------------------ ##
44731 sed "s/^/$as_me: WARNING: /" >&2
44734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44742 ## ------------------------------------ ##
44743 ## Report this to bug-autoconf@gnu.org. ##
44744 ## ------------------------------------ ##
44747 sed "s/^/$as_me: WARNING: /" >&2
44750 echo "$as_me:$LINENO: checking for $ac_header" >&5
44751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44753 echo $ECHO_N "(cached) $ECHO_C" >&6
44755 eval "$as_ac_Header=$ac_header_preproc"
44757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44761 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44762 cat >>confdefs.h <<_ACEOF
44763 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44773 for ac_header in wctype.h
44775 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44777 echo "$as_me:$LINENO: checking for $ac_header" >&5
44778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44780 echo $ECHO_N "(cached) $ECHO_C" >&6
44782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44783 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44785 # Is the header compilable?
44786 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44787 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44788 cat >conftest.$ac_ext <<_ACEOF
44789 #line $LINENO "configure"
44792 cat confdefs.h >>conftest.$ac_ext
44793 cat >>conftest.$ac_ext <<_ACEOF
44794 /* end confdefs.h. */
44795 $ac_includes_default
44796 #include <$ac_header>
44798 rm -f conftest.$ac_objext
44799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44800 (eval $ac_compile) 2>&5
44802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44803 (exit $ac_status); } &&
44804 { ac_try='test -s conftest.$ac_objext'
44805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44806 (eval $ac_try) 2>&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); }; }; then
44810 ac_header_compiler=yes
44812 echo "$as_me: failed program was:" >&5
44813 sed 's/^/| /' conftest.$ac_ext >&5
44815 ac_header_compiler=no
44817 rm -f conftest.$ac_objext conftest.$ac_ext
44818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44819 echo "${ECHO_T}$ac_header_compiler" >&6
44821 # Is the header present?
44822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44824 cat >conftest.$ac_ext <<_ACEOF
44825 #line $LINENO "configure"
44828 cat confdefs.h >>conftest.$ac_ext
44829 cat >>conftest.$ac_ext <<_ACEOF
44830 /* end confdefs.h. */
44831 #include <$ac_header>
44833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44836 grep -v '^ *+' conftest.er1 >conftest.err
44838 cat conftest.err >&5
44839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44840 (exit $ac_status); } >/dev/null; then
44841 if test -s conftest.err; then
44842 ac_cpp_err=$ac_c_preproc_warn_flag
44849 if test -z "$ac_cpp_err"; then
44850 ac_header_preproc=yes
44852 echo "$as_me: failed program was:" >&5
44853 sed 's/^/| /' conftest.$ac_ext >&5
44855 ac_header_preproc=no
44857 rm -f conftest.err conftest.$ac_ext
44858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44859 echo "${ECHO_T}$ac_header_preproc" >&6
44861 # So? What about this header?
44862 case $ac_header_compiler:$ac_header_preproc in
44864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44867 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44870 ## ------------------------------------ ##
44871 ## Report this to bug-autoconf@gnu.org. ##
44872 ## ------------------------------------ ##
44875 sed "s/^/$as_me: WARNING: /" >&2
44878 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44879 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44880 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44881 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44886 ## ------------------------------------ ##
44887 ## Report this to bug-autoconf@gnu.org. ##
44888 ## ------------------------------------ ##
44891 sed "s/^/$as_me: WARNING: /" >&2
44894 echo "$as_me:$LINENO: checking for $ac_header" >&5
44895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44897 echo $ECHO_N "(cached) $ECHO_C" >&6
44899 eval "$as_ac_Header=$ac_header_preproc"
44901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44906 cat >>confdefs.h <<_ACEOF
44907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44909 ac_has_wctype_h=yes
44917 # Only continue checking if the ISO C99 headers exist and support is on.
44918 if test x"$ac_has_wchar_h" = xyes &&
44919 test x"$ac_has_wctype_h" = xyes &&
44920 test x"$enable_c_mbchar" != xno; then
44922 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
44923 # numeric_limits can instantiate type_traits<wchar_t>
44924 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
44925 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
44926 cat >conftest.$ac_ext <<_ACEOF
44927 #line $LINENO "configure"
44930 cat confdefs.h >>conftest.$ac_ext
44931 cat >>conftest.$ac_ext <<_ACEOF
44932 /* end confdefs.h. */
44937 int i = WCHAR_MIN; int j = WCHAR_MAX;
44942 rm -f conftest.$ac_objext
44943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44944 (eval $ac_compile) 2>&5
44946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44947 (exit $ac_status); } &&
44948 { ac_try='test -s conftest.$ac_objext'
44949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44950 (eval $ac_try) 2>&5
44952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44953 (exit $ac_status); }; }; then
44954 has_wchar_minmax=yes
44956 echo "$as_me: failed program was:" >&5
44957 sed 's/^/| /' conftest.$ac_ext >&5
44959 has_wchar_minmax=no
44961 rm -f conftest.$ac_objext conftest.$ac_ext
44962 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
44963 echo "${ECHO_T}$has_wchar_minmax" >&6
44965 # Test wchar.h for WEOF, which is what we use to determine whether
44966 # to specialize for char_traits<wchar_t> or not.
44967 echo "$as_me:$LINENO: checking for WEOF" >&5
44968 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
44969 cat >conftest.$ac_ext <<_ACEOF
44970 #line $LINENO "configure"
44973 cat confdefs.h >>conftest.$ac_ext
44974 cat >>conftest.$ac_ext <<_ACEOF
44975 /* end confdefs.h. */
44978 #include <stddef.h>
44987 rm -f conftest.$ac_objext
44988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44989 (eval $ac_compile) 2>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); } &&
44993 { ac_try='test -s conftest.$ac_objext'
44994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44995 (eval $ac_try) 2>&5
44997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44998 (exit $ac_status); }; }; then
45001 echo "$as_me: failed program was:" >&5
45002 sed 's/^/| /' conftest.$ac_ext >&5
45006 rm -f conftest.$ac_objext conftest.$ac_ext
45007 echo "$as_me:$LINENO: result: $has_weof" >&5
45008 echo "${ECHO_T}$has_weof" >&6
45010 # Tests for wide character functions used in char_traits<wchar_t>.
45018 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
45020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45021 echo "$as_me:$LINENO: checking for $ac_func" >&5
45022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45023 if eval "test \"\${$as_ac_var+set}\" = set"; then
45024 echo $ECHO_N "(cached) $ECHO_C" >&6
45026 if test x$gcc_no_link = xyes; then
45027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45029 { (exit 1); exit 1; }; }
45031 cat >conftest.$ac_ext <<_ACEOF
45032 #line $LINENO "configure"
45035 cat confdefs.h >>conftest.$ac_ext
45036 cat >>conftest.$ac_ext <<_ACEOF
45037 /* end confdefs.h. */
45038 /* System header to define __stub macros and hopefully few prototypes,
45039 which can conflict with char $ac_func (); below.
45040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45041 <limits.h> exists even on freestanding compilers. */
45043 # include <limits.h>
45045 # include <assert.h>
45047 /* Override any gcc2 internal prototype to avoid an error. */
45052 /* We use char because int might match the return type of a gcc2
45053 builtin and then its argument prototype would still apply. */
45055 /* The GNU C library defines this for functions which it implements
45056 to always fail with ENOSYS. Some functions are actually named
45057 something starting with __ and the normal name is an alias. */
45058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45061 char (*f) () = $ac_func;
45070 return f != $ac_func;
45075 rm -f conftest.$ac_objext conftest$ac_exeext
45076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45077 (eval $ac_link) 2>&5
45079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45080 (exit $ac_status); } &&
45081 { ac_try='test -s conftest$ac_exeext'
45082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45083 (eval $ac_try) 2>&5
45085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45086 (exit $ac_status); }; }; then
45087 eval "$as_ac_var=yes"
45089 echo "$as_me: failed program was:" >&5
45090 sed 's/^/| /' conftest.$ac_ext >&5
45092 eval "$as_ac_var=no"
45094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45098 if test `eval echo '${'$as_ac_var'}'` = yes; then
45099 cat >>confdefs.h <<_ACEOF
45100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45109 # Checks for names injected into std:: by the c_std headers.
45156 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
45157 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
45158 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
45159 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
45160 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
45161 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
45163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45164 echo "$as_me:$LINENO: checking for $ac_func" >&5
45165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45166 if eval "test \"\${$as_ac_var+set}\" = set"; then
45167 echo $ECHO_N "(cached) $ECHO_C" >&6
45169 if test x$gcc_no_link = xyes; then
45170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45172 { (exit 1); exit 1; }; }
45174 cat >conftest.$ac_ext <<_ACEOF
45175 #line $LINENO "configure"
45178 cat confdefs.h >>conftest.$ac_ext
45179 cat >>conftest.$ac_ext <<_ACEOF
45180 /* end confdefs.h. */
45181 /* System header to define __stub macros and hopefully few prototypes,
45182 which can conflict with char $ac_func (); below.
45183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45184 <limits.h> exists even on freestanding compilers. */
45186 # include <limits.h>
45188 # include <assert.h>
45190 /* Override any gcc2 internal prototype to avoid an error. */
45195 /* We use char because int might match the return type of a gcc2
45196 builtin and then its argument prototype would still apply. */
45198 /* The GNU C library defines this for functions which it implements
45199 to always fail with ENOSYS. Some functions are actually named
45200 something starting with __ and the normal name is an alias. */
45201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45204 char (*f) () = $ac_func;
45213 return f != $ac_func;
45218 rm -f conftest.$ac_objext conftest$ac_exeext
45219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45220 (eval $ac_link) 2>&5
45222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45223 (exit $ac_status); } &&
45224 { ac_try='test -s conftest$ac_exeext'
45225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45226 (eval $ac_try) 2>&5
45228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45229 (exit $ac_status); }; }; then
45230 eval "$as_ac_var=yes"
45232 echo "$as_me: failed program was:" >&5
45233 sed 's/^/| /' conftest.$ac_ext >&5
45235 eval "$as_ac_var=no"
45237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45241 if test `eval echo '${'$as_ac_var'}'` = yes; then
45242 cat >>confdefs.h <<_ACEOF
45243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45252 # Checks for wide character functions that are not required
45253 # for basic wchar_t support. Don't disable support if they are missing.
45254 # Injection of these is wrapped with guard macros.
45260 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
45262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45263 echo "$as_me:$LINENO: checking for $ac_func" >&5
45264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45265 if eval "test \"\${$as_ac_var+set}\" = set"; then
45266 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 if test x$gcc_no_link = xyes; then
45269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45271 { (exit 1); exit 1; }; }
45273 cat >conftest.$ac_ext <<_ACEOF
45274 #line $LINENO "configure"
45277 cat confdefs.h >>conftest.$ac_ext
45278 cat >>conftest.$ac_ext <<_ACEOF
45279 /* end confdefs.h. */
45280 /* System header to define __stub macros and hopefully few prototypes,
45281 which can conflict with char $ac_func (); below.
45282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45283 <limits.h> exists even on freestanding compilers. */
45285 # include <limits.h>
45287 # include <assert.h>
45289 /* Override any gcc2 internal prototype to avoid an error. */
45294 /* We use char because int might match the return type of a gcc2
45295 builtin and then its argument prototype would still apply. */
45297 /* The GNU C library defines this for functions which it implements
45298 to always fail with ENOSYS. Some functions are actually named
45299 something starting with __ and the normal name is an alias. */
45300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45303 char (*f) () = $ac_func;
45312 return f != $ac_func;
45317 rm -f conftest.$ac_objext conftest$ac_exeext
45318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45319 (eval $ac_link) 2>&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); } &&
45323 { ac_try='test -s conftest$ac_exeext'
45324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45325 (eval $ac_try) 2>&5
45327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45328 (exit $ac_status); }; }; then
45329 eval "$as_ac_var=yes"
45331 echo "$as_me: failed program was:" >&5
45332 sed 's/^/| /' conftest.$ac_ext >&5
45334 eval "$as_ac_var=no"
45336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45340 if test `eval echo '${'$as_ac_var'}'` = yes; then
45341 cat >>confdefs.h <<_ACEOF
45342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45349 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
45350 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
45351 if test x"$has_weof" = xyes &&
45352 test x"$has_wchar_minmax" = xyes &&
45353 test x"$ac_wfuncs" = xyes;
45355 ac_isoC99_wchar_t=yes
45357 ac_isoC99_wchar_t=no
45359 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
45360 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
45362 # Use iconv for wchar_t to char conversions. As such, check for
45363 # X/Open Portability Guide, version 2 features (XPG2).
45364 if test "${ac_cv_header_iconv_h+set}" = set; then
45365 echo "$as_me:$LINENO: checking for iconv.h" >&5
45366 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45367 if test "${ac_cv_header_iconv_h+set}" = set; then
45368 echo $ECHO_N "(cached) $ECHO_C" >&6
45370 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45371 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45373 # Is the header compilable?
45374 echo "$as_me:$LINENO: checking iconv.h usability" >&5
45375 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
45376 cat >conftest.$ac_ext <<_ACEOF
45377 #line $LINENO "configure"
45380 cat confdefs.h >>conftest.$ac_ext
45381 cat >>conftest.$ac_ext <<_ACEOF
45382 /* end confdefs.h. */
45383 $ac_includes_default
45386 rm -f conftest.$ac_objext
45387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45388 (eval $ac_compile) 2>&5
45390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45391 (exit $ac_status); } &&
45392 { ac_try='test -s conftest.$ac_objext'
45393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45394 (eval $ac_try) 2>&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); }; }; then
45398 ac_header_compiler=yes
45400 echo "$as_me: failed program was:" >&5
45401 sed 's/^/| /' conftest.$ac_ext >&5
45403 ac_header_compiler=no
45405 rm -f conftest.$ac_objext conftest.$ac_ext
45406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45407 echo "${ECHO_T}$ac_header_compiler" >&6
45409 # Is the header present?
45410 echo "$as_me:$LINENO: checking iconv.h presence" >&5
45411 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
45412 cat >conftest.$ac_ext <<_ACEOF
45413 #line $LINENO "configure"
45416 cat confdefs.h >>conftest.$ac_ext
45417 cat >>conftest.$ac_ext <<_ACEOF
45418 /* end confdefs.h. */
45421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45424 grep -v '^ *+' conftest.er1 >conftest.err
45426 cat conftest.err >&5
45427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45428 (exit $ac_status); } >/dev/null; then
45429 if test -s conftest.err; then
45430 ac_cpp_err=$ac_c_preproc_warn_flag
45437 if test -z "$ac_cpp_err"; then
45438 ac_header_preproc=yes
45440 echo "$as_me: failed program was:" >&5
45441 sed 's/^/| /' conftest.$ac_ext >&5
45443 ac_header_preproc=no
45445 rm -f conftest.err conftest.$ac_ext
45446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45447 echo "${ECHO_T}$ac_header_preproc" >&6
45449 # So? What about this header?
45450 case $ac_header_compiler:$ac_header_preproc in
45452 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
45453 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45454 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45455 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45458 ## ------------------------------------ ##
45459 ## Report this to bug-autoconf@gnu.org. ##
45460 ## ------------------------------------ ##
45463 sed "s/^/$as_me: WARNING: /" >&2
45466 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
45467 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
45468 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
45469 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
45470 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
45471 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
45474 ## ------------------------------------ ##
45475 ## Report this to bug-autoconf@gnu.org. ##
45476 ## ------------------------------------ ##
45479 sed "s/^/$as_me: WARNING: /" >&2
45482 echo "$as_me:$LINENO: checking for iconv.h" >&5
45483 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
45484 if test "${ac_cv_header_iconv_h+set}" = set; then
45485 echo $ECHO_N "(cached) $ECHO_C" >&6
45487 ac_cv_header_iconv_h=$ac_header_preproc
45489 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
45490 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
45493 if test $ac_cv_header_iconv_h = yes; then
45500 if test "${ac_cv_header_langinfo_h+set}" = set; then
45501 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45502 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45503 if test "${ac_cv_header_langinfo_h+set}" = set; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45506 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45507 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45509 # Is the header compilable?
45510 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
45511 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
45512 cat >conftest.$ac_ext <<_ACEOF
45513 #line $LINENO "configure"
45516 cat confdefs.h >>conftest.$ac_ext
45517 cat >>conftest.$ac_ext <<_ACEOF
45518 /* end confdefs.h. */
45519 $ac_includes_default
45520 #include <langinfo.h>
45522 rm -f conftest.$ac_objext
45523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45524 (eval $ac_compile) 2>&5
45526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527 (exit $ac_status); } &&
45528 { ac_try='test -s conftest.$ac_objext'
45529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45530 (eval $ac_try) 2>&5
45532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45533 (exit $ac_status); }; }; then
45534 ac_header_compiler=yes
45536 echo "$as_me: failed program was:" >&5
45537 sed 's/^/| /' conftest.$ac_ext >&5
45539 ac_header_compiler=no
45541 rm -f conftest.$ac_objext conftest.$ac_ext
45542 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45543 echo "${ECHO_T}$ac_header_compiler" >&6
45545 # Is the header present?
45546 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
45547 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
45548 cat >conftest.$ac_ext <<_ACEOF
45549 #line $LINENO "configure"
45552 cat confdefs.h >>conftest.$ac_ext
45553 cat >>conftest.$ac_ext <<_ACEOF
45554 /* end confdefs.h. */
45555 #include <langinfo.h>
45557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45558 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45560 grep -v '^ *+' conftest.er1 >conftest.err
45562 cat conftest.err >&5
45563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45564 (exit $ac_status); } >/dev/null; then
45565 if test -s conftest.err; then
45566 ac_cpp_err=$ac_c_preproc_warn_flag
45573 if test -z "$ac_cpp_err"; then
45574 ac_header_preproc=yes
45576 echo "$as_me: failed program was:" >&5
45577 sed 's/^/| /' conftest.$ac_ext >&5
45579 ac_header_preproc=no
45581 rm -f conftest.err conftest.$ac_ext
45582 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45583 echo "${ECHO_T}$ac_header_preproc" >&6
45585 # So? What about this header?
45586 case $ac_header_compiler:$ac_header_preproc in
45588 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
45589 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
45590 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45591 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45594 ## ------------------------------------ ##
45595 ## Report this to bug-autoconf@gnu.org. ##
45596 ## ------------------------------------ ##
45599 sed "s/^/$as_me: WARNING: /" >&2
45602 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
45603 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
45604 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
45605 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
45606 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
45607 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
45610 ## ------------------------------------ ##
45611 ## Report this to bug-autoconf@gnu.org. ##
45612 ## ------------------------------------ ##
45615 sed "s/^/$as_me: WARNING: /" >&2
45618 echo "$as_me:$LINENO: checking for langinfo.h" >&5
45619 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
45620 if test "${ac_cv_header_langinfo_h+set}" = set; then
45621 echo $ECHO_N "(cached) $ECHO_C" >&6
45623 ac_cv_header_langinfo_h=$ac_header_preproc
45625 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
45626 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
45629 if test $ac_cv_header_langinfo_h = yes; then
45630 ac_has_langinfo_h=yes
45632 ac_has_langinfo_h=no
45637 # Check for existence of libiconv.a providing XPG2 wchar_t support.
45638 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
45639 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
45640 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
45641 echo $ECHO_N "(cached) $ECHO_C" >&6
45643 ac_check_lib_save_LIBS=$LIBS
45644 LIBS="-liconv $LIBS"
45645 if test x$gcc_no_link = xyes; then
45646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45648 { (exit 1); exit 1; }; }
45650 cat >conftest.$ac_ext <<_ACEOF
45651 #line $LINENO "configure"
45654 cat confdefs.h >>conftest.$ac_ext
45655 cat >>conftest.$ac_ext <<_ACEOF
45656 /* end confdefs.h. */
45658 /* Override any gcc2 internal prototype to avoid an error. */
45662 /* We use char because int might match the return type of a gcc2
45663 builtin and then its argument prototype would still apply. */
45673 rm -f conftest.$ac_objext conftest$ac_exeext
45674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45675 (eval $ac_link) 2>&5
45677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45678 (exit $ac_status); } &&
45679 { ac_try='test -s conftest$ac_exeext'
45680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45681 (eval $ac_try) 2>&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); }; }; then
45685 ac_cv_lib_iconv_iconv=yes
45687 echo "$as_me: failed program was:" >&5
45688 sed 's/^/| /' conftest.$ac_ext >&5
45690 ac_cv_lib_iconv_iconv=no
45692 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45693 LIBS=$ac_check_lib_save_LIBS
45695 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
45696 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
45697 if test $ac_cv_lib_iconv_iconv = yes; then
45701 ac_save_LIBS="$LIBS"
45702 LIBS="$LIBS $libiconv"
45708 for ac_func in iconv_open iconv_close iconv nl_langinfo
45710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45711 echo "$as_me:$LINENO: checking for $ac_func" >&5
45712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45713 if eval "test \"\${$as_ac_var+set}\" = set"; then
45714 echo $ECHO_N "(cached) $ECHO_C" >&6
45716 if test x$gcc_no_link = xyes; then
45717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45719 { (exit 1); exit 1; }; }
45721 cat >conftest.$ac_ext <<_ACEOF
45722 #line $LINENO "configure"
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 /* System header to define __stub macros and hopefully few prototypes,
45729 which can conflict with char $ac_func (); below.
45730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45731 <limits.h> exists even on freestanding compilers. */
45733 # include <limits.h>
45735 # include <assert.h>
45737 /* Override any gcc2 internal prototype to avoid an error. */
45742 /* We use char because int might match the return type of a gcc2
45743 builtin and then its argument prototype would still apply. */
45745 /* The GNU C library defines this for functions which it implements
45746 to always fail with ENOSYS. Some functions are actually named
45747 something starting with __ and the normal name is an alias. */
45748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45751 char (*f) () = $ac_func;
45760 return f != $ac_func;
45765 rm -f conftest.$ac_objext conftest$ac_exeext
45766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45767 (eval $ac_link) 2>&5
45769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45770 (exit $ac_status); } &&
45771 { ac_try='test -s conftest$ac_exeext'
45772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45773 (eval $ac_try) 2>&5
45775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45776 (exit $ac_status); }; }; then
45777 eval "$as_ac_var=yes"
45779 echo "$as_me: failed program was:" >&5
45780 sed 's/^/| /' conftest.$ac_ext >&5
45782 eval "$as_ac_var=no"
45784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45788 if test `eval echo '${'$as_ac_var'}'` = yes; then
45789 cat >>confdefs.h <<_ACEOF
45790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45799 LIBS="$ac_save_LIBS"
45801 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
45802 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
45803 if test x"$ac_has_iconv_h" = xyes &&
45804 test x"$ac_has_langinfo_h" = xyes &&
45805 test x"$ac_XPG2funcs" = xyes;
45807 ac_XPG2_wchar_t=yes
45811 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
45812 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
45814 # At the moment, only enable wchar_t specializations if all the
45815 # above support is present.
45816 if test x"$ac_isoC99_wchar_t" = xyes &&
45817 test x"$ac_XPG2_wchar_t" = xyes;
45819 cat >>confdefs.h <<\_ACEOF
45820 #define _GLIBCXX_USE_WCHAR_T 1
45826 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
45827 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
45828 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
45829 echo "${ECHO_T}$enable_wchar_t" >&6
45832 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45833 ac_save_CXXFLAGS="$CXXFLAGS"
45834 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45837 echo "$as_me:$LINENO: checking for strtold declaration" >&5
45838 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
45839 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45840 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
45841 echo $ECHO_N "(cached) $ECHO_C" >&6
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45852 cat >conftest.$ac_ext <<_ACEOF
45853 #line $LINENO "configure"
45856 cat confdefs.h >>conftest.$ac_ext
45857 cat >>conftest.$ac_ext <<_ACEOF
45858 /* end confdefs.h. */
45859 #include <stdlib.h>
45868 rm -f conftest.$ac_objext
45869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45870 (eval $ac_compile) 2>&5
45872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45873 (exit $ac_status); } &&
45874 { ac_try='test -s conftest.$ac_objext'
45875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45876 (eval $ac_try) 2>&5
45878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45879 (exit $ac_status); }; }; then
45880 glibcxx_cv_func_strtold_use=yes
45882 echo "$as_me: failed program was:" >&5
45883 sed 's/^/| /' conftest.$ac_ext >&5
45885 glibcxx_cv_func_strtold_use=no
45887 rm -f conftest.$ac_objext conftest.$ac_ext
45889 ac_cpp='$CPP $CPPFLAGS'
45890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
45899 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
45900 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45902 for ac_func in strtold
45904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45905 echo "$as_me:$LINENO: checking for $ac_func" >&5
45906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45907 if eval "test \"\${$as_ac_var+set}\" = set"; then
45908 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 if test x$gcc_no_link = xyes; then
45911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45913 { (exit 1); exit 1; }; }
45915 cat >conftest.$ac_ext <<_ACEOF
45916 #line $LINENO "configure"
45919 cat confdefs.h >>conftest.$ac_ext
45920 cat >>conftest.$ac_ext <<_ACEOF
45921 /* end confdefs.h. */
45922 /* System header to define __stub macros and hopefully few prototypes,
45923 which can conflict with char $ac_func (); below.
45924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45925 <limits.h> exists even on freestanding compilers. */
45927 # include <limits.h>
45929 # include <assert.h>
45931 /* Override any gcc2 internal prototype to avoid an error. */
45936 /* We use char because int might match the return type of a gcc2
45937 builtin and then its argument prototype would still apply. */
45939 /* The GNU C library defines this for functions which it implements
45940 to always fail with ENOSYS. Some functions are actually named
45941 something starting with __ and the normal name is an alias. */
45942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45945 char (*f) () = $ac_func;
45954 return f != $ac_func;
45959 rm -f conftest.$ac_objext conftest$ac_exeext
45960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45961 (eval $ac_link) 2>&5
45963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45964 (exit $ac_status); } &&
45965 { ac_try='test -s conftest$ac_exeext'
45966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45967 (eval $ac_try) 2>&5
45969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45970 (exit $ac_status); }; }; then
45971 eval "$as_ac_var=yes"
45973 echo "$as_me: failed program was:" >&5
45974 sed 's/^/| /' conftest.$ac_ext >&5
45976 eval "$as_ac_var=no"
45978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45982 if test `eval echo '${'$as_ac_var'}'` = yes; then
45983 cat >>confdefs.h <<_ACEOF
45984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45993 echo "$as_me:$LINENO: checking for strtof declaration" >&5
45994 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
45995 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45996 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
45997 echo $ECHO_N "(cached) $ECHO_C" >&6
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46008 cat >conftest.$ac_ext <<_ACEOF
46009 #line $LINENO "configure"
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015 #include <stdlib.h>
46024 rm -f conftest.$ac_objext
46025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46026 (eval $ac_compile) 2>&5
46028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46029 (exit $ac_status); } &&
46030 { ac_try='test -s conftest.$ac_objext'
46031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46032 (eval $ac_try) 2>&5
46034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46035 (exit $ac_status); }; }; then
46036 glibcxx_cv_func_strtof_use=yes
46038 echo "$as_me: failed program was:" >&5
46039 sed 's/^/| /' conftest.$ac_ext >&5
46041 glibcxx_cv_func_strtof_use=no
46043 rm -f conftest.$ac_objext conftest.$ac_ext
46045 ac_cpp='$CPP $CPPFLAGS'
46046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
46055 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
46056 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46058 for ac_func in strtof
46060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46061 echo "$as_me:$LINENO: checking for $ac_func" >&5
46062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46063 if eval "test \"\${$as_ac_var+set}\" = set"; then
46064 echo $ECHO_N "(cached) $ECHO_C" >&6
46066 if test x$gcc_no_link = xyes; then
46067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46069 { (exit 1); exit 1; }; }
46071 cat >conftest.$ac_ext <<_ACEOF
46072 #line $LINENO "configure"
46075 cat confdefs.h >>conftest.$ac_ext
46076 cat >>conftest.$ac_ext <<_ACEOF
46077 /* end confdefs.h. */
46078 /* System header to define __stub macros and hopefully few prototypes,
46079 which can conflict with char $ac_func (); below.
46080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46081 <limits.h> exists even on freestanding compilers. */
46083 # include <limits.h>
46085 # include <assert.h>
46087 /* Override any gcc2 internal prototype to avoid an error. */
46092 /* We use char because int might match the return type of a gcc2
46093 builtin and then its argument prototype would still apply. */
46095 /* The GNU C library defines this for functions which it implements
46096 to always fail with ENOSYS. Some functions are actually named
46097 something starting with __ and the normal name is an alias. */
46098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46101 char (*f) () = $ac_func;
46110 return f != $ac_func;
46115 rm -f conftest.$ac_objext conftest$ac_exeext
46116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46117 (eval $ac_link) 2>&5
46119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46120 (exit $ac_status); } &&
46121 { ac_try='test -s conftest$ac_exeext'
46122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46123 (eval $ac_try) 2>&5
46125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46126 (exit $ac_status); }; }; then
46127 eval "$as_ac_var=yes"
46129 echo "$as_me: failed program was:" >&5
46130 sed 's/^/| /' conftest.$ac_ext >&5
46132 eval "$as_ac_var=no"
46134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46138 if test `eval echo '${'$as_ac_var'}'` = yes; then
46139 cat >>confdefs.h <<_ACEOF
46140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46149 CXXFLAGS="$ac_save_CXXFLAGS"
46152 # For showmanyc_helper().
46155 for ac_header in sys/ioctl.h sys/filio.h
46157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46159 echo "$as_me:$LINENO: checking for $ac_header" >&5
46160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46162 echo $ECHO_N "(cached) $ECHO_C" >&6
46164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46167 # Is the header compilable?
46168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46170 cat >conftest.$ac_ext <<_ACEOF
46171 #line $LINENO "configure"
46174 cat confdefs.h >>conftest.$ac_ext
46175 cat >>conftest.$ac_ext <<_ACEOF
46176 /* end confdefs.h. */
46177 $ac_includes_default
46178 #include <$ac_header>
46180 rm -f conftest.$ac_objext
46181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46182 (eval $ac_compile) 2>&5
46184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46185 (exit $ac_status); } &&
46186 { ac_try='test -s conftest.$ac_objext'
46187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188 (eval $ac_try) 2>&5
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; }; then
46192 ac_header_compiler=yes
46194 echo "$as_me: failed program was:" >&5
46195 sed 's/^/| /' conftest.$ac_ext >&5
46197 ac_header_compiler=no
46199 rm -f conftest.$ac_objext conftest.$ac_ext
46200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46201 echo "${ECHO_T}$ac_header_compiler" >&6
46203 # Is the header present?
46204 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46205 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46206 cat >conftest.$ac_ext <<_ACEOF
46207 #line $LINENO "configure"
46210 cat confdefs.h >>conftest.$ac_ext
46211 cat >>conftest.$ac_ext <<_ACEOF
46212 /* end confdefs.h. */
46213 #include <$ac_header>
46215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46218 grep -v '^ *+' conftest.er1 >conftest.err
46220 cat conftest.err >&5
46221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46222 (exit $ac_status); } >/dev/null; then
46223 if test -s conftest.err; then
46224 ac_cpp_err=$ac_c_preproc_warn_flag
46231 if test -z "$ac_cpp_err"; then
46232 ac_header_preproc=yes
46234 echo "$as_me: failed program was:" >&5
46235 sed 's/^/| /' conftest.$ac_ext >&5
46237 ac_header_preproc=no
46239 rm -f conftest.err conftest.$ac_ext
46240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46241 echo "${ECHO_T}$ac_header_preproc" >&6
46243 # So? What about this header?
46244 case $ac_header_compiler:$ac_header_preproc in
46246 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46247 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46252 ## ------------------------------------ ##
46253 ## Report this to bug-autoconf@gnu.org. ##
46254 ## ------------------------------------ ##
46257 sed "s/^/$as_me: WARNING: /" >&2
46260 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46261 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46262 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46263 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46268 ## ------------------------------------ ##
46269 ## Report this to bug-autoconf@gnu.org. ##
46270 ## ------------------------------------ ##
46273 sed "s/^/$as_me: WARNING: /" >&2
46276 echo "$as_me:$LINENO: checking for $ac_header" >&5
46277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46279 echo $ECHO_N "(cached) $ECHO_C" >&6
46281 eval "$as_ac_Header=$ac_header_preproc"
46283 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46284 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46287 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46288 cat >>confdefs.h <<_ACEOF
46289 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46297 if test "${glibcxx_cv_POLL+set}" = set; then
46298 echo $ECHO_N "(cached) $ECHO_C" >&6
46301 if test x$gcc_no_link = xyes; then
46302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46304 { (exit 1); exit 1; }; }
46306 cat >conftest.$ac_ext <<_ACEOF
46307 #line $LINENO "configure"
46310 cat confdefs.h >>conftest.$ac_ext
46311 cat >>conftest.$ac_ext <<_ACEOF
46312 /* end confdefs.h. */
46317 struct pollfd pfd[1];
46318 pfd[0].events = POLLIN;
46324 rm -f conftest.$ac_objext conftest$ac_exeext
46325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46326 (eval $ac_link) 2>&5
46328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329 (exit $ac_status); } &&
46330 { ac_try='test -s conftest$ac_exeext'
46331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46332 (eval $ac_try) 2>&5
46334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46335 (exit $ac_status); }; }; then
46336 glibcxx_cv_POLL=yes
46338 echo "$as_me: failed program was:" >&5
46339 sed 's/^/| /' conftest.$ac_ext >&5
46343 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46347 if test $glibcxx_cv_POLL = yes; then
46348 cat >>confdefs.h <<\_ACEOF
46349 #define HAVE_POLL 1
46355 if test "${glibcxx_cv_S_ISREG+set}" = set; then
46356 echo $ECHO_N "(cached) $ECHO_C" >&6
46359 if test x$gcc_no_link = xyes; then
46360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46362 { (exit 1); exit 1; }; }
46364 cat >conftest.$ac_ext <<_ACEOF
46365 #line $LINENO "configure"
46368 cat confdefs.h >>conftest.$ac_ext
46369 cat >>conftest.$ac_ext <<_ACEOF
46370 /* end confdefs.h. */
46371 #include <sys/stat.h>
46375 struct stat buffer;
46377 S_ISREG(buffer.st_mode);
46382 rm -f conftest.$ac_objext conftest$ac_exeext
46383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46384 (eval $ac_link) 2>&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } &&
46388 { ac_try='test -s conftest$ac_exeext'
46389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46390 (eval $ac_try) 2>&5
46392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46393 (exit $ac_status); }; }; then
46394 glibcxx_cv_S_ISREG=yes
46396 echo "$as_me: failed program was:" >&5
46397 sed 's/^/| /' conftest.$ac_ext >&5
46399 glibcxx_cv_S_ISREG=no
46401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46405 if test "${glibcxx_cv_S_IFREG+set}" = set; then
46406 echo $ECHO_N "(cached) $ECHO_C" >&6
46409 if test x$gcc_no_link = xyes; then
46410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46412 { (exit 1); exit 1; }; }
46414 cat >conftest.$ac_ext <<_ACEOF
46415 #line $LINENO "configure"
46418 cat confdefs.h >>conftest.$ac_ext
46419 cat >>conftest.$ac_ext <<_ACEOF
46420 /* end confdefs.h. */
46421 #include <sys/stat.h>
46425 struct stat buffer;
46427 S_IFREG & buffer.st_mode;
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 glibcxx_cv_S_IFREG=yes
46446 echo "$as_me: failed program was:" >&5
46447 sed 's/^/| /' conftest.$ac_ext >&5
46449 glibcxx_cv_S_IFREG=no
46451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46455 if test $glibcxx_cv_S_ISREG = yes; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define HAVE_S_ISREG 1
46460 elif test $glibcxx_cv_S_IFREG = yes; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define HAVE_S_IFREG 1
46470 for ac_header in sys/uio.h
46472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46474 echo "$as_me:$LINENO: checking for $ac_header" >&5
46475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46477 echo $ECHO_N "(cached) $ECHO_C" >&6
46479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46482 # Is the header compilable?
46483 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46484 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46485 cat >conftest.$ac_ext <<_ACEOF
46486 #line $LINENO "configure"
46489 cat confdefs.h >>conftest.$ac_ext
46490 cat >>conftest.$ac_ext <<_ACEOF
46491 /* end confdefs.h. */
46492 $ac_includes_default
46493 #include <$ac_header>
46495 rm -f conftest.$ac_objext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46497 (eval $ac_compile) 2>&5
46499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46500 (exit $ac_status); } &&
46501 { ac_try='test -s conftest.$ac_objext'
46502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46503 (eval $ac_try) 2>&5
46505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506 (exit $ac_status); }; }; then
46507 ac_header_compiler=yes
46509 echo "$as_me: failed program was:" >&5
46510 sed 's/^/| /' conftest.$ac_ext >&5
46512 ac_header_compiler=no
46514 rm -f conftest.$ac_objext conftest.$ac_ext
46515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46516 echo "${ECHO_T}$ac_header_compiler" >&6
46518 # Is the header present?
46519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46521 cat >conftest.$ac_ext <<_ACEOF
46522 #line $LINENO "configure"
46525 cat confdefs.h >>conftest.$ac_ext
46526 cat >>conftest.$ac_ext <<_ACEOF
46527 /* end confdefs.h. */
46528 #include <$ac_header>
46530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46531 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46533 grep -v '^ *+' conftest.er1 >conftest.err
46535 cat conftest.err >&5
46536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46537 (exit $ac_status); } >/dev/null; then
46538 if test -s conftest.err; then
46539 ac_cpp_err=$ac_c_preproc_warn_flag
46546 if test -z "$ac_cpp_err"; then
46547 ac_header_preproc=yes
46549 echo "$as_me: failed program was:" >&5
46550 sed 's/^/| /' conftest.$ac_ext >&5
46552 ac_header_preproc=no
46554 rm -f conftest.err conftest.$ac_ext
46555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46556 echo "${ECHO_T}$ac_header_preproc" >&6
46558 # So? What about this header?
46559 case $ac_header_compiler:$ac_header_preproc in
46561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46567 ## ------------------------------------ ##
46568 ## Report this to bug-autoconf@gnu.org. ##
46569 ## ------------------------------------ ##
46572 sed "s/^/$as_me: WARNING: /" >&2
46575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46579 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46583 ## ------------------------------------ ##
46584 ## Report this to bug-autoconf@gnu.org. ##
46585 ## ------------------------------------ ##
46588 sed "s/^/$as_me: WARNING: /" >&2
46591 echo "$as_me:$LINENO: checking for $ac_header" >&5
46592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46594 echo $ECHO_N "(cached) $ECHO_C" >&6
46596 eval "$as_ac_Header=$ac_header_preproc"
46598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46603 cat >>confdefs.h <<_ACEOF
46604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46612 if test "${glibcxx_cv_WRITEV+set}" = set; then
46613 echo $ECHO_N "(cached) $ECHO_C" >&6
46616 if test x$gcc_no_link = xyes; then
46617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46619 { (exit 1); exit 1; }; }
46621 cat >conftest.$ac_ext <<_ACEOF
46622 #line $LINENO "configure"
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h. */
46628 #include <sys/uio.h>
46632 struct iovec iov[2];
46638 rm -f conftest.$ac_objext conftest$ac_exeext
46639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46640 (eval $ac_link) 2>&5
46642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46643 (exit $ac_status); } &&
46644 { ac_try='test -s conftest$ac_exeext'
46645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46646 (eval $ac_try) 2>&5
46648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46649 (exit $ac_status); }; }; then
46650 glibcxx_cv_WRITEV=yes
46652 echo "$as_me: failed program was:" >&5
46653 sed 's/^/| /' conftest.$ac_ext >&5
46655 glibcxx_cv_WRITEV=no
46657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46661 if test $glibcxx_cv_WRITEV = yes; then
46662 cat >>confdefs.h <<\_ACEOF
46663 #define HAVE_WRITEV 1
46669 cat >>confdefs.h <<\_ACEOF
46670 #define HAVE_LC_MESSAGES 1
46674 cat >conftest.$ac_ext <<_ACEOF
46675 #line $LINENO "configure"
46678 cat confdefs.h >>conftest.$ac_ext
46679 cat >>conftest.$ac_ext <<_ACEOF
46680 /* end confdefs.h. */
46681 #include <setjmp.h>
46686 while (! sigsetjmp (env, 1))
46687 siglongjmp (env, 1);
46693 rm -f conftest.$ac_objext
46694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46695 (eval $ac_compile) 2>&5
46697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46698 (exit $ac_status); } &&
46699 { ac_try='test -s conftest.$ac_objext'
46700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46701 (eval $ac_try) 2>&5
46703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46704 (exit $ac_status); }; }; then
46706 cat >>confdefs.h <<\_ACEOF
46707 #define HAVE_SIGSETJMP 1
46711 echo "$as_me: failed program was:" >&5
46712 sed 's/^/| /' conftest.$ac_ext >&5
46715 rm -f conftest.$ac_objext conftest.$ac_ext
46717 cat >>confdefs.h <<\_ACEOF
46718 #define HAVE_MMAP 1
46740 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
46741 machine/endian.h machine/param.h sys/machine.h sys/types.h \
46742 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
46743 sys/time.h unistd.h
46745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46747 echo "$as_me:$LINENO: checking for $ac_header" >&5
46748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46750 echo $ECHO_N "(cached) $ECHO_C" >&6
46752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46753 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46755 # Is the header compilable?
46756 echo "$as_me:$LINENO: checking $ac_header usability" >&5
46757 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
46758 cat >conftest.$ac_ext <<_ACEOF
46759 #line $LINENO "configure"
46762 cat confdefs.h >>conftest.$ac_ext
46763 cat >>conftest.$ac_ext <<_ACEOF
46764 /* end confdefs.h. */
46765 $ac_includes_default
46766 #include <$ac_header>
46768 rm -f conftest.$ac_objext
46769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46770 (eval $ac_compile) 2>&5
46772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46773 (exit $ac_status); } &&
46774 { ac_try='test -s conftest.$ac_objext'
46775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46776 (eval $ac_try) 2>&5
46778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46779 (exit $ac_status); }; }; then
46780 ac_header_compiler=yes
46782 echo "$as_me: failed program was:" >&5
46783 sed 's/^/| /' conftest.$ac_ext >&5
46785 ac_header_compiler=no
46787 rm -f conftest.$ac_objext conftest.$ac_ext
46788 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
46789 echo "${ECHO_T}$ac_header_compiler" >&6
46791 # Is the header present?
46792 echo "$as_me:$LINENO: checking $ac_header presence" >&5
46793 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
46794 cat >conftest.$ac_ext <<_ACEOF
46795 #line $LINENO "configure"
46798 cat confdefs.h >>conftest.$ac_ext
46799 cat >>conftest.$ac_ext <<_ACEOF
46800 /* end confdefs.h. */
46801 #include <$ac_header>
46803 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
46804 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
46806 grep -v '^ *+' conftest.er1 >conftest.err
46808 cat conftest.err >&5
46809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46810 (exit $ac_status); } >/dev/null; then
46811 if test -s conftest.err; then
46812 ac_cpp_err=$ac_c_preproc_warn_flag
46819 if test -z "$ac_cpp_err"; then
46820 ac_header_preproc=yes
46822 echo "$as_me: failed program was:" >&5
46823 sed 's/^/| /' conftest.$ac_ext >&5
46825 ac_header_preproc=no
46827 rm -f conftest.err conftest.$ac_ext
46828 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
46829 echo "${ECHO_T}$ac_header_preproc" >&6
46831 # So? What about this header?
46832 case $ac_header_compiler:$ac_header_preproc in
46834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
46835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
46836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46837 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46840 ## ------------------------------------ ##
46841 ## Report this to bug-autoconf@gnu.org. ##
46842 ## ------------------------------------ ##
46845 sed "s/^/$as_me: WARNING: /" >&2
46848 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
46849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
46850 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
46851 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
46852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
46853 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
46856 ## ------------------------------------ ##
46857 ## Report this to bug-autoconf@gnu.org. ##
46858 ## ------------------------------------ ##
46861 sed "s/^/$as_me: WARNING: /" >&2
46864 echo "$as_me:$LINENO: checking for $ac_header" >&5
46865 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
46866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
46867 echo $ECHO_N "(cached) $ECHO_C" >&6
46869 eval "$as_ac_Header=$ac_header_preproc"
46871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
46872 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
46875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46876 cat >>confdefs.h <<_ACEOF
46877 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46884 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46887 # If we're not using GNU ld, then there's no point in even trying these
46888 # tests. Check for that first. We should have already tested for gld
46889 # by now (in libtool), but require it now just to be safe...
46890 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46891 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46895 # The name set by libtool depends on the version of libtool. Shame on us
46896 # for depending on an impl detail, but c'est la vie. Older versions used
46897 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46898 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46899 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46900 # set (hence we're using an older libtool), then set it.
46901 if test x${with_gnu_ld+set} != xset; then
46902 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46903 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46906 with_gnu_ld=$ac_cv_prog_gnu_ld
46910 # Start by getting the version number. I think the libtool test already
46911 # does some of this, but throws away the result.
46913 ldver=`$LD --version 2>/dev/null | head -1 | \
46914 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
46916 glibcxx_gnu_ld_version=`echo $ldver | \
46917 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46919 # Set --gc-sections.
46920 if test "$with_gnu_ld" = "notbroken"; then
46921 # GNU ld it is! Joy and bunny rabbits!
46923 # All these tests are for C++; save the language and the compiler flags.
46924 # Need to do this so that g++ won't try to link in libstdc++
46925 ac_test_CFLAGS="${CFLAGS+set}"
46926 ac_save_CFLAGS="$CFLAGS"
46927 CFLAGS='-x c++ -Wl,--gc-sections'
46929 # Check for -Wl,--gc-sections
46930 # XXX This test is broken at the moment, as symbols required for linking
46931 # are now in libsupc++ (not built yet). In addition, this test has
46932 # cored on solaris in the past. In addition, --gc-sections doesn't
46933 # really work at the moment (keeps on discarding used sections, first
46934 # .eh_frame and now some of the glibc sections for iconv).
46935 # Bzzzzt. Thanks for playing, maybe next time.
46936 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
46937 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
46938 if test "$cross_compiling" = yes; then
46939 ac_sectionLDflags=yes
46941 cat >conftest.$ac_ext <<_ACEOF
46942 #line $LINENO "configure"
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h. */
46957 rm -f conftest$ac_exeext
46958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46959 (eval $ac_link) 2>&5
46961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46964 (eval $ac_try) 2>&5
46966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46967 (exit $ac_status); }; }; then
46968 ac_sectionLDflags=yes
46970 echo "$as_me: program exited with status $ac_status" >&5
46971 echo "$as_me: failed program was:" >&5
46972 sed 's/^/| /' conftest.$ac_ext >&5
46974 ( exit $ac_status )
46975 ac_sectionLDflags=no
46977 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46979 if test "$ac_test_CFLAGS" = set; then
46980 CFLAGS="$ac_save_CFLAGS"
46982 # this is the suspicious part
46985 if test "$ac_sectionLDflags" = "yes"; then
46986 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46988 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
46989 echo "${ECHO_T}$ac_sectionLDflags" >&6
46992 # Set linker optimization flags.
46993 if test x"$with_gnu_ld" = x"yes"; then
46994 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47002 echo "$as_me:$LINENO: checking for main in -lm" >&5
47003 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
47004 if test "${ac_cv_lib_m_main+set}" = set; then
47005 echo $ECHO_N "(cached) $ECHO_C" >&6
47007 ac_check_lib_save_LIBS=$LIBS
47009 if test x$gcc_no_link = xyes; then
47010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47012 { (exit 1); exit 1; }; }
47014 cat >conftest.$ac_ext <<_ACEOF
47015 #line $LINENO "configure"
47018 cat confdefs.h >>conftest.$ac_ext
47019 cat >>conftest.$ac_ext <<_ACEOF
47020 /* end confdefs.h. */
47031 rm -f conftest.$ac_objext conftest$ac_exeext
47032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47033 (eval $ac_link) 2>&5
47035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47036 (exit $ac_status); } &&
47037 { ac_try='test -s conftest$ac_exeext'
47038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47039 (eval $ac_try) 2>&5
47041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47042 (exit $ac_status); }; }; then
47043 ac_cv_lib_m_main=yes
47045 echo "$as_me: failed program was:" >&5
47046 sed 's/^/| /' conftest.$ac_ext >&5
47048 ac_cv_lib_m_main=no
47050 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47051 LIBS=$ac_check_lib_save_LIBS
47053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
47054 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
47055 if test $ac_cv_lib_m_main = yes; then
47056 cat >>confdefs.h <<_ACEOF
47057 #define HAVE_LIBM 1
47065 for ac_func in copysignf
47067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47068 echo "$as_me:$LINENO: checking for $ac_func" >&5
47069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47070 if eval "test \"\${$as_ac_var+set}\" = set"; then
47071 echo $ECHO_N "(cached) $ECHO_C" >&6
47073 if test x$gcc_no_link = xyes; then
47074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47076 { (exit 1); exit 1; }; }
47078 cat >conftest.$ac_ext <<_ACEOF
47079 #line $LINENO "configure"
47082 cat confdefs.h >>conftest.$ac_ext
47083 cat >>conftest.$ac_ext <<_ACEOF
47084 /* end confdefs.h. */
47085 /* System header to define __stub macros and hopefully few prototypes,
47086 which can conflict with char $ac_func (); below.
47087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47088 <limits.h> exists even on freestanding compilers. */
47090 # include <limits.h>
47092 # include <assert.h>
47094 /* Override any gcc2 internal prototype to avoid an error. */
47099 /* We use char because int might match the return type of a gcc2
47100 builtin and then its argument prototype would still apply. */
47102 /* The GNU C library defines this for functions which it implements
47103 to always fail with ENOSYS. Some functions are actually named
47104 something starting with __ and the normal name is an alias. */
47105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47108 char (*f) () = $ac_func;
47117 return f != $ac_func;
47122 rm -f conftest.$ac_objext conftest$ac_exeext
47123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47124 (eval $ac_link) 2>&5
47126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47127 (exit $ac_status); } &&
47128 { ac_try='test -s conftest$ac_exeext'
47129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47130 (eval $ac_try) 2>&5
47132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47133 (exit $ac_status); }; }; then
47134 eval "$as_ac_var=yes"
47136 echo "$as_me: failed program was:" >&5
47137 sed 's/^/| /' conftest.$ac_ext >&5
47139 eval "$as_ac_var=no"
47141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47145 if test `eval echo '${'$as_ac_var'}'` = yes; then
47146 cat >>confdefs.h <<_ACEOF
47147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47151 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
47157 for ac_func in __signbit
47159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47160 echo "$as_me:$LINENO: checking for $ac_func" >&5
47161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47162 if eval "test \"\${$as_ac_var+set}\" = set"; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47165 if test x$gcc_no_link = xyes; then
47166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47168 { (exit 1); exit 1; }; }
47170 cat >conftest.$ac_ext <<_ACEOF
47171 #line $LINENO "configure"
47174 cat confdefs.h >>conftest.$ac_ext
47175 cat >>conftest.$ac_ext <<_ACEOF
47176 /* end confdefs.h. */
47177 /* System header to define __stub macros and hopefully few prototypes,
47178 which can conflict with char $ac_func (); below.
47179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47180 <limits.h> exists even on freestanding compilers. */
47182 # include <limits.h>
47184 # include <assert.h>
47186 /* Override any gcc2 internal prototype to avoid an error. */
47191 /* We use char because int might match the return type of a gcc2
47192 builtin and then its argument prototype would still apply. */
47194 /* The GNU C library defines this for functions which it implements
47195 to always fail with ENOSYS. Some functions are actually named
47196 something starting with __ and the normal name is an alias. */
47197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47200 char (*f) () = $ac_func;
47209 return f != $ac_func;
47214 rm -f conftest.$ac_objext conftest$ac_exeext
47215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47216 (eval $ac_link) 2>&5
47218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47219 (exit $ac_status); } &&
47220 { ac_try='test -s conftest$ac_exeext'
47221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47222 (eval $ac_try) 2>&5
47224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47225 (exit $ac_status); }; }; then
47226 eval "$as_ac_var=yes"
47228 echo "$as_me: failed program was:" >&5
47229 sed 's/^/| /' conftest.$ac_ext >&5
47231 eval "$as_ac_var=no"
47233 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47237 if test `eval echo '${'$as_ac_var'}'` = yes; then
47238 cat >>confdefs.h <<_ACEOF
47239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47243 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
47248 for ac_func in __signbitf
47250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47251 echo "$as_me:$LINENO: checking for $ac_func" >&5
47252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47253 if eval "test \"\${$as_ac_var+set}\" = set"; then
47254 echo $ECHO_N "(cached) $ECHO_C" >&6
47256 if test x$gcc_no_link = xyes; then
47257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47259 { (exit 1); exit 1; }; }
47261 cat >conftest.$ac_ext <<_ACEOF
47262 #line $LINENO "configure"
47265 cat confdefs.h >>conftest.$ac_ext
47266 cat >>conftest.$ac_ext <<_ACEOF
47267 /* end confdefs.h. */
47268 /* System header to define __stub macros and hopefully few prototypes,
47269 which can conflict with char $ac_func (); below.
47270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47271 <limits.h> exists even on freestanding compilers. */
47273 # include <limits.h>
47275 # include <assert.h>
47277 /* Override any gcc2 internal prototype to avoid an error. */
47282 /* We use char because int might match the return type of a gcc2
47283 builtin and then its argument prototype would still apply. */
47285 /* The GNU C library defines this for functions which it implements
47286 to always fail with ENOSYS. Some functions are actually named
47287 something starting with __ and the normal name is an alias. */
47288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47291 char (*f) () = $ac_func;
47300 return f != $ac_func;
47305 rm -f conftest.$ac_objext conftest$ac_exeext
47306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47307 (eval $ac_link) 2>&5
47309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47310 (exit $ac_status); } &&
47311 { ac_try='test -s conftest$ac_exeext'
47312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47313 (eval $ac_try) 2>&5
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); }; }; then
47317 eval "$as_ac_var=yes"
47319 echo "$as_me: failed program was:" >&5
47320 sed 's/^/| /' conftest.$ac_ext >&5
47322 eval "$as_ac_var=no"
47324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47328 if test `eval echo '${'$as_ac_var'}'` = yes; then
47329 cat >>confdefs.h <<_ACEOF
47330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47334 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
47339 if test x$ac_cv_func_copysignl = x"yes"; then
47341 for ac_func in __signbitl
47343 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47344 echo "$as_me:$LINENO: checking for $ac_func" >&5
47345 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47346 if eval "test \"\${$as_ac_var+set}\" = set"; then
47347 echo $ECHO_N "(cached) $ECHO_C" >&6
47349 if test x$gcc_no_link = xyes; then
47350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47352 { (exit 1); exit 1; }; }
47354 cat >conftest.$ac_ext <<_ACEOF
47355 #line $LINENO "configure"
47358 cat confdefs.h >>conftest.$ac_ext
47359 cat >>conftest.$ac_ext <<_ACEOF
47360 /* end confdefs.h. */
47361 /* System header to define __stub macros and hopefully few prototypes,
47362 which can conflict with char $ac_func (); below.
47363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47364 <limits.h> exists even on freestanding compilers. */
47366 # include <limits.h>
47368 # include <assert.h>
47370 /* Override any gcc2 internal prototype to avoid an error. */
47375 /* We use char because int might match the return type of a gcc2
47376 builtin and then its argument prototype would still apply. */
47378 /* The GNU C library defines this for functions which it implements
47379 to always fail with ENOSYS. Some functions are actually named
47380 something starting with __ and the normal name is an alias. */
47381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47384 char (*f) () = $ac_func;
47393 return f != $ac_func;
47398 rm -f conftest.$ac_objext conftest$ac_exeext
47399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47400 (eval $ac_link) 2>&5
47402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47403 (exit $ac_status); } &&
47404 { ac_try='test -s conftest$ac_exeext'
47405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47406 (eval $ac_try) 2>&5
47408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47409 (exit $ac_status); }; }; then
47410 eval "$as_ac_var=yes"
47412 echo "$as_me: failed program was:" >&5
47413 sed 's/^/| /' conftest.$ac_ext >&5
47415 eval "$as_ac_var=no"
47417 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47421 if test `eval echo '${'$as_ac_var'}'` = yes; then
47422 cat >>confdefs.h <<_ACEOF
47423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47427 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
47433 # XXX Review this. Nothing uses it.
47434 if test -n "$LIBMATHOBJS"; then
47440 # Test wchar.h for mbstate_t, which is needed for char_traits and
47441 # others even if wchar_t support is not on.
47442 echo "$as_me:$LINENO: checking for mbstate_t" >&5
47443 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
47444 cat >conftest.$ac_ext <<_ACEOF
47445 #line $LINENO "configure"
47448 cat confdefs.h >>conftest.$ac_ext
47449 cat >>conftest.$ac_ext <<_ACEOF
47450 /* end confdefs.h. */
47455 mbstate_t teststate;
47460 rm -f conftest.$ac_objext
47461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47462 (eval $ac_compile) 2>&5
47464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47465 (exit $ac_status); } &&
47466 { ac_try='test -s conftest.$ac_objext'
47467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47468 (eval $ac_try) 2>&5
47470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47471 (exit $ac_status); }; }; then
47474 echo "$as_me: failed program was:" >&5
47475 sed 's/^/| /' conftest.$ac_ext >&5
47479 rm -f conftest.$ac_objext conftest.$ac_ext
47480 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
47481 echo "${ECHO_T}$have_mbstate_t" >&6
47482 if test x"$have_mbstate_t" = xyes; then
47483 cat >>confdefs.h <<\_ACEOF
47484 #define HAVE_MBSTATE_T 1
47489 # Sanity check for existence of ISO C99 headers for extended encoding.
47491 for ac_header in wchar.h
47493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47495 echo "$as_me:$LINENO: checking for $ac_header" >&5
47496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47498 echo $ECHO_N "(cached) $ECHO_C" >&6
47500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47503 # Is the header compilable?
47504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47506 cat >conftest.$ac_ext <<_ACEOF
47507 #line $LINENO "configure"
47510 cat confdefs.h >>conftest.$ac_ext
47511 cat >>conftest.$ac_ext <<_ACEOF
47512 /* end confdefs.h. */
47513 $ac_includes_default
47514 #include <$ac_header>
47516 rm -f conftest.$ac_objext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47518 (eval $ac_compile) 2>&5
47520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47521 (exit $ac_status); } &&
47522 { ac_try='test -s conftest.$ac_objext'
47523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47524 (eval $ac_try) 2>&5
47526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47527 (exit $ac_status); }; }; then
47528 ac_header_compiler=yes
47530 echo "$as_me: failed program was:" >&5
47531 sed 's/^/| /' conftest.$ac_ext >&5
47533 ac_header_compiler=no
47535 rm -f conftest.$ac_objext conftest.$ac_ext
47536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47537 echo "${ECHO_T}$ac_header_compiler" >&6
47539 # Is the header present?
47540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47542 cat >conftest.$ac_ext <<_ACEOF
47543 #line $LINENO "configure"
47546 cat confdefs.h >>conftest.$ac_ext
47547 cat >>conftest.$ac_ext <<_ACEOF
47548 /* end confdefs.h. */
47549 #include <$ac_header>
47551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47554 grep -v '^ *+' conftest.er1 >conftest.err
47556 cat conftest.err >&5
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); } >/dev/null; then
47559 if test -s conftest.err; then
47560 ac_cpp_err=$ac_c_preproc_warn_flag
47567 if test -z "$ac_cpp_err"; then
47568 ac_header_preproc=yes
47570 echo "$as_me: failed program was:" >&5
47571 sed 's/^/| /' conftest.$ac_ext >&5
47573 ac_header_preproc=no
47575 rm -f conftest.err conftest.$ac_ext
47576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47577 echo "${ECHO_T}$ac_header_preproc" >&6
47579 # So? What about this header?
47580 case $ac_header_compiler:$ac_header_preproc in
47582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47588 ## ------------------------------------ ##
47589 ## Report this to bug-autoconf@gnu.org. ##
47590 ## ------------------------------------ ##
47593 sed "s/^/$as_me: WARNING: /" >&2
47596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47604 ## ------------------------------------ ##
47605 ## Report this to bug-autoconf@gnu.org. ##
47606 ## ------------------------------------ ##
47609 sed "s/^/$as_me: WARNING: /" >&2
47612 echo "$as_me:$LINENO: checking for $ac_header" >&5
47613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47615 echo $ECHO_N "(cached) $ECHO_C" >&6
47617 eval "$as_ac_Header=$ac_header_preproc"
47619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47624 cat >>confdefs.h <<_ACEOF
47625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47635 for ac_header in wctype.h
47637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47639 echo "$as_me:$LINENO: checking for $ac_header" >&5
47640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47642 echo $ECHO_N "(cached) $ECHO_C" >&6
47644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47647 # Is the header compilable?
47648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
47649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
47650 cat >conftest.$ac_ext <<_ACEOF
47651 #line $LINENO "configure"
47654 cat confdefs.h >>conftest.$ac_ext
47655 cat >>conftest.$ac_ext <<_ACEOF
47656 /* end confdefs.h. */
47657 $ac_includes_default
47658 #include <$ac_header>
47660 rm -f conftest.$ac_objext
47661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47662 (eval $ac_compile) 2>&5
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); } &&
47666 { ac_try='test -s conftest.$ac_objext'
47667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47668 (eval $ac_try) 2>&5
47670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47671 (exit $ac_status); }; }; then
47672 ac_header_compiler=yes
47674 echo "$as_me: failed program was:" >&5
47675 sed 's/^/| /' conftest.$ac_ext >&5
47677 ac_header_compiler=no
47679 rm -f conftest.$ac_objext conftest.$ac_ext
47680 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
47681 echo "${ECHO_T}$ac_header_compiler" >&6
47683 # Is the header present?
47684 echo "$as_me:$LINENO: checking $ac_header presence" >&5
47685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
47686 cat >conftest.$ac_ext <<_ACEOF
47687 #line $LINENO "configure"
47690 cat confdefs.h >>conftest.$ac_ext
47691 cat >>conftest.$ac_ext <<_ACEOF
47692 /* end confdefs.h. */
47693 #include <$ac_header>
47695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
47696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
47698 grep -v '^ *+' conftest.er1 >conftest.err
47700 cat conftest.err >&5
47701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47702 (exit $ac_status); } >/dev/null; then
47703 if test -s conftest.err; then
47704 ac_cpp_err=$ac_c_preproc_warn_flag
47711 if test -z "$ac_cpp_err"; then
47712 ac_header_preproc=yes
47714 echo "$as_me: failed program was:" >&5
47715 sed 's/^/| /' conftest.$ac_ext >&5
47717 ac_header_preproc=no
47719 rm -f conftest.err conftest.$ac_ext
47720 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
47721 echo "${ECHO_T}$ac_header_preproc" >&6
47723 # So? What about this header?
47724 case $ac_header_compiler:$ac_header_preproc in
47726 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
47727 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
47728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47732 ## ------------------------------------ ##
47733 ## Report this to bug-autoconf@gnu.org. ##
47734 ## ------------------------------------ ##
47737 sed "s/^/$as_me: WARNING: /" >&2
47740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
47741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
47742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
47743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
47744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
47745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
47748 ## ------------------------------------ ##
47749 ## Report this to bug-autoconf@gnu.org. ##
47750 ## ------------------------------------ ##
47753 sed "s/^/$as_me: WARNING: /" >&2
47756 echo "$as_me:$LINENO: checking for $ac_header" >&5
47757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47758 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47759 echo $ECHO_N "(cached) $ECHO_C" >&6
47761 eval "$as_ac_Header=$ac_header_preproc"
47763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47768 cat >>confdefs.h <<_ACEOF
47769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47771 ac_has_wctype_h=yes
47779 # Only continue checking if the ISO C99 headers exist and support is on.
47780 if test x"$ac_has_wchar_h" = xyes &&
47781 test x"$ac_has_wctype_h" = xyes &&
47782 test x"$enable_c_mbchar" != xno; then
47784 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
47785 # numeric_limits can instantiate type_traits<wchar_t>
47786 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
47787 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
47788 cat >conftest.$ac_ext <<_ACEOF
47789 #line $LINENO "configure"
47792 cat confdefs.h >>conftest.$ac_ext
47793 cat >>conftest.$ac_ext <<_ACEOF
47794 /* end confdefs.h. */
47799 int i = WCHAR_MIN; int j = WCHAR_MAX;
47804 rm -f conftest.$ac_objext
47805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47806 (eval $ac_compile) 2>&5
47808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47809 (exit $ac_status); } &&
47810 { ac_try='test -s conftest.$ac_objext'
47811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47812 (eval $ac_try) 2>&5
47814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47815 (exit $ac_status); }; }; then
47816 has_wchar_minmax=yes
47818 echo "$as_me: failed program was:" >&5
47819 sed 's/^/| /' conftest.$ac_ext >&5
47821 has_wchar_minmax=no
47823 rm -f conftest.$ac_objext conftest.$ac_ext
47824 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
47825 echo "${ECHO_T}$has_wchar_minmax" >&6
47827 # Test wchar.h for WEOF, which is what we use to determine whether
47828 # to specialize for char_traits<wchar_t> or not.
47829 echo "$as_me:$LINENO: checking for WEOF" >&5
47830 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
47831 cat >conftest.$ac_ext <<_ACEOF
47832 #line $LINENO "configure"
47835 cat confdefs.h >>conftest.$ac_ext
47836 cat >>conftest.$ac_ext <<_ACEOF
47837 /* end confdefs.h. */
47840 #include <stddef.h>
47849 rm -f conftest.$ac_objext
47850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47851 (eval $ac_compile) 2>&5
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); } &&
47855 { ac_try='test -s conftest.$ac_objext'
47856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47857 (eval $ac_try) 2>&5
47859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860 (exit $ac_status); }; }; then
47863 echo "$as_me: failed program was:" >&5
47864 sed 's/^/| /' conftest.$ac_ext >&5
47868 rm -f conftest.$ac_objext conftest.$ac_ext
47869 echo "$as_me:$LINENO: result: $has_weof" >&5
47870 echo "${ECHO_T}$has_weof" >&6
47872 # Tests for wide character functions used in char_traits<wchar_t>.
47880 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
47882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47883 echo "$as_me:$LINENO: checking for $ac_func" >&5
47884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47885 if eval "test \"\${$as_ac_var+set}\" = set"; then
47886 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 if test x$gcc_no_link = xyes; then
47889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47891 { (exit 1); exit 1; }; }
47893 cat >conftest.$ac_ext <<_ACEOF
47894 #line $LINENO "configure"
47897 cat confdefs.h >>conftest.$ac_ext
47898 cat >>conftest.$ac_ext <<_ACEOF
47899 /* end confdefs.h. */
47900 /* System header to define __stub macros and hopefully few prototypes,
47901 which can conflict with char $ac_func (); below.
47902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47903 <limits.h> exists even on freestanding compilers. */
47905 # include <limits.h>
47907 # include <assert.h>
47909 /* Override any gcc2 internal prototype to avoid an error. */
47914 /* We use char because int might match the return type of a gcc2
47915 builtin and then its argument prototype would still apply. */
47917 /* The GNU C library defines this for functions which it implements
47918 to always fail with ENOSYS. Some functions are actually named
47919 something starting with __ and the normal name is an alias. */
47920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47923 char (*f) () = $ac_func;
47932 return f != $ac_func;
47937 rm -f conftest.$ac_objext conftest$ac_exeext
47938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47939 (eval $ac_link) 2>&5
47941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47942 (exit $ac_status); } &&
47943 { ac_try='test -s conftest$ac_exeext'
47944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47945 (eval $ac_try) 2>&5
47947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47948 (exit $ac_status); }; }; then
47949 eval "$as_ac_var=yes"
47951 echo "$as_me: failed program was:" >&5
47952 sed 's/^/| /' conftest.$ac_ext >&5
47954 eval "$as_ac_var=no"
47956 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47960 if test `eval echo '${'$as_ac_var'}'` = yes; then
47961 cat >>confdefs.h <<_ACEOF
47962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47971 # Checks for names injected into std:: by the c_std headers.
48018 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
48019 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
48020 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
48021 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
48022 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
48023 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
48025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48026 echo "$as_me:$LINENO: checking for $ac_func" >&5
48027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48028 if eval "test \"\${$as_ac_var+set}\" = set"; then
48029 echo $ECHO_N "(cached) $ECHO_C" >&6
48031 if test x$gcc_no_link = xyes; then
48032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48034 { (exit 1); exit 1; }; }
48036 cat >conftest.$ac_ext <<_ACEOF
48037 #line $LINENO "configure"
48040 cat confdefs.h >>conftest.$ac_ext
48041 cat >>conftest.$ac_ext <<_ACEOF
48042 /* end confdefs.h. */
48043 /* System header to define __stub macros and hopefully few prototypes,
48044 which can conflict with char $ac_func (); below.
48045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48046 <limits.h> exists even on freestanding compilers. */
48048 # include <limits.h>
48050 # include <assert.h>
48052 /* Override any gcc2 internal prototype to avoid an error. */
48057 /* We use char because int might match the return type of a gcc2
48058 builtin and then its argument prototype would still apply. */
48060 /* The GNU C library defines this for functions which it implements
48061 to always fail with ENOSYS. Some functions are actually named
48062 something starting with __ and the normal name is an alias. */
48063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48066 char (*f) () = $ac_func;
48075 return f != $ac_func;
48080 rm -f conftest.$ac_objext conftest$ac_exeext
48081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48082 (eval $ac_link) 2>&5
48084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48085 (exit $ac_status); } &&
48086 { ac_try='test -s conftest$ac_exeext'
48087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48088 (eval $ac_try) 2>&5
48090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48091 (exit $ac_status); }; }; then
48092 eval "$as_ac_var=yes"
48094 echo "$as_me: failed program was:" >&5
48095 sed 's/^/| /' conftest.$ac_ext >&5
48097 eval "$as_ac_var=no"
48099 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48103 if test `eval echo '${'$as_ac_var'}'` = yes; then
48104 cat >>confdefs.h <<_ACEOF
48105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48114 # Checks for wide character functions that are not required
48115 # for basic wchar_t support. Don't disable support if they are missing.
48116 # Injection of these is wrapped with guard macros.
48122 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
48124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48125 echo "$as_me:$LINENO: checking for $ac_func" >&5
48126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48127 if eval "test \"\${$as_ac_var+set}\" = set"; then
48128 echo $ECHO_N "(cached) $ECHO_C" >&6
48130 if test x$gcc_no_link = xyes; then
48131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48133 { (exit 1); exit 1; }; }
48135 cat >conftest.$ac_ext <<_ACEOF
48136 #line $LINENO "configure"
48139 cat confdefs.h >>conftest.$ac_ext
48140 cat >>conftest.$ac_ext <<_ACEOF
48141 /* end confdefs.h. */
48142 /* System header to define __stub macros and hopefully few prototypes,
48143 which can conflict with char $ac_func (); below.
48144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48145 <limits.h> exists even on freestanding compilers. */
48147 # include <limits.h>
48149 # include <assert.h>
48151 /* Override any gcc2 internal prototype to avoid an error. */
48156 /* We use char because int might match the return type of a gcc2
48157 builtin and then its argument prototype would still apply. */
48159 /* The GNU C library defines this for functions which it implements
48160 to always fail with ENOSYS. Some functions are actually named
48161 something starting with __ and the normal name is an alias. */
48162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48165 char (*f) () = $ac_func;
48174 return f != $ac_func;
48179 rm -f conftest.$ac_objext conftest$ac_exeext
48180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48181 (eval $ac_link) 2>&5
48183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48184 (exit $ac_status); } &&
48185 { ac_try='test -s conftest$ac_exeext'
48186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48187 (eval $ac_try) 2>&5
48189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48190 (exit $ac_status); }; }; then
48191 eval "$as_ac_var=yes"
48193 echo "$as_me: failed program was:" >&5
48194 sed 's/^/| /' conftest.$ac_ext >&5
48196 eval "$as_ac_var=no"
48198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48202 if test `eval echo '${'$as_ac_var'}'` = yes; then
48203 cat >>confdefs.h <<_ACEOF
48204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48211 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
48212 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
48213 if test x"$has_weof" = xyes &&
48214 test x"$has_wchar_minmax" = xyes &&
48215 test x"$ac_wfuncs" = xyes;
48217 ac_isoC99_wchar_t=yes
48219 ac_isoC99_wchar_t=no
48221 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
48222 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
48224 # Use iconv for wchar_t to char conversions. As such, check for
48225 # X/Open Portability Guide, version 2 features (XPG2).
48226 if test "${ac_cv_header_iconv_h+set}" = set; then
48227 echo "$as_me:$LINENO: checking for iconv.h" >&5
48228 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48229 if test "${ac_cv_header_iconv_h+set}" = set; then
48230 echo $ECHO_N "(cached) $ECHO_C" >&6
48232 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48233 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48235 # Is the header compilable?
48236 echo "$as_me:$LINENO: checking iconv.h usability" >&5
48237 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
48238 cat >conftest.$ac_ext <<_ACEOF
48239 #line $LINENO "configure"
48242 cat confdefs.h >>conftest.$ac_ext
48243 cat >>conftest.$ac_ext <<_ACEOF
48244 /* end confdefs.h. */
48245 $ac_includes_default
48248 rm -f conftest.$ac_objext
48249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48250 (eval $ac_compile) 2>&5
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); } &&
48254 { ac_try='test -s conftest.$ac_objext'
48255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48256 (eval $ac_try) 2>&5
48258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48259 (exit $ac_status); }; }; then
48260 ac_header_compiler=yes
48262 echo "$as_me: failed program was:" >&5
48263 sed 's/^/| /' conftest.$ac_ext >&5
48265 ac_header_compiler=no
48267 rm -f conftest.$ac_objext conftest.$ac_ext
48268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48269 echo "${ECHO_T}$ac_header_compiler" >&6
48271 # Is the header present?
48272 echo "$as_me:$LINENO: checking iconv.h presence" >&5
48273 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
48274 cat >conftest.$ac_ext <<_ACEOF
48275 #line $LINENO "configure"
48278 cat confdefs.h >>conftest.$ac_ext
48279 cat >>conftest.$ac_ext <<_ACEOF
48280 /* end confdefs.h. */
48283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48284 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48286 grep -v '^ *+' conftest.er1 >conftest.err
48288 cat conftest.err >&5
48289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48290 (exit $ac_status); } >/dev/null; then
48291 if test -s conftest.err; then
48292 ac_cpp_err=$ac_c_preproc_warn_flag
48299 if test -z "$ac_cpp_err"; then
48300 ac_header_preproc=yes
48302 echo "$as_me: failed program was:" >&5
48303 sed 's/^/| /' conftest.$ac_ext >&5
48305 ac_header_preproc=no
48307 rm -f conftest.err conftest.$ac_ext
48308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48309 echo "${ECHO_T}$ac_header_preproc" >&6
48311 # So? What about this header?
48312 case $ac_header_compiler:$ac_header_preproc in
48314 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
48315 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48316 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48317 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48320 ## ------------------------------------ ##
48321 ## Report this to bug-autoconf@gnu.org. ##
48322 ## ------------------------------------ ##
48325 sed "s/^/$as_me: WARNING: /" >&2
48328 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
48329 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
48330 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
48331 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
48332 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
48333 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
48336 ## ------------------------------------ ##
48337 ## Report this to bug-autoconf@gnu.org. ##
48338 ## ------------------------------------ ##
48341 sed "s/^/$as_me: WARNING: /" >&2
48344 echo "$as_me:$LINENO: checking for iconv.h" >&5
48345 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
48346 if test "${ac_cv_header_iconv_h+set}" = set; then
48347 echo $ECHO_N "(cached) $ECHO_C" >&6
48349 ac_cv_header_iconv_h=$ac_header_preproc
48351 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
48352 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
48355 if test $ac_cv_header_iconv_h = yes; then
48362 if test "${ac_cv_header_langinfo_h+set}" = set; then
48363 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48364 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48365 if test "${ac_cv_header_langinfo_h+set}" = set; then
48366 echo $ECHO_N "(cached) $ECHO_C" >&6
48368 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48369 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48371 # Is the header compilable?
48372 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
48373 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
48374 cat >conftest.$ac_ext <<_ACEOF
48375 #line $LINENO "configure"
48378 cat confdefs.h >>conftest.$ac_ext
48379 cat >>conftest.$ac_ext <<_ACEOF
48380 /* end confdefs.h. */
48381 $ac_includes_default
48382 #include <langinfo.h>
48384 rm -f conftest.$ac_objext
48385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48386 (eval $ac_compile) 2>&5
48388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48389 (exit $ac_status); } &&
48390 { ac_try='test -s conftest.$ac_objext'
48391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48392 (eval $ac_try) 2>&5
48394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48395 (exit $ac_status); }; }; then
48396 ac_header_compiler=yes
48398 echo "$as_me: failed program was:" >&5
48399 sed 's/^/| /' conftest.$ac_ext >&5
48401 ac_header_compiler=no
48403 rm -f conftest.$ac_objext conftest.$ac_ext
48404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48405 echo "${ECHO_T}$ac_header_compiler" >&6
48407 # Is the header present?
48408 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
48409 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
48410 cat >conftest.$ac_ext <<_ACEOF
48411 #line $LINENO "configure"
48414 cat confdefs.h >>conftest.$ac_ext
48415 cat >>conftest.$ac_ext <<_ACEOF
48416 /* end confdefs.h. */
48417 #include <langinfo.h>
48419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48420 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48422 grep -v '^ *+' conftest.er1 >conftest.err
48424 cat conftest.err >&5
48425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48426 (exit $ac_status); } >/dev/null; then
48427 if test -s conftest.err; then
48428 ac_cpp_err=$ac_c_preproc_warn_flag
48435 if test -z "$ac_cpp_err"; then
48436 ac_header_preproc=yes
48438 echo "$as_me: failed program was:" >&5
48439 sed 's/^/| /' conftest.$ac_ext >&5
48441 ac_header_preproc=no
48443 rm -f conftest.err conftest.$ac_ext
48444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48445 echo "${ECHO_T}$ac_header_preproc" >&6
48447 # So? What about this header?
48448 case $ac_header_compiler:$ac_header_preproc in
48450 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
48451 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
48452 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48453 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48456 ## ------------------------------------ ##
48457 ## Report this to bug-autoconf@gnu.org. ##
48458 ## ------------------------------------ ##
48461 sed "s/^/$as_me: WARNING: /" >&2
48464 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
48465 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
48466 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
48467 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
48468 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
48469 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
48472 ## ------------------------------------ ##
48473 ## Report this to bug-autoconf@gnu.org. ##
48474 ## ------------------------------------ ##
48477 sed "s/^/$as_me: WARNING: /" >&2
48480 echo "$as_me:$LINENO: checking for langinfo.h" >&5
48481 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
48482 if test "${ac_cv_header_langinfo_h+set}" = set; then
48483 echo $ECHO_N "(cached) $ECHO_C" >&6
48485 ac_cv_header_langinfo_h=$ac_header_preproc
48487 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
48488 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
48491 if test $ac_cv_header_langinfo_h = yes; then
48492 ac_has_langinfo_h=yes
48494 ac_has_langinfo_h=no
48499 # Check for existence of libiconv.a providing XPG2 wchar_t support.
48500 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
48501 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
48502 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
48503 echo $ECHO_N "(cached) $ECHO_C" >&6
48505 ac_check_lib_save_LIBS=$LIBS
48506 LIBS="-liconv $LIBS"
48507 if test x$gcc_no_link = xyes; then
48508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48510 { (exit 1); exit 1; }; }
48512 cat >conftest.$ac_ext <<_ACEOF
48513 #line $LINENO "configure"
48516 cat confdefs.h >>conftest.$ac_ext
48517 cat >>conftest.$ac_ext <<_ACEOF
48518 /* end confdefs.h. */
48520 /* Override any gcc2 internal prototype to avoid an error. */
48524 /* We use char because int might match the return type of a gcc2
48525 builtin and then its argument prototype would still apply. */
48535 rm -f conftest.$ac_objext conftest$ac_exeext
48536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48537 (eval $ac_link) 2>&5
48539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48540 (exit $ac_status); } &&
48541 { ac_try='test -s conftest$ac_exeext'
48542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48543 (eval $ac_try) 2>&5
48545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48546 (exit $ac_status); }; }; then
48547 ac_cv_lib_iconv_iconv=yes
48549 echo "$as_me: failed program was:" >&5
48550 sed 's/^/| /' conftest.$ac_ext >&5
48552 ac_cv_lib_iconv_iconv=no
48554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48555 LIBS=$ac_check_lib_save_LIBS
48557 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
48558 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
48559 if test $ac_cv_lib_iconv_iconv = yes; then
48563 ac_save_LIBS="$LIBS"
48564 LIBS="$LIBS $libiconv"
48570 for ac_func in iconv_open iconv_close iconv nl_langinfo
48572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48573 echo "$as_me:$LINENO: checking for $ac_func" >&5
48574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48575 if eval "test \"\${$as_ac_var+set}\" = set"; then
48576 echo $ECHO_N "(cached) $ECHO_C" >&6
48578 if test x$gcc_no_link = xyes; then
48579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48581 { (exit 1); exit 1; }; }
48583 cat >conftest.$ac_ext <<_ACEOF
48584 #line $LINENO "configure"
48587 cat confdefs.h >>conftest.$ac_ext
48588 cat >>conftest.$ac_ext <<_ACEOF
48589 /* end confdefs.h. */
48590 /* System header to define __stub macros and hopefully few prototypes,
48591 which can conflict with char $ac_func (); below.
48592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48593 <limits.h> exists even on freestanding compilers. */
48595 # include <limits.h>
48597 # include <assert.h>
48599 /* Override any gcc2 internal prototype to avoid an error. */
48604 /* We use char because int might match the return type of a gcc2
48605 builtin and then its argument prototype would still apply. */
48607 /* The GNU C library defines this for functions which it implements
48608 to always fail with ENOSYS. Some functions are actually named
48609 something starting with __ and the normal name is an alias. */
48610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48613 char (*f) () = $ac_func;
48622 return f != $ac_func;
48627 rm -f conftest.$ac_objext conftest$ac_exeext
48628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48629 (eval $ac_link) 2>&5
48631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48632 (exit $ac_status); } &&
48633 { ac_try='test -s conftest$ac_exeext'
48634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48635 (eval $ac_try) 2>&5
48637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48638 (exit $ac_status); }; }; then
48639 eval "$as_ac_var=yes"
48641 echo "$as_me: failed program was:" >&5
48642 sed 's/^/| /' conftest.$ac_ext >&5
48644 eval "$as_ac_var=no"
48646 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48650 if test `eval echo '${'$as_ac_var'}'` = yes; then
48651 cat >>confdefs.h <<_ACEOF
48652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48661 LIBS="$ac_save_LIBS"
48663 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
48664 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
48665 if test x"$ac_has_iconv_h" = xyes &&
48666 test x"$ac_has_langinfo_h" = xyes &&
48667 test x"$ac_XPG2funcs" = xyes;
48669 ac_XPG2_wchar_t=yes
48673 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
48674 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
48676 # At the moment, only enable wchar_t specializations if all the
48677 # above support is present.
48678 if test x"$ac_isoC99_wchar_t" = xyes &&
48679 test x"$ac_XPG2_wchar_t" = xyes;
48681 cat >>confdefs.h <<\_ACEOF
48682 #define _GLIBCXX_USE_WCHAR_T 1
48688 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
48689 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
48690 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
48691 echo "${ECHO_T}$enable_wchar_t" >&6
48693 cat >>confdefs.h <<\_ACEOF
48694 #define HAVE_LC_MESSAGES 1
48697 cat >>confdefs.h <<\_ACEOF
48698 #define HAVE_GETPAGESIZE 1
48701 cat >>confdefs.h <<\_ACEOF
48702 #define HAVE_SETENV 1
48705 cat >>confdefs.h <<\_ACEOF
48706 #define HAVE_SIGSETJMP 1
48709 cat >>confdefs.h <<\_ACEOF
48710 #define HAVE_COPYSIGN 1
48713 cat >>confdefs.h <<\_ACEOF
48714 #define HAVE_COPYSIGNF 1
48717 cat >>confdefs.h <<\_ACEOF
48718 #define HAVE_FINITEF 1
48721 cat >>confdefs.h <<\_ACEOF
48722 #define HAVE_FINITE 1
48725 cat >>confdefs.h <<\_ACEOF
48726 #define HAVE_FREXPF 1
48729 cat >>confdefs.h <<\_ACEOF
48730 #define HAVE_HYPOT 1
48733 cat >>confdefs.h <<\_ACEOF
48734 #define HAVE_HYPOTF 1
48737 cat >>confdefs.h <<\_ACEOF
48738 #define HAVE_ISINF 1
48741 cat >>confdefs.h <<\_ACEOF
48742 #define HAVE_ISNAN 1
48745 cat >>confdefs.h <<\_ACEOF
48746 #define HAVE_ISNANF 1
48750 cat >>confdefs.h <<\_ACEOF
48751 #define HAVE_MMAP 1
48754 cat >>confdefs.h <<\_ACEOF
48755 #define HAVE_ACOSF 1
48758 cat >>confdefs.h <<\_ACEOF
48759 #define HAVE_ASINF 1
48762 cat >>confdefs.h <<\_ACEOF
48763 #define HAVE_ATAN2F 1
48766 cat >>confdefs.h <<\_ACEOF
48767 #define HAVE_ATANF 1
48770 cat >>confdefs.h <<\_ACEOF
48771 #define HAVE_CEILF 1
48774 cat >>confdefs.h <<\_ACEOF
48775 #define HAVE_COPYSIGN 1
48778 cat >>confdefs.h <<\_ACEOF
48779 #define HAVE_COPYSIGNF 1
48782 cat >>confdefs.h <<\_ACEOF
48783 #define HAVE_COSF 1
48786 cat >>confdefs.h <<\_ACEOF
48787 #define HAVE_COSHF 1
48790 cat >>confdefs.h <<\_ACEOF
48791 #define HAVE_EXPF 1
48794 cat >>confdefs.h <<\_ACEOF
48795 #define HAVE_FABSF 1
48798 cat >>confdefs.h <<\_ACEOF
48799 #define HAVE_FLOORF 1
48802 cat >>confdefs.h <<\_ACEOF
48803 #define HAVE_FMODF 1
48806 cat >>confdefs.h <<\_ACEOF
48807 #define HAVE_FREXPF 1
48810 cat >>confdefs.h <<\_ACEOF
48811 #define HAVE_LDEXPF 1
48814 cat >>confdefs.h <<\_ACEOF
48815 #define HAVE_LOG10F 1
48818 cat >>confdefs.h <<\_ACEOF
48819 #define HAVE_LOGF 1
48822 cat >>confdefs.h <<\_ACEOF
48823 #define HAVE_MODFF 1
48826 cat >>confdefs.h <<\_ACEOF
48827 #define HAVE_POWF 1
48830 cat >>confdefs.h <<\_ACEOF
48831 #define HAVE_SINF 1
48834 cat >>confdefs.h <<\_ACEOF
48835 #define HAVE_SINHF 1
48838 cat >>confdefs.h <<\_ACEOF
48839 #define HAVE_SQRTF 1
48842 cat >>confdefs.h <<\_ACEOF
48843 #define HAVE_TANF 1
48846 cat >>confdefs.h <<\_ACEOF
48847 #define HAVE_TANHF 1
48850 if test x"long_double_math_on_this_cpu" = x"yes"; then
48851 cat >>confdefs.h <<\_ACEOF
48852 #define HAVE_FINITEL 1
48855 cat >>confdefs.h <<\_ACEOF
48856 #define HAVE_ISINFL 1
48859 cat >>confdefs.h <<\_ACEOF
48860 #define HAVE_ISNANL 1
48878 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
48879 machine/endian.h machine/param.h sys/machine.h sys/types.h \
48880 fp.h locale.h float.h inttypes.h
48882 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
48883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48884 echo "$as_me:$LINENO: checking for $ac_header" >&5
48885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
48886 if eval "test \"\${$as_ac_Header+set}\" = set"; then
48887 echo $ECHO_N "(cached) $ECHO_C" >&6
48889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
48890 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
48892 # Is the header compilable?
48893 echo "$as_me:$LINENO: checking $ac_header usability" >&5
48894 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
48895 cat >conftest.$ac_ext <<_ACEOF
48896 #line $LINENO "configure"
48899 cat confdefs.h >>conftest.$ac_ext
48900 cat >>conftest.$ac_ext <<_ACEOF
48901 /* end confdefs.h. */
48902 $ac_includes_default
48903 #include <$ac_header>
48905 rm -f conftest.$ac_objext
48906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48907 (eval $ac_compile) 2>&5
48909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48910 (exit $ac_status); } &&
48911 { ac_try='test -s conftest.$ac_objext'
48912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48913 (eval $ac_try) 2>&5
48915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48916 (exit $ac_status); }; }; then
48917 ac_header_compiler=yes
48919 echo "$as_me: failed program was:" >&5
48920 sed 's/^/| /' conftest.$ac_ext >&5
48922 ac_header_compiler=no
48924 rm -f conftest.$ac_objext conftest.$ac_ext
48925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
48926 echo "${ECHO_T}$ac_header_compiler" >&6
48928 # Is the header present?
48929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
48930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
48931 cat >conftest.$ac_ext <<_ACEOF
48932 #line $LINENO "configure"
48935 cat confdefs.h >>conftest.$ac_ext
48936 cat >>conftest.$ac_ext <<_ACEOF
48937 /* end confdefs.h. */
48938 #include <$ac_header>
48940 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
48941 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
48943 grep -v '^ *+' conftest.er1 >conftest.err
48945 cat conftest.err >&5
48946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48947 (exit $ac_status); } >/dev/null; then
48948 if test -s conftest.err; then
48949 ac_cpp_err=$ac_c_preproc_warn_flag
48956 if test -z "$ac_cpp_err"; then
48957 ac_header_preproc=yes
48959 echo "$as_me: failed program was:" >&5
48960 sed 's/^/| /' conftest.$ac_ext >&5
48962 ac_header_preproc=no
48964 rm -f conftest.err conftest.$ac_ext
48965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
48966 echo "${ECHO_T}$ac_header_preproc" >&6
48968 # So? What about this header?
48969 case $ac_header_compiler:$ac_header_preproc in
48971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
48972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
48973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48974 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48977 ## ------------------------------------ ##
48978 ## Report this to bug-autoconf@gnu.org. ##
48979 ## ------------------------------------ ##
48982 sed "s/^/$as_me: WARNING: /" >&2
48985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
48986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
48987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
48988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
48989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
48990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
48993 ## ------------------------------------ ##
48994 ## Report this to bug-autoconf@gnu.org. ##
48995 ## ------------------------------------ ##
48998 sed "s/^/$as_me: WARNING: /" >&2
49001 echo "$as_me:$LINENO: checking for $ac_header" >&5
49002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49004 echo $ECHO_N "(cached) $ECHO_C" >&6
49006 eval "$as_ac_Header=$ac_header_preproc"
49008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49013 cat >>confdefs.h <<_ACEOF
49014 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49021 SECTION_FLAGS='-ffunction-sections -fdata-sections'
49024 # If we're not using GNU ld, then there's no point in even trying these
49025 # tests. Check for that first. We should have already tested for gld
49026 # by now (in libtool), but require it now just to be safe...
49027 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
49028 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
49032 # The name set by libtool depends on the version of libtool. Shame on us
49033 # for depending on an impl detail, but c'est la vie. Older versions used
49034 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
49035 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
49036 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
49037 # set (hence we're using an older libtool), then set it.
49038 if test x${with_gnu_ld+set} != xset; then
49039 if test x${ac_cv_prog_gnu_ld+set} != xset; then
49040 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
49043 with_gnu_ld=$ac_cv_prog_gnu_ld
49047 # Start by getting the version number. I think the libtool test already
49048 # does some of this, but throws away the result.
49050 ldver=`$LD --version 2>/dev/null | head -1 | \
49051 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
49053 glibcxx_gnu_ld_version=`echo $ldver | \
49054 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
49056 # Set --gc-sections.
49057 if test "$with_gnu_ld" = "notbroken"; then
49058 # GNU ld it is! Joy and bunny rabbits!
49060 # All these tests are for C++; save the language and the compiler flags.
49061 # Need to do this so that g++ won't try to link in libstdc++
49062 ac_test_CFLAGS="${CFLAGS+set}"
49063 ac_save_CFLAGS="$CFLAGS"
49064 CFLAGS='-x c++ -Wl,--gc-sections'
49066 # Check for -Wl,--gc-sections
49067 # XXX This test is broken at the moment, as symbols required for linking
49068 # are now in libsupc++ (not built yet). In addition, this test has
49069 # cored on solaris in the past. In addition, --gc-sections doesn't
49070 # really work at the moment (keeps on discarding used sections, first
49071 # .eh_frame and now some of the glibc sections for iconv).
49072 # Bzzzzt. Thanks for playing, maybe next time.
49073 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
49074 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
49075 if test "$cross_compiling" = yes; then
49076 ac_sectionLDflags=yes
49078 cat >conftest.$ac_ext <<_ACEOF
49079 #line $LINENO "configure"
49082 cat confdefs.h >>conftest.$ac_ext
49083 cat >>conftest.$ac_ext <<_ACEOF
49084 /* end confdefs.h. */
49094 rm -f conftest$ac_exeext
49095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49096 (eval $ac_link) 2>&5
49098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
49100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49101 (eval $ac_try) 2>&5
49103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104 (exit $ac_status); }; }; then
49105 ac_sectionLDflags=yes
49107 echo "$as_me: program exited with status $ac_status" >&5
49108 echo "$as_me: failed program was:" >&5
49109 sed 's/^/| /' conftest.$ac_ext >&5
49111 ( exit $ac_status )
49112 ac_sectionLDflags=no
49114 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49116 if test "$ac_test_CFLAGS" = set; then
49117 CFLAGS="$ac_save_CFLAGS"
49119 # this is the suspicious part
49122 if test "$ac_sectionLDflags" = "yes"; then
49123 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
49125 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
49126 echo "${ECHO_T}$ac_sectionLDflags" >&6
49129 # Set linker optimization flags.
49130 if test x"$with_gnu_ld" = x"yes"; then
49131 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
49139 echo "$as_me:$LINENO: checking for main in -lm" >&5
49140 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
49141 if test "${ac_cv_lib_m_main+set}" = set; then
49142 echo $ECHO_N "(cached) $ECHO_C" >&6
49144 ac_check_lib_save_LIBS=$LIBS
49146 if test x$gcc_no_link = xyes; then
49147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49149 { (exit 1); exit 1; }; }
49151 cat >conftest.$ac_ext <<_ACEOF
49152 #line $LINENO "configure"
49155 cat confdefs.h >>conftest.$ac_ext
49156 cat >>conftest.$ac_ext <<_ACEOF
49157 /* end confdefs.h. */
49168 rm -f conftest.$ac_objext conftest$ac_exeext
49169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49170 (eval $ac_link) 2>&5
49172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49173 (exit $ac_status); } &&
49174 { ac_try='test -s conftest$ac_exeext'
49175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49176 (eval $ac_try) 2>&5
49178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49179 (exit $ac_status); }; }; then
49180 ac_cv_lib_m_main=yes
49182 echo "$as_me: failed program was:" >&5
49183 sed 's/^/| /' conftest.$ac_ext >&5
49185 ac_cv_lib_m_main=no
49187 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49188 LIBS=$ac_check_lib_save_LIBS
49190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
49191 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
49192 if test $ac_cv_lib_m_main = yes; then
49193 cat >>confdefs.h <<_ACEOF
49194 #define HAVE_LIBM 1
49202 for ac_func in copysignf
49204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49205 echo "$as_me:$LINENO: checking for $ac_func" >&5
49206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49207 if eval "test \"\${$as_ac_var+set}\" = set"; then
49208 echo $ECHO_N "(cached) $ECHO_C" >&6
49210 if test x$gcc_no_link = xyes; then
49211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49213 { (exit 1); exit 1; }; }
49215 cat >conftest.$ac_ext <<_ACEOF
49216 #line $LINENO "configure"
49219 cat confdefs.h >>conftest.$ac_ext
49220 cat >>conftest.$ac_ext <<_ACEOF
49221 /* end confdefs.h. */
49222 /* System header to define __stub macros and hopefully few prototypes,
49223 which can conflict with char $ac_func (); below.
49224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49225 <limits.h> exists even on freestanding compilers. */
49227 # include <limits.h>
49229 # include <assert.h>
49231 /* Override any gcc2 internal prototype to avoid an error. */
49236 /* We use char because int might match the return type of a gcc2
49237 builtin and then its argument prototype would still apply. */
49239 /* The GNU C library defines this for functions which it implements
49240 to always fail with ENOSYS. Some functions are actually named
49241 something starting with __ and the normal name is an alias. */
49242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49245 char (*f) () = $ac_func;
49254 return f != $ac_func;
49259 rm -f conftest.$ac_objext conftest$ac_exeext
49260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49261 (eval $ac_link) 2>&5
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); } &&
49265 { ac_try='test -s conftest$ac_exeext'
49266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49267 (eval $ac_try) 2>&5
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); }; }; then
49271 eval "$as_ac_var=yes"
49273 echo "$as_me: failed program was:" >&5
49274 sed 's/^/| /' conftest.$ac_ext >&5
49276 eval "$as_ac_var=no"
49278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49282 if test `eval echo '${'$as_ac_var'}'` = yes; then
49283 cat >>confdefs.h <<_ACEOF
49284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49288 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
49294 for ac_func in __signbit
49296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49297 echo "$as_me:$LINENO: checking for $ac_func" >&5
49298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49299 if eval "test \"\${$as_ac_var+set}\" = set"; then
49300 echo $ECHO_N "(cached) $ECHO_C" >&6
49302 if test x$gcc_no_link = xyes; then
49303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49305 { (exit 1); exit 1; }; }
49307 cat >conftest.$ac_ext <<_ACEOF
49308 #line $LINENO "configure"
49311 cat confdefs.h >>conftest.$ac_ext
49312 cat >>conftest.$ac_ext <<_ACEOF
49313 /* end confdefs.h. */
49314 /* System header to define __stub macros and hopefully few prototypes,
49315 which can conflict with char $ac_func (); below.
49316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49317 <limits.h> exists even on freestanding compilers. */
49319 # include <limits.h>
49321 # include <assert.h>
49323 /* Override any gcc2 internal prototype to avoid an error. */
49328 /* We use char because int might match the return type of a gcc2
49329 builtin and then its argument prototype would still apply. */
49331 /* The GNU C library defines this for functions which it implements
49332 to always fail with ENOSYS. Some functions are actually named
49333 something starting with __ and the normal name is an alias. */
49334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49337 char (*f) () = $ac_func;
49346 return f != $ac_func;
49351 rm -f conftest.$ac_objext conftest$ac_exeext
49352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49353 (eval $ac_link) 2>&5
49355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49356 (exit $ac_status); } &&
49357 { ac_try='test -s conftest$ac_exeext'
49358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49359 (eval $ac_try) 2>&5
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); }; }; then
49363 eval "$as_ac_var=yes"
49365 echo "$as_me: failed program was:" >&5
49366 sed 's/^/| /' conftest.$ac_ext >&5
49368 eval "$as_ac_var=no"
49370 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49374 if test `eval echo '${'$as_ac_var'}'` = yes; then
49375 cat >>confdefs.h <<_ACEOF
49376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49380 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
49385 for ac_func in __signbitf
49387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49388 echo "$as_me:$LINENO: checking for $ac_func" >&5
49389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49390 if eval "test \"\${$as_ac_var+set}\" = set"; then
49391 echo $ECHO_N "(cached) $ECHO_C" >&6
49393 if test x$gcc_no_link = xyes; then
49394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49396 { (exit 1); exit 1; }; }
49398 cat >conftest.$ac_ext <<_ACEOF
49399 #line $LINENO "configure"
49402 cat confdefs.h >>conftest.$ac_ext
49403 cat >>conftest.$ac_ext <<_ACEOF
49404 /* end confdefs.h. */
49405 /* System header to define __stub macros and hopefully few prototypes,
49406 which can conflict with char $ac_func (); below.
49407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49408 <limits.h> exists even on freestanding compilers. */
49410 # include <limits.h>
49412 # include <assert.h>
49414 /* Override any gcc2 internal prototype to avoid an error. */
49419 /* We use char because int might match the return type of a gcc2
49420 builtin and then its argument prototype would still apply. */
49422 /* The GNU C library defines this for functions which it implements
49423 to always fail with ENOSYS. Some functions are actually named
49424 something starting with __ and the normal name is an alias. */
49425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49428 char (*f) () = $ac_func;
49437 return f != $ac_func;
49442 rm -f conftest.$ac_objext conftest$ac_exeext
49443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49444 (eval $ac_link) 2>&5
49446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49447 (exit $ac_status); } &&
49448 { ac_try='test -s conftest$ac_exeext'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; }; then
49454 eval "$as_ac_var=yes"
49456 echo "$as_me: failed program was:" >&5
49457 sed 's/^/| /' conftest.$ac_ext >&5
49459 eval "$as_ac_var=no"
49461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49465 if test `eval echo '${'$as_ac_var'}'` = yes; then
49466 cat >>confdefs.h <<_ACEOF
49467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49471 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
49476 if test x$ac_cv_func_copysignl = x"yes"; then
49478 for ac_func in __signbitl
49480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49481 echo "$as_me:$LINENO: checking for $ac_func" >&5
49482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49483 if eval "test \"\${$as_ac_var+set}\" = set"; then
49484 echo $ECHO_N "(cached) $ECHO_C" >&6
49486 if test x$gcc_no_link = xyes; then
49487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49489 { (exit 1); exit 1; }; }
49491 cat >conftest.$ac_ext <<_ACEOF
49492 #line $LINENO "configure"
49495 cat confdefs.h >>conftest.$ac_ext
49496 cat >>conftest.$ac_ext <<_ACEOF
49497 /* end confdefs.h. */
49498 /* System header to define __stub macros and hopefully few prototypes,
49499 which can conflict with char $ac_func (); below.
49500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49501 <limits.h> exists even on freestanding compilers. */
49503 # include <limits.h>
49505 # include <assert.h>
49507 /* Override any gcc2 internal prototype to avoid an error. */
49512 /* We use char because int might match the return type of a gcc2
49513 builtin and then its argument prototype would still apply. */
49515 /* The GNU C library defines this for functions which it implements
49516 to always fail with ENOSYS. Some functions are actually named
49517 something starting with __ and the normal name is an alias. */
49518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49521 char (*f) () = $ac_func;
49530 return f != $ac_func;
49535 rm -f conftest.$ac_objext conftest$ac_exeext
49536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49537 (eval $ac_link) 2>&5
49539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49540 (exit $ac_status); } &&
49541 { ac_try='test -s conftest$ac_exeext'
49542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49543 (eval $ac_try) 2>&5
49545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49546 (exit $ac_status); }; }; then
49547 eval "$as_ac_var=yes"
49549 echo "$as_me: failed program was:" >&5
49550 sed 's/^/| /' conftest.$ac_ext >&5
49552 eval "$as_ac_var=no"
49554 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49557 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49558 if test `eval echo '${'$as_ac_var'}'` = yes; then
49559 cat >>confdefs.h <<_ACEOF
49560 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49564 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
49570 # XXX Review this. Nothing uses it.
49571 if test -n "$LIBMATHOBJS"; then
49577 # Test wchar.h for mbstate_t, which is needed for char_traits and
49578 # others even if wchar_t support is not on.
49579 echo "$as_me:$LINENO: checking for mbstate_t" >&5
49580 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
49581 cat >conftest.$ac_ext <<_ACEOF
49582 #line $LINENO "configure"
49585 cat confdefs.h >>conftest.$ac_ext
49586 cat >>conftest.$ac_ext <<_ACEOF
49587 /* end confdefs.h. */
49592 mbstate_t teststate;
49597 rm -f conftest.$ac_objext
49598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49599 (eval $ac_compile) 2>&5
49601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49602 (exit $ac_status); } &&
49603 { ac_try='test -s conftest.$ac_objext'
49604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49605 (eval $ac_try) 2>&5
49607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49608 (exit $ac_status); }; }; then
49611 echo "$as_me: failed program was:" >&5
49612 sed 's/^/| /' conftest.$ac_ext >&5
49616 rm -f conftest.$ac_objext conftest.$ac_ext
49617 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
49618 echo "${ECHO_T}$have_mbstate_t" >&6
49619 if test x"$have_mbstate_t" = xyes; then
49620 cat >>confdefs.h <<\_ACEOF
49621 #define HAVE_MBSTATE_T 1
49626 # Sanity check for existence of ISO C99 headers for extended encoding.
49628 for ac_header in wchar.h
49630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49632 echo "$as_me:$LINENO: checking for $ac_header" >&5
49633 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49634 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49635 echo $ECHO_N "(cached) $ECHO_C" >&6
49637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49640 # Is the header compilable?
49641 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49642 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49643 cat >conftest.$ac_ext <<_ACEOF
49644 #line $LINENO "configure"
49647 cat confdefs.h >>conftest.$ac_ext
49648 cat >>conftest.$ac_ext <<_ACEOF
49649 /* end confdefs.h. */
49650 $ac_includes_default
49651 #include <$ac_header>
49653 rm -f conftest.$ac_objext
49654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49655 (eval $ac_compile) 2>&5
49657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49658 (exit $ac_status); } &&
49659 { ac_try='test -s conftest.$ac_objext'
49660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49661 (eval $ac_try) 2>&5
49663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49664 (exit $ac_status); }; }; then
49665 ac_header_compiler=yes
49667 echo "$as_me: failed program was:" >&5
49668 sed 's/^/| /' conftest.$ac_ext >&5
49670 ac_header_compiler=no
49672 rm -f conftest.$ac_objext conftest.$ac_ext
49673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49674 echo "${ECHO_T}$ac_header_compiler" >&6
49676 # Is the header present?
49677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49678 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49679 cat >conftest.$ac_ext <<_ACEOF
49680 #line $LINENO "configure"
49683 cat confdefs.h >>conftest.$ac_ext
49684 cat >>conftest.$ac_ext <<_ACEOF
49685 /* end confdefs.h. */
49686 #include <$ac_header>
49688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49691 grep -v '^ *+' conftest.er1 >conftest.err
49693 cat conftest.err >&5
49694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49695 (exit $ac_status); } >/dev/null; then
49696 if test -s conftest.err; then
49697 ac_cpp_err=$ac_c_preproc_warn_flag
49704 if test -z "$ac_cpp_err"; then
49705 ac_header_preproc=yes
49707 echo "$as_me: failed program was:" >&5
49708 sed 's/^/| /' conftest.$ac_ext >&5
49710 ac_header_preproc=no
49712 rm -f conftest.err conftest.$ac_ext
49713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49714 echo "${ECHO_T}$ac_header_preproc" >&6
49716 # So? What about this header?
49717 case $ac_header_compiler:$ac_header_preproc in
49719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49722 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49725 ## ------------------------------------ ##
49726 ## Report this to bug-autoconf@gnu.org. ##
49727 ## ------------------------------------ ##
49730 sed "s/^/$as_me: WARNING: /" >&2
49733 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49734 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49735 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49736 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49741 ## ------------------------------------ ##
49742 ## Report this to bug-autoconf@gnu.org. ##
49743 ## ------------------------------------ ##
49746 sed "s/^/$as_me: WARNING: /" >&2
49749 echo "$as_me:$LINENO: checking for $ac_header" >&5
49750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49752 echo $ECHO_N "(cached) $ECHO_C" >&6
49754 eval "$as_ac_Header=$ac_header_preproc"
49756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49761 cat >>confdefs.h <<_ACEOF
49762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49772 for ac_header in wctype.h
49774 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49775 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49776 echo "$as_me:$LINENO: checking for $ac_header" >&5
49777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49779 echo $ECHO_N "(cached) $ECHO_C" >&6
49781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49784 # Is the header compilable?
49785 echo "$as_me:$LINENO: checking $ac_header usability" >&5
49786 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
49787 cat >conftest.$ac_ext <<_ACEOF
49788 #line $LINENO "configure"
49791 cat confdefs.h >>conftest.$ac_ext
49792 cat >>conftest.$ac_ext <<_ACEOF
49793 /* end confdefs.h. */
49794 $ac_includes_default
49795 #include <$ac_header>
49797 rm -f conftest.$ac_objext
49798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49799 (eval $ac_compile) 2>&5
49801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49802 (exit $ac_status); } &&
49803 { ac_try='test -s conftest.$ac_objext'
49804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49805 (eval $ac_try) 2>&5
49807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49808 (exit $ac_status); }; }; then
49809 ac_header_compiler=yes
49811 echo "$as_me: failed program was:" >&5
49812 sed 's/^/| /' conftest.$ac_ext >&5
49814 ac_header_compiler=no
49816 rm -f conftest.$ac_objext conftest.$ac_ext
49817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
49818 echo "${ECHO_T}$ac_header_compiler" >&6
49820 # Is the header present?
49821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
49822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
49823 cat >conftest.$ac_ext <<_ACEOF
49824 #line $LINENO "configure"
49827 cat confdefs.h >>conftest.$ac_ext
49828 cat >>conftest.$ac_ext <<_ACEOF
49829 /* end confdefs.h. */
49830 #include <$ac_header>
49832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
49833 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
49835 grep -v '^ *+' conftest.er1 >conftest.err
49837 cat conftest.err >&5
49838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49839 (exit $ac_status); } >/dev/null; then
49840 if test -s conftest.err; then
49841 ac_cpp_err=$ac_c_preproc_warn_flag
49848 if test -z "$ac_cpp_err"; then
49849 ac_header_preproc=yes
49851 echo "$as_me: failed program was:" >&5
49852 sed 's/^/| /' conftest.$ac_ext >&5
49854 ac_header_preproc=no
49856 rm -f conftest.err conftest.$ac_ext
49857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
49858 echo "${ECHO_T}$ac_header_preproc" >&6
49860 # So? What about this header?
49861 case $ac_header_compiler:$ac_header_preproc in
49863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
49864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
49865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49869 ## ------------------------------------ ##
49870 ## Report this to bug-autoconf@gnu.org. ##
49871 ## ------------------------------------ ##
49874 sed "s/^/$as_me: WARNING: /" >&2
49877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
49878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
49879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
49880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
49881 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
49882 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
49885 ## ------------------------------------ ##
49886 ## Report this to bug-autoconf@gnu.org. ##
49887 ## ------------------------------------ ##
49890 sed "s/^/$as_me: WARNING: /" >&2
49893 echo "$as_me:$LINENO: checking for $ac_header" >&5
49894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
49895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
49896 echo $ECHO_N "(cached) $ECHO_C" >&6
49898 eval "$as_ac_Header=$ac_header_preproc"
49900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
49901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
49904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49905 cat >>confdefs.h <<_ACEOF
49906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49908 ac_has_wctype_h=yes
49916 # Only continue checking if the ISO C99 headers exist and support is on.
49917 if test x"$ac_has_wchar_h" = xyes &&
49918 test x"$ac_has_wctype_h" = xyes &&
49919 test x"$enable_c_mbchar" != xno; then
49921 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
49922 # numeric_limits can instantiate type_traits<wchar_t>
49923 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
49924 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
49925 cat >conftest.$ac_ext <<_ACEOF
49926 #line $LINENO "configure"
49929 cat confdefs.h >>conftest.$ac_ext
49930 cat >>conftest.$ac_ext <<_ACEOF
49931 /* end confdefs.h. */
49936 int i = WCHAR_MIN; int j = WCHAR_MAX;
49941 rm -f conftest.$ac_objext
49942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49943 (eval $ac_compile) 2>&5
49945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49946 (exit $ac_status); } &&
49947 { ac_try='test -s conftest.$ac_objext'
49948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49949 (eval $ac_try) 2>&5
49951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49952 (exit $ac_status); }; }; then
49953 has_wchar_minmax=yes
49955 echo "$as_me: failed program was:" >&5
49956 sed 's/^/| /' conftest.$ac_ext >&5
49958 has_wchar_minmax=no
49960 rm -f conftest.$ac_objext conftest.$ac_ext
49961 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
49962 echo "${ECHO_T}$has_wchar_minmax" >&6
49964 # Test wchar.h for WEOF, which is what we use to determine whether
49965 # to specialize for char_traits<wchar_t> or not.
49966 echo "$as_me:$LINENO: checking for WEOF" >&5
49967 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
49968 cat >conftest.$ac_ext <<_ACEOF
49969 #line $LINENO "configure"
49972 cat confdefs.h >>conftest.$ac_ext
49973 cat >>conftest.$ac_ext <<_ACEOF
49974 /* end confdefs.h. */
49977 #include <stddef.h>
49986 rm -f conftest.$ac_objext
49987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49988 (eval $ac_compile) 2>&5
49990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49991 (exit $ac_status); } &&
49992 { ac_try='test -s conftest.$ac_objext'
49993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49994 (eval $ac_try) 2>&5
49996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49997 (exit $ac_status); }; }; then
50000 echo "$as_me: failed program was:" >&5
50001 sed 's/^/| /' conftest.$ac_ext >&5
50005 rm -f conftest.$ac_objext conftest.$ac_ext
50006 echo "$as_me:$LINENO: result: $has_weof" >&5
50007 echo "${ECHO_T}$has_weof" >&6
50009 # Tests for wide character functions used in char_traits<wchar_t>.
50017 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
50019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50020 echo "$as_me:$LINENO: checking for $ac_func" >&5
50021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50022 if eval "test \"\${$as_ac_var+set}\" = set"; then
50023 echo $ECHO_N "(cached) $ECHO_C" >&6
50025 if test x$gcc_no_link = xyes; then
50026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50028 { (exit 1); exit 1; }; }
50030 cat >conftest.$ac_ext <<_ACEOF
50031 #line $LINENO "configure"
50034 cat confdefs.h >>conftest.$ac_ext
50035 cat >>conftest.$ac_ext <<_ACEOF
50036 /* end confdefs.h. */
50037 /* System header to define __stub macros and hopefully few prototypes,
50038 which can conflict with char $ac_func (); below.
50039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50040 <limits.h> exists even on freestanding compilers. */
50042 # include <limits.h>
50044 # include <assert.h>
50046 /* Override any gcc2 internal prototype to avoid an error. */
50051 /* We use char because int might match the return type of a gcc2
50052 builtin and then its argument prototype would still apply. */
50054 /* The GNU C library defines this for functions which it implements
50055 to always fail with ENOSYS. Some functions are actually named
50056 something starting with __ and the normal name is an alias. */
50057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50060 char (*f) () = $ac_func;
50069 return f != $ac_func;
50074 rm -f conftest.$ac_objext conftest$ac_exeext
50075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50076 (eval $ac_link) 2>&5
50078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50079 (exit $ac_status); } &&
50080 { ac_try='test -s conftest$ac_exeext'
50081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50082 (eval $ac_try) 2>&5
50084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50085 (exit $ac_status); }; }; then
50086 eval "$as_ac_var=yes"
50088 echo "$as_me: failed program was:" >&5
50089 sed 's/^/| /' conftest.$ac_ext >&5
50091 eval "$as_ac_var=no"
50093 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50097 if test `eval echo '${'$as_ac_var'}'` = yes; then
50098 cat >>confdefs.h <<_ACEOF
50099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50108 # Checks for names injected into std:: by the c_std headers.
50155 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
50156 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
50157 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
50158 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
50159 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
50160 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
50162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50163 echo "$as_me:$LINENO: checking for $ac_func" >&5
50164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50165 if eval "test \"\${$as_ac_var+set}\" = set"; then
50166 echo $ECHO_N "(cached) $ECHO_C" >&6
50168 if test x$gcc_no_link = xyes; then
50169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50171 { (exit 1); exit 1; }; }
50173 cat >conftest.$ac_ext <<_ACEOF
50174 #line $LINENO "configure"
50177 cat confdefs.h >>conftest.$ac_ext
50178 cat >>conftest.$ac_ext <<_ACEOF
50179 /* end confdefs.h. */
50180 /* System header to define __stub macros and hopefully few prototypes,
50181 which can conflict with char $ac_func (); below.
50182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50183 <limits.h> exists even on freestanding compilers. */
50185 # include <limits.h>
50187 # include <assert.h>
50189 /* Override any gcc2 internal prototype to avoid an error. */
50194 /* We use char because int might match the return type of a gcc2
50195 builtin and then its argument prototype would still apply. */
50197 /* The GNU C library defines this for functions which it implements
50198 to always fail with ENOSYS. Some functions are actually named
50199 something starting with __ and the normal name is an alias. */
50200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50203 char (*f) () = $ac_func;
50212 return f != $ac_func;
50217 rm -f conftest.$ac_objext conftest$ac_exeext
50218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50219 (eval $ac_link) 2>&5
50221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50222 (exit $ac_status); } &&
50223 { ac_try='test -s conftest$ac_exeext'
50224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50225 (eval $ac_try) 2>&5
50227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50228 (exit $ac_status); }; }; then
50229 eval "$as_ac_var=yes"
50231 echo "$as_me: failed program was:" >&5
50232 sed 's/^/| /' conftest.$ac_ext >&5
50234 eval "$as_ac_var=no"
50236 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50240 if test `eval echo '${'$as_ac_var'}'` = yes; then
50241 cat >>confdefs.h <<_ACEOF
50242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50251 # Checks for wide character functions that are not required
50252 # for basic wchar_t support. Don't disable support if they are missing.
50253 # Injection of these is wrapped with guard macros.
50259 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
50261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50262 echo "$as_me:$LINENO: checking for $ac_func" >&5
50263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50264 if eval "test \"\${$as_ac_var+set}\" = set"; then
50265 echo $ECHO_N "(cached) $ECHO_C" >&6
50267 if test x$gcc_no_link = xyes; then
50268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50270 { (exit 1); exit 1; }; }
50272 cat >conftest.$ac_ext <<_ACEOF
50273 #line $LINENO "configure"
50276 cat confdefs.h >>conftest.$ac_ext
50277 cat >>conftest.$ac_ext <<_ACEOF
50278 /* end confdefs.h. */
50279 /* System header to define __stub macros and hopefully few prototypes,
50280 which can conflict with char $ac_func (); below.
50281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50282 <limits.h> exists even on freestanding compilers. */
50284 # include <limits.h>
50286 # include <assert.h>
50288 /* Override any gcc2 internal prototype to avoid an error. */
50293 /* We use char because int might match the return type of a gcc2
50294 builtin and then its argument prototype would still apply. */
50296 /* The GNU C library defines this for functions which it implements
50297 to always fail with ENOSYS. Some functions are actually named
50298 something starting with __ and the normal name is an alias. */
50299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50302 char (*f) () = $ac_func;
50311 return f != $ac_func;
50316 rm -f conftest.$ac_objext conftest$ac_exeext
50317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50318 (eval $ac_link) 2>&5
50320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50321 (exit $ac_status); } &&
50322 { ac_try='test -s conftest$ac_exeext'
50323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50324 (eval $ac_try) 2>&5
50326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50327 (exit $ac_status); }; }; then
50328 eval "$as_ac_var=yes"
50330 echo "$as_me: failed program was:" >&5
50331 sed 's/^/| /' conftest.$ac_ext >&5
50333 eval "$as_ac_var=no"
50335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50339 if test `eval echo '${'$as_ac_var'}'` = yes; then
50340 cat >>confdefs.h <<_ACEOF
50341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50348 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
50349 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
50350 if test x"$has_weof" = xyes &&
50351 test x"$has_wchar_minmax" = xyes &&
50352 test x"$ac_wfuncs" = xyes;
50354 ac_isoC99_wchar_t=yes
50356 ac_isoC99_wchar_t=no
50358 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
50359 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
50361 # Use iconv for wchar_t to char conversions. As such, check for
50362 # X/Open Portability Guide, version 2 features (XPG2).
50363 if test "${ac_cv_header_iconv_h+set}" = set; then
50364 echo "$as_me:$LINENO: checking for iconv.h" >&5
50365 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50366 if test "${ac_cv_header_iconv_h+set}" = set; then
50367 echo $ECHO_N "(cached) $ECHO_C" >&6
50369 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50370 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50372 # Is the header compilable?
50373 echo "$as_me:$LINENO: checking iconv.h usability" >&5
50374 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
50375 cat >conftest.$ac_ext <<_ACEOF
50376 #line $LINENO "configure"
50379 cat confdefs.h >>conftest.$ac_ext
50380 cat >>conftest.$ac_ext <<_ACEOF
50381 /* end confdefs.h. */
50382 $ac_includes_default
50385 rm -f conftest.$ac_objext
50386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50387 (eval $ac_compile) 2>&5
50389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50390 (exit $ac_status); } &&
50391 { ac_try='test -s conftest.$ac_objext'
50392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50393 (eval $ac_try) 2>&5
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); }; }; then
50397 ac_header_compiler=yes
50399 echo "$as_me: failed program was:" >&5
50400 sed 's/^/| /' conftest.$ac_ext >&5
50402 ac_header_compiler=no
50404 rm -f conftest.$ac_objext conftest.$ac_ext
50405 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50406 echo "${ECHO_T}$ac_header_compiler" >&6
50408 # Is the header present?
50409 echo "$as_me:$LINENO: checking iconv.h presence" >&5
50410 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
50411 cat >conftest.$ac_ext <<_ACEOF
50412 #line $LINENO "configure"
50415 cat confdefs.h >>conftest.$ac_ext
50416 cat >>conftest.$ac_ext <<_ACEOF
50417 /* end confdefs.h. */
50420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50423 grep -v '^ *+' conftest.er1 >conftest.err
50425 cat conftest.err >&5
50426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50427 (exit $ac_status); } >/dev/null; then
50428 if test -s conftest.err; then
50429 ac_cpp_err=$ac_c_preproc_warn_flag
50436 if test -z "$ac_cpp_err"; then
50437 ac_header_preproc=yes
50439 echo "$as_me: failed program was:" >&5
50440 sed 's/^/| /' conftest.$ac_ext >&5
50442 ac_header_preproc=no
50444 rm -f conftest.err conftest.$ac_ext
50445 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50446 echo "${ECHO_T}$ac_header_preproc" >&6
50448 # So? What about this header?
50449 case $ac_header_compiler:$ac_header_preproc in
50451 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
50452 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50453 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50454 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50457 ## ------------------------------------ ##
50458 ## Report this to bug-autoconf@gnu.org. ##
50459 ## ------------------------------------ ##
50462 sed "s/^/$as_me: WARNING: /" >&2
50465 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
50466 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
50467 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
50468 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
50469 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
50470 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
50473 ## ------------------------------------ ##
50474 ## Report this to bug-autoconf@gnu.org. ##
50475 ## ------------------------------------ ##
50478 sed "s/^/$as_me: WARNING: /" >&2
50481 echo "$as_me:$LINENO: checking for iconv.h" >&5
50482 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
50483 if test "${ac_cv_header_iconv_h+set}" = set; then
50484 echo $ECHO_N "(cached) $ECHO_C" >&6
50486 ac_cv_header_iconv_h=$ac_header_preproc
50488 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
50489 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
50492 if test $ac_cv_header_iconv_h = yes; then
50499 if test "${ac_cv_header_langinfo_h+set}" = set; then
50500 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50501 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50502 if test "${ac_cv_header_langinfo_h+set}" = set; then
50503 echo $ECHO_N "(cached) $ECHO_C" >&6
50505 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50506 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50508 # Is the header compilable?
50509 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
50510 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
50511 cat >conftest.$ac_ext <<_ACEOF
50512 #line $LINENO "configure"
50515 cat confdefs.h >>conftest.$ac_ext
50516 cat >>conftest.$ac_ext <<_ACEOF
50517 /* end confdefs.h. */
50518 $ac_includes_default
50519 #include <langinfo.h>
50521 rm -f conftest.$ac_objext
50522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50523 (eval $ac_compile) 2>&5
50525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50526 (exit $ac_status); } &&
50527 { ac_try='test -s conftest.$ac_objext'
50528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50529 (eval $ac_try) 2>&5
50531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50532 (exit $ac_status); }; }; then
50533 ac_header_compiler=yes
50535 echo "$as_me: failed program was:" >&5
50536 sed 's/^/| /' conftest.$ac_ext >&5
50538 ac_header_compiler=no
50540 rm -f conftest.$ac_objext conftest.$ac_ext
50541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50542 echo "${ECHO_T}$ac_header_compiler" >&6
50544 # Is the header present?
50545 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
50546 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
50547 cat >conftest.$ac_ext <<_ACEOF
50548 #line $LINENO "configure"
50551 cat confdefs.h >>conftest.$ac_ext
50552 cat >>conftest.$ac_ext <<_ACEOF
50553 /* end confdefs.h. */
50554 #include <langinfo.h>
50556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50559 grep -v '^ *+' conftest.er1 >conftest.err
50561 cat conftest.err >&5
50562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50563 (exit $ac_status); } >/dev/null; then
50564 if test -s conftest.err; then
50565 ac_cpp_err=$ac_c_preproc_warn_flag
50572 if test -z "$ac_cpp_err"; then
50573 ac_header_preproc=yes
50575 echo "$as_me: failed program was:" >&5
50576 sed 's/^/| /' conftest.$ac_ext >&5
50578 ac_header_preproc=no
50580 rm -f conftest.err conftest.$ac_ext
50581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50582 echo "${ECHO_T}$ac_header_preproc" >&6
50584 # So? What about this header?
50585 case $ac_header_compiler:$ac_header_preproc in
50587 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
50588 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
50589 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50590 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50593 ## ------------------------------------ ##
50594 ## Report this to bug-autoconf@gnu.org. ##
50595 ## ------------------------------------ ##
50598 sed "s/^/$as_me: WARNING: /" >&2
50601 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
50602 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
50603 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
50604 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
50605 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
50606 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
50609 ## ------------------------------------ ##
50610 ## Report this to bug-autoconf@gnu.org. ##
50611 ## ------------------------------------ ##
50614 sed "s/^/$as_me: WARNING: /" >&2
50617 echo "$as_me:$LINENO: checking for langinfo.h" >&5
50618 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
50619 if test "${ac_cv_header_langinfo_h+set}" = set; then
50620 echo $ECHO_N "(cached) $ECHO_C" >&6
50622 ac_cv_header_langinfo_h=$ac_header_preproc
50624 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
50625 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
50628 if test $ac_cv_header_langinfo_h = yes; then
50629 ac_has_langinfo_h=yes
50631 ac_has_langinfo_h=no
50636 # Check for existence of libiconv.a providing XPG2 wchar_t support.
50637 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
50638 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
50639 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
50640 echo $ECHO_N "(cached) $ECHO_C" >&6
50642 ac_check_lib_save_LIBS=$LIBS
50643 LIBS="-liconv $LIBS"
50644 if test x$gcc_no_link = xyes; then
50645 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50647 { (exit 1); exit 1; }; }
50649 cat >conftest.$ac_ext <<_ACEOF
50650 #line $LINENO "configure"
50653 cat confdefs.h >>conftest.$ac_ext
50654 cat >>conftest.$ac_ext <<_ACEOF
50655 /* end confdefs.h. */
50657 /* Override any gcc2 internal prototype to avoid an error. */
50661 /* We use char because int might match the return type of a gcc2
50662 builtin and then its argument prototype would still apply. */
50672 rm -f conftest.$ac_objext conftest$ac_exeext
50673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50674 (eval $ac_link) 2>&5
50676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50677 (exit $ac_status); } &&
50678 { ac_try='test -s conftest$ac_exeext'
50679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50680 (eval $ac_try) 2>&5
50682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50683 (exit $ac_status); }; }; then
50684 ac_cv_lib_iconv_iconv=yes
50686 echo "$as_me: failed program was:" >&5
50687 sed 's/^/| /' conftest.$ac_ext >&5
50689 ac_cv_lib_iconv_iconv=no
50691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50692 LIBS=$ac_check_lib_save_LIBS
50694 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
50695 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
50696 if test $ac_cv_lib_iconv_iconv = yes; then
50700 ac_save_LIBS="$LIBS"
50701 LIBS="$LIBS $libiconv"
50707 for ac_func in iconv_open iconv_close iconv nl_langinfo
50709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50710 echo "$as_me:$LINENO: checking for $ac_func" >&5
50711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50712 if eval "test \"\${$as_ac_var+set}\" = set"; then
50713 echo $ECHO_N "(cached) $ECHO_C" >&6
50715 if test x$gcc_no_link = xyes; then
50716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50718 { (exit 1); exit 1; }; }
50720 cat >conftest.$ac_ext <<_ACEOF
50721 #line $LINENO "configure"
50724 cat confdefs.h >>conftest.$ac_ext
50725 cat >>conftest.$ac_ext <<_ACEOF
50726 /* end confdefs.h. */
50727 /* System header to define __stub macros and hopefully few prototypes,
50728 which can conflict with char $ac_func (); below.
50729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50730 <limits.h> exists even on freestanding compilers. */
50732 # include <limits.h>
50734 # include <assert.h>
50736 /* Override any gcc2 internal prototype to avoid an error. */
50741 /* We use char because int might match the return type of a gcc2
50742 builtin and then its argument prototype would still apply. */
50744 /* The GNU C library defines this for functions which it implements
50745 to always fail with ENOSYS. Some functions are actually named
50746 something starting with __ and the normal name is an alias. */
50747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50750 char (*f) () = $ac_func;
50759 return f != $ac_func;
50764 rm -f conftest.$ac_objext conftest$ac_exeext
50765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50766 (eval $ac_link) 2>&5
50768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50769 (exit $ac_status); } &&
50770 { ac_try='test -s conftest$ac_exeext'
50771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50772 (eval $ac_try) 2>&5
50774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50775 (exit $ac_status); }; }; then
50776 eval "$as_ac_var=yes"
50778 echo "$as_me: failed program was:" >&5
50779 sed 's/^/| /' conftest.$ac_ext >&5
50781 eval "$as_ac_var=no"
50783 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50787 if test `eval echo '${'$as_ac_var'}'` = yes; then
50788 cat >>confdefs.h <<_ACEOF
50789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50798 LIBS="$ac_save_LIBS"
50800 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
50801 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
50802 if test x"$ac_has_iconv_h" = xyes &&
50803 test x"$ac_has_langinfo_h" = xyes &&
50804 test x"$ac_XPG2funcs" = xyes;
50806 ac_XPG2_wchar_t=yes
50810 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
50811 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
50813 # At the moment, only enable wchar_t specializations if all the
50814 # above support is present.
50815 if test x"$ac_isoC99_wchar_t" = xyes &&
50816 test x"$ac_XPG2_wchar_t" = xyes;
50818 cat >>confdefs.h <<\_ACEOF
50819 #define _GLIBCXX_USE_WCHAR_T 1
50825 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
50826 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
50827 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
50828 echo "${ECHO_T}$enable_wchar_t" >&6
50830 cat >>confdefs.h <<\_ACEOF
50831 #define HAVE_COPYSIGN 1
50834 cat >>confdefs.h <<\_ACEOF
50835 #define HAVE_COPYSIGNF 1
50838 cat >>confdefs.h <<\_ACEOF
50839 #define HAVE_FREXPF 1
50842 cat >>confdefs.h <<\_ACEOF
50843 #define HAVE_HYPOT 1
50848 cat >>confdefs.h <<\_ACEOF
50849 #define HAVE_FINITE 1
50852 cat >>confdefs.h <<\_ACEOF
50853 #define HAVE_FINITEF 1
50856 cat >>confdefs.h <<\_ACEOF
50857 #define HAVE_ISINF 1
50860 cat >>confdefs.h <<\_ACEOF
50861 #define HAVE_ISINFF 1
50864 cat >>confdefs.h <<\_ACEOF
50865 #define HAVE_ISNAN 1
50868 cat >>confdefs.h <<\_ACEOF
50869 #define HAVE_ISNANF 1
50875 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
50888 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
50889 machine/endian.h machine/param.h sys/machine.h sys/types.h \
50890 fp.h locale.h float.h inttypes.h
50892 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50894 echo "$as_me:$LINENO: checking for $ac_header" >&5
50895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50897 echo $ECHO_N "(cached) $ECHO_C" >&6
50899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50902 # Is the header compilable?
50903 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50905 cat >conftest.$ac_ext <<_ACEOF
50906 #line $LINENO "configure"
50909 cat confdefs.h >>conftest.$ac_ext
50910 cat >>conftest.$ac_ext <<_ACEOF
50911 /* end confdefs.h. */
50912 $ac_includes_default
50913 #include <$ac_header>
50915 rm -f conftest.$ac_objext
50916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50917 (eval $ac_compile) 2>&5
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); } &&
50921 { ac_try='test -s conftest.$ac_objext'
50922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50923 (eval $ac_try) 2>&5
50925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926 (exit $ac_status); }; }; then
50927 ac_header_compiler=yes
50929 echo "$as_me: failed program was:" >&5
50930 sed 's/^/| /' conftest.$ac_ext >&5
50932 ac_header_compiler=no
50934 rm -f conftest.$ac_objext conftest.$ac_ext
50935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50936 echo "${ECHO_T}$ac_header_compiler" >&6
50938 # Is the header present?
50939 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50941 cat >conftest.$ac_ext <<_ACEOF
50942 #line $LINENO "configure"
50945 cat confdefs.h >>conftest.$ac_ext
50946 cat >>conftest.$ac_ext <<_ACEOF
50947 /* end confdefs.h. */
50948 #include <$ac_header>
50950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50953 grep -v '^ *+' conftest.er1 >conftest.err
50955 cat conftest.err >&5
50956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957 (exit $ac_status); } >/dev/null; then
50958 if test -s conftest.err; then
50959 ac_cpp_err=$ac_c_preproc_warn_flag
50966 if test -z "$ac_cpp_err"; then
50967 ac_header_preproc=yes
50969 echo "$as_me: failed program was:" >&5
50970 sed 's/^/| /' conftest.$ac_ext >&5
50972 ac_header_preproc=no
50974 rm -f conftest.err conftest.$ac_ext
50975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50976 echo "${ECHO_T}$ac_header_preproc" >&6
50978 # So? What about this header?
50979 case $ac_header_compiler:$ac_header_preproc in
50981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50987 ## ------------------------------------ ##
50988 ## Report this to bug-autoconf@gnu.org. ##
50989 ## ------------------------------------ ##
50992 sed "s/^/$as_me: WARNING: /" >&2
50995 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50996 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50997 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50998 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50999 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51000 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51003 ## ------------------------------------ ##
51004 ## Report this to bug-autoconf@gnu.org. ##
51005 ## ------------------------------------ ##
51008 sed "s/^/$as_me: WARNING: /" >&2
51011 echo "$as_me:$LINENO: checking for $ac_header" >&5
51012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51014 echo $ECHO_N "(cached) $ECHO_C" >&6
51016 eval "$as_ac_Header=$ac_header_preproc"
51018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51023 cat >>confdefs.h <<_ACEOF
51024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51031 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51034 # If we're not using GNU ld, then there's no point in even trying these
51035 # tests. Check for that first. We should have already tested for gld
51036 # by now (in libtool), but require it now just to be safe...
51037 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51038 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51042 # The name set by libtool depends on the version of libtool. Shame on us
51043 # for depending on an impl detail, but c'est la vie. Older versions used
51044 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51045 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51046 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51047 # set (hence we're using an older libtool), then set it.
51048 if test x${with_gnu_ld+set} != xset; then
51049 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51050 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51053 with_gnu_ld=$ac_cv_prog_gnu_ld
51057 # Start by getting the version number. I think the libtool test already
51058 # does some of this, but throws away the result.
51060 ldver=`$LD --version 2>/dev/null | head -1 | \
51061 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
51063 glibcxx_gnu_ld_version=`echo $ldver | \
51064 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51066 # Set --gc-sections.
51067 if test "$with_gnu_ld" = "notbroken"; then
51068 # GNU ld it is! Joy and bunny rabbits!
51070 # All these tests are for C++; save the language and the compiler flags.
51071 # Need to do this so that g++ won't try to link in libstdc++
51072 ac_test_CFLAGS="${CFLAGS+set}"
51073 ac_save_CFLAGS="$CFLAGS"
51074 CFLAGS='-x c++ -Wl,--gc-sections'
51076 # Check for -Wl,--gc-sections
51077 # XXX This test is broken at the moment, as symbols required for linking
51078 # are now in libsupc++ (not built yet). In addition, this test has
51079 # cored on solaris in the past. In addition, --gc-sections doesn't
51080 # really work at the moment (keeps on discarding used sections, first
51081 # .eh_frame and now some of the glibc sections for iconv).
51082 # Bzzzzt. Thanks for playing, maybe next time.
51083 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
51084 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
51085 if test "$cross_compiling" = yes; then
51086 ac_sectionLDflags=yes
51088 cat >conftest.$ac_ext <<_ACEOF
51089 #line $LINENO "configure"
51092 cat confdefs.h >>conftest.$ac_ext
51093 cat >>conftest.$ac_ext <<_ACEOF
51094 /* end confdefs.h. */
51104 rm -f conftest$ac_exeext
51105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51106 (eval $ac_link) 2>&5
51108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
51110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51111 (eval $ac_try) 2>&5
51113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51114 (exit $ac_status); }; }; then
51115 ac_sectionLDflags=yes
51117 echo "$as_me: program exited with status $ac_status" >&5
51118 echo "$as_me: failed program was:" >&5
51119 sed 's/^/| /' conftest.$ac_ext >&5
51121 ( exit $ac_status )
51122 ac_sectionLDflags=no
51124 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
51126 if test "$ac_test_CFLAGS" = set; then
51127 CFLAGS="$ac_save_CFLAGS"
51129 # this is the suspicious part
51132 if test "$ac_sectionLDflags" = "yes"; then
51133 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51135 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
51136 echo "${ECHO_T}$ac_sectionLDflags" >&6
51139 # Set linker optimization flags.
51140 if test x"$with_gnu_ld" = x"yes"; then
51141 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51149 echo "$as_me:$LINENO: checking for main in -lm" >&5
51150 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
51151 if test "${ac_cv_lib_m_main+set}" = set; then
51152 echo $ECHO_N "(cached) $ECHO_C" >&6
51154 ac_check_lib_save_LIBS=$LIBS
51156 if test x$gcc_no_link = xyes; then
51157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51159 { (exit 1); exit 1; }; }
51161 cat >conftest.$ac_ext <<_ACEOF
51162 #line $LINENO "configure"
51165 cat confdefs.h >>conftest.$ac_ext
51166 cat >>conftest.$ac_ext <<_ACEOF
51167 /* end confdefs.h. */
51178 rm -f conftest.$ac_objext conftest$ac_exeext
51179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51180 (eval $ac_link) 2>&5
51182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183 (exit $ac_status); } &&
51184 { ac_try='test -s conftest$ac_exeext'
51185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51186 (eval $ac_try) 2>&5
51188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51189 (exit $ac_status); }; }; then
51190 ac_cv_lib_m_main=yes
51192 echo "$as_me: failed program was:" >&5
51193 sed 's/^/| /' conftest.$ac_ext >&5
51195 ac_cv_lib_m_main=no
51197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51198 LIBS=$ac_check_lib_save_LIBS
51200 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
51201 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
51202 if test $ac_cv_lib_m_main = yes; then
51203 cat >>confdefs.h <<_ACEOF
51204 #define HAVE_LIBM 1
51212 for ac_func in copysignf
51214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51215 echo "$as_me:$LINENO: checking for $ac_func" >&5
51216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51217 if eval "test \"\${$as_ac_var+set}\" = set"; then
51218 echo $ECHO_N "(cached) $ECHO_C" >&6
51220 if test x$gcc_no_link = xyes; then
51221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51223 { (exit 1); exit 1; }; }
51225 cat >conftest.$ac_ext <<_ACEOF
51226 #line $LINENO "configure"
51229 cat confdefs.h >>conftest.$ac_ext
51230 cat >>conftest.$ac_ext <<_ACEOF
51231 /* end confdefs.h. */
51232 /* System header to define __stub macros and hopefully few prototypes,
51233 which can conflict with char $ac_func (); below.
51234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51235 <limits.h> exists even on freestanding compilers. */
51237 # include <limits.h>
51239 # include <assert.h>
51241 /* Override any gcc2 internal prototype to avoid an error. */
51246 /* We use char because int might match the return type of a gcc2
51247 builtin and then its argument prototype would still apply. */
51249 /* The GNU C library defines this for functions which it implements
51250 to always fail with ENOSYS. Some functions are actually named
51251 something starting with __ and the normal name is an alias. */
51252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51255 char (*f) () = $ac_func;
51264 return f != $ac_func;
51269 rm -f conftest.$ac_objext conftest$ac_exeext
51270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51271 (eval $ac_link) 2>&5
51273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51274 (exit $ac_status); } &&
51275 { ac_try='test -s conftest$ac_exeext'
51276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51277 (eval $ac_try) 2>&5
51279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51280 (exit $ac_status); }; }; then
51281 eval "$as_ac_var=yes"
51283 echo "$as_me: failed program was:" >&5
51284 sed 's/^/| /' conftest.$ac_ext >&5
51286 eval "$as_ac_var=no"
51288 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51292 if test `eval echo '${'$as_ac_var'}'` = yes; then
51293 cat >>confdefs.h <<_ACEOF
51294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51298 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
51304 for ac_func in __signbit
51306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51307 echo "$as_me:$LINENO: checking for $ac_func" >&5
51308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51309 if eval "test \"\${$as_ac_var+set}\" = set"; then
51310 echo $ECHO_N "(cached) $ECHO_C" >&6
51312 if test x$gcc_no_link = xyes; then
51313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51315 { (exit 1); exit 1; }; }
51317 cat >conftest.$ac_ext <<_ACEOF
51318 #line $LINENO "configure"
51321 cat confdefs.h >>conftest.$ac_ext
51322 cat >>conftest.$ac_ext <<_ACEOF
51323 /* end confdefs.h. */
51324 /* System header to define __stub macros and hopefully few prototypes,
51325 which can conflict with char $ac_func (); below.
51326 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51327 <limits.h> exists even on freestanding compilers. */
51329 # include <limits.h>
51331 # include <assert.h>
51333 /* Override any gcc2 internal prototype to avoid an error. */
51338 /* We use char because int might match the return type of a gcc2
51339 builtin and then its argument prototype would still apply. */
51341 /* The GNU C library defines this for functions which it implements
51342 to always fail with ENOSYS. Some functions are actually named
51343 something starting with __ and the normal name is an alias. */
51344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51347 char (*f) () = $ac_func;
51356 return f != $ac_func;
51361 rm -f conftest.$ac_objext conftest$ac_exeext
51362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51363 (eval $ac_link) 2>&5
51365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51366 (exit $ac_status); } &&
51367 { ac_try='test -s conftest$ac_exeext'
51368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51369 (eval $ac_try) 2>&5
51371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51372 (exit $ac_status); }; }; then
51373 eval "$as_ac_var=yes"
51375 echo "$as_me: failed program was:" >&5
51376 sed 's/^/| /' conftest.$ac_ext >&5
51378 eval "$as_ac_var=no"
51380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51384 if test `eval echo '${'$as_ac_var'}'` = yes; then
51385 cat >>confdefs.h <<_ACEOF
51386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51390 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
51395 for ac_func in __signbitf
51397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51398 echo "$as_me:$LINENO: checking for $ac_func" >&5
51399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51400 if eval "test \"\${$as_ac_var+set}\" = set"; then
51401 echo $ECHO_N "(cached) $ECHO_C" >&6
51403 if test x$gcc_no_link = xyes; then
51404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51406 { (exit 1); exit 1; }; }
51408 cat >conftest.$ac_ext <<_ACEOF
51409 #line $LINENO "configure"
51412 cat confdefs.h >>conftest.$ac_ext
51413 cat >>conftest.$ac_ext <<_ACEOF
51414 /* end confdefs.h. */
51415 /* System header to define __stub macros and hopefully few prototypes,
51416 which can conflict with char $ac_func (); below.
51417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51418 <limits.h> exists even on freestanding compilers. */
51420 # include <limits.h>
51422 # include <assert.h>
51424 /* Override any gcc2 internal prototype to avoid an error. */
51429 /* We use char because int might match the return type of a gcc2
51430 builtin and then its argument prototype would still apply. */
51432 /* The GNU C library defines this for functions which it implements
51433 to always fail with ENOSYS. Some functions are actually named
51434 something starting with __ and the normal name is an alias. */
51435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51438 char (*f) () = $ac_func;
51447 return f != $ac_func;
51452 rm -f conftest.$ac_objext conftest$ac_exeext
51453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51454 (eval $ac_link) 2>&5
51456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51457 (exit $ac_status); } &&
51458 { ac_try='test -s conftest$ac_exeext'
51459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51460 (eval $ac_try) 2>&5
51462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51463 (exit $ac_status); }; }; then
51464 eval "$as_ac_var=yes"
51466 echo "$as_me: failed program was:" >&5
51467 sed 's/^/| /' conftest.$ac_ext >&5
51469 eval "$as_ac_var=no"
51471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51475 if test `eval echo '${'$as_ac_var'}'` = yes; then
51476 cat >>confdefs.h <<_ACEOF
51477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51481 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
51486 if test x$ac_cv_func_copysignl = x"yes"; then
51488 for ac_func in __signbitl
51490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51491 echo "$as_me:$LINENO: checking for $ac_func" >&5
51492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51493 if eval "test \"\${$as_ac_var+set}\" = set"; then
51494 echo $ECHO_N "(cached) $ECHO_C" >&6
51496 if test x$gcc_no_link = xyes; then
51497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51499 { (exit 1); exit 1; }; }
51501 cat >conftest.$ac_ext <<_ACEOF
51502 #line $LINENO "configure"
51505 cat confdefs.h >>conftest.$ac_ext
51506 cat >>conftest.$ac_ext <<_ACEOF
51507 /* end confdefs.h. */
51508 /* System header to define __stub macros and hopefully few prototypes,
51509 which can conflict with char $ac_func (); below.
51510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51511 <limits.h> exists even on freestanding compilers. */
51513 # include <limits.h>
51515 # include <assert.h>
51517 /* Override any gcc2 internal prototype to avoid an error. */
51522 /* We use char because int might match the return type of a gcc2
51523 builtin and then its argument prototype would still apply. */
51525 /* The GNU C library defines this for functions which it implements
51526 to always fail with ENOSYS. Some functions are actually named
51527 something starting with __ and the normal name is an alias. */
51528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51531 char (*f) () = $ac_func;
51540 return f != $ac_func;
51545 rm -f conftest.$ac_objext conftest$ac_exeext
51546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51547 (eval $ac_link) 2>&5
51549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51550 (exit $ac_status); } &&
51551 { ac_try='test -s conftest$ac_exeext'
51552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51553 (eval $ac_try) 2>&5
51555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51556 (exit $ac_status); }; }; then
51557 eval "$as_ac_var=yes"
51559 echo "$as_me: failed program was:" >&5
51560 sed 's/^/| /' conftest.$ac_ext >&5
51562 eval "$as_ac_var=no"
51564 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51568 if test `eval echo '${'$as_ac_var'}'` = yes; then
51569 cat >>confdefs.h <<_ACEOF
51570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51574 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
51580 # XXX Review this. Nothing uses it.
51581 if test -n "$LIBMATHOBJS"; then
51587 # Test wchar.h for mbstate_t, which is needed for char_traits and
51588 # others even if wchar_t support is not on.
51589 echo "$as_me:$LINENO: checking for mbstate_t" >&5
51590 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
51591 cat >conftest.$ac_ext <<_ACEOF
51592 #line $LINENO "configure"
51595 cat confdefs.h >>conftest.$ac_ext
51596 cat >>conftest.$ac_ext <<_ACEOF
51597 /* end confdefs.h. */
51602 mbstate_t teststate;
51607 rm -f conftest.$ac_objext
51608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51609 (eval $ac_compile) 2>&5
51611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51612 (exit $ac_status); } &&
51613 { ac_try='test -s conftest.$ac_objext'
51614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51615 (eval $ac_try) 2>&5
51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618 (exit $ac_status); }; }; then
51621 echo "$as_me: failed program was:" >&5
51622 sed 's/^/| /' conftest.$ac_ext >&5
51626 rm -f conftest.$ac_objext conftest.$ac_ext
51627 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
51628 echo "${ECHO_T}$have_mbstate_t" >&6
51629 if test x"$have_mbstate_t" = xyes; then
51630 cat >>confdefs.h <<\_ACEOF
51631 #define HAVE_MBSTATE_T 1
51636 # Sanity check for existence of ISO C99 headers for extended encoding.
51638 for ac_header in wchar.h
51640 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51642 echo "$as_me:$LINENO: checking for $ac_header" >&5
51643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51645 echo $ECHO_N "(cached) $ECHO_C" >&6
51647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51650 # Is the header compilable?
51651 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51652 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51653 cat >conftest.$ac_ext <<_ACEOF
51654 #line $LINENO "configure"
51657 cat confdefs.h >>conftest.$ac_ext
51658 cat >>conftest.$ac_ext <<_ACEOF
51659 /* end confdefs.h. */
51660 $ac_includes_default
51661 #include <$ac_header>
51663 rm -f conftest.$ac_objext
51664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51665 (eval $ac_compile) 2>&5
51667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51668 (exit $ac_status); } &&
51669 { ac_try='test -s conftest.$ac_objext'
51670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51671 (eval $ac_try) 2>&5
51673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51674 (exit $ac_status); }; }; then
51675 ac_header_compiler=yes
51677 echo "$as_me: failed program was:" >&5
51678 sed 's/^/| /' conftest.$ac_ext >&5
51680 ac_header_compiler=no
51682 rm -f conftest.$ac_objext conftest.$ac_ext
51683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51684 echo "${ECHO_T}$ac_header_compiler" >&6
51686 # Is the header present?
51687 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51688 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51689 cat >conftest.$ac_ext <<_ACEOF
51690 #line $LINENO "configure"
51693 cat confdefs.h >>conftest.$ac_ext
51694 cat >>conftest.$ac_ext <<_ACEOF
51695 /* end confdefs.h. */
51696 #include <$ac_header>
51698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51701 grep -v '^ *+' conftest.er1 >conftest.err
51703 cat conftest.err >&5
51704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51705 (exit $ac_status); } >/dev/null; then
51706 if test -s conftest.err; then
51707 ac_cpp_err=$ac_c_preproc_warn_flag
51714 if test -z "$ac_cpp_err"; then
51715 ac_header_preproc=yes
51717 echo "$as_me: failed program was:" >&5
51718 sed 's/^/| /' conftest.$ac_ext >&5
51720 ac_header_preproc=no
51722 rm -f conftest.err conftest.$ac_ext
51723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51724 echo "${ECHO_T}$ac_header_preproc" >&6
51726 # So? What about this header?
51727 case $ac_header_compiler:$ac_header_preproc in
51729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51732 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51735 ## ------------------------------------ ##
51736 ## Report this to bug-autoconf@gnu.org. ##
51737 ## ------------------------------------ ##
51740 sed "s/^/$as_me: WARNING: /" >&2
51743 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51744 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51745 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51746 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51751 ## ------------------------------------ ##
51752 ## Report this to bug-autoconf@gnu.org. ##
51753 ## ------------------------------------ ##
51756 sed "s/^/$as_me: WARNING: /" >&2
51759 echo "$as_me:$LINENO: checking for $ac_header" >&5
51760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51762 echo $ECHO_N "(cached) $ECHO_C" >&6
51764 eval "$as_ac_Header=$ac_header_preproc"
51766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51771 cat >>confdefs.h <<_ACEOF
51772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51782 for ac_header in wctype.h
51784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51786 echo "$as_me:$LINENO: checking for $ac_header" >&5
51787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51789 echo $ECHO_N "(cached) $ECHO_C" >&6
51791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51794 # Is the header compilable?
51795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51797 cat >conftest.$ac_ext <<_ACEOF
51798 #line $LINENO "configure"
51801 cat confdefs.h >>conftest.$ac_ext
51802 cat >>conftest.$ac_ext <<_ACEOF
51803 /* end confdefs.h. */
51804 $ac_includes_default
51805 #include <$ac_header>
51807 rm -f conftest.$ac_objext
51808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51809 (eval $ac_compile) 2>&5
51811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51812 (exit $ac_status); } &&
51813 { ac_try='test -s conftest.$ac_objext'
51814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51815 (eval $ac_try) 2>&5
51817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51818 (exit $ac_status); }; }; then
51819 ac_header_compiler=yes
51821 echo "$as_me: failed program was:" >&5
51822 sed 's/^/| /' conftest.$ac_ext >&5
51824 ac_header_compiler=no
51826 rm -f conftest.$ac_objext conftest.$ac_ext
51827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51828 echo "${ECHO_T}$ac_header_compiler" >&6
51830 # Is the header present?
51831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51833 cat >conftest.$ac_ext <<_ACEOF
51834 #line $LINENO "configure"
51837 cat confdefs.h >>conftest.$ac_ext
51838 cat >>conftest.$ac_ext <<_ACEOF
51839 /* end confdefs.h. */
51840 #include <$ac_header>
51842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51845 grep -v '^ *+' conftest.er1 >conftest.err
51847 cat conftest.err >&5
51848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51849 (exit $ac_status); } >/dev/null; then
51850 if test -s conftest.err; then
51851 ac_cpp_err=$ac_c_preproc_warn_flag
51858 if test -z "$ac_cpp_err"; then
51859 ac_header_preproc=yes
51861 echo "$as_me: failed program was:" >&5
51862 sed 's/^/| /' conftest.$ac_ext >&5
51864 ac_header_preproc=no
51866 rm -f conftest.err conftest.$ac_ext
51867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51868 echo "${ECHO_T}$ac_header_preproc" >&6
51870 # So? What about this header?
51871 case $ac_header_compiler:$ac_header_preproc in
51873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51879 ## ------------------------------------ ##
51880 ## Report this to bug-autoconf@gnu.org. ##
51881 ## ------------------------------------ ##
51884 sed "s/^/$as_me: WARNING: /" >&2
51887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51895 ## ------------------------------------ ##
51896 ## Report this to bug-autoconf@gnu.org. ##
51897 ## ------------------------------------ ##
51900 sed "s/^/$as_me: WARNING: /" >&2
51903 echo "$as_me:$LINENO: checking for $ac_header" >&5
51904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51906 echo $ECHO_N "(cached) $ECHO_C" >&6
51908 eval "$as_ac_Header=$ac_header_preproc"
51910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51915 cat >>confdefs.h <<_ACEOF
51916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51918 ac_has_wctype_h=yes
51926 # Only continue checking if the ISO C99 headers exist and support is on.
51927 if test x"$ac_has_wchar_h" = xyes &&
51928 test x"$ac_has_wctype_h" = xyes &&
51929 test x"$enable_c_mbchar" != xno; then
51931 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51932 # numeric_limits can instantiate type_traits<wchar_t>
51933 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51934 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51935 cat >conftest.$ac_ext <<_ACEOF
51936 #line $LINENO "configure"
51939 cat confdefs.h >>conftest.$ac_ext
51940 cat >>conftest.$ac_ext <<_ACEOF
51941 /* end confdefs.h. */
51946 int i = WCHAR_MIN; int j = WCHAR_MAX;
51951 rm -f conftest.$ac_objext
51952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51953 (eval $ac_compile) 2>&5
51955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51956 (exit $ac_status); } &&
51957 { ac_try='test -s conftest.$ac_objext'
51958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51959 (eval $ac_try) 2>&5
51961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51962 (exit $ac_status); }; }; then
51963 has_wchar_minmax=yes
51965 echo "$as_me: failed program was:" >&5
51966 sed 's/^/| /' conftest.$ac_ext >&5
51968 has_wchar_minmax=no
51970 rm -f conftest.$ac_objext conftest.$ac_ext
51971 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51972 echo "${ECHO_T}$has_wchar_minmax" >&6
51974 # Test wchar.h for WEOF, which is what we use to determine whether
51975 # to specialize for char_traits<wchar_t> or not.
51976 echo "$as_me:$LINENO: checking for WEOF" >&5
51977 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51978 cat >conftest.$ac_ext <<_ACEOF
51979 #line $LINENO "configure"
51982 cat confdefs.h >>conftest.$ac_ext
51983 cat >>conftest.$ac_ext <<_ACEOF
51984 /* end confdefs.h. */
51987 #include <stddef.h>
51996 rm -f conftest.$ac_objext
51997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51998 (eval $ac_compile) 2>&5
52000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52001 (exit $ac_status); } &&
52002 { ac_try='test -s conftest.$ac_objext'
52003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52004 (eval $ac_try) 2>&5
52006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52007 (exit $ac_status); }; }; then
52010 echo "$as_me: failed program was:" >&5
52011 sed 's/^/| /' conftest.$ac_ext >&5
52015 rm -f conftest.$ac_objext conftest.$ac_ext
52016 echo "$as_me:$LINENO: result: $has_weof" >&5
52017 echo "${ECHO_T}$has_weof" >&6
52019 # Tests for wide character functions used in char_traits<wchar_t>.
52027 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
52029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52030 echo "$as_me:$LINENO: checking for $ac_func" >&5
52031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52032 if eval "test \"\${$as_ac_var+set}\" = set"; then
52033 echo $ECHO_N "(cached) $ECHO_C" >&6
52035 if test x$gcc_no_link = xyes; then
52036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52038 { (exit 1); exit 1; }; }
52040 cat >conftest.$ac_ext <<_ACEOF
52041 #line $LINENO "configure"
52044 cat confdefs.h >>conftest.$ac_ext
52045 cat >>conftest.$ac_ext <<_ACEOF
52046 /* end confdefs.h. */
52047 /* System header to define __stub macros and hopefully few prototypes,
52048 which can conflict with char $ac_func (); below.
52049 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52050 <limits.h> exists even on freestanding compilers. */
52052 # include <limits.h>
52054 # include <assert.h>
52056 /* Override any gcc2 internal prototype to avoid an error. */
52061 /* We use char because int might match the return type of a gcc2
52062 builtin and then its argument prototype would still apply. */
52064 /* The GNU C library defines this for functions which it implements
52065 to always fail with ENOSYS. Some functions are actually named
52066 something starting with __ and the normal name is an alias. */
52067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52070 char (*f) () = $ac_func;
52079 return f != $ac_func;
52084 rm -f conftest.$ac_objext conftest$ac_exeext
52085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52086 (eval $ac_link) 2>&5
52088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52089 (exit $ac_status); } &&
52090 { ac_try='test -s conftest$ac_exeext'
52091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52092 (eval $ac_try) 2>&5
52094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52095 (exit $ac_status); }; }; then
52096 eval "$as_ac_var=yes"
52098 echo "$as_me: failed program was:" >&5
52099 sed 's/^/| /' conftest.$ac_ext >&5
52101 eval "$as_ac_var=no"
52103 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52107 if test `eval echo '${'$as_ac_var'}'` = yes; then
52108 cat >>confdefs.h <<_ACEOF
52109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52118 # Checks for names injected into std:: by the c_std headers.
52165 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
52166 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
52167 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
52168 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
52169 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
52170 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
52172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52173 echo "$as_me:$LINENO: checking for $ac_func" >&5
52174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52175 if eval "test \"\${$as_ac_var+set}\" = set"; then
52176 echo $ECHO_N "(cached) $ECHO_C" >&6
52178 if test x$gcc_no_link = xyes; then
52179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52181 { (exit 1); exit 1; }; }
52183 cat >conftest.$ac_ext <<_ACEOF
52184 #line $LINENO "configure"
52187 cat confdefs.h >>conftest.$ac_ext
52188 cat >>conftest.$ac_ext <<_ACEOF
52189 /* end confdefs.h. */
52190 /* System header to define __stub macros and hopefully few prototypes,
52191 which can conflict with char $ac_func (); below.
52192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52193 <limits.h> exists even on freestanding compilers. */
52195 # include <limits.h>
52197 # include <assert.h>
52199 /* Override any gcc2 internal prototype to avoid an error. */
52204 /* We use char because int might match the return type of a gcc2
52205 builtin and then its argument prototype would still apply. */
52207 /* The GNU C library defines this for functions which it implements
52208 to always fail with ENOSYS. Some functions are actually named
52209 something starting with __ and the normal name is an alias. */
52210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52213 char (*f) () = $ac_func;
52222 return f != $ac_func;
52227 rm -f conftest.$ac_objext conftest$ac_exeext
52228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52229 (eval $ac_link) 2>&5
52231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52232 (exit $ac_status); } &&
52233 { ac_try='test -s conftest$ac_exeext'
52234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52235 (eval $ac_try) 2>&5
52237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52238 (exit $ac_status); }; }; then
52239 eval "$as_ac_var=yes"
52241 echo "$as_me: failed program was:" >&5
52242 sed 's/^/| /' conftest.$ac_ext >&5
52244 eval "$as_ac_var=no"
52246 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52250 if test `eval echo '${'$as_ac_var'}'` = yes; then
52251 cat >>confdefs.h <<_ACEOF
52252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52261 # Checks for wide character functions that are not required
52262 # for basic wchar_t support. Don't disable support if they are missing.
52263 # Injection of these is wrapped with guard macros.
52269 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
52271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52272 echo "$as_me:$LINENO: checking for $ac_func" >&5
52273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52274 if eval "test \"\${$as_ac_var+set}\" = set"; then
52275 echo $ECHO_N "(cached) $ECHO_C" >&6
52277 if test x$gcc_no_link = xyes; then
52278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52280 { (exit 1); exit 1; }; }
52282 cat >conftest.$ac_ext <<_ACEOF
52283 #line $LINENO "configure"
52286 cat confdefs.h >>conftest.$ac_ext
52287 cat >>conftest.$ac_ext <<_ACEOF
52288 /* end confdefs.h. */
52289 /* System header to define __stub macros and hopefully few prototypes,
52290 which can conflict with char $ac_func (); below.
52291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52292 <limits.h> exists even on freestanding compilers. */
52294 # include <limits.h>
52296 # include <assert.h>
52298 /* Override any gcc2 internal prototype to avoid an error. */
52303 /* We use char because int might match the return type of a gcc2
52304 builtin and then its argument prototype would still apply. */
52306 /* The GNU C library defines this for functions which it implements
52307 to always fail with ENOSYS. Some functions are actually named
52308 something starting with __ and the normal name is an alias. */
52309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52312 char (*f) () = $ac_func;
52321 return f != $ac_func;
52326 rm -f conftest.$ac_objext conftest$ac_exeext
52327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52328 (eval $ac_link) 2>&5
52330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52331 (exit $ac_status); } &&
52332 { ac_try='test -s conftest$ac_exeext'
52333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52334 (eval $ac_try) 2>&5
52336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52337 (exit $ac_status); }; }; then
52338 eval "$as_ac_var=yes"
52340 echo "$as_me: failed program was:" >&5
52341 sed 's/^/| /' conftest.$ac_ext >&5
52343 eval "$as_ac_var=no"
52345 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52349 if test `eval echo '${'$as_ac_var'}'` = yes; then
52350 cat >>confdefs.h <<_ACEOF
52351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52358 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
52359 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
52360 if test x"$has_weof" = xyes &&
52361 test x"$has_wchar_minmax" = xyes &&
52362 test x"$ac_wfuncs" = xyes;
52364 ac_isoC99_wchar_t=yes
52366 ac_isoC99_wchar_t=no
52368 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
52369 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
52371 # Use iconv for wchar_t to char conversions. As such, check for
52372 # X/Open Portability Guide, version 2 features (XPG2).
52373 if test "${ac_cv_header_iconv_h+set}" = set; then
52374 echo "$as_me:$LINENO: checking for iconv.h" >&5
52375 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52376 if test "${ac_cv_header_iconv_h+set}" = set; then
52377 echo $ECHO_N "(cached) $ECHO_C" >&6
52379 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52380 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52382 # Is the header compilable?
52383 echo "$as_me:$LINENO: checking iconv.h usability" >&5
52384 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
52385 cat >conftest.$ac_ext <<_ACEOF
52386 #line $LINENO "configure"
52389 cat confdefs.h >>conftest.$ac_ext
52390 cat >>conftest.$ac_ext <<_ACEOF
52391 /* end confdefs.h. */
52392 $ac_includes_default
52395 rm -f conftest.$ac_objext
52396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52397 (eval $ac_compile) 2>&5
52399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52400 (exit $ac_status); } &&
52401 { ac_try='test -s conftest.$ac_objext'
52402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52403 (eval $ac_try) 2>&5
52405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52406 (exit $ac_status); }; }; then
52407 ac_header_compiler=yes
52409 echo "$as_me: failed program was:" >&5
52410 sed 's/^/| /' conftest.$ac_ext >&5
52412 ac_header_compiler=no
52414 rm -f conftest.$ac_objext conftest.$ac_ext
52415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52416 echo "${ECHO_T}$ac_header_compiler" >&6
52418 # Is the header present?
52419 echo "$as_me:$LINENO: checking iconv.h presence" >&5
52420 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
52421 cat >conftest.$ac_ext <<_ACEOF
52422 #line $LINENO "configure"
52425 cat confdefs.h >>conftest.$ac_ext
52426 cat >>conftest.$ac_ext <<_ACEOF
52427 /* end confdefs.h. */
52430 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52431 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52433 grep -v '^ *+' conftest.er1 >conftest.err
52435 cat conftest.err >&5
52436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52437 (exit $ac_status); } >/dev/null; then
52438 if test -s conftest.err; then
52439 ac_cpp_err=$ac_c_preproc_warn_flag
52446 if test -z "$ac_cpp_err"; then
52447 ac_header_preproc=yes
52449 echo "$as_me: failed program was:" >&5
52450 sed 's/^/| /' conftest.$ac_ext >&5
52452 ac_header_preproc=no
52454 rm -f conftest.err conftest.$ac_ext
52455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52456 echo "${ECHO_T}$ac_header_preproc" >&6
52458 # So? What about this header?
52459 case $ac_header_compiler:$ac_header_preproc in
52461 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
52462 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52463 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52464 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52467 ## ------------------------------------ ##
52468 ## Report this to bug-autoconf@gnu.org. ##
52469 ## ------------------------------------ ##
52472 sed "s/^/$as_me: WARNING: /" >&2
52475 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
52476 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
52477 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
52478 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
52479 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
52480 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
52483 ## ------------------------------------ ##
52484 ## Report this to bug-autoconf@gnu.org. ##
52485 ## ------------------------------------ ##
52488 sed "s/^/$as_me: WARNING: /" >&2
52491 echo "$as_me:$LINENO: checking for iconv.h" >&5
52492 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
52493 if test "${ac_cv_header_iconv_h+set}" = set; then
52494 echo $ECHO_N "(cached) $ECHO_C" >&6
52496 ac_cv_header_iconv_h=$ac_header_preproc
52498 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
52499 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
52502 if test $ac_cv_header_iconv_h = yes; then
52509 if test "${ac_cv_header_langinfo_h+set}" = set; then
52510 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52511 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52512 if test "${ac_cv_header_langinfo_h+set}" = set; then
52513 echo $ECHO_N "(cached) $ECHO_C" >&6
52515 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52516 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52518 # Is the header compilable?
52519 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
52520 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
52521 cat >conftest.$ac_ext <<_ACEOF
52522 #line $LINENO "configure"
52525 cat confdefs.h >>conftest.$ac_ext
52526 cat >>conftest.$ac_ext <<_ACEOF
52527 /* end confdefs.h. */
52528 $ac_includes_default
52529 #include <langinfo.h>
52531 rm -f conftest.$ac_objext
52532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52533 (eval $ac_compile) 2>&5
52535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52536 (exit $ac_status); } &&
52537 { ac_try='test -s conftest.$ac_objext'
52538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52539 (eval $ac_try) 2>&5
52541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52542 (exit $ac_status); }; }; then
52543 ac_header_compiler=yes
52545 echo "$as_me: failed program was:" >&5
52546 sed 's/^/| /' conftest.$ac_ext >&5
52548 ac_header_compiler=no
52550 rm -f conftest.$ac_objext conftest.$ac_ext
52551 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52552 echo "${ECHO_T}$ac_header_compiler" >&6
52554 # Is the header present?
52555 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
52556 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
52557 cat >conftest.$ac_ext <<_ACEOF
52558 #line $LINENO "configure"
52561 cat confdefs.h >>conftest.$ac_ext
52562 cat >>conftest.$ac_ext <<_ACEOF
52563 /* end confdefs.h. */
52564 #include <langinfo.h>
52566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52569 grep -v '^ *+' conftest.er1 >conftest.err
52571 cat conftest.err >&5
52572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52573 (exit $ac_status); } >/dev/null; then
52574 if test -s conftest.err; then
52575 ac_cpp_err=$ac_c_preproc_warn_flag
52582 if test -z "$ac_cpp_err"; then
52583 ac_header_preproc=yes
52585 echo "$as_me: failed program was:" >&5
52586 sed 's/^/| /' conftest.$ac_ext >&5
52588 ac_header_preproc=no
52590 rm -f conftest.err conftest.$ac_ext
52591 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52592 echo "${ECHO_T}$ac_header_preproc" >&6
52594 # So? What about this header?
52595 case $ac_header_compiler:$ac_header_preproc in
52597 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
52598 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
52599 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52600 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52603 ## ------------------------------------ ##
52604 ## Report this to bug-autoconf@gnu.org. ##
52605 ## ------------------------------------ ##
52608 sed "s/^/$as_me: WARNING: /" >&2
52611 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
52612 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
52613 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
52614 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
52615 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52616 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52619 ## ------------------------------------ ##
52620 ## Report this to bug-autoconf@gnu.org. ##
52621 ## ------------------------------------ ##
52624 sed "s/^/$as_me: WARNING: /" >&2
52627 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52628 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52629 if test "${ac_cv_header_langinfo_h+set}" = set; then
52630 echo $ECHO_N "(cached) $ECHO_C" >&6
52632 ac_cv_header_langinfo_h=$ac_header_preproc
52634 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52635 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52638 if test $ac_cv_header_langinfo_h = yes; then
52639 ac_has_langinfo_h=yes
52641 ac_has_langinfo_h=no
52646 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52647 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52648 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52649 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52650 echo $ECHO_N "(cached) $ECHO_C" >&6
52652 ac_check_lib_save_LIBS=$LIBS
52653 LIBS="-liconv $LIBS"
52654 if test x$gcc_no_link = xyes; then
52655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52657 { (exit 1); exit 1; }; }
52659 cat >conftest.$ac_ext <<_ACEOF
52660 #line $LINENO "configure"
52663 cat confdefs.h >>conftest.$ac_ext
52664 cat >>conftest.$ac_ext <<_ACEOF
52665 /* end confdefs.h. */
52667 /* Override any gcc2 internal prototype to avoid an error. */
52671 /* We use char because int might match the return type of a gcc2
52672 builtin and then its argument prototype would still apply. */
52682 rm -f conftest.$ac_objext conftest$ac_exeext
52683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52684 (eval $ac_link) 2>&5
52686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52687 (exit $ac_status); } &&
52688 { ac_try='test -s conftest$ac_exeext'
52689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52690 (eval $ac_try) 2>&5
52692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52693 (exit $ac_status); }; }; then
52694 ac_cv_lib_iconv_iconv=yes
52696 echo "$as_me: failed program was:" >&5
52697 sed 's/^/| /' conftest.$ac_ext >&5
52699 ac_cv_lib_iconv_iconv=no
52701 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52702 LIBS=$ac_check_lib_save_LIBS
52704 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52705 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52706 if test $ac_cv_lib_iconv_iconv = yes; then
52710 ac_save_LIBS="$LIBS"
52711 LIBS="$LIBS $libiconv"
52717 for ac_func in iconv_open iconv_close iconv nl_langinfo
52719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52720 echo "$as_me:$LINENO: checking for $ac_func" >&5
52721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52722 if eval "test \"\${$as_ac_var+set}\" = set"; then
52723 echo $ECHO_N "(cached) $ECHO_C" >&6
52725 if test x$gcc_no_link = xyes; then
52726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52728 { (exit 1); exit 1; }; }
52730 cat >conftest.$ac_ext <<_ACEOF
52731 #line $LINENO "configure"
52734 cat confdefs.h >>conftest.$ac_ext
52735 cat >>conftest.$ac_ext <<_ACEOF
52736 /* end confdefs.h. */
52737 /* System header to define __stub macros and hopefully few prototypes,
52738 which can conflict with char $ac_func (); below.
52739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52740 <limits.h> exists even on freestanding compilers. */
52742 # include <limits.h>
52744 # include <assert.h>
52746 /* Override any gcc2 internal prototype to avoid an error. */
52751 /* We use char because int might match the return type of a gcc2
52752 builtin and then its argument prototype would still apply. */
52754 /* The GNU C library defines this for functions which it implements
52755 to always fail with ENOSYS. Some functions are actually named
52756 something starting with __ and the normal name is an alias. */
52757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52760 char (*f) () = $ac_func;
52769 return f != $ac_func;
52774 rm -f conftest.$ac_objext conftest$ac_exeext
52775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52776 (eval $ac_link) 2>&5
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); } &&
52780 { ac_try='test -s conftest$ac_exeext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 eval "$as_ac_var=yes"
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52791 eval "$as_ac_var=no"
52793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
52795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52797 if test `eval echo '${'$as_ac_var'}'` = yes; then
52798 cat >>confdefs.h <<_ACEOF
52799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52808 LIBS="$ac_save_LIBS"
52810 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52811 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52812 if test x"$ac_has_iconv_h" = xyes &&
52813 test x"$ac_has_langinfo_h" = xyes &&
52814 test x"$ac_XPG2funcs" = xyes;
52816 ac_XPG2_wchar_t=yes
52820 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52821 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52823 # At the moment, only enable wchar_t specializations if all the
52824 # above support is present.
52825 if test x"$ac_isoC99_wchar_t" = xyes &&
52826 test x"$ac_XPG2_wchar_t" = xyes;
52828 cat >>confdefs.h <<\_ACEOF
52829 #define _GLIBCXX_USE_WCHAR_T 1
52835 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52836 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52837 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52838 echo "${ECHO_T}$enable_wchar_t" >&6
52842 cat >>confdefs.h <<\_ACEOF
52843 #define HAVE_INT64_T 1
52846 cat >>confdefs.h <<\_ACEOF
52847 #define _GLIBCXX_USE_LFS 1
52851 # For showmanyc_helper().
52854 for ac_header in sys/ioctl.h sys/filio.h
52856 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52858 echo "$as_me:$LINENO: checking for $ac_header" >&5
52859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52861 echo $ECHO_N "(cached) $ECHO_C" >&6
52863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52864 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52866 # Is the header compilable?
52867 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52869 cat >conftest.$ac_ext <<_ACEOF
52870 #line $LINENO "configure"
52873 cat confdefs.h >>conftest.$ac_ext
52874 cat >>conftest.$ac_ext <<_ACEOF
52875 /* end confdefs.h. */
52876 $ac_includes_default
52877 #include <$ac_header>
52879 rm -f conftest.$ac_objext
52880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52881 (eval $ac_compile) 2>&5
52883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52884 (exit $ac_status); } &&
52885 { ac_try='test -s conftest.$ac_objext'
52886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52887 (eval $ac_try) 2>&5
52889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52890 (exit $ac_status); }; }; then
52891 ac_header_compiler=yes
52893 echo "$as_me: failed program was:" >&5
52894 sed 's/^/| /' conftest.$ac_ext >&5
52896 ac_header_compiler=no
52898 rm -f conftest.$ac_objext conftest.$ac_ext
52899 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52900 echo "${ECHO_T}$ac_header_compiler" >&6
52902 # Is the header present?
52903 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52905 cat >conftest.$ac_ext <<_ACEOF
52906 #line $LINENO "configure"
52909 cat confdefs.h >>conftest.$ac_ext
52910 cat >>conftest.$ac_ext <<_ACEOF
52911 /* end confdefs.h. */
52912 #include <$ac_header>
52914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52917 grep -v '^ *+' conftest.er1 >conftest.err
52919 cat conftest.err >&5
52920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52921 (exit $ac_status); } >/dev/null; then
52922 if test -s conftest.err; then
52923 ac_cpp_err=$ac_c_preproc_warn_flag
52930 if test -z "$ac_cpp_err"; then
52931 ac_header_preproc=yes
52933 echo "$as_me: failed program was:" >&5
52934 sed 's/^/| /' conftest.$ac_ext >&5
52936 ac_header_preproc=no
52938 rm -f conftest.err conftest.$ac_ext
52939 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52940 echo "${ECHO_T}$ac_header_preproc" >&6
52942 # So? What about this header?
52943 case $ac_header_compiler:$ac_header_preproc in
52945 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52946 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52951 ## ------------------------------------ ##
52952 ## Report this to bug-autoconf@gnu.org. ##
52953 ## ------------------------------------ ##
52956 sed "s/^/$as_me: WARNING: /" >&2
52959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52967 ## ------------------------------------ ##
52968 ## Report this to bug-autoconf@gnu.org. ##
52969 ## ------------------------------------ ##
52972 sed "s/^/$as_me: WARNING: /" >&2
52975 echo "$as_me:$LINENO: checking for $ac_header" >&5
52976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52978 echo $ECHO_N "(cached) $ECHO_C" >&6
52980 eval "$as_ac_Header=$ac_header_preproc"
52982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52987 cat >>confdefs.h <<_ACEOF
52988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52996 if test "${glibcxx_cv_POLL+set}" = set; then
52997 echo $ECHO_N "(cached) $ECHO_C" >&6
53000 if test x$gcc_no_link = xyes; then
53001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53003 { (exit 1); exit 1; }; }
53005 cat >conftest.$ac_ext <<_ACEOF
53006 #line $LINENO "configure"
53009 cat confdefs.h >>conftest.$ac_ext
53010 cat >>conftest.$ac_ext <<_ACEOF
53011 /* end confdefs.h. */
53016 struct pollfd pfd[1];
53017 pfd[0].events = POLLIN;
53023 rm -f conftest.$ac_objext conftest$ac_exeext
53024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53025 (eval $ac_link) 2>&5
53027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53028 (exit $ac_status); } &&
53029 { ac_try='test -s conftest$ac_exeext'
53030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53031 (eval $ac_try) 2>&5
53033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53034 (exit $ac_status); }; }; then
53035 glibcxx_cv_POLL=yes
53037 echo "$as_me: failed program was:" >&5
53038 sed 's/^/| /' conftest.$ac_ext >&5
53042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53046 if test $glibcxx_cv_POLL = yes; then
53047 cat >>confdefs.h <<\_ACEOF
53048 #define HAVE_POLL 1
53054 if test "${glibcxx_cv_S_ISREG+set}" = set; then
53055 echo $ECHO_N "(cached) $ECHO_C" >&6
53058 if test x$gcc_no_link = xyes; then
53059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53061 { (exit 1); exit 1; }; }
53063 cat >conftest.$ac_ext <<_ACEOF
53064 #line $LINENO "configure"
53067 cat confdefs.h >>conftest.$ac_ext
53068 cat >>conftest.$ac_ext <<_ACEOF
53069 /* end confdefs.h. */
53070 #include <sys/stat.h>
53074 struct stat buffer;
53076 S_ISREG(buffer.st_mode);
53081 rm -f conftest.$ac_objext conftest$ac_exeext
53082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53083 (eval $ac_link) 2>&5
53085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53086 (exit $ac_status); } &&
53087 { ac_try='test -s conftest$ac_exeext'
53088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53089 (eval $ac_try) 2>&5
53091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53092 (exit $ac_status); }; }; then
53093 glibcxx_cv_S_ISREG=yes
53095 echo "$as_me: failed program was:" >&5
53096 sed 's/^/| /' conftest.$ac_ext >&5
53098 glibcxx_cv_S_ISREG=no
53100 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53104 if test "${glibcxx_cv_S_IFREG+set}" = set; then
53105 echo $ECHO_N "(cached) $ECHO_C" >&6
53108 if test x$gcc_no_link = xyes; then
53109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53111 { (exit 1); exit 1; }; }
53113 cat >conftest.$ac_ext <<_ACEOF
53114 #line $LINENO "configure"
53117 cat confdefs.h >>conftest.$ac_ext
53118 cat >>conftest.$ac_ext <<_ACEOF
53119 /* end confdefs.h. */
53120 #include <sys/stat.h>
53124 struct stat buffer;
53126 S_IFREG & buffer.st_mode;
53131 rm -f conftest.$ac_objext conftest$ac_exeext
53132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53133 (eval $ac_link) 2>&5
53135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53136 (exit $ac_status); } &&
53137 { ac_try='test -s conftest$ac_exeext'
53138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53139 (eval $ac_try) 2>&5
53141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53142 (exit $ac_status); }; }; then
53143 glibcxx_cv_S_IFREG=yes
53145 echo "$as_me: failed program was:" >&5
53146 sed 's/^/| /' conftest.$ac_ext >&5
53148 glibcxx_cv_S_IFREG=no
53150 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53154 if test $glibcxx_cv_S_ISREG = yes; then
53155 cat >>confdefs.h <<\_ACEOF
53156 #define HAVE_S_ISREG 1
53159 elif test $glibcxx_cv_S_IFREG = yes; then
53160 cat >>confdefs.h <<\_ACEOF
53161 #define HAVE_S_IFREG 1
53169 for ac_header in sys/uio.h
53171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53173 echo "$as_me:$LINENO: checking for $ac_header" >&5
53174 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53175 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53176 echo $ECHO_N "(cached) $ECHO_C" >&6
53178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53179 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53181 # Is the header compilable?
53182 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53183 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53184 cat >conftest.$ac_ext <<_ACEOF
53185 #line $LINENO "configure"
53188 cat confdefs.h >>conftest.$ac_ext
53189 cat >>conftest.$ac_ext <<_ACEOF
53190 /* end confdefs.h. */
53191 $ac_includes_default
53192 #include <$ac_header>
53194 rm -f conftest.$ac_objext
53195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53196 (eval $ac_compile) 2>&5
53198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53199 (exit $ac_status); } &&
53200 { ac_try='test -s conftest.$ac_objext'
53201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53202 (eval $ac_try) 2>&5
53204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53205 (exit $ac_status); }; }; then
53206 ac_header_compiler=yes
53208 echo "$as_me: failed program was:" >&5
53209 sed 's/^/| /' conftest.$ac_ext >&5
53211 ac_header_compiler=no
53213 rm -f conftest.$ac_objext conftest.$ac_ext
53214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53215 echo "${ECHO_T}$ac_header_compiler" >&6
53217 # Is the header present?
53218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53220 cat >conftest.$ac_ext <<_ACEOF
53221 #line $LINENO "configure"
53224 cat confdefs.h >>conftest.$ac_ext
53225 cat >>conftest.$ac_ext <<_ACEOF
53226 /* end confdefs.h. */
53227 #include <$ac_header>
53229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53232 grep -v '^ *+' conftest.er1 >conftest.err
53234 cat conftest.err >&5
53235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53236 (exit $ac_status); } >/dev/null; then
53237 if test -s conftest.err; then
53238 ac_cpp_err=$ac_c_preproc_warn_flag
53245 if test -z "$ac_cpp_err"; then
53246 ac_header_preproc=yes
53248 echo "$as_me: failed program was:" >&5
53249 sed 's/^/| /' conftest.$ac_ext >&5
53251 ac_header_preproc=no
53253 rm -f conftest.err conftest.$ac_ext
53254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53255 echo "${ECHO_T}$ac_header_preproc" >&6
53257 # So? What about this header?
53258 case $ac_header_compiler:$ac_header_preproc in
53260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53266 ## ------------------------------------ ##
53267 ## Report this to bug-autoconf@gnu.org. ##
53268 ## ------------------------------------ ##
53271 sed "s/^/$as_me: WARNING: /" >&2
53274 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53275 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53276 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53277 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53282 ## ------------------------------------ ##
53283 ## Report this to bug-autoconf@gnu.org. ##
53284 ## ------------------------------------ ##
53287 sed "s/^/$as_me: WARNING: /" >&2
53290 echo "$as_me:$LINENO: checking for $ac_header" >&5
53291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53293 echo $ECHO_N "(cached) $ECHO_C" >&6
53295 eval "$as_ac_Header=$ac_header_preproc"
53297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53302 cat >>confdefs.h <<_ACEOF
53303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53311 if test "${glibcxx_cv_WRITEV+set}" = set; then
53312 echo $ECHO_N "(cached) $ECHO_C" >&6
53315 if test x$gcc_no_link = xyes; then
53316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53318 { (exit 1); exit 1; }; }
53320 cat >conftest.$ac_ext <<_ACEOF
53321 #line $LINENO "configure"
53324 cat confdefs.h >>conftest.$ac_ext
53325 cat >>conftest.$ac_ext <<_ACEOF
53326 /* end confdefs.h. */
53327 #include <sys/uio.h>
53331 struct iovec iov[2];
53337 rm -f conftest.$ac_objext conftest$ac_exeext
53338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53339 (eval $ac_link) 2>&5
53341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53342 (exit $ac_status); } &&
53343 { ac_try='test -s conftest$ac_exeext'
53344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53345 (eval $ac_try) 2>&5
53347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53348 (exit $ac_status); }; }; then
53349 glibcxx_cv_WRITEV=yes
53351 echo "$as_me: failed program was:" >&5
53352 sed 's/^/| /' conftest.$ac_ext >&5
53354 glibcxx_cv_WRITEV=no
53356 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53360 if test $glibcxx_cv_WRITEV = yes; then
53361 cat >>confdefs.h <<\_ACEOF
53362 #define HAVE_WRITEV 1
53368 cat >>confdefs.h <<\_ACEOF
53369 #define HAVE_COPYSIGN 1
53372 cat >>confdefs.h <<\_ACEOF
53373 #define HAVE_COPYSIGNF 1
53376 cat >>confdefs.h <<\_ACEOF
53377 #define HAVE_FINITE 1
53380 cat >>confdefs.h <<\_ACEOF
53381 #define HAVE_FINITEF 1
53384 cat >>confdefs.h <<\_ACEOF
53385 #define HAVE_FREXPF 1
53388 cat >>confdefs.h <<\_ACEOF
53389 #define HAVE_HYPOTF 1
53392 cat >>confdefs.h <<\_ACEOF
53393 #define HAVE_ISINF 1
53396 cat >>confdefs.h <<\_ACEOF
53397 #define HAVE_ISINFF 1
53400 cat >>confdefs.h <<\_ACEOF
53401 #define HAVE_ISNAN 1
53404 cat >>confdefs.h <<\_ACEOF
53405 #define HAVE_ISNANF 1
53408 cat >>confdefs.h <<\_ACEOF
53409 #define HAVE_SINCOS 1
53412 cat >>confdefs.h <<\_ACEOF
53413 #define HAVE_SINCOSF 1
53416 if test x"long_double_math_on_this_cpu" = x"yes"; then
53417 cat >>confdefs.h <<\_ACEOF
53418 #define HAVE_FINITEL 1
53421 cat >>confdefs.h <<\_ACEOF
53422 #define HAVE_HYPOTL 1
53425 cat >>confdefs.h <<\_ACEOF
53426 #define HAVE_ISINFL 1
53429 cat >>confdefs.h <<\_ACEOF
53430 #define HAVE_ISNANL 1
53439 for ac_header in sys/types.h locale.h float.h
53441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53443 echo "$as_me:$LINENO: checking for $ac_header" >&5
53444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53446 echo $ECHO_N "(cached) $ECHO_C" >&6
53448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53451 # Is the header compilable?
53452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53454 cat >conftest.$ac_ext <<_ACEOF
53455 #line $LINENO "configure"
53458 cat confdefs.h >>conftest.$ac_ext
53459 cat >>conftest.$ac_ext <<_ACEOF
53460 /* end confdefs.h. */
53461 $ac_includes_default
53462 #include <$ac_header>
53464 rm -f conftest.$ac_objext
53465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53466 (eval $ac_compile) 2>&5
53468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469 (exit $ac_status); } &&
53470 { ac_try='test -s conftest.$ac_objext'
53471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53472 (eval $ac_try) 2>&5
53474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53475 (exit $ac_status); }; }; then
53476 ac_header_compiler=yes
53478 echo "$as_me: failed program was:" >&5
53479 sed 's/^/| /' conftest.$ac_ext >&5
53481 ac_header_compiler=no
53483 rm -f conftest.$ac_objext conftest.$ac_ext
53484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53485 echo "${ECHO_T}$ac_header_compiler" >&6
53487 # Is the header present?
53488 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53489 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53490 cat >conftest.$ac_ext <<_ACEOF
53491 #line $LINENO "configure"
53494 cat confdefs.h >>conftest.$ac_ext
53495 cat >>conftest.$ac_ext <<_ACEOF
53496 /* end confdefs.h. */
53497 #include <$ac_header>
53499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53502 grep -v '^ *+' conftest.er1 >conftest.err
53504 cat conftest.err >&5
53505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53506 (exit $ac_status); } >/dev/null; then
53507 if test -s conftest.err; then
53508 ac_cpp_err=$ac_c_preproc_warn_flag
53515 if test -z "$ac_cpp_err"; then
53516 ac_header_preproc=yes
53518 echo "$as_me: failed program was:" >&5
53519 sed 's/^/| /' conftest.$ac_ext >&5
53521 ac_header_preproc=no
53523 rm -f conftest.err conftest.$ac_ext
53524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53525 echo "${ECHO_T}$ac_header_preproc" >&6
53527 # So? What about this header?
53528 case $ac_header_compiler:$ac_header_preproc in
53530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53536 ## ------------------------------------ ##
53537 ## Report this to bug-autoconf@gnu.org. ##
53538 ## ------------------------------------ ##
53541 sed "s/^/$as_me: WARNING: /" >&2
53544 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53545 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53546 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53547 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53552 ## ------------------------------------ ##
53553 ## Report this to bug-autoconf@gnu.org. ##
53554 ## ------------------------------------ ##
53557 sed "s/^/$as_me: WARNING: /" >&2
53560 echo "$as_me:$LINENO: checking for $ac_header" >&5
53561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53563 echo $ECHO_N "(cached) $ECHO_C" >&6
53565 eval "$as_ac_Header=$ac_header_preproc"
53567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53572 cat >>confdefs.h <<_ACEOF
53573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53581 # If we're not using GNU ld, then there's no point in even trying these
53582 # tests. Check for that first. We should have already tested for gld
53583 # by now (in libtool), but require it now just to be safe...
53584 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53585 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53589 # The name set by libtool depends on the version of libtool. Shame on us
53590 # for depending on an impl detail, but c'est la vie. Older versions used
53591 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53592 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53593 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53594 # set (hence we're using an older libtool), then set it.
53595 if test x${with_gnu_ld+set} != xset; then
53596 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53597 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53600 with_gnu_ld=$ac_cv_prog_gnu_ld
53604 # Start by getting the version number. I think the libtool test already
53605 # does some of this, but throws away the result.
53607 ldver=`$LD --version 2>/dev/null | head -1 | \
53608 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53610 glibcxx_gnu_ld_version=`echo $ldver | \
53611 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53613 # Set --gc-sections.
53614 if test "$with_gnu_ld" = "notbroken"; then
53615 # GNU ld it is! Joy and bunny rabbits!
53617 # All these tests are for C++; save the language and the compiler flags.
53618 # Need to do this so that g++ won't try to link in libstdc++
53619 ac_test_CFLAGS="${CFLAGS+set}"
53620 ac_save_CFLAGS="$CFLAGS"
53621 CFLAGS='-x c++ -Wl,--gc-sections'
53623 # Check for -Wl,--gc-sections
53624 # XXX This test is broken at the moment, as symbols required for linking
53625 # are now in libsupc++ (not built yet). In addition, this test has
53626 # cored on solaris in the past. In addition, --gc-sections doesn't
53627 # really work at the moment (keeps on discarding used sections, first
53628 # .eh_frame and now some of the glibc sections for iconv).
53629 # Bzzzzt. Thanks for playing, maybe next time.
53630 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53631 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53632 if test "$cross_compiling" = yes; then
53633 ac_sectionLDflags=yes
53635 cat >conftest.$ac_ext <<_ACEOF
53636 #line $LINENO "configure"
53639 cat confdefs.h >>conftest.$ac_ext
53640 cat >>conftest.$ac_ext <<_ACEOF
53641 /* end confdefs.h. */
53651 rm -f conftest$ac_exeext
53652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53653 (eval $ac_link) 2>&5
53655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53656 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53658 (eval $ac_try) 2>&5
53660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53661 (exit $ac_status); }; }; then
53662 ac_sectionLDflags=yes
53664 echo "$as_me: program exited with status $ac_status" >&5
53665 echo "$as_me: failed program was:" >&5
53666 sed 's/^/| /' conftest.$ac_ext >&5
53668 ( exit $ac_status )
53669 ac_sectionLDflags=no
53671 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53673 if test "$ac_test_CFLAGS" = set; then
53674 CFLAGS="$ac_save_CFLAGS"
53676 # this is the suspicious part
53679 if test "$ac_sectionLDflags" = "yes"; then
53680 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53682 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53683 echo "${ECHO_T}$ac_sectionLDflags" >&6
53686 # Set linker optimization flags.
53687 if test x"$with_gnu_ld" = x"yes"; then
53688 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53696 echo "$as_me:$LINENO: checking for main in -lm" >&5
53697 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
53698 if test "${ac_cv_lib_m_main+set}" = set; then
53699 echo $ECHO_N "(cached) $ECHO_C" >&6
53701 ac_check_lib_save_LIBS=$LIBS
53703 if test x$gcc_no_link = xyes; then
53704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53706 { (exit 1); exit 1; }; }
53708 cat >conftest.$ac_ext <<_ACEOF
53709 #line $LINENO "configure"
53712 cat confdefs.h >>conftest.$ac_ext
53713 cat >>conftest.$ac_ext <<_ACEOF
53714 /* end confdefs.h. */
53725 rm -f conftest.$ac_objext conftest$ac_exeext
53726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53727 (eval $ac_link) 2>&5
53729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53730 (exit $ac_status); } &&
53731 { ac_try='test -s conftest$ac_exeext'
53732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53733 (eval $ac_try) 2>&5
53735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53736 (exit $ac_status); }; }; then
53737 ac_cv_lib_m_main=yes
53739 echo "$as_me: failed program was:" >&5
53740 sed 's/^/| /' conftest.$ac_ext >&5
53742 ac_cv_lib_m_main=no
53744 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53745 LIBS=$ac_check_lib_save_LIBS
53747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
53748 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
53749 if test $ac_cv_lib_m_main = yes; then
53750 cat >>confdefs.h <<_ACEOF
53751 #define HAVE_LIBM 1
53759 for ac_func in copysignf
53761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53762 echo "$as_me:$LINENO: checking for $ac_func" >&5
53763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53764 if eval "test \"\${$as_ac_var+set}\" = set"; then
53765 echo $ECHO_N "(cached) $ECHO_C" >&6
53767 if test x$gcc_no_link = xyes; then
53768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53770 { (exit 1); exit 1; }; }
53772 cat >conftest.$ac_ext <<_ACEOF
53773 #line $LINENO "configure"
53776 cat confdefs.h >>conftest.$ac_ext
53777 cat >>conftest.$ac_ext <<_ACEOF
53778 /* end confdefs.h. */
53779 /* System header to define __stub macros and hopefully few prototypes,
53780 which can conflict with char $ac_func (); below.
53781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53782 <limits.h> exists even on freestanding compilers. */
53784 # include <limits.h>
53786 # include <assert.h>
53788 /* Override any gcc2 internal prototype to avoid an error. */
53793 /* We use char because int might match the return type of a gcc2
53794 builtin and then its argument prototype would still apply. */
53796 /* The GNU C library defines this for functions which it implements
53797 to always fail with ENOSYS. Some functions are actually named
53798 something starting with __ and the normal name is an alias. */
53799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53802 char (*f) () = $ac_func;
53811 return f != $ac_func;
53816 rm -f conftest.$ac_objext conftest$ac_exeext
53817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53818 (eval $ac_link) 2>&5
53820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53821 (exit $ac_status); } &&
53822 { ac_try='test -s conftest$ac_exeext'
53823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53824 (eval $ac_try) 2>&5
53826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53827 (exit $ac_status); }; }; then
53828 eval "$as_ac_var=yes"
53830 echo "$as_me: failed program was:" >&5
53831 sed 's/^/| /' conftest.$ac_ext >&5
53833 eval "$as_ac_var=no"
53835 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53839 if test `eval echo '${'$as_ac_var'}'` = yes; then
53840 cat >>confdefs.h <<_ACEOF
53841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53845 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
53851 for ac_func in __signbit
53853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53854 echo "$as_me:$LINENO: checking for $ac_func" >&5
53855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53856 if eval "test \"\${$as_ac_var+set}\" = set"; then
53857 echo $ECHO_N "(cached) $ECHO_C" >&6
53859 if test x$gcc_no_link = xyes; then
53860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53862 { (exit 1); exit 1; }; }
53864 cat >conftest.$ac_ext <<_ACEOF
53865 #line $LINENO "configure"
53868 cat confdefs.h >>conftest.$ac_ext
53869 cat >>conftest.$ac_ext <<_ACEOF
53870 /* end confdefs.h. */
53871 /* System header to define __stub macros and hopefully few prototypes,
53872 which can conflict with char $ac_func (); below.
53873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53874 <limits.h> exists even on freestanding compilers. */
53876 # include <limits.h>
53878 # include <assert.h>
53880 /* Override any gcc2 internal prototype to avoid an error. */
53885 /* We use char because int might match the return type of a gcc2
53886 builtin and then its argument prototype would still apply. */
53888 /* The GNU C library defines this for functions which it implements
53889 to always fail with ENOSYS. Some functions are actually named
53890 something starting with __ and the normal name is an alias. */
53891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53894 char (*f) () = $ac_func;
53903 return f != $ac_func;
53908 rm -f conftest.$ac_objext conftest$ac_exeext
53909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53910 (eval $ac_link) 2>&5
53912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913 (exit $ac_status); } &&
53914 { ac_try='test -s conftest$ac_exeext'
53915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916 (eval $ac_try) 2>&5
53918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919 (exit $ac_status); }; }; then
53920 eval "$as_ac_var=yes"
53922 echo "$as_me: failed program was:" >&5
53923 sed 's/^/| /' conftest.$ac_ext >&5
53925 eval "$as_ac_var=no"
53927 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53931 if test `eval echo '${'$as_ac_var'}'` = yes; then
53932 cat >>confdefs.h <<_ACEOF
53933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53937 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
53942 for ac_func in __signbitf
53944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53945 echo "$as_me:$LINENO: checking for $ac_func" >&5
53946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53947 if eval "test \"\${$as_ac_var+set}\" = set"; then
53948 echo $ECHO_N "(cached) $ECHO_C" >&6
53950 if test x$gcc_no_link = xyes; then
53951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53953 { (exit 1); exit 1; }; }
53955 cat >conftest.$ac_ext <<_ACEOF
53956 #line $LINENO "configure"
53959 cat confdefs.h >>conftest.$ac_ext
53960 cat >>conftest.$ac_ext <<_ACEOF
53961 /* end confdefs.h. */
53962 /* System header to define __stub macros and hopefully few prototypes,
53963 which can conflict with char $ac_func (); below.
53964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53965 <limits.h> exists even on freestanding compilers. */
53967 # include <limits.h>
53969 # include <assert.h>
53971 /* Override any gcc2 internal prototype to avoid an error. */
53976 /* We use char because int might match the return type of a gcc2
53977 builtin and then its argument prototype would still apply. */
53979 /* The GNU C library defines this for functions which it implements
53980 to always fail with ENOSYS. Some functions are actually named
53981 something starting with __ and the normal name is an alias. */
53982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53985 char (*f) () = $ac_func;
53994 return f != $ac_func;
53999 rm -f conftest.$ac_objext conftest$ac_exeext
54000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54001 (eval $ac_link) 2>&5
54003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54004 (exit $ac_status); } &&
54005 { ac_try='test -s conftest$ac_exeext'
54006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54007 (eval $ac_try) 2>&5
54009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54010 (exit $ac_status); }; }; then
54011 eval "$as_ac_var=yes"
54013 echo "$as_me: failed program was:" >&5
54014 sed 's/^/| /' conftest.$ac_ext >&5
54016 eval "$as_ac_var=no"
54018 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54022 if test `eval echo '${'$as_ac_var'}'` = yes; then
54023 cat >>confdefs.h <<_ACEOF
54024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54028 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
54033 if test x$ac_cv_func_copysignl = x"yes"; then
54035 for ac_func in __signbitl
54037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54038 echo "$as_me:$LINENO: checking for $ac_func" >&5
54039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54040 if eval "test \"\${$as_ac_var+set}\" = set"; then
54041 echo $ECHO_N "(cached) $ECHO_C" >&6
54043 if test x$gcc_no_link = xyes; then
54044 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54046 { (exit 1); exit 1; }; }
54048 cat >conftest.$ac_ext <<_ACEOF
54049 #line $LINENO "configure"
54052 cat confdefs.h >>conftest.$ac_ext
54053 cat >>conftest.$ac_ext <<_ACEOF
54054 /* end confdefs.h. */
54055 /* System header to define __stub macros and hopefully few prototypes,
54056 which can conflict with char $ac_func (); below.
54057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54058 <limits.h> exists even on freestanding compilers. */
54060 # include <limits.h>
54062 # include <assert.h>
54064 /* Override any gcc2 internal prototype to avoid an error. */
54069 /* We use char because int might match the return type of a gcc2
54070 builtin and then its argument prototype would still apply. */
54072 /* The GNU C library defines this for functions which it implements
54073 to always fail with ENOSYS. Some functions are actually named
54074 something starting with __ and the normal name is an alias. */
54075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54078 char (*f) () = $ac_func;
54087 return f != $ac_func;
54092 rm -f conftest.$ac_objext conftest$ac_exeext
54093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54094 (eval $ac_link) 2>&5
54096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097 (exit $ac_status); } &&
54098 { ac_try='test -s conftest$ac_exeext'
54099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54100 (eval $ac_try) 2>&5
54102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54103 (exit $ac_status); }; }; then
54104 eval "$as_ac_var=yes"
54106 echo "$as_me: failed program was:" >&5
54107 sed 's/^/| /' conftest.$ac_ext >&5
54109 eval "$as_ac_var=no"
54111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54115 if test `eval echo '${'$as_ac_var'}'` = yes; then
54116 cat >>confdefs.h <<_ACEOF
54117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54121 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
54127 # XXX Review this. Nothing uses it.
54128 if test -n "$LIBMATHOBJS"; then
54134 # Test wchar.h for mbstate_t, which is needed for char_traits and
54135 # others even if wchar_t support is not on.
54136 echo "$as_me:$LINENO: checking for mbstate_t" >&5
54137 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
54138 cat >conftest.$ac_ext <<_ACEOF
54139 #line $LINENO "configure"
54142 cat confdefs.h >>conftest.$ac_ext
54143 cat >>conftest.$ac_ext <<_ACEOF
54144 /* end confdefs.h. */
54149 mbstate_t teststate;
54154 rm -f conftest.$ac_objext
54155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54156 (eval $ac_compile) 2>&5
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); } &&
54160 { ac_try='test -s conftest.$ac_objext'
54161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54162 (eval $ac_try) 2>&5
54164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54165 (exit $ac_status); }; }; then
54168 echo "$as_me: failed program was:" >&5
54169 sed 's/^/| /' conftest.$ac_ext >&5
54173 rm -f conftest.$ac_objext conftest.$ac_ext
54174 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
54175 echo "${ECHO_T}$have_mbstate_t" >&6
54176 if test x"$have_mbstate_t" = xyes; then
54177 cat >>confdefs.h <<\_ACEOF
54178 #define HAVE_MBSTATE_T 1
54183 # Sanity check for existence of ISO C99 headers for extended encoding.
54185 for ac_header in wchar.h
54187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54189 echo "$as_me:$LINENO: checking for $ac_header" >&5
54190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54191 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54192 echo $ECHO_N "(cached) $ECHO_C" >&6
54194 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54195 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54197 # Is the header compilable?
54198 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54199 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54200 cat >conftest.$ac_ext <<_ACEOF
54201 #line $LINENO "configure"
54204 cat confdefs.h >>conftest.$ac_ext
54205 cat >>conftest.$ac_ext <<_ACEOF
54206 /* end confdefs.h. */
54207 $ac_includes_default
54208 #include <$ac_header>
54210 rm -f conftest.$ac_objext
54211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54212 (eval $ac_compile) 2>&5
54214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54215 (exit $ac_status); } &&
54216 { ac_try='test -s conftest.$ac_objext'
54217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54218 (eval $ac_try) 2>&5
54220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221 (exit $ac_status); }; }; then
54222 ac_header_compiler=yes
54224 echo "$as_me: failed program was:" >&5
54225 sed 's/^/| /' conftest.$ac_ext >&5
54227 ac_header_compiler=no
54229 rm -f conftest.$ac_objext conftest.$ac_ext
54230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54231 echo "${ECHO_T}$ac_header_compiler" >&6
54233 # Is the header present?
54234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54236 cat >conftest.$ac_ext <<_ACEOF
54237 #line $LINENO "configure"
54240 cat confdefs.h >>conftest.$ac_ext
54241 cat >>conftest.$ac_ext <<_ACEOF
54242 /* end confdefs.h. */
54243 #include <$ac_header>
54245 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54246 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54248 grep -v '^ *+' conftest.er1 >conftest.err
54250 cat conftest.err >&5
54251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54252 (exit $ac_status); } >/dev/null; then
54253 if test -s conftest.err; then
54254 ac_cpp_err=$ac_c_preproc_warn_flag
54261 if test -z "$ac_cpp_err"; then
54262 ac_header_preproc=yes
54264 echo "$as_me: failed program was:" >&5
54265 sed 's/^/| /' conftest.$ac_ext >&5
54267 ac_header_preproc=no
54269 rm -f conftest.err conftest.$ac_ext
54270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54271 echo "${ECHO_T}$ac_header_preproc" >&6
54273 # So? What about this header?
54274 case $ac_header_compiler:$ac_header_preproc in
54276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54282 ## ------------------------------------ ##
54283 ## Report this to bug-autoconf@gnu.org. ##
54284 ## ------------------------------------ ##
54287 sed "s/^/$as_me: WARNING: /" >&2
54290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54298 ## ------------------------------------ ##
54299 ## Report this to bug-autoconf@gnu.org. ##
54300 ## ------------------------------------ ##
54303 sed "s/^/$as_me: WARNING: /" >&2
54306 echo "$as_me:$LINENO: checking for $ac_header" >&5
54307 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54308 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54309 echo $ECHO_N "(cached) $ECHO_C" >&6
54311 eval "$as_ac_Header=$ac_header_preproc"
54313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54314 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54317 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54318 cat >>confdefs.h <<_ACEOF
54319 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54329 for ac_header in wctype.h
54331 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54333 echo "$as_me:$LINENO: checking for $ac_header" >&5
54334 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54335 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54336 echo $ECHO_N "(cached) $ECHO_C" >&6
54338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54341 # Is the header compilable?
54342 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54343 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54344 cat >conftest.$ac_ext <<_ACEOF
54345 #line $LINENO "configure"
54348 cat confdefs.h >>conftest.$ac_ext
54349 cat >>conftest.$ac_ext <<_ACEOF
54350 /* end confdefs.h. */
54351 $ac_includes_default
54352 #include <$ac_header>
54354 rm -f conftest.$ac_objext
54355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54356 (eval $ac_compile) 2>&5
54358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54359 (exit $ac_status); } &&
54360 { ac_try='test -s conftest.$ac_objext'
54361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54362 (eval $ac_try) 2>&5
54364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54365 (exit $ac_status); }; }; then
54366 ac_header_compiler=yes
54368 echo "$as_me: failed program was:" >&5
54369 sed 's/^/| /' conftest.$ac_ext >&5
54371 ac_header_compiler=no
54373 rm -f conftest.$ac_objext conftest.$ac_ext
54374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54375 echo "${ECHO_T}$ac_header_compiler" >&6
54377 # Is the header present?
54378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54380 cat >conftest.$ac_ext <<_ACEOF
54381 #line $LINENO "configure"
54384 cat confdefs.h >>conftest.$ac_ext
54385 cat >>conftest.$ac_ext <<_ACEOF
54386 /* end confdefs.h. */
54387 #include <$ac_header>
54389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54392 grep -v '^ *+' conftest.er1 >conftest.err
54394 cat conftest.err >&5
54395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54396 (exit $ac_status); } >/dev/null; then
54397 if test -s conftest.err; then
54398 ac_cpp_err=$ac_c_preproc_warn_flag
54405 if test -z "$ac_cpp_err"; then
54406 ac_header_preproc=yes
54408 echo "$as_me: failed program was:" >&5
54409 sed 's/^/| /' conftest.$ac_ext >&5
54411 ac_header_preproc=no
54413 rm -f conftest.err conftest.$ac_ext
54414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54415 echo "${ECHO_T}$ac_header_preproc" >&6
54417 # So? What about this header?
54418 case $ac_header_compiler:$ac_header_preproc in
54420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54426 ## ------------------------------------ ##
54427 ## Report this to bug-autoconf@gnu.org. ##
54428 ## ------------------------------------ ##
54431 sed "s/^/$as_me: WARNING: /" >&2
54434 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54435 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54436 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
54437 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
54438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54442 ## ------------------------------------ ##
54443 ## Report this to bug-autoconf@gnu.org. ##
54444 ## ------------------------------------ ##
54447 sed "s/^/$as_me: WARNING: /" >&2
54450 echo "$as_me:$LINENO: checking for $ac_header" >&5
54451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54453 echo $ECHO_N "(cached) $ECHO_C" >&6
54455 eval "$as_ac_Header=$ac_header_preproc"
54457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54462 cat >>confdefs.h <<_ACEOF
54463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54465 ac_has_wctype_h=yes
54473 # Only continue checking if the ISO C99 headers exist and support is on.
54474 if test x"$ac_has_wchar_h" = xyes &&
54475 test x"$ac_has_wctype_h" = xyes &&
54476 test x"$enable_c_mbchar" != xno; then
54478 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
54479 # numeric_limits can instantiate type_traits<wchar_t>
54480 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
54481 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
54482 cat >conftest.$ac_ext <<_ACEOF
54483 #line $LINENO "configure"
54486 cat confdefs.h >>conftest.$ac_ext
54487 cat >>conftest.$ac_ext <<_ACEOF
54488 /* end confdefs.h. */
54493 int i = WCHAR_MIN; int j = WCHAR_MAX;
54498 rm -f conftest.$ac_objext
54499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54500 (eval $ac_compile) 2>&5
54502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54503 (exit $ac_status); } &&
54504 { ac_try='test -s conftest.$ac_objext'
54505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54506 (eval $ac_try) 2>&5
54508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54509 (exit $ac_status); }; }; then
54510 has_wchar_minmax=yes
54512 echo "$as_me: failed program was:" >&5
54513 sed 's/^/| /' conftest.$ac_ext >&5
54515 has_wchar_minmax=no
54517 rm -f conftest.$ac_objext conftest.$ac_ext
54518 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
54519 echo "${ECHO_T}$has_wchar_minmax" >&6
54521 # Test wchar.h for WEOF, which is what we use to determine whether
54522 # to specialize for char_traits<wchar_t> or not.
54523 echo "$as_me:$LINENO: checking for WEOF" >&5
54524 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
54525 cat >conftest.$ac_ext <<_ACEOF
54526 #line $LINENO "configure"
54529 cat confdefs.h >>conftest.$ac_ext
54530 cat >>conftest.$ac_ext <<_ACEOF
54531 /* end confdefs.h. */
54534 #include <stddef.h>
54543 rm -f conftest.$ac_objext
54544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54545 (eval $ac_compile) 2>&5
54547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54548 (exit $ac_status); } &&
54549 { ac_try='test -s conftest.$ac_objext'
54550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54551 (eval $ac_try) 2>&5
54553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54554 (exit $ac_status); }; }; then
54557 echo "$as_me: failed program was:" >&5
54558 sed 's/^/| /' conftest.$ac_ext >&5
54562 rm -f conftest.$ac_objext conftest.$ac_ext
54563 echo "$as_me:$LINENO: result: $has_weof" >&5
54564 echo "${ECHO_T}$has_weof" >&6
54566 # Tests for wide character functions used in char_traits<wchar_t>.
54574 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
54576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54577 echo "$as_me:$LINENO: checking for $ac_func" >&5
54578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54579 if eval "test \"\${$as_ac_var+set}\" = set"; then
54580 echo $ECHO_N "(cached) $ECHO_C" >&6
54582 if test x$gcc_no_link = xyes; then
54583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54585 { (exit 1); exit 1; }; }
54587 cat >conftest.$ac_ext <<_ACEOF
54588 #line $LINENO "configure"
54591 cat confdefs.h >>conftest.$ac_ext
54592 cat >>conftest.$ac_ext <<_ACEOF
54593 /* end confdefs.h. */
54594 /* System header to define __stub macros and hopefully few prototypes,
54595 which can conflict with char $ac_func (); below.
54596 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54597 <limits.h> exists even on freestanding compilers. */
54599 # include <limits.h>
54601 # include <assert.h>
54603 /* Override any gcc2 internal prototype to avoid an error. */
54608 /* We use char because int might match the return type of a gcc2
54609 builtin and then its argument prototype would still apply. */
54611 /* The GNU C library defines this for functions which it implements
54612 to always fail with ENOSYS. Some functions are actually named
54613 something starting with __ and the normal name is an alias. */
54614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54617 char (*f) () = $ac_func;
54626 return f != $ac_func;
54631 rm -f conftest.$ac_objext conftest$ac_exeext
54632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54633 (eval $ac_link) 2>&5
54635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54636 (exit $ac_status); } &&
54637 { ac_try='test -s conftest$ac_exeext'
54638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54639 (eval $ac_try) 2>&5
54641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54642 (exit $ac_status); }; }; then
54643 eval "$as_ac_var=yes"
54645 echo "$as_me: failed program was:" >&5
54646 sed 's/^/| /' conftest.$ac_ext >&5
54648 eval "$as_ac_var=no"
54650 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54654 if test `eval echo '${'$as_ac_var'}'` = yes; then
54655 cat >>confdefs.h <<_ACEOF
54656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54665 # Checks for names injected into std:: by the c_std headers.
54712 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
54713 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
54714 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
54715 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
54716 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
54717 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
54719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54720 echo "$as_me:$LINENO: checking for $ac_func" >&5
54721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54722 if eval "test \"\${$as_ac_var+set}\" = set"; then
54723 echo $ECHO_N "(cached) $ECHO_C" >&6
54725 if test x$gcc_no_link = xyes; then
54726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54728 { (exit 1); exit 1; }; }
54730 cat >conftest.$ac_ext <<_ACEOF
54731 #line $LINENO "configure"
54734 cat confdefs.h >>conftest.$ac_ext
54735 cat >>conftest.$ac_ext <<_ACEOF
54736 /* end confdefs.h. */
54737 /* System header to define __stub macros and hopefully few prototypes,
54738 which can conflict with char $ac_func (); below.
54739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54740 <limits.h> exists even on freestanding compilers. */
54742 # include <limits.h>
54744 # include <assert.h>
54746 /* Override any gcc2 internal prototype to avoid an error. */
54751 /* We use char because int might match the return type of a gcc2
54752 builtin and then its argument prototype would still apply. */
54754 /* The GNU C library defines this for functions which it implements
54755 to always fail with ENOSYS. Some functions are actually named
54756 something starting with __ and the normal name is an alias. */
54757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54760 char (*f) () = $ac_func;
54769 return f != $ac_func;
54774 rm -f conftest.$ac_objext conftest$ac_exeext
54775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54776 (eval $ac_link) 2>&5
54778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54779 (exit $ac_status); } &&
54780 { ac_try='test -s conftest$ac_exeext'
54781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54782 (eval $ac_try) 2>&5
54784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54785 (exit $ac_status); }; }; then
54786 eval "$as_ac_var=yes"
54788 echo "$as_me: failed program was:" >&5
54789 sed 's/^/| /' conftest.$ac_ext >&5
54791 eval "$as_ac_var=no"
54793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54797 if test `eval echo '${'$as_ac_var'}'` = yes; then
54798 cat >>confdefs.h <<_ACEOF
54799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54808 # Checks for wide character functions that are not required
54809 # for basic wchar_t support. Don't disable support if they are missing.
54810 # Injection of these is wrapped with guard macros.
54816 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
54818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54819 echo "$as_me:$LINENO: checking for $ac_func" >&5
54820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54821 if eval "test \"\${$as_ac_var+set}\" = set"; then
54822 echo $ECHO_N "(cached) $ECHO_C" >&6
54824 if test x$gcc_no_link = xyes; then
54825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54827 { (exit 1); exit 1; }; }
54829 cat >conftest.$ac_ext <<_ACEOF
54830 #line $LINENO "configure"
54833 cat confdefs.h >>conftest.$ac_ext
54834 cat >>conftest.$ac_ext <<_ACEOF
54835 /* end confdefs.h. */
54836 /* System header to define __stub macros and hopefully few prototypes,
54837 which can conflict with char $ac_func (); below.
54838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54839 <limits.h> exists even on freestanding compilers. */
54841 # include <limits.h>
54843 # include <assert.h>
54845 /* Override any gcc2 internal prototype to avoid an error. */
54850 /* We use char because int might match the return type of a gcc2
54851 builtin and then its argument prototype would still apply. */
54853 /* The GNU C library defines this for functions which it implements
54854 to always fail with ENOSYS. Some functions are actually named
54855 something starting with __ and the normal name is an alias. */
54856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54859 char (*f) () = $ac_func;
54868 return f != $ac_func;
54873 rm -f conftest.$ac_objext conftest$ac_exeext
54874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54875 (eval $ac_link) 2>&5
54877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54878 (exit $ac_status); } &&
54879 { ac_try='test -s conftest$ac_exeext'
54880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54881 (eval $ac_try) 2>&5
54883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54884 (exit $ac_status); }; }; then
54885 eval "$as_ac_var=yes"
54887 echo "$as_me: failed program was:" >&5
54888 sed 's/^/| /' conftest.$ac_ext >&5
54890 eval "$as_ac_var=no"
54892 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54896 if test `eval echo '${'$as_ac_var'}'` = yes; then
54897 cat >>confdefs.h <<_ACEOF
54898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54905 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
54906 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
54907 if test x"$has_weof" = xyes &&
54908 test x"$has_wchar_minmax" = xyes &&
54909 test x"$ac_wfuncs" = xyes;
54911 ac_isoC99_wchar_t=yes
54913 ac_isoC99_wchar_t=no
54915 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
54916 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
54918 # Use iconv for wchar_t to char conversions. As such, check for
54919 # X/Open Portability Guide, version 2 features (XPG2).
54920 if test "${ac_cv_header_iconv_h+set}" = set; then
54921 echo "$as_me:$LINENO: checking for iconv.h" >&5
54922 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
54923 if test "${ac_cv_header_iconv_h+set}" = set; then
54924 echo $ECHO_N "(cached) $ECHO_C" >&6
54926 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
54927 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
54929 # Is the header compilable?
54930 echo "$as_me:$LINENO: checking iconv.h usability" >&5
54931 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
54932 cat >conftest.$ac_ext <<_ACEOF
54933 #line $LINENO "configure"
54936 cat confdefs.h >>conftest.$ac_ext
54937 cat >>conftest.$ac_ext <<_ACEOF
54938 /* end confdefs.h. */
54939 $ac_includes_default
54942 rm -f conftest.$ac_objext
54943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54944 (eval $ac_compile) 2>&5
54946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54947 (exit $ac_status); } &&
54948 { ac_try='test -s conftest.$ac_objext'
54949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54950 (eval $ac_try) 2>&5
54952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54953 (exit $ac_status); }; }; then
54954 ac_header_compiler=yes
54956 echo "$as_me: failed program was:" >&5
54957 sed 's/^/| /' conftest.$ac_ext >&5
54959 ac_header_compiler=no
54961 rm -f conftest.$ac_objext conftest.$ac_ext
54962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54963 echo "${ECHO_T}$ac_header_compiler" >&6
54965 # Is the header present?
54966 echo "$as_me:$LINENO: checking iconv.h presence" >&5
54967 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
54968 cat >conftest.$ac_ext <<_ACEOF
54969 #line $LINENO "configure"
54972 cat confdefs.h >>conftest.$ac_ext
54973 cat >>conftest.$ac_ext <<_ACEOF
54974 /* end confdefs.h. */
54977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54980 grep -v '^ *+' conftest.er1 >conftest.err
54982 cat conftest.err >&5
54983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54984 (exit $ac_status); } >/dev/null; then
54985 if test -s conftest.err; then
54986 ac_cpp_err=$ac_c_preproc_warn_flag
54993 if test -z "$ac_cpp_err"; then
54994 ac_header_preproc=yes
54996 echo "$as_me: failed program was:" >&5
54997 sed 's/^/| /' conftest.$ac_ext >&5
54999 ac_header_preproc=no
55001 rm -f conftest.err conftest.$ac_ext
55002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55003 echo "${ECHO_T}$ac_header_preproc" >&6
55005 # So? What about this header?
55006 case $ac_header_compiler:$ac_header_preproc in
55008 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
55009 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55010 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55011 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55014 ## ------------------------------------ ##
55015 ## Report this to bug-autoconf@gnu.org. ##
55016 ## ------------------------------------ ##
55019 sed "s/^/$as_me: WARNING: /" >&2
55022 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
55023 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
55024 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
55025 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
55026 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
55027 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
55030 ## ------------------------------------ ##
55031 ## Report this to bug-autoconf@gnu.org. ##
55032 ## ------------------------------------ ##
55035 sed "s/^/$as_me: WARNING: /" >&2
55038 echo "$as_me:$LINENO: checking for iconv.h" >&5
55039 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
55040 if test "${ac_cv_header_iconv_h+set}" = set; then
55041 echo $ECHO_N "(cached) $ECHO_C" >&6
55043 ac_cv_header_iconv_h=$ac_header_preproc
55045 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
55046 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
55049 if test $ac_cv_header_iconv_h = yes; then
55056 if test "${ac_cv_header_langinfo_h+set}" = set; then
55057 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55058 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55059 if test "${ac_cv_header_langinfo_h+set}" = set; then
55060 echo $ECHO_N "(cached) $ECHO_C" >&6
55062 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55063 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55065 # Is the header compilable?
55066 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
55067 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
55068 cat >conftest.$ac_ext <<_ACEOF
55069 #line $LINENO "configure"
55072 cat confdefs.h >>conftest.$ac_ext
55073 cat >>conftest.$ac_ext <<_ACEOF
55074 /* end confdefs.h. */
55075 $ac_includes_default
55076 #include <langinfo.h>
55078 rm -f conftest.$ac_objext
55079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55080 (eval $ac_compile) 2>&5
55082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55083 (exit $ac_status); } &&
55084 { ac_try='test -s conftest.$ac_objext'
55085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55086 (eval $ac_try) 2>&5
55088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55089 (exit $ac_status); }; }; then
55090 ac_header_compiler=yes
55092 echo "$as_me: failed program was:" >&5
55093 sed 's/^/| /' conftest.$ac_ext >&5
55095 ac_header_compiler=no
55097 rm -f conftest.$ac_objext conftest.$ac_ext
55098 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55099 echo "${ECHO_T}$ac_header_compiler" >&6
55101 # Is the header present?
55102 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
55103 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
55104 cat >conftest.$ac_ext <<_ACEOF
55105 #line $LINENO "configure"
55108 cat confdefs.h >>conftest.$ac_ext
55109 cat >>conftest.$ac_ext <<_ACEOF
55110 /* end confdefs.h. */
55111 #include <langinfo.h>
55113 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55114 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55116 grep -v '^ *+' conftest.er1 >conftest.err
55118 cat conftest.err >&5
55119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55120 (exit $ac_status); } >/dev/null; then
55121 if test -s conftest.err; then
55122 ac_cpp_err=$ac_c_preproc_warn_flag
55129 if test -z "$ac_cpp_err"; then
55130 ac_header_preproc=yes
55132 echo "$as_me: failed program was:" >&5
55133 sed 's/^/| /' conftest.$ac_ext >&5
55135 ac_header_preproc=no
55137 rm -f conftest.err conftest.$ac_ext
55138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55139 echo "${ECHO_T}$ac_header_preproc" >&6
55141 # So? What about this header?
55142 case $ac_header_compiler:$ac_header_preproc in
55144 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
55145 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
55146 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55147 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55150 ## ------------------------------------ ##
55151 ## Report this to bug-autoconf@gnu.org. ##
55152 ## ------------------------------------ ##
55155 sed "s/^/$as_me: WARNING: /" >&2
55158 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
55159 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
55160 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
55161 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
55162 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
55163 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
55166 ## ------------------------------------ ##
55167 ## Report this to bug-autoconf@gnu.org. ##
55168 ## ------------------------------------ ##
55171 sed "s/^/$as_me: WARNING: /" >&2
55174 echo "$as_me:$LINENO: checking for langinfo.h" >&5
55175 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
55176 if test "${ac_cv_header_langinfo_h+set}" = set; then
55177 echo $ECHO_N "(cached) $ECHO_C" >&6
55179 ac_cv_header_langinfo_h=$ac_header_preproc
55181 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
55182 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
55185 if test $ac_cv_header_langinfo_h = yes; then
55186 ac_has_langinfo_h=yes
55188 ac_has_langinfo_h=no
55193 # Check for existence of libiconv.a providing XPG2 wchar_t support.
55194 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
55195 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
55196 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
55197 echo $ECHO_N "(cached) $ECHO_C" >&6
55199 ac_check_lib_save_LIBS=$LIBS
55200 LIBS="-liconv $LIBS"
55201 if test x$gcc_no_link = xyes; then
55202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55204 { (exit 1); exit 1; }; }
55206 cat >conftest.$ac_ext <<_ACEOF
55207 #line $LINENO "configure"
55210 cat confdefs.h >>conftest.$ac_ext
55211 cat >>conftest.$ac_ext <<_ACEOF
55212 /* end confdefs.h. */
55214 /* Override any gcc2 internal prototype to avoid an error. */
55218 /* We use char because int might match the return type of a gcc2
55219 builtin and then its argument prototype would still apply. */
55229 rm -f conftest.$ac_objext conftest$ac_exeext
55230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55231 (eval $ac_link) 2>&5
55233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55234 (exit $ac_status); } &&
55235 { ac_try='test -s conftest$ac_exeext'
55236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55237 (eval $ac_try) 2>&5
55239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55240 (exit $ac_status); }; }; then
55241 ac_cv_lib_iconv_iconv=yes
55243 echo "$as_me: failed program was:" >&5
55244 sed 's/^/| /' conftest.$ac_ext >&5
55246 ac_cv_lib_iconv_iconv=no
55248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55249 LIBS=$ac_check_lib_save_LIBS
55251 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
55252 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
55253 if test $ac_cv_lib_iconv_iconv = yes; then
55257 ac_save_LIBS="$LIBS"
55258 LIBS="$LIBS $libiconv"
55264 for ac_func in iconv_open iconv_close iconv nl_langinfo
55266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55267 echo "$as_me:$LINENO: checking for $ac_func" >&5
55268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55269 if eval "test \"\${$as_ac_var+set}\" = set"; then
55270 echo $ECHO_N "(cached) $ECHO_C" >&6
55272 if test x$gcc_no_link = xyes; then
55273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55275 { (exit 1); exit 1; }; }
55277 cat >conftest.$ac_ext <<_ACEOF
55278 #line $LINENO "configure"
55281 cat confdefs.h >>conftest.$ac_ext
55282 cat >>conftest.$ac_ext <<_ACEOF
55283 /* end confdefs.h. */
55284 /* System header to define __stub macros and hopefully few prototypes,
55285 which can conflict with char $ac_func (); below.
55286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55287 <limits.h> exists even on freestanding compilers. */
55289 # include <limits.h>
55291 # include <assert.h>
55293 /* Override any gcc2 internal prototype to avoid an error. */
55298 /* We use char because int might match the return type of a gcc2
55299 builtin and then its argument prototype would still apply. */
55301 /* The GNU C library defines this for functions which it implements
55302 to always fail with ENOSYS. Some functions are actually named
55303 something starting with __ and the normal name is an alias. */
55304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55307 char (*f) () = $ac_func;
55316 return f != $ac_func;
55321 rm -f conftest.$ac_objext conftest$ac_exeext
55322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55323 (eval $ac_link) 2>&5
55325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55326 (exit $ac_status); } &&
55327 { ac_try='test -s conftest$ac_exeext'
55328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55329 (eval $ac_try) 2>&5
55331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55332 (exit $ac_status); }; }; then
55333 eval "$as_ac_var=yes"
55335 echo "$as_me: failed program was:" >&5
55336 sed 's/^/| /' conftest.$ac_ext >&5
55338 eval "$as_ac_var=no"
55340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55344 if test `eval echo '${'$as_ac_var'}'` = yes; then
55345 cat >>confdefs.h <<_ACEOF
55346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55355 LIBS="$ac_save_LIBS"
55357 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
55358 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
55359 if test x"$ac_has_iconv_h" = xyes &&
55360 test x"$ac_has_langinfo_h" = xyes &&
55361 test x"$ac_XPG2funcs" = xyes;
55363 ac_XPG2_wchar_t=yes
55367 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
55368 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
55370 # At the moment, only enable wchar_t specializations if all the
55371 # above support is present.
55372 if test x"$ac_isoC99_wchar_t" = xyes &&
55373 test x"$ac_XPG2_wchar_t" = xyes;
55375 cat >>confdefs.h <<\_ACEOF
55376 #define _GLIBCXX_USE_WCHAR_T 1
55382 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
55383 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
55384 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
55385 echo "${ECHO_T}$enable_wchar_t" >&6
55401 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
55402 machine/endian.h machine/param.h sys/machine.h sys/types.h \
55403 fp.h locale.h float.h inttypes.h
55405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
55406 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55407 echo "$as_me:$LINENO: checking for $ac_header" >&5
55408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55410 echo $ECHO_N "(cached) $ECHO_C" >&6
55412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55415 # Is the header compilable?
55416 echo "$as_me:$LINENO: checking $ac_header usability" >&5
55417 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
55418 cat >conftest.$ac_ext <<_ACEOF
55419 #line $LINENO "configure"
55422 cat confdefs.h >>conftest.$ac_ext
55423 cat >>conftest.$ac_ext <<_ACEOF
55424 /* end confdefs.h. */
55425 $ac_includes_default
55426 #include <$ac_header>
55428 rm -f conftest.$ac_objext
55429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55430 (eval $ac_compile) 2>&5
55432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55433 (exit $ac_status); } &&
55434 { ac_try='test -s conftest.$ac_objext'
55435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55436 (eval $ac_try) 2>&5
55438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55439 (exit $ac_status); }; }; then
55440 ac_header_compiler=yes
55442 echo "$as_me: failed program was:" >&5
55443 sed 's/^/| /' conftest.$ac_ext >&5
55445 ac_header_compiler=no
55447 rm -f conftest.$ac_objext conftest.$ac_ext
55448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55449 echo "${ECHO_T}$ac_header_compiler" >&6
55451 # Is the header present?
55452 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55454 cat >conftest.$ac_ext <<_ACEOF
55455 #line $LINENO "configure"
55458 cat confdefs.h >>conftest.$ac_ext
55459 cat >>conftest.$ac_ext <<_ACEOF
55460 /* end confdefs.h. */
55461 #include <$ac_header>
55463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55464 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55466 grep -v '^ *+' conftest.er1 >conftest.err
55468 cat conftest.err >&5
55469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55470 (exit $ac_status); } >/dev/null; then
55471 if test -s conftest.err; then
55472 ac_cpp_err=$ac_c_preproc_warn_flag
55479 if test -z "$ac_cpp_err"; then
55480 ac_header_preproc=yes
55482 echo "$as_me: failed program was:" >&5
55483 sed 's/^/| /' conftest.$ac_ext >&5
55485 ac_header_preproc=no
55487 rm -f conftest.err conftest.$ac_ext
55488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55489 echo "${ECHO_T}$ac_header_preproc" >&6
55491 # So? What about this header?
55492 case $ac_header_compiler:$ac_header_preproc in
55494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55500 ## ------------------------------------ ##
55501 ## Report this to bug-autoconf@gnu.org. ##
55502 ## ------------------------------------ ##
55505 sed "s/^/$as_me: WARNING: /" >&2
55508 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55509 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55510 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
55511 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
55512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55516 ## ------------------------------------ ##
55517 ## Report this to bug-autoconf@gnu.org. ##
55518 ## ------------------------------------ ##
55521 sed "s/^/$as_me: WARNING: /" >&2
55524 echo "$as_me:$LINENO: checking for $ac_header" >&5
55525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55527 echo $ECHO_N "(cached) $ECHO_C" >&6
55529 eval "$as_ac_Header=$ac_header_preproc"
55531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55536 cat >>confdefs.h <<_ACEOF
55537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55544 SECTION_FLAGS='-ffunction-sections -fdata-sections'
55547 # If we're not using GNU ld, then there's no point in even trying these
55548 # tests. Check for that first. We should have already tested for gld
55549 # by now (in libtool), but require it now just to be safe...
55550 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55551 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55555 # The name set by libtool depends on the version of libtool. Shame on us
55556 # for depending on an impl detail, but c'est la vie. Older versions used
55557 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55558 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55559 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
55560 # set (hence we're using an older libtool), then set it.
55561 if test x${with_gnu_ld+set} != xset; then
55562 if test x${ac_cv_prog_gnu_ld+set} != xset; then
55563 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
55566 with_gnu_ld=$ac_cv_prog_gnu_ld
55570 # Start by getting the version number. I think the libtool test already
55571 # does some of this, but throws away the result.
55573 ldver=`$LD --version 2>/dev/null | head -1 | \
55574 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55576 glibcxx_gnu_ld_version=`echo $ldver | \
55577 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55579 # Set --gc-sections.
55580 if test "$with_gnu_ld" = "notbroken"; then
55581 # GNU ld it is! Joy and bunny rabbits!
55583 # All these tests are for C++; save the language and the compiler flags.
55584 # Need to do this so that g++ won't try to link in libstdc++
55585 ac_test_CFLAGS="${CFLAGS+set}"
55586 ac_save_CFLAGS="$CFLAGS"
55587 CFLAGS='-x c++ -Wl,--gc-sections'
55589 # Check for -Wl,--gc-sections
55590 # XXX This test is broken at the moment, as symbols required for linking
55591 # are now in libsupc++ (not built yet). In addition, this test has
55592 # cored on solaris in the past. In addition, --gc-sections doesn't
55593 # really work at the moment (keeps on discarding used sections, first
55594 # .eh_frame and now some of the glibc sections for iconv).
55595 # Bzzzzt. Thanks for playing, maybe next time.
55596 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55597 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55598 if test "$cross_compiling" = yes; then
55599 ac_sectionLDflags=yes
55601 cat >conftest.$ac_ext <<_ACEOF
55602 #line $LINENO "configure"
55605 cat confdefs.h >>conftest.$ac_ext
55606 cat >>conftest.$ac_ext <<_ACEOF
55607 /* end confdefs.h. */
55617 rm -f conftest$ac_exeext
55618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55619 (eval $ac_link) 2>&5
55621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55622 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55624 (eval $ac_try) 2>&5
55626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55627 (exit $ac_status); }; }; then
55628 ac_sectionLDflags=yes
55630 echo "$as_me: program exited with status $ac_status" >&5
55631 echo "$as_me: failed program was:" >&5
55632 sed 's/^/| /' conftest.$ac_ext >&5
55634 ( exit $ac_status )
55635 ac_sectionLDflags=no
55637 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55639 if test "$ac_test_CFLAGS" = set; then
55640 CFLAGS="$ac_save_CFLAGS"
55642 # this is the suspicious part
55645 if test "$ac_sectionLDflags" = "yes"; then
55646 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55648 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55649 echo "${ECHO_T}$ac_sectionLDflags" >&6
55652 # Set linker optimization flags.
55653 if test x"$with_gnu_ld" = x"yes"; then
55654 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55662 echo "$as_me:$LINENO: checking for main in -lm" >&5
55663 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
55664 if test "${ac_cv_lib_m_main+set}" = set; then
55665 echo $ECHO_N "(cached) $ECHO_C" >&6
55667 ac_check_lib_save_LIBS=$LIBS
55669 if test x$gcc_no_link = xyes; then
55670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55672 { (exit 1); exit 1; }; }
55674 cat >conftest.$ac_ext <<_ACEOF
55675 #line $LINENO "configure"
55678 cat confdefs.h >>conftest.$ac_ext
55679 cat >>conftest.$ac_ext <<_ACEOF
55680 /* end confdefs.h. */
55691 rm -f conftest.$ac_objext conftest$ac_exeext
55692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55693 (eval $ac_link) 2>&5
55695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55696 (exit $ac_status); } &&
55697 { ac_try='test -s conftest$ac_exeext'
55698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55699 (eval $ac_try) 2>&5
55701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55702 (exit $ac_status); }; }; then
55703 ac_cv_lib_m_main=yes
55705 echo "$as_me: failed program was:" >&5
55706 sed 's/^/| /' conftest.$ac_ext >&5
55708 ac_cv_lib_m_main=no
55710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55711 LIBS=$ac_check_lib_save_LIBS
55713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
55714 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
55715 if test $ac_cv_lib_m_main = yes; then
55716 cat >>confdefs.h <<_ACEOF
55717 #define HAVE_LIBM 1
55725 for ac_func in copysignf
55727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55728 echo "$as_me:$LINENO: checking for $ac_func" >&5
55729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55730 if eval "test \"\${$as_ac_var+set}\" = set"; then
55731 echo $ECHO_N "(cached) $ECHO_C" >&6
55733 if test x$gcc_no_link = xyes; then
55734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55736 { (exit 1); exit 1; }; }
55738 cat >conftest.$ac_ext <<_ACEOF
55739 #line $LINENO "configure"
55742 cat confdefs.h >>conftest.$ac_ext
55743 cat >>conftest.$ac_ext <<_ACEOF
55744 /* end confdefs.h. */
55745 /* System header to define __stub macros and hopefully few prototypes,
55746 which can conflict with char $ac_func (); below.
55747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55748 <limits.h> exists even on freestanding compilers. */
55750 # include <limits.h>
55752 # include <assert.h>
55754 /* Override any gcc2 internal prototype to avoid an error. */
55759 /* We use char because int might match the return type of a gcc2
55760 builtin and then its argument prototype would still apply. */
55762 /* The GNU C library defines this for functions which it implements
55763 to always fail with ENOSYS. Some functions are actually named
55764 something starting with __ and the normal name is an alias. */
55765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55768 char (*f) () = $ac_func;
55777 return f != $ac_func;
55782 rm -f conftest.$ac_objext conftest$ac_exeext
55783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55784 (eval $ac_link) 2>&5
55786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55787 (exit $ac_status); } &&
55788 { ac_try='test -s conftest$ac_exeext'
55789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55790 (eval $ac_try) 2>&5
55792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55793 (exit $ac_status); }; }; then
55794 eval "$as_ac_var=yes"
55796 echo "$as_me: failed program was:" >&5
55797 sed 's/^/| /' conftest.$ac_ext >&5
55799 eval "$as_ac_var=no"
55801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55805 if test `eval echo '${'$as_ac_var'}'` = yes; then
55806 cat >>confdefs.h <<_ACEOF
55807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55811 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
55817 for ac_func in __signbit
55819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55820 echo "$as_me:$LINENO: checking for $ac_func" >&5
55821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55822 if eval "test \"\${$as_ac_var+set}\" = set"; then
55823 echo $ECHO_N "(cached) $ECHO_C" >&6
55825 if test x$gcc_no_link = xyes; then
55826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55828 { (exit 1); exit 1; }; }
55830 cat >conftest.$ac_ext <<_ACEOF
55831 #line $LINENO "configure"
55834 cat confdefs.h >>conftest.$ac_ext
55835 cat >>conftest.$ac_ext <<_ACEOF
55836 /* end confdefs.h. */
55837 /* System header to define __stub macros and hopefully few prototypes,
55838 which can conflict with char $ac_func (); below.
55839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55840 <limits.h> exists even on freestanding compilers. */
55842 # include <limits.h>
55844 # include <assert.h>
55846 /* Override any gcc2 internal prototype to avoid an error. */
55851 /* We use char because int might match the return type of a gcc2
55852 builtin and then its argument prototype would still apply. */
55854 /* The GNU C library defines this for functions which it implements
55855 to always fail with ENOSYS. Some functions are actually named
55856 something starting with __ and the normal name is an alias. */
55857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55860 char (*f) () = $ac_func;
55869 return f != $ac_func;
55874 rm -f conftest.$ac_objext conftest$ac_exeext
55875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55876 (eval $ac_link) 2>&5
55878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55879 (exit $ac_status); } &&
55880 { ac_try='test -s conftest$ac_exeext'
55881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55882 (eval $ac_try) 2>&5
55884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55885 (exit $ac_status); }; }; then
55886 eval "$as_ac_var=yes"
55888 echo "$as_me: failed program was:" >&5
55889 sed 's/^/| /' conftest.$ac_ext >&5
55891 eval "$as_ac_var=no"
55893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55897 if test `eval echo '${'$as_ac_var'}'` = yes; then
55898 cat >>confdefs.h <<_ACEOF
55899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55903 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
55908 for ac_func in __signbitf
55910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55911 echo "$as_me:$LINENO: checking for $ac_func" >&5
55912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55913 if eval "test \"\${$as_ac_var+set}\" = set"; then
55914 echo $ECHO_N "(cached) $ECHO_C" >&6
55916 if test x$gcc_no_link = xyes; then
55917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55919 { (exit 1); exit 1; }; }
55921 cat >conftest.$ac_ext <<_ACEOF
55922 #line $LINENO "configure"
55925 cat confdefs.h >>conftest.$ac_ext
55926 cat >>conftest.$ac_ext <<_ACEOF
55927 /* end confdefs.h. */
55928 /* System header to define __stub macros and hopefully few prototypes,
55929 which can conflict with char $ac_func (); below.
55930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55931 <limits.h> exists even on freestanding compilers. */
55933 # include <limits.h>
55935 # include <assert.h>
55937 /* Override any gcc2 internal prototype to avoid an error. */
55942 /* We use char because int might match the return type of a gcc2
55943 builtin and then its argument prototype would still apply. */
55945 /* The GNU C library defines this for functions which it implements
55946 to always fail with ENOSYS. Some functions are actually named
55947 something starting with __ and the normal name is an alias. */
55948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55951 char (*f) () = $ac_func;
55960 return f != $ac_func;
55965 rm -f conftest.$ac_objext conftest$ac_exeext
55966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55967 (eval $ac_link) 2>&5
55969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55970 (exit $ac_status); } &&
55971 { ac_try='test -s conftest$ac_exeext'
55972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55973 (eval $ac_try) 2>&5
55975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55976 (exit $ac_status); }; }; then
55977 eval "$as_ac_var=yes"
55979 echo "$as_me: failed program was:" >&5
55980 sed 's/^/| /' conftest.$ac_ext >&5
55982 eval "$as_ac_var=no"
55984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
55986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55988 if test `eval echo '${'$as_ac_var'}'` = yes; then
55989 cat >>confdefs.h <<_ACEOF
55990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55994 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
55999 if test x$ac_cv_func_copysignl = x"yes"; then
56001 for ac_func in __signbitl
56003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56004 echo "$as_me:$LINENO: checking for $ac_func" >&5
56005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56006 if eval "test \"\${$as_ac_var+set}\" = set"; then
56007 echo $ECHO_N "(cached) $ECHO_C" >&6
56009 if test x$gcc_no_link = xyes; then
56010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56012 { (exit 1); exit 1; }; }
56014 cat >conftest.$ac_ext <<_ACEOF
56015 #line $LINENO "configure"
56018 cat confdefs.h >>conftest.$ac_ext
56019 cat >>conftest.$ac_ext <<_ACEOF
56020 /* end confdefs.h. */
56021 /* System header to define __stub macros and hopefully few prototypes,
56022 which can conflict with char $ac_func (); below.
56023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56024 <limits.h> exists even on freestanding compilers. */
56026 # include <limits.h>
56028 # include <assert.h>
56030 /* Override any gcc2 internal prototype to avoid an error. */
56035 /* We use char because int might match the return type of a gcc2
56036 builtin and then its argument prototype would still apply. */
56038 /* The GNU C library defines this for functions which it implements
56039 to always fail with ENOSYS. Some functions are actually named
56040 something starting with __ and the normal name is an alias. */
56041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56044 char (*f) () = $ac_func;
56053 return f != $ac_func;
56058 rm -f conftest.$ac_objext conftest$ac_exeext
56059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56060 (eval $ac_link) 2>&5
56062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56063 (exit $ac_status); } &&
56064 { ac_try='test -s conftest$ac_exeext'
56065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56066 (eval $ac_try) 2>&5
56068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56069 (exit $ac_status); }; }; then
56070 eval "$as_ac_var=yes"
56072 echo "$as_me: failed program was:" >&5
56073 sed 's/^/| /' conftest.$ac_ext >&5
56075 eval "$as_ac_var=no"
56077 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56081 if test `eval echo '${'$as_ac_var'}'` = yes; then
56082 cat >>confdefs.h <<_ACEOF
56083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56087 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
56093 # XXX Review this. Nothing uses it.
56094 if test -n "$LIBMATHOBJS"; then
56100 # Test wchar.h for mbstate_t, which is needed for char_traits and
56101 # others even if wchar_t support is not on.
56102 echo "$as_me:$LINENO: checking for mbstate_t" >&5
56103 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
56104 cat >conftest.$ac_ext <<_ACEOF
56105 #line $LINENO "configure"
56108 cat confdefs.h >>conftest.$ac_ext
56109 cat >>conftest.$ac_ext <<_ACEOF
56110 /* end confdefs.h. */
56115 mbstate_t teststate;
56120 rm -f conftest.$ac_objext
56121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56122 (eval $ac_compile) 2>&5
56124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56125 (exit $ac_status); } &&
56126 { ac_try='test -s conftest.$ac_objext'
56127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56128 (eval $ac_try) 2>&5
56130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56131 (exit $ac_status); }; }; then
56134 echo "$as_me: failed program was:" >&5
56135 sed 's/^/| /' conftest.$ac_ext >&5
56139 rm -f conftest.$ac_objext conftest.$ac_ext
56140 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
56141 echo "${ECHO_T}$have_mbstate_t" >&6
56142 if test x"$have_mbstate_t" = xyes; then
56143 cat >>confdefs.h <<\_ACEOF
56144 #define HAVE_MBSTATE_T 1
56149 # Sanity check for existence of ISO C99 headers for extended encoding.
56151 for ac_header in wchar.h
56153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56155 echo "$as_me:$LINENO: checking for $ac_header" >&5
56156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56158 echo $ECHO_N "(cached) $ECHO_C" >&6
56160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56163 # Is the header compilable?
56164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56166 cat >conftest.$ac_ext <<_ACEOF
56167 #line $LINENO "configure"
56170 cat confdefs.h >>conftest.$ac_ext
56171 cat >>conftest.$ac_ext <<_ACEOF
56172 /* end confdefs.h. */
56173 $ac_includes_default
56174 #include <$ac_header>
56176 rm -f conftest.$ac_objext
56177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56178 (eval $ac_compile) 2>&5
56180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56181 (exit $ac_status); } &&
56182 { ac_try='test -s conftest.$ac_objext'
56183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56184 (eval $ac_try) 2>&5
56186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56187 (exit $ac_status); }; }; then
56188 ac_header_compiler=yes
56190 echo "$as_me: failed program was:" >&5
56191 sed 's/^/| /' conftest.$ac_ext >&5
56193 ac_header_compiler=no
56195 rm -f conftest.$ac_objext conftest.$ac_ext
56196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56197 echo "${ECHO_T}$ac_header_compiler" >&6
56199 # Is the header present?
56200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56202 cat >conftest.$ac_ext <<_ACEOF
56203 #line $LINENO "configure"
56206 cat confdefs.h >>conftest.$ac_ext
56207 cat >>conftest.$ac_ext <<_ACEOF
56208 /* end confdefs.h. */
56209 #include <$ac_header>
56211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56214 grep -v '^ *+' conftest.er1 >conftest.err
56216 cat conftest.err >&5
56217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56218 (exit $ac_status); } >/dev/null; then
56219 if test -s conftest.err; then
56220 ac_cpp_err=$ac_c_preproc_warn_flag
56227 if test -z "$ac_cpp_err"; then
56228 ac_header_preproc=yes
56230 echo "$as_me: failed program was:" >&5
56231 sed 's/^/| /' conftest.$ac_ext >&5
56233 ac_header_preproc=no
56235 rm -f conftest.err conftest.$ac_ext
56236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56237 echo "${ECHO_T}$ac_header_preproc" >&6
56239 # So? What about this header?
56240 case $ac_header_compiler:$ac_header_preproc in
56242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56245 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56248 ## ------------------------------------ ##
56249 ## Report this to bug-autoconf@gnu.org. ##
56250 ## ------------------------------------ ##
56253 sed "s/^/$as_me: WARNING: /" >&2
56256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56260 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56261 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56264 ## ------------------------------------ ##
56265 ## Report this to bug-autoconf@gnu.org. ##
56266 ## ------------------------------------ ##
56269 sed "s/^/$as_me: WARNING: /" >&2
56272 echo "$as_me:$LINENO: checking for $ac_header" >&5
56273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56275 echo $ECHO_N "(cached) $ECHO_C" >&6
56277 eval "$as_ac_Header=$ac_header_preproc"
56279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56280 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56283 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56284 cat >>confdefs.h <<_ACEOF
56285 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56295 for ac_header in wctype.h
56297 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
56298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56299 echo "$as_me:$LINENO: checking for $ac_header" >&5
56300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56302 echo $ECHO_N "(cached) $ECHO_C" >&6
56304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56307 # Is the header compilable?
56308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
56309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
56310 cat >conftest.$ac_ext <<_ACEOF
56311 #line $LINENO "configure"
56314 cat confdefs.h >>conftest.$ac_ext
56315 cat >>conftest.$ac_ext <<_ACEOF
56316 /* end confdefs.h. */
56317 $ac_includes_default
56318 #include <$ac_header>
56320 rm -f conftest.$ac_objext
56321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56322 (eval $ac_compile) 2>&5
56324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56325 (exit $ac_status); } &&
56326 { ac_try='test -s conftest.$ac_objext'
56327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56328 (eval $ac_try) 2>&5
56330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56331 (exit $ac_status); }; }; then
56332 ac_header_compiler=yes
56334 echo "$as_me: failed program was:" >&5
56335 sed 's/^/| /' conftest.$ac_ext >&5
56337 ac_header_compiler=no
56339 rm -f conftest.$ac_objext conftest.$ac_ext
56340 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56341 echo "${ECHO_T}$ac_header_compiler" >&6
56343 # Is the header present?
56344 echo "$as_me:$LINENO: checking $ac_header presence" >&5
56345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
56346 cat >conftest.$ac_ext <<_ACEOF
56347 #line $LINENO "configure"
56350 cat confdefs.h >>conftest.$ac_ext
56351 cat >>conftest.$ac_ext <<_ACEOF
56352 /* end confdefs.h. */
56353 #include <$ac_header>
56355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56358 grep -v '^ *+' conftest.er1 >conftest.err
56360 cat conftest.err >&5
56361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56362 (exit $ac_status); } >/dev/null; then
56363 if test -s conftest.err; then
56364 ac_cpp_err=$ac_c_preproc_warn_flag
56371 if test -z "$ac_cpp_err"; then
56372 ac_header_preproc=yes
56374 echo "$as_me: failed program was:" >&5
56375 sed 's/^/| /' conftest.$ac_ext >&5
56377 ac_header_preproc=no
56379 rm -f conftest.err conftest.$ac_ext
56380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56381 echo "${ECHO_T}$ac_header_preproc" >&6
56383 # So? What about this header?
56384 case $ac_header_compiler:$ac_header_preproc in
56386 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
56387 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
56388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56392 ## ------------------------------------ ##
56393 ## Report this to bug-autoconf@gnu.org. ##
56394 ## ------------------------------------ ##
56397 sed "s/^/$as_me: WARNING: /" >&2
56400 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
56401 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
56402 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
56403 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
56404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
56405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
56408 ## ------------------------------------ ##
56409 ## Report this to bug-autoconf@gnu.org. ##
56410 ## ------------------------------------ ##
56413 sed "s/^/$as_me: WARNING: /" >&2
56416 echo "$as_me:$LINENO: checking for $ac_header" >&5
56417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
56418 if eval "test \"\${$as_ac_Header+set}\" = set"; then
56419 echo $ECHO_N "(cached) $ECHO_C" >&6
56421 eval "$as_ac_Header=$ac_header_preproc"
56423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
56424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
56427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
56428 cat >>confdefs.h <<_ACEOF
56429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
56431 ac_has_wctype_h=yes
56439 # Only continue checking if the ISO C99 headers exist and support is on.
56440 if test x"$ac_has_wchar_h" = xyes &&
56441 test x"$ac_has_wctype_h" = xyes &&
56442 test x"$enable_c_mbchar" != xno; then
56444 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
56445 # numeric_limits can instantiate type_traits<wchar_t>
56446 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
56447 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
56448 cat >conftest.$ac_ext <<_ACEOF
56449 #line $LINENO "configure"
56452 cat confdefs.h >>conftest.$ac_ext
56453 cat >>conftest.$ac_ext <<_ACEOF
56454 /* end confdefs.h. */
56459 int i = WCHAR_MIN; int j = WCHAR_MAX;
56464 rm -f conftest.$ac_objext
56465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56466 (eval $ac_compile) 2>&5
56468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56469 (exit $ac_status); } &&
56470 { ac_try='test -s conftest.$ac_objext'
56471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56472 (eval $ac_try) 2>&5
56474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56475 (exit $ac_status); }; }; then
56476 has_wchar_minmax=yes
56478 echo "$as_me: failed program was:" >&5
56479 sed 's/^/| /' conftest.$ac_ext >&5
56481 has_wchar_minmax=no
56483 rm -f conftest.$ac_objext conftest.$ac_ext
56484 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
56485 echo "${ECHO_T}$has_wchar_minmax" >&6
56487 # Test wchar.h for WEOF, which is what we use to determine whether
56488 # to specialize for char_traits<wchar_t> or not.
56489 echo "$as_me:$LINENO: checking for WEOF" >&5
56490 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
56491 cat >conftest.$ac_ext <<_ACEOF
56492 #line $LINENO "configure"
56495 cat confdefs.h >>conftest.$ac_ext
56496 cat >>conftest.$ac_ext <<_ACEOF
56497 /* end confdefs.h. */
56500 #include <stddef.h>
56509 rm -f conftest.$ac_objext
56510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56511 (eval $ac_compile) 2>&5
56513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56514 (exit $ac_status); } &&
56515 { ac_try='test -s conftest.$ac_objext'
56516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56517 (eval $ac_try) 2>&5
56519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56520 (exit $ac_status); }; }; then
56523 echo "$as_me: failed program was:" >&5
56524 sed 's/^/| /' conftest.$ac_ext >&5
56528 rm -f conftest.$ac_objext conftest.$ac_ext
56529 echo "$as_me:$LINENO: result: $has_weof" >&5
56530 echo "${ECHO_T}$has_weof" >&6
56532 # Tests for wide character functions used in char_traits<wchar_t>.
56540 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
56542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56543 echo "$as_me:$LINENO: checking for $ac_func" >&5
56544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56545 if eval "test \"\${$as_ac_var+set}\" = set"; then
56546 echo $ECHO_N "(cached) $ECHO_C" >&6
56548 if test x$gcc_no_link = xyes; then
56549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56551 { (exit 1); exit 1; }; }
56553 cat >conftest.$ac_ext <<_ACEOF
56554 #line $LINENO "configure"
56557 cat confdefs.h >>conftest.$ac_ext
56558 cat >>conftest.$ac_ext <<_ACEOF
56559 /* end confdefs.h. */
56560 /* System header to define __stub macros and hopefully few prototypes,
56561 which can conflict with char $ac_func (); below.
56562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56563 <limits.h> exists even on freestanding compilers. */
56565 # include <limits.h>
56567 # include <assert.h>
56569 /* Override any gcc2 internal prototype to avoid an error. */
56574 /* We use char because int might match the return type of a gcc2
56575 builtin and then its argument prototype would still apply. */
56577 /* The GNU C library defines this for functions which it implements
56578 to always fail with ENOSYS. Some functions are actually named
56579 something starting with __ and the normal name is an alias. */
56580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56583 char (*f) () = $ac_func;
56592 return f != $ac_func;
56597 rm -f conftest.$ac_objext conftest$ac_exeext
56598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56599 (eval $ac_link) 2>&5
56601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56602 (exit $ac_status); } &&
56603 { ac_try='test -s conftest$ac_exeext'
56604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56605 (eval $ac_try) 2>&5
56607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56608 (exit $ac_status); }; }; then
56609 eval "$as_ac_var=yes"
56611 echo "$as_me: failed program was:" >&5
56612 sed 's/^/| /' conftest.$ac_ext >&5
56614 eval "$as_ac_var=no"
56616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56620 if test `eval echo '${'$as_ac_var'}'` = yes; then
56621 cat >>confdefs.h <<_ACEOF
56622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56631 # Checks for names injected into std:: by the c_std headers.
56678 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
56679 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
56680 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
56681 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
56682 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
56683 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
56685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56686 echo "$as_me:$LINENO: checking for $ac_func" >&5
56687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56688 if eval "test \"\${$as_ac_var+set}\" = set"; then
56689 echo $ECHO_N "(cached) $ECHO_C" >&6
56691 if test x$gcc_no_link = xyes; then
56692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56694 { (exit 1); exit 1; }; }
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 /* System header to define __stub macros and hopefully few prototypes,
56704 which can conflict with char $ac_func (); below.
56705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56706 <limits.h> exists even on freestanding compilers. */
56708 # include <limits.h>
56710 # include <assert.h>
56712 /* Override any gcc2 internal prototype to avoid an error. */
56717 /* We use char because int might match the return type of a gcc2
56718 builtin and then its argument prototype would still apply. */
56720 /* The GNU C library defines this for functions which it implements
56721 to always fail with ENOSYS. Some functions are actually named
56722 something starting with __ and the normal name is an alias. */
56723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56726 char (*f) () = $ac_func;
56735 return f != $ac_func;
56740 rm -f conftest.$ac_objext conftest$ac_exeext
56741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56742 (eval $ac_link) 2>&5
56744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56745 (exit $ac_status); } &&
56746 { ac_try='test -s conftest$ac_exeext'
56747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56748 (eval $ac_try) 2>&5
56750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56751 (exit $ac_status); }; }; then
56752 eval "$as_ac_var=yes"
56754 echo "$as_me: failed program was:" >&5
56755 sed 's/^/| /' conftest.$ac_ext >&5
56757 eval "$as_ac_var=no"
56759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56763 if test `eval echo '${'$as_ac_var'}'` = yes; then
56764 cat >>confdefs.h <<_ACEOF
56765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56774 # Checks for wide character functions that are not required
56775 # for basic wchar_t support. Don't disable support if they are missing.
56776 # Injection of these is wrapped with guard macros.
56782 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
56784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56785 echo "$as_me:$LINENO: checking for $ac_func" >&5
56786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56787 if eval "test \"\${$as_ac_var+set}\" = set"; then
56788 echo $ECHO_N "(cached) $ECHO_C" >&6
56790 if test x$gcc_no_link = xyes; then
56791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56793 { (exit 1); exit 1; }; }
56795 cat >conftest.$ac_ext <<_ACEOF
56796 #line $LINENO "configure"
56799 cat confdefs.h >>conftest.$ac_ext
56800 cat >>conftest.$ac_ext <<_ACEOF
56801 /* end confdefs.h. */
56802 /* System header to define __stub macros and hopefully few prototypes,
56803 which can conflict with char $ac_func (); below.
56804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56805 <limits.h> exists even on freestanding compilers. */
56807 # include <limits.h>
56809 # include <assert.h>
56811 /* Override any gcc2 internal prototype to avoid an error. */
56816 /* We use char because int might match the return type of a gcc2
56817 builtin and then its argument prototype would still apply. */
56819 /* The GNU C library defines this for functions which it implements
56820 to always fail with ENOSYS. Some functions are actually named
56821 something starting with __ and the normal name is an alias. */
56822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56825 char (*f) () = $ac_func;
56834 return f != $ac_func;
56839 rm -f conftest.$ac_objext conftest$ac_exeext
56840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56841 (eval $ac_link) 2>&5
56843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56844 (exit $ac_status); } &&
56845 { ac_try='test -s conftest$ac_exeext'
56846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56847 (eval $ac_try) 2>&5
56849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56850 (exit $ac_status); }; }; then
56851 eval "$as_ac_var=yes"
56853 echo "$as_me: failed program was:" >&5
56854 sed 's/^/| /' conftest.$ac_ext >&5
56856 eval "$as_ac_var=no"
56858 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
56860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56862 if test `eval echo '${'$as_ac_var'}'` = yes; then
56863 cat >>confdefs.h <<_ACEOF
56864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56871 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
56872 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
56873 if test x"$has_weof" = xyes &&
56874 test x"$has_wchar_minmax" = xyes &&
56875 test x"$ac_wfuncs" = xyes;
56877 ac_isoC99_wchar_t=yes
56879 ac_isoC99_wchar_t=no
56881 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
56882 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
56884 # Use iconv for wchar_t to char conversions. As such, check for
56885 # X/Open Portability Guide, version 2 features (XPG2).
56886 if test "${ac_cv_header_iconv_h+set}" = set; then
56887 echo "$as_me:$LINENO: checking for iconv.h" >&5
56888 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
56889 if test "${ac_cv_header_iconv_h+set}" = set; then
56890 echo $ECHO_N "(cached) $ECHO_C" >&6
56892 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
56893 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
56895 # Is the header compilable?
56896 echo "$as_me:$LINENO: checking iconv.h usability" >&5
56897 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
56898 cat >conftest.$ac_ext <<_ACEOF
56899 #line $LINENO "configure"
56902 cat confdefs.h >>conftest.$ac_ext
56903 cat >>conftest.$ac_ext <<_ACEOF
56904 /* end confdefs.h. */
56905 $ac_includes_default
56908 rm -f conftest.$ac_objext
56909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56910 (eval $ac_compile) 2>&5
56912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56913 (exit $ac_status); } &&
56914 { ac_try='test -s conftest.$ac_objext'
56915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56916 (eval $ac_try) 2>&5
56918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56919 (exit $ac_status); }; }; then
56920 ac_header_compiler=yes
56922 echo "$as_me: failed program was:" >&5
56923 sed 's/^/| /' conftest.$ac_ext >&5
56925 ac_header_compiler=no
56927 rm -f conftest.$ac_objext conftest.$ac_ext
56928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
56929 echo "${ECHO_T}$ac_header_compiler" >&6
56931 # Is the header present?
56932 echo "$as_me:$LINENO: checking iconv.h presence" >&5
56933 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
56934 cat >conftest.$ac_ext <<_ACEOF
56935 #line $LINENO "configure"
56938 cat confdefs.h >>conftest.$ac_ext
56939 cat >>conftest.$ac_ext <<_ACEOF
56940 /* end confdefs.h. */
56943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
56944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
56946 grep -v '^ *+' conftest.er1 >conftest.err
56948 cat conftest.err >&5
56949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56950 (exit $ac_status); } >/dev/null; then
56951 if test -s conftest.err; then
56952 ac_cpp_err=$ac_c_preproc_warn_flag
56959 if test -z "$ac_cpp_err"; then
56960 ac_header_preproc=yes
56962 echo "$as_me: failed program was:" >&5
56963 sed 's/^/| /' conftest.$ac_ext >&5
56965 ac_header_preproc=no
56967 rm -f conftest.err conftest.$ac_ext
56968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
56969 echo "${ECHO_T}$ac_header_preproc" >&6
56971 # So? What about this header?
56972 case $ac_header_compiler:$ac_header_preproc in
56974 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
56975 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
56976 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56977 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56980 ## ------------------------------------ ##
56981 ## Report this to bug-autoconf@gnu.org. ##
56982 ## ------------------------------------ ##
56985 sed "s/^/$as_me: WARNING: /" >&2
56988 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
56989 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
56990 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
56991 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
56992 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
56993 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
56996 ## ------------------------------------ ##
56997 ## Report this to bug-autoconf@gnu.org. ##
56998 ## ------------------------------------ ##
57001 sed "s/^/$as_me: WARNING: /" >&2
57004 echo "$as_me:$LINENO: checking for iconv.h" >&5
57005 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
57006 if test "${ac_cv_header_iconv_h+set}" = set; then
57007 echo $ECHO_N "(cached) $ECHO_C" >&6
57009 ac_cv_header_iconv_h=$ac_header_preproc
57011 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
57012 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
57015 if test $ac_cv_header_iconv_h = yes; then
57022 if test "${ac_cv_header_langinfo_h+set}" = set; then
57023 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57024 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57025 if test "${ac_cv_header_langinfo_h+set}" = set; then
57026 echo $ECHO_N "(cached) $ECHO_C" >&6
57028 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57029 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57031 # Is the header compilable?
57032 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
57033 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
57034 cat >conftest.$ac_ext <<_ACEOF
57035 #line $LINENO "configure"
57038 cat confdefs.h >>conftest.$ac_ext
57039 cat >>conftest.$ac_ext <<_ACEOF
57040 /* end confdefs.h. */
57041 $ac_includes_default
57042 #include <langinfo.h>
57044 rm -f conftest.$ac_objext
57045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57046 (eval $ac_compile) 2>&5
57048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049 (exit $ac_status); } &&
57050 { ac_try='test -s conftest.$ac_objext'
57051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052 (eval $ac_try) 2>&5
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); }; }; then
57056 ac_header_compiler=yes
57058 echo "$as_me: failed program was:" >&5
57059 sed 's/^/| /' conftest.$ac_ext >&5
57061 ac_header_compiler=no
57063 rm -f conftest.$ac_objext conftest.$ac_ext
57064 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
57065 echo "${ECHO_T}$ac_header_compiler" >&6
57067 # Is the header present?
57068 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
57069 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
57070 cat >conftest.$ac_ext <<_ACEOF
57071 #line $LINENO "configure"
57074 cat confdefs.h >>conftest.$ac_ext
57075 cat >>conftest.$ac_ext <<_ACEOF
57076 /* end confdefs.h. */
57077 #include <langinfo.h>
57079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
57080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
57082 grep -v '^ *+' conftest.er1 >conftest.err
57084 cat conftest.err >&5
57085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57086 (exit $ac_status); } >/dev/null; then
57087 if test -s conftest.err; then
57088 ac_cpp_err=$ac_c_preproc_warn_flag
57095 if test -z "$ac_cpp_err"; then
57096 ac_header_preproc=yes
57098 echo "$as_me: failed program was:" >&5
57099 sed 's/^/| /' conftest.$ac_ext >&5
57101 ac_header_preproc=no
57103 rm -f conftest.err conftest.$ac_ext
57104 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
57105 echo "${ECHO_T}$ac_header_preproc" >&6
57107 # So? What about this header?
57108 case $ac_header_compiler:$ac_header_preproc in
57110 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
57111 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
57112 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57113 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57116 ## ------------------------------------ ##
57117 ## Report this to bug-autoconf@gnu.org. ##
57118 ## ------------------------------------ ##
57121 sed "s/^/$as_me: WARNING: /" >&2
57124 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
57125 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
57126 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
57127 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
57128 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
57129 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
57132 ## ------------------------------------ ##
57133 ## Report this to bug-autoconf@gnu.org. ##
57134 ## ------------------------------------ ##
57137 sed "s/^/$as_me: WARNING: /" >&2
57140 echo "$as_me:$LINENO: checking for langinfo.h" >&5
57141 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
57142 if test "${ac_cv_header_langinfo_h+set}" = set; then
57143 echo $ECHO_N "(cached) $ECHO_C" >&6
57145 ac_cv_header_langinfo_h=$ac_header_preproc
57147 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
57148 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
57151 if test $ac_cv_header_langinfo_h = yes; then
57152 ac_has_langinfo_h=yes
57154 ac_has_langinfo_h=no
57159 # Check for existence of libiconv.a providing XPG2 wchar_t support.
57160 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
57161 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
57162 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
57163 echo $ECHO_N "(cached) $ECHO_C" >&6
57165 ac_check_lib_save_LIBS=$LIBS
57166 LIBS="-liconv $LIBS"
57167 if test x$gcc_no_link = xyes; then
57168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57170 { (exit 1); exit 1; }; }
57172 cat >conftest.$ac_ext <<_ACEOF
57173 #line $LINENO "configure"
57176 cat confdefs.h >>conftest.$ac_ext
57177 cat >>conftest.$ac_ext <<_ACEOF
57178 /* end confdefs.h. */
57180 /* Override any gcc2 internal prototype to avoid an error. */
57184 /* We use char because int might match the return type of a gcc2
57185 builtin and then its argument prototype would still apply. */
57195 rm -f conftest.$ac_objext conftest$ac_exeext
57196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57197 (eval $ac_link) 2>&5
57199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57200 (exit $ac_status); } &&
57201 { ac_try='test -s conftest$ac_exeext'
57202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57203 (eval $ac_try) 2>&5
57205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57206 (exit $ac_status); }; }; then
57207 ac_cv_lib_iconv_iconv=yes
57209 echo "$as_me: failed program was:" >&5
57210 sed 's/^/| /' conftest.$ac_ext >&5
57212 ac_cv_lib_iconv_iconv=no
57214 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57215 LIBS=$ac_check_lib_save_LIBS
57217 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
57218 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
57219 if test $ac_cv_lib_iconv_iconv = yes; then
57223 ac_save_LIBS="$LIBS"
57224 LIBS="$LIBS $libiconv"
57230 for ac_func in iconv_open iconv_close iconv nl_langinfo
57232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57233 echo "$as_me:$LINENO: checking for $ac_func" >&5
57234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57235 if eval "test \"\${$as_ac_var+set}\" = set"; then
57236 echo $ECHO_N "(cached) $ECHO_C" >&6
57238 if test x$gcc_no_link = xyes; then
57239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57241 { (exit 1); exit 1; }; }
57243 cat >conftest.$ac_ext <<_ACEOF
57244 #line $LINENO "configure"
57247 cat confdefs.h >>conftest.$ac_ext
57248 cat >>conftest.$ac_ext <<_ACEOF
57249 /* end confdefs.h. */
57250 /* System header to define __stub macros and hopefully few prototypes,
57251 which can conflict with char $ac_func (); below.
57252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57253 <limits.h> exists even on freestanding compilers. */
57255 # include <limits.h>
57257 # include <assert.h>
57259 /* Override any gcc2 internal prototype to avoid an error. */
57264 /* We use char because int might match the return type of a gcc2
57265 builtin and then its argument prototype would still apply. */
57267 /* The GNU C library defines this for functions which it implements
57268 to always fail with ENOSYS. Some functions are actually named
57269 something starting with __ and the normal name is an alias. */
57270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57273 char (*f) () = $ac_func;
57282 return f != $ac_func;
57287 rm -f conftest.$ac_objext conftest$ac_exeext
57288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57289 (eval $ac_link) 2>&5
57291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57292 (exit $ac_status); } &&
57293 { ac_try='test -s conftest$ac_exeext'
57294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57295 (eval $ac_try) 2>&5
57297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57298 (exit $ac_status); }; }; then
57299 eval "$as_ac_var=yes"
57301 echo "$as_me: failed program was:" >&5
57302 sed 's/^/| /' conftest.$ac_ext >&5
57304 eval "$as_ac_var=no"
57306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57310 if test `eval echo '${'$as_ac_var'}'` = yes; then
57311 cat >>confdefs.h <<_ACEOF
57312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57321 LIBS="$ac_save_LIBS"
57323 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
57324 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
57325 if test x"$ac_has_iconv_h" = xyes &&
57326 test x"$ac_has_langinfo_h" = xyes &&
57327 test x"$ac_XPG2funcs" = xyes;
57329 ac_XPG2_wchar_t=yes
57333 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
57334 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
57336 # At the moment, only enable wchar_t specializations if all the
57337 # above support is present.
57338 if test x"$ac_isoC99_wchar_t" = xyes &&
57339 test x"$ac_XPG2_wchar_t" = xyes;
57341 cat >>confdefs.h <<\_ACEOF
57342 #define _GLIBCXX_USE_WCHAR_T 1
57348 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
57349 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
57350 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
57351 echo "${ECHO_T}$enable_wchar_t" >&6
57353 cat >>confdefs.h <<\_ACEOF
57354 #define HAVE_COPYSIGN 1
57357 cat >>confdefs.h <<\_ACEOF
57358 #define HAVE_COPYSIGNF 1
57361 cat >>confdefs.h <<\_ACEOF
57362 #define HAVE_FINITEF 1
57365 cat >>confdefs.h <<\_ACEOF
57366 #define HAVE_FINITE 1
57369 cat >>confdefs.h <<\_ACEOF
57370 #define HAVE_FREXPF 1
57373 cat >>confdefs.h <<\_ACEOF
57374 #define HAVE_HYPOTF 1
57377 cat >>confdefs.h <<\_ACEOF
57378 #define HAVE_ISINF 1
57381 cat >>confdefs.h <<\_ACEOF
57382 #define HAVE_ISINFF 1
57385 cat >>confdefs.h <<\_ACEOF
57386 #define HAVE_ISNAN 1
57389 cat >>confdefs.h <<\_ACEOF
57390 #define HAVE_ISNANF 1
57393 if test x"long_double_math_on_this_cpu" = x"yes"; then
57394 cat >>confdefs.h <<\_ACEOF
57395 #define HAVE_FINITEL 1
57398 cat >>confdefs.h <<\_ACEOF
57399 #define HAVE_ISINFL 1
57402 cat >>confdefs.h <<\_ACEOF
57403 #define HAVE_ISNANL 1
57408 *-qnx6.1* | *-qnx6.2*)
57409 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57412 # If we're not using GNU ld, then there's no point in even trying these
57413 # tests. Check for that first. We should have already tested for gld
57414 # by now (in libtool), but require it now just to be safe...
57415 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57416 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57420 # The name set by libtool depends on the version of libtool. Shame on us
57421 # for depending on an impl detail, but c'est la vie. Older versions used
57422 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57423 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57424 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57425 # set (hence we're using an older libtool), then set it.
57426 if test x${with_gnu_ld+set} != xset; then
57427 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57428 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57431 with_gnu_ld=$ac_cv_prog_gnu_ld
57435 # Start by getting the version number. I think the libtool test already
57436 # does some of this, but throws away the result.
57438 ldver=`$LD --version 2>/dev/null | head -1 | \
57439 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
57441 glibcxx_gnu_ld_version=`echo $ldver | \
57442 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57444 # Set --gc-sections.
57445 if test "$with_gnu_ld" = "notbroken"; then
57446 # GNU ld it is! Joy and bunny rabbits!
57448 # All these tests are for C++; save the language and the compiler flags.
57449 # Need to do this so that g++ won't try to link in libstdc++
57450 ac_test_CFLAGS="${CFLAGS+set}"
57451 ac_save_CFLAGS="$CFLAGS"
57452 CFLAGS='-x c++ -Wl,--gc-sections'
57454 # Check for -Wl,--gc-sections
57455 # XXX This test is broken at the moment, as symbols required for linking
57456 # are now in libsupc++ (not built yet). In addition, this test has
57457 # cored on solaris in the past. In addition, --gc-sections doesn't
57458 # really work at the moment (keeps on discarding used sections, first
57459 # .eh_frame and now some of the glibc sections for iconv).
57460 # Bzzzzt. Thanks for playing, maybe next time.
57461 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
57462 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
57463 if test "$cross_compiling" = yes; then
57464 ac_sectionLDflags=yes
57466 cat >conftest.$ac_ext <<_ACEOF
57467 #line $LINENO "configure"
57470 cat confdefs.h >>conftest.$ac_ext
57471 cat >>conftest.$ac_ext <<_ACEOF
57472 /* end confdefs.h. */
57482 rm -f conftest$ac_exeext
57483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57484 (eval $ac_link) 2>&5
57486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
57488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57489 (eval $ac_try) 2>&5
57491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57492 (exit $ac_status); }; }; then
57493 ac_sectionLDflags=yes
57495 echo "$as_me: program exited with status $ac_status" >&5
57496 echo "$as_me: failed program was:" >&5
57497 sed 's/^/| /' conftest.$ac_ext >&5
57499 ( exit $ac_status )
57500 ac_sectionLDflags=no
57502 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
57504 if test "$ac_test_CFLAGS" = set; then
57505 CFLAGS="$ac_save_CFLAGS"
57507 # this is the suspicious part
57510 if test "$ac_sectionLDflags" = "yes"; then
57511 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57513 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
57514 echo "${ECHO_T}$ac_sectionLDflags" >&6
57517 # Set linker optimization flags.
57518 if test x"$with_gnu_ld" = x"yes"; then
57519 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57527 echo "$as_me:$LINENO: checking for main in -lm" >&5
57528 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
57529 if test "${ac_cv_lib_m_main+set}" = set; then
57530 echo $ECHO_N "(cached) $ECHO_C" >&6
57532 ac_check_lib_save_LIBS=$LIBS
57534 if test x$gcc_no_link = xyes; then
57535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57537 { (exit 1); exit 1; }; }
57539 cat >conftest.$ac_ext <<_ACEOF
57540 #line $LINENO "configure"
57543 cat confdefs.h >>conftest.$ac_ext
57544 cat >>conftest.$ac_ext <<_ACEOF
57545 /* end confdefs.h. */
57556 rm -f conftest.$ac_objext conftest$ac_exeext
57557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57558 (eval $ac_link) 2>&5
57560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57561 (exit $ac_status); } &&
57562 { ac_try='test -s conftest$ac_exeext'
57563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57564 (eval $ac_try) 2>&5
57566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57567 (exit $ac_status); }; }; then
57568 ac_cv_lib_m_main=yes
57570 echo "$as_me: failed program was:" >&5
57571 sed 's/^/| /' conftest.$ac_ext >&5
57573 ac_cv_lib_m_main=no
57575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57576 LIBS=$ac_check_lib_save_LIBS
57578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
57579 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
57580 if test $ac_cv_lib_m_main = yes; then
57581 cat >>confdefs.h <<_ACEOF
57582 #define HAVE_LIBM 1
57590 for ac_func in copysignf
57592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57593 echo "$as_me:$LINENO: checking for $ac_func" >&5
57594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57595 if eval "test \"\${$as_ac_var+set}\" = set"; then
57596 echo $ECHO_N "(cached) $ECHO_C" >&6
57598 if test x$gcc_no_link = xyes; then
57599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57601 { (exit 1); exit 1; }; }
57603 cat >conftest.$ac_ext <<_ACEOF
57604 #line $LINENO "configure"
57607 cat confdefs.h >>conftest.$ac_ext
57608 cat >>conftest.$ac_ext <<_ACEOF
57609 /* end confdefs.h. */
57610 /* System header to define __stub macros and hopefully few prototypes,
57611 which can conflict with char $ac_func (); below.
57612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57613 <limits.h> exists even on freestanding compilers. */
57615 # include <limits.h>
57617 # include <assert.h>
57619 /* Override any gcc2 internal prototype to avoid an error. */
57624 /* We use char because int might match the return type of a gcc2
57625 builtin and then its argument prototype would still apply. */
57627 /* The GNU C library defines this for functions which it implements
57628 to always fail with ENOSYS. Some functions are actually named
57629 something starting with __ and the normal name is an alias. */
57630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57633 char (*f) () = $ac_func;
57642 return f != $ac_func;
57647 rm -f conftest.$ac_objext conftest$ac_exeext
57648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57649 (eval $ac_link) 2>&5
57651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57652 (exit $ac_status); } &&
57653 { ac_try='test -s conftest$ac_exeext'
57654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57655 (eval $ac_try) 2>&5
57657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57658 (exit $ac_status); }; }; then
57659 eval "$as_ac_var=yes"
57661 echo "$as_me: failed program was:" >&5
57662 sed 's/^/| /' conftest.$ac_ext >&5
57664 eval "$as_ac_var=no"
57666 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57670 if test `eval echo '${'$as_ac_var'}'` = yes; then
57671 cat >>confdefs.h <<_ACEOF
57672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57676 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
57682 for ac_func in __signbit
57684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57685 echo "$as_me:$LINENO: checking for $ac_func" >&5
57686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57687 if eval "test \"\${$as_ac_var+set}\" = set"; then
57688 echo $ECHO_N "(cached) $ECHO_C" >&6
57690 if test x$gcc_no_link = xyes; then
57691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57693 { (exit 1); exit 1; }; }
57695 cat >conftest.$ac_ext <<_ACEOF
57696 #line $LINENO "configure"
57699 cat confdefs.h >>conftest.$ac_ext
57700 cat >>conftest.$ac_ext <<_ACEOF
57701 /* end confdefs.h. */
57702 /* System header to define __stub macros and hopefully few prototypes,
57703 which can conflict with char $ac_func (); below.
57704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57705 <limits.h> exists even on freestanding compilers. */
57707 # include <limits.h>
57709 # include <assert.h>
57711 /* Override any gcc2 internal prototype to avoid an error. */
57716 /* We use char because int might match the return type of a gcc2
57717 builtin and then its argument prototype would still apply. */
57719 /* The GNU C library defines this for functions which it implements
57720 to always fail with ENOSYS. Some functions are actually named
57721 something starting with __ and the normal name is an alias. */
57722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57725 char (*f) () = $ac_func;
57734 return f != $ac_func;
57739 rm -f conftest.$ac_objext conftest$ac_exeext
57740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57741 (eval $ac_link) 2>&5
57743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57744 (exit $ac_status); } &&
57745 { ac_try='test -s conftest$ac_exeext'
57746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57747 (eval $ac_try) 2>&5
57749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57750 (exit $ac_status); }; }; then
57751 eval "$as_ac_var=yes"
57753 echo "$as_me: failed program was:" >&5
57754 sed 's/^/| /' conftest.$ac_ext >&5
57756 eval "$as_ac_var=no"
57758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57760 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57761 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57762 if test `eval echo '${'$as_ac_var'}'` = yes; then
57763 cat >>confdefs.h <<_ACEOF
57764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57768 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
57773 for ac_func in __signbitf
57775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57776 echo "$as_me:$LINENO: checking for $ac_func" >&5
57777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57778 if eval "test \"\${$as_ac_var+set}\" = set"; then
57779 echo $ECHO_N "(cached) $ECHO_C" >&6
57781 if test x$gcc_no_link = xyes; then
57782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57784 { (exit 1); exit 1; }; }
57786 cat >conftest.$ac_ext <<_ACEOF
57787 #line $LINENO "configure"
57790 cat confdefs.h >>conftest.$ac_ext
57791 cat >>conftest.$ac_ext <<_ACEOF
57792 /* end confdefs.h. */
57793 /* System header to define __stub macros and hopefully few prototypes,
57794 which can conflict with char $ac_func (); below.
57795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57796 <limits.h> exists even on freestanding compilers. */
57798 # include <limits.h>
57800 # include <assert.h>
57802 /* Override any gcc2 internal prototype to avoid an error. */
57807 /* We use char because int might match the return type of a gcc2
57808 builtin and then its argument prototype would still apply. */
57810 /* The GNU C library defines this for functions which it implements
57811 to always fail with ENOSYS. Some functions are actually named
57812 something starting with __ and the normal name is an alias. */
57813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57816 char (*f) () = $ac_func;
57825 return f != $ac_func;
57830 rm -f conftest.$ac_objext conftest$ac_exeext
57831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57832 (eval $ac_link) 2>&5
57834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57835 (exit $ac_status); } &&
57836 { ac_try='test -s conftest$ac_exeext'
57837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57838 (eval $ac_try) 2>&5
57840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57841 (exit $ac_status); }; }; then
57842 eval "$as_ac_var=yes"
57844 echo "$as_me: failed program was:" >&5
57845 sed 's/^/| /' conftest.$ac_ext >&5
57847 eval "$as_ac_var=no"
57849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57853 if test `eval echo '${'$as_ac_var'}'` = yes; then
57854 cat >>confdefs.h <<_ACEOF
57855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57859 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
57864 if test x$ac_cv_func_copysignl = x"yes"; then
57866 for ac_func in __signbitl
57868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57869 echo "$as_me:$LINENO: checking for $ac_func" >&5
57870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57871 if eval "test \"\${$as_ac_var+set}\" = set"; then
57872 echo $ECHO_N "(cached) $ECHO_C" >&6
57874 if test x$gcc_no_link = xyes; then
57875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57877 { (exit 1); exit 1; }; }
57879 cat >conftest.$ac_ext <<_ACEOF
57880 #line $LINENO "configure"
57883 cat confdefs.h >>conftest.$ac_ext
57884 cat >>conftest.$ac_ext <<_ACEOF
57885 /* end confdefs.h. */
57886 /* System header to define __stub macros and hopefully few prototypes,
57887 which can conflict with char $ac_func (); below.
57888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57889 <limits.h> exists even on freestanding compilers. */
57891 # include <limits.h>
57893 # include <assert.h>
57895 /* Override any gcc2 internal prototype to avoid an error. */
57900 /* We use char because int might match the return type of a gcc2
57901 builtin and then its argument prototype would still apply. */
57903 /* The GNU C library defines this for functions which it implements
57904 to always fail with ENOSYS. Some functions are actually named
57905 something starting with __ and the normal name is an alias. */
57906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57909 char (*f) () = $ac_func;
57918 return f != $ac_func;
57923 rm -f conftest.$ac_objext conftest$ac_exeext
57924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57925 (eval $ac_link) 2>&5
57927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57928 (exit $ac_status); } &&
57929 { ac_try='test -s conftest$ac_exeext'
57930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57931 (eval $ac_try) 2>&5
57933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57934 (exit $ac_status); }; }; then
57935 eval "$as_ac_var=yes"
57937 echo "$as_me: failed program was:" >&5
57938 sed 's/^/| /' conftest.$ac_ext >&5
57940 eval "$as_ac_var=no"
57942 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
57944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57945 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57946 if test `eval echo '${'$as_ac_var'}'` = yes; then
57947 cat >>confdefs.h <<_ACEOF
57948 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57952 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
57958 # XXX Review this. Nothing uses it.
57959 if test -n "$LIBMATHOBJS"; then
57965 # Test wchar.h for mbstate_t, which is needed for char_traits and
57966 # others even if wchar_t support is not on.
57967 echo "$as_me:$LINENO: checking for mbstate_t" >&5
57968 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
57969 cat >conftest.$ac_ext <<_ACEOF
57970 #line $LINENO "configure"
57973 cat confdefs.h >>conftest.$ac_ext
57974 cat >>conftest.$ac_ext <<_ACEOF
57975 /* end confdefs.h. */
57980 mbstate_t teststate;
57985 rm -f conftest.$ac_objext
57986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57987 (eval $ac_compile) 2>&5
57989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57990 (exit $ac_status); } &&
57991 { ac_try='test -s conftest.$ac_objext'
57992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57993 (eval $ac_try) 2>&5
57995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996 (exit $ac_status); }; }; then
57999 echo "$as_me: failed program was:" >&5
58000 sed 's/^/| /' conftest.$ac_ext >&5
58004 rm -f conftest.$ac_objext conftest.$ac_ext
58005 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
58006 echo "${ECHO_T}$have_mbstate_t" >&6
58007 if test x"$have_mbstate_t" = xyes; then
58008 cat >>confdefs.h <<\_ACEOF
58009 #define HAVE_MBSTATE_T 1
58014 # Sanity check for existence of ISO C99 headers for extended encoding.
58016 for ac_header in wchar.h
58018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58020 echo "$as_me:$LINENO: checking for $ac_header" >&5
58021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58023 echo $ECHO_N "(cached) $ECHO_C" >&6
58025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58028 # Is the header compilable?
58029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58031 cat >conftest.$ac_ext <<_ACEOF
58032 #line $LINENO "configure"
58035 cat confdefs.h >>conftest.$ac_ext
58036 cat >>conftest.$ac_ext <<_ACEOF
58037 /* end confdefs.h. */
58038 $ac_includes_default
58039 #include <$ac_header>
58041 rm -f conftest.$ac_objext
58042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58043 (eval $ac_compile) 2>&5
58045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58046 (exit $ac_status); } &&
58047 { ac_try='test -s conftest.$ac_objext'
58048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58049 (eval $ac_try) 2>&5
58051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58052 (exit $ac_status); }; }; then
58053 ac_header_compiler=yes
58055 echo "$as_me: failed program was:" >&5
58056 sed 's/^/| /' conftest.$ac_ext >&5
58058 ac_header_compiler=no
58060 rm -f conftest.$ac_objext conftest.$ac_ext
58061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58062 echo "${ECHO_T}$ac_header_compiler" >&6
58064 # Is the header present?
58065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58067 cat >conftest.$ac_ext <<_ACEOF
58068 #line $LINENO "configure"
58071 cat confdefs.h >>conftest.$ac_ext
58072 cat >>conftest.$ac_ext <<_ACEOF
58073 /* end confdefs.h. */
58074 #include <$ac_header>
58076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58079 grep -v '^ *+' conftest.er1 >conftest.err
58081 cat conftest.err >&5
58082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58083 (exit $ac_status); } >/dev/null; then
58084 if test -s conftest.err; then
58085 ac_cpp_err=$ac_c_preproc_warn_flag
58092 if test -z "$ac_cpp_err"; then
58093 ac_header_preproc=yes
58095 echo "$as_me: failed program was:" >&5
58096 sed 's/^/| /' conftest.$ac_ext >&5
58098 ac_header_preproc=no
58100 rm -f conftest.err conftest.$ac_ext
58101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58102 echo "${ECHO_T}$ac_header_preproc" >&6
58104 # So? What about this header?
58105 case $ac_header_compiler:$ac_header_preproc in
58107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58110 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58113 ## ------------------------------------ ##
58114 ## Report this to bug-autoconf@gnu.org. ##
58115 ## ------------------------------------ ##
58118 sed "s/^/$as_me: WARNING: /" >&2
58121 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58122 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58123 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58124 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58129 ## ------------------------------------ ##
58130 ## Report this to bug-autoconf@gnu.org. ##
58131 ## ------------------------------------ ##
58134 sed "s/^/$as_me: WARNING: /" >&2
58137 echo "$as_me:$LINENO: checking for $ac_header" >&5
58138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58140 echo $ECHO_N "(cached) $ECHO_C" >&6
58142 eval "$as_ac_Header=$ac_header_preproc"
58144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58149 cat >>confdefs.h <<_ACEOF
58150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58160 for ac_header in wctype.h
58162 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
58163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58164 echo "$as_me:$LINENO: checking for $ac_header" >&5
58165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58167 echo $ECHO_N "(cached) $ECHO_C" >&6
58169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58172 # Is the header compilable?
58173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
58174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
58175 cat >conftest.$ac_ext <<_ACEOF
58176 #line $LINENO "configure"
58179 cat confdefs.h >>conftest.$ac_ext
58180 cat >>conftest.$ac_ext <<_ACEOF
58181 /* end confdefs.h. */
58182 $ac_includes_default
58183 #include <$ac_header>
58185 rm -f conftest.$ac_objext
58186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58187 (eval $ac_compile) 2>&5
58189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58190 (exit $ac_status); } &&
58191 { ac_try='test -s conftest.$ac_objext'
58192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58193 (eval $ac_try) 2>&5
58195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58196 (exit $ac_status); }; }; then
58197 ac_header_compiler=yes
58199 echo "$as_me: failed program was:" >&5
58200 sed 's/^/| /' conftest.$ac_ext >&5
58202 ac_header_compiler=no
58204 rm -f conftest.$ac_objext conftest.$ac_ext
58205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58206 echo "${ECHO_T}$ac_header_compiler" >&6
58208 # Is the header present?
58209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
58210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
58211 cat >conftest.$ac_ext <<_ACEOF
58212 #line $LINENO "configure"
58215 cat confdefs.h >>conftest.$ac_ext
58216 cat >>conftest.$ac_ext <<_ACEOF
58217 /* end confdefs.h. */
58218 #include <$ac_header>
58220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58223 grep -v '^ *+' conftest.er1 >conftest.err
58225 cat conftest.err >&5
58226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58227 (exit $ac_status); } >/dev/null; then
58228 if test -s conftest.err; then
58229 ac_cpp_err=$ac_c_preproc_warn_flag
58236 if test -z "$ac_cpp_err"; then
58237 ac_header_preproc=yes
58239 echo "$as_me: failed program was:" >&5
58240 sed 's/^/| /' conftest.$ac_ext >&5
58242 ac_header_preproc=no
58244 rm -f conftest.err conftest.$ac_ext
58245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58246 echo "${ECHO_T}$ac_header_preproc" >&6
58248 # So? What about this header?
58249 case $ac_header_compiler:$ac_header_preproc in
58251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
58252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
58253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58257 ## ------------------------------------ ##
58258 ## Report this to bug-autoconf@gnu.org. ##
58259 ## ------------------------------------ ##
58262 sed "s/^/$as_me: WARNING: /" >&2
58265 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
58266 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
58267 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
58268 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
58269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
58270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
58273 ## ------------------------------------ ##
58274 ## Report this to bug-autoconf@gnu.org. ##
58275 ## ------------------------------------ ##
58278 sed "s/^/$as_me: WARNING: /" >&2
58281 echo "$as_me:$LINENO: checking for $ac_header" >&5
58282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
58283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
58284 echo $ECHO_N "(cached) $ECHO_C" >&6
58286 eval "$as_ac_Header=$ac_header_preproc"
58288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
58289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
58292 if test `eval echo '${'$as_ac_Header'}'` = yes; then
58293 cat >>confdefs.h <<_ACEOF
58294 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
58296 ac_has_wctype_h=yes
58304 # Only continue checking if the ISO C99 headers exist and support is on.
58305 if test x"$ac_has_wchar_h" = xyes &&
58306 test x"$ac_has_wctype_h" = xyes &&
58307 test x"$enable_c_mbchar" != xno; then
58309 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
58310 # numeric_limits can instantiate type_traits<wchar_t>
58311 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
58312 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
58313 cat >conftest.$ac_ext <<_ACEOF
58314 #line $LINENO "configure"
58317 cat confdefs.h >>conftest.$ac_ext
58318 cat >>conftest.$ac_ext <<_ACEOF
58319 /* end confdefs.h. */
58324 int i = WCHAR_MIN; int j = WCHAR_MAX;
58329 rm -f conftest.$ac_objext
58330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58331 (eval $ac_compile) 2>&5
58333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58334 (exit $ac_status); } &&
58335 { ac_try='test -s conftest.$ac_objext'
58336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58337 (eval $ac_try) 2>&5
58339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58340 (exit $ac_status); }; }; then
58341 has_wchar_minmax=yes
58343 echo "$as_me: failed program was:" >&5
58344 sed 's/^/| /' conftest.$ac_ext >&5
58346 has_wchar_minmax=no
58348 rm -f conftest.$ac_objext conftest.$ac_ext
58349 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
58350 echo "${ECHO_T}$has_wchar_minmax" >&6
58352 # Test wchar.h for WEOF, which is what we use to determine whether
58353 # to specialize for char_traits<wchar_t> or not.
58354 echo "$as_me:$LINENO: checking for WEOF" >&5
58355 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
58356 cat >conftest.$ac_ext <<_ACEOF
58357 #line $LINENO "configure"
58360 cat confdefs.h >>conftest.$ac_ext
58361 cat >>conftest.$ac_ext <<_ACEOF
58362 /* end confdefs.h. */
58365 #include <stddef.h>
58374 rm -f conftest.$ac_objext
58375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58376 (eval $ac_compile) 2>&5
58378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58379 (exit $ac_status); } &&
58380 { ac_try='test -s conftest.$ac_objext'
58381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58382 (eval $ac_try) 2>&5
58384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58385 (exit $ac_status); }; }; then
58388 echo "$as_me: failed program was:" >&5
58389 sed 's/^/| /' conftest.$ac_ext >&5
58393 rm -f conftest.$ac_objext conftest.$ac_ext
58394 echo "$as_me:$LINENO: result: $has_weof" >&5
58395 echo "${ECHO_T}$has_weof" >&6
58397 # Tests for wide character functions used in char_traits<wchar_t>.
58405 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
58407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58408 echo "$as_me:$LINENO: checking for $ac_func" >&5
58409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58410 if eval "test \"\${$as_ac_var+set}\" = set"; then
58411 echo $ECHO_N "(cached) $ECHO_C" >&6
58413 if test x$gcc_no_link = xyes; then
58414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58416 { (exit 1); exit 1; }; }
58418 cat >conftest.$ac_ext <<_ACEOF
58419 #line $LINENO "configure"
58422 cat confdefs.h >>conftest.$ac_ext
58423 cat >>conftest.$ac_ext <<_ACEOF
58424 /* end confdefs.h. */
58425 /* System header to define __stub macros and hopefully few prototypes,
58426 which can conflict with char $ac_func (); below.
58427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58428 <limits.h> exists even on freestanding compilers. */
58430 # include <limits.h>
58432 # include <assert.h>
58434 /* Override any gcc2 internal prototype to avoid an error. */
58439 /* We use char because int might match the return type of a gcc2
58440 builtin and then its argument prototype would still apply. */
58442 /* The GNU C library defines this for functions which it implements
58443 to always fail with ENOSYS. Some functions are actually named
58444 something starting with __ and the normal name is an alias. */
58445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58448 char (*f) () = $ac_func;
58457 return f != $ac_func;
58462 rm -f conftest.$ac_objext conftest$ac_exeext
58463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58464 (eval $ac_link) 2>&5
58466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58467 (exit $ac_status); } &&
58468 { ac_try='test -s conftest$ac_exeext'
58469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58470 (eval $ac_try) 2>&5
58472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58473 (exit $ac_status); }; }; then
58474 eval "$as_ac_var=yes"
58476 echo "$as_me: failed program was:" >&5
58477 sed 's/^/| /' conftest.$ac_ext >&5
58479 eval "$as_ac_var=no"
58481 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58485 if test `eval echo '${'$as_ac_var'}'` = yes; then
58486 cat >>confdefs.h <<_ACEOF
58487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58496 # Checks for names injected into std:: by the c_std headers.
58543 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
58544 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
58545 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
58546 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
58547 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
58548 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
58550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58551 echo "$as_me:$LINENO: checking for $ac_func" >&5
58552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58553 if eval "test \"\${$as_ac_var+set}\" = set"; then
58554 echo $ECHO_N "(cached) $ECHO_C" >&6
58556 if test x$gcc_no_link = xyes; then
58557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58559 { (exit 1); exit 1; }; }
58561 cat >conftest.$ac_ext <<_ACEOF
58562 #line $LINENO "configure"
58565 cat confdefs.h >>conftest.$ac_ext
58566 cat >>conftest.$ac_ext <<_ACEOF
58567 /* end confdefs.h. */
58568 /* System header to define __stub macros and hopefully few prototypes,
58569 which can conflict with char $ac_func (); below.
58570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58571 <limits.h> exists even on freestanding compilers. */
58573 # include <limits.h>
58575 # include <assert.h>
58577 /* Override any gcc2 internal prototype to avoid an error. */
58582 /* We use char because int might match the return type of a gcc2
58583 builtin and then its argument prototype would still apply. */
58585 /* The GNU C library defines this for functions which it implements
58586 to always fail with ENOSYS. Some functions are actually named
58587 something starting with __ and the normal name is an alias. */
58588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58591 char (*f) () = $ac_func;
58600 return f != $ac_func;
58605 rm -f conftest.$ac_objext conftest$ac_exeext
58606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58607 (eval $ac_link) 2>&5
58609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58610 (exit $ac_status); } &&
58611 { ac_try='test -s conftest$ac_exeext'
58612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58613 (eval $ac_try) 2>&5
58615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58616 (exit $ac_status); }; }; then
58617 eval "$as_ac_var=yes"
58619 echo "$as_me: failed program was:" >&5
58620 sed 's/^/| /' conftest.$ac_ext >&5
58622 eval "$as_ac_var=no"
58624 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58628 if test `eval echo '${'$as_ac_var'}'` = yes; then
58629 cat >>confdefs.h <<_ACEOF
58630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58639 # Checks for wide character functions that are not required
58640 # for basic wchar_t support. Don't disable support if they are missing.
58641 # Injection of these is wrapped with guard macros.
58647 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
58649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58650 echo "$as_me:$LINENO: checking for $ac_func" >&5
58651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58652 if eval "test \"\${$as_ac_var+set}\" = set"; then
58653 echo $ECHO_N "(cached) $ECHO_C" >&6
58655 if test x$gcc_no_link = xyes; then
58656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58658 { (exit 1); exit 1; }; }
58660 cat >conftest.$ac_ext <<_ACEOF
58661 #line $LINENO "configure"
58664 cat confdefs.h >>conftest.$ac_ext
58665 cat >>conftest.$ac_ext <<_ACEOF
58666 /* end confdefs.h. */
58667 /* System header to define __stub macros and hopefully few prototypes,
58668 which can conflict with char $ac_func (); below.
58669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58670 <limits.h> exists even on freestanding compilers. */
58672 # include <limits.h>
58674 # include <assert.h>
58676 /* Override any gcc2 internal prototype to avoid an error. */
58681 /* We use char because int might match the return type of a gcc2
58682 builtin and then its argument prototype would still apply. */
58684 /* The GNU C library defines this for functions which it implements
58685 to always fail with ENOSYS. Some functions are actually named
58686 something starting with __ and the normal name is an alias. */
58687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58690 char (*f) () = $ac_func;
58699 return f != $ac_func;
58704 rm -f conftest.$ac_objext conftest$ac_exeext
58705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58706 (eval $ac_link) 2>&5
58708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58709 (exit $ac_status); } &&
58710 { ac_try='test -s conftest$ac_exeext'
58711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58712 (eval $ac_try) 2>&5
58714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58715 (exit $ac_status); }; }; then
58716 eval "$as_ac_var=yes"
58718 echo "$as_me: failed program was:" >&5
58719 sed 's/^/| /' conftest.$ac_ext >&5
58721 eval "$as_ac_var=no"
58723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
58725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58727 if test `eval echo '${'$as_ac_var'}'` = yes; then
58728 cat >>confdefs.h <<_ACEOF
58729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58736 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
58737 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
58738 if test x"$has_weof" = xyes &&
58739 test x"$has_wchar_minmax" = xyes &&
58740 test x"$ac_wfuncs" = xyes;
58742 ac_isoC99_wchar_t=yes
58744 ac_isoC99_wchar_t=no
58746 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
58747 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
58749 # Use iconv for wchar_t to char conversions. As such, check for
58750 # X/Open Portability Guide, version 2 features (XPG2).
58751 if test "${ac_cv_header_iconv_h+set}" = set; then
58752 echo "$as_me:$LINENO: checking for iconv.h" >&5
58753 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58754 if test "${ac_cv_header_iconv_h+set}" = set; then
58755 echo $ECHO_N "(cached) $ECHO_C" >&6
58757 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58758 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58760 # Is the header compilable?
58761 echo "$as_me:$LINENO: checking iconv.h usability" >&5
58762 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
58763 cat >conftest.$ac_ext <<_ACEOF
58764 #line $LINENO "configure"
58767 cat confdefs.h >>conftest.$ac_ext
58768 cat >>conftest.$ac_ext <<_ACEOF
58769 /* end confdefs.h. */
58770 $ac_includes_default
58773 rm -f conftest.$ac_objext
58774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58775 (eval $ac_compile) 2>&5
58777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58778 (exit $ac_status); } &&
58779 { ac_try='test -s conftest.$ac_objext'
58780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58781 (eval $ac_try) 2>&5
58783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58784 (exit $ac_status); }; }; then
58785 ac_header_compiler=yes
58787 echo "$as_me: failed program was:" >&5
58788 sed 's/^/| /' conftest.$ac_ext >&5
58790 ac_header_compiler=no
58792 rm -f conftest.$ac_objext conftest.$ac_ext
58793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58794 echo "${ECHO_T}$ac_header_compiler" >&6
58796 # Is the header present?
58797 echo "$as_me:$LINENO: checking iconv.h presence" >&5
58798 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
58799 cat >conftest.$ac_ext <<_ACEOF
58800 #line $LINENO "configure"
58803 cat confdefs.h >>conftest.$ac_ext
58804 cat >>conftest.$ac_ext <<_ACEOF
58805 /* end confdefs.h. */
58808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58811 grep -v '^ *+' conftest.er1 >conftest.err
58813 cat conftest.err >&5
58814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58815 (exit $ac_status); } >/dev/null; then
58816 if test -s conftest.err; then
58817 ac_cpp_err=$ac_c_preproc_warn_flag
58824 if test -z "$ac_cpp_err"; then
58825 ac_header_preproc=yes
58827 echo "$as_me: failed program was:" >&5
58828 sed 's/^/| /' conftest.$ac_ext >&5
58830 ac_header_preproc=no
58832 rm -f conftest.err conftest.$ac_ext
58833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58834 echo "${ECHO_T}$ac_header_preproc" >&6
58836 # So? What about this header?
58837 case $ac_header_compiler:$ac_header_preproc in
58839 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
58840 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58841 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58842 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58845 ## ------------------------------------ ##
58846 ## Report this to bug-autoconf@gnu.org. ##
58847 ## ------------------------------------ ##
58850 sed "s/^/$as_me: WARNING: /" >&2
58853 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
58854 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
58855 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
58856 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
58857 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
58858 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
58861 ## ------------------------------------ ##
58862 ## Report this to bug-autoconf@gnu.org. ##
58863 ## ------------------------------------ ##
58866 sed "s/^/$as_me: WARNING: /" >&2
58869 echo "$as_me:$LINENO: checking for iconv.h" >&5
58870 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
58871 if test "${ac_cv_header_iconv_h+set}" = set; then
58872 echo $ECHO_N "(cached) $ECHO_C" >&6
58874 ac_cv_header_iconv_h=$ac_header_preproc
58876 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
58877 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
58880 if test $ac_cv_header_iconv_h = yes; then
58887 if test "${ac_cv_header_langinfo_h+set}" = set; then
58888 echo "$as_me:$LINENO: checking for langinfo.h" >&5
58889 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
58890 if test "${ac_cv_header_langinfo_h+set}" = set; then
58891 echo $ECHO_N "(cached) $ECHO_C" >&6
58893 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
58894 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
58896 # Is the header compilable?
58897 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
58898 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
58899 cat >conftest.$ac_ext <<_ACEOF
58900 #line $LINENO "configure"
58903 cat confdefs.h >>conftest.$ac_ext
58904 cat >>conftest.$ac_ext <<_ACEOF
58905 /* end confdefs.h. */
58906 $ac_includes_default
58907 #include <langinfo.h>
58909 rm -f conftest.$ac_objext
58910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58911 (eval $ac_compile) 2>&5
58913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914 (exit $ac_status); } &&
58915 { ac_try='test -s conftest.$ac_objext'
58916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917 (eval $ac_try) 2>&5
58919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920 (exit $ac_status); }; }; then
58921 ac_header_compiler=yes
58923 echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58926 ac_header_compiler=no
58928 rm -f conftest.$ac_objext conftest.$ac_ext
58929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
58930 echo "${ECHO_T}$ac_header_compiler" >&6
58932 # Is the header present?
58933 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
58934 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
58935 cat >conftest.$ac_ext <<_ACEOF
58936 #line $LINENO "configure"
58939 cat confdefs.h >>conftest.$ac_ext
58940 cat >>conftest.$ac_ext <<_ACEOF
58941 /* end confdefs.h. */
58942 #include <langinfo.h>
58944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
58945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
58947 grep -v '^ *+' conftest.er1 >conftest.err
58949 cat conftest.err >&5
58950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58951 (exit $ac_status); } >/dev/null; then
58952 if test -s conftest.err; then
58953 ac_cpp_err=$ac_c_preproc_warn_flag
58960 if test -z "$ac_cpp_err"; then
58961 ac_header_preproc=yes
58963 echo "$as_me: failed program was:" >&5
58964 sed 's/^/| /' conftest.$ac_ext >&5
58966 ac_header_preproc=no
58968 rm -f conftest.err conftest.$ac_ext
58969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
58970 echo "${ECHO_T}$ac_header_preproc" >&6
58972 # So? What about this header?
58973 case $ac_header_compiler:$ac_header_preproc in
58975 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
58976 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
58977 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58978 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58981 ## ------------------------------------ ##
58982 ## Report this to bug-autoconf@gnu.org. ##
58983 ## ------------------------------------ ##
58986 sed "s/^/$as_me: WARNING: /" >&2
58989 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
58990 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
58991 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
58992 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
58993 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
58994 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
58997 ## ------------------------------------ ##
58998 ## Report this to bug-autoconf@gnu.org. ##
58999 ## ------------------------------------ ##
59002 sed "s/^/$as_me: WARNING: /" >&2
59005 echo "$as_me:$LINENO: checking for langinfo.h" >&5
59006 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
59007 if test "${ac_cv_header_langinfo_h+set}" = set; then
59008 echo $ECHO_N "(cached) $ECHO_C" >&6
59010 ac_cv_header_langinfo_h=$ac_header_preproc
59012 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
59013 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
59016 if test $ac_cv_header_langinfo_h = yes; then
59017 ac_has_langinfo_h=yes
59019 ac_has_langinfo_h=no
59024 # Check for existence of libiconv.a providing XPG2 wchar_t support.
59025 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
59026 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
59027 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
59028 echo $ECHO_N "(cached) $ECHO_C" >&6
59030 ac_check_lib_save_LIBS=$LIBS
59031 LIBS="-liconv $LIBS"
59032 if test x$gcc_no_link = xyes; then
59033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59035 { (exit 1); exit 1; }; }
59037 cat >conftest.$ac_ext <<_ACEOF
59038 #line $LINENO "configure"
59041 cat confdefs.h >>conftest.$ac_ext
59042 cat >>conftest.$ac_ext <<_ACEOF
59043 /* end confdefs.h. */
59045 /* Override any gcc2 internal prototype to avoid an error. */
59049 /* We use char because int might match the return type of a gcc2
59050 builtin and then its argument prototype would still apply. */
59060 rm -f conftest.$ac_objext conftest$ac_exeext
59061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59062 (eval $ac_link) 2>&5
59064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59065 (exit $ac_status); } &&
59066 { ac_try='test -s conftest$ac_exeext'
59067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59068 (eval $ac_try) 2>&5
59070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59071 (exit $ac_status); }; }; then
59072 ac_cv_lib_iconv_iconv=yes
59074 echo "$as_me: failed program was:" >&5
59075 sed 's/^/| /' conftest.$ac_ext >&5
59077 ac_cv_lib_iconv_iconv=no
59079 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59080 LIBS=$ac_check_lib_save_LIBS
59082 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
59083 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
59084 if test $ac_cv_lib_iconv_iconv = yes; then
59088 ac_save_LIBS="$LIBS"
59089 LIBS="$LIBS $libiconv"
59095 for ac_func in iconv_open iconv_close iconv nl_langinfo
59097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59098 echo "$as_me:$LINENO: checking for $ac_func" >&5
59099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59100 if eval "test \"\${$as_ac_var+set}\" = set"; then
59101 echo $ECHO_N "(cached) $ECHO_C" >&6
59103 if test x$gcc_no_link = xyes; then
59104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59106 { (exit 1); exit 1; }; }
59108 cat >conftest.$ac_ext <<_ACEOF
59109 #line $LINENO "configure"
59112 cat confdefs.h >>conftest.$ac_ext
59113 cat >>conftest.$ac_ext <<_ACEOF
59114 /* end confdefs.h. */
59115 /* System header to define __stub macros and hopefully few prototypes,
59116 which can conflict with char $ac_func (); below.
59117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59118 <limits.h> exists even on freestanding compilers. */
59120 # include <limits.h>
59122 # include <assert.h>
59124 /* Override any gcc2 internal prototype to avoid an error. */
59129 /* We use char because int might match the return type of a gcc2
59130 builtin and then its argument prototype would still apply. */
59132 /* The GNU C library defines this for functions which it implements
59133 to always fail with ENOSYS. Some functions are actually named
59134 something starting with __ and the normal name is an alias. */
59135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59138 char (*f) () = $ac_func;
59147 return f != $ac_func;
59152 rm -f conftest.$ac_objext conftest$ac_exeext
59153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59154 (eval $ac_link) 2>&5
59156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59157 (exit $ac_status); } &&
59158 { ac_try='test -s conftest$ac_exeext'
59159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59160 (eval $ac_try) 2>&5
59162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59163 (exit $ac_status); }; }; then
59164 eval "$as_ac_var=yes"
59166 echo "$as_me: failed program was:" >&5
59167 sed 's/^/| /' conftest.$ac_ext >&5
59169 eval "$as_ac_var=no"
59171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
59173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59175 if test `eval echo '${'$as_ac_var'}'` = yes; then
59176 cat >>confdefs.h <<_ACEOF
59177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59186 LIBS="$ac_save_LIBS"
59188 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
59189 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
59190 if test x"$ac_has_iconv_h" = xyes &&
59191 test x"$ac_has_langinfo_h" = xyes &&
59192 test x"$ac_XPG2funcs" = xyes;
59194 ac_XPG2_wchar_t=yes
59198 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
59199 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
59201 # At the moment, only enable wchar_t specializations if all the
59202 # above support is present.
59203 if test x"$ac_isoC99_wchar_t" = xyes &&
59204 test x"$ac_XPG2_wchar_t" = xyes;
59206 cat >>confdefs.h <<\_ACEOF
59207 #define _GLIBCXX_USE_WCHAR_T 1
59213 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
59214 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
59215 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
59216 echo "${ECHO_T}$enable_wchar_t" >&6
59218 cat >>confdefs.h <<\_ACEOF
59219 #define HAVE_COSF 1
59222 cat >>confdefs.h <<\_ACEOF
59223 #define HAVE_COSL 1
59226 cat >>confdefs.h <<\_ACEOF
59227 #define HAVE_COSHF 1
59230 cat >>confdefs.h <<\_ACEOF
59231 #define HAVE_COSHL 1
59234 cat >>confdefs.h <<\_ACEOF
59235 #define HAVE_LOGF 1
59238 cat >>confdefs.h <<\_ACEOF
59239 #define HAVE_LOGL 1
59242 cat >>confdefs.h <<\_ACEOF
59243 #define HAVE_LOG10F 1
59246 cat >>confdefs.h <<\_ACEOF
59247 #define HAVE_LOG10L 1
59250 cat >>confdefs.h <<\_ACEOF
59251 #define HAVE_SINF 1
59254 cat >>confdefs.h <<\_ACEOF
59255 #define HAVE_SINL 1
59258 cat >>confdefs.h <<\_ACEOF
59259 #define HAVE_SINHF 1
59262 cat >>confdefs.h <<\_ACEOF
59263 #define HAVE_SINHL 1
59270 # os_include_dir="os/solaris/solaris2.5"
59273 # os_include_dir="os/solaris/solaris2.6"
59275 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
59276 cat >>confdefs.h <<\_ACEOF
59277 #define HAVE_GETPAGESIZE 1
59280 cat >>confdefs.h <<\_ACEOF
59281 #define HAVE_SIGSETJMP 1
59284 cat >>confdefs.h <<\_ACEOF
59285 #define HAVE_MBSTATE_T 1
59288 cat >>confdefs.h <<\_ACEOF
59289 #define HAVE_POLL 1
59292 cat >>confdefs.h <<\_ACEOF
59293 #define HAVE_S_ISREG 1
59296 cat >>confdefs.h <<\_ACEOF
59297 #define HAVE_LC_MESSAGES 1
59300 cat >>confdefs.h <<\_ACEOF
59301 #define HAVE_BTOWC 1
59304 cat >>confdefs.h <<\_ACEOF
59305 #define HAVE_FGETWC 1
59308 cat >>confdefs.h <<\_ACEOF
59309 #define HAVE_FGETWS 1
59312 cat >>confdefs.h <<\_ACEOF
59313 #define HAVE_FINITE 1
59316 cat >>confdefs.h <<\_ACEOF
59317 #define HAVE_FPCLASS 1
59320 cat >>confdefs.h <<\_ACEOF
59321 #define HAVE_FPUTWC 1
59324 cat >>confdefs.h <<\_ACEOF
59325 #define HAVE_FPUTWS 1
59328 cat >>confdefs.h <<\_ACEOF
59329 #define HAVE_FWIDE 1
59332 cat >>confdefs.h <<\_ACEOF
59333 #define HAVE_FWPRINTF 1
59336 cat >>confdefs.h <<\_ACEOF
59337 #define HAVE_FWSCANF 1
59340 cat >>confdefs.h <<\_ACEOF
59341 #define HAVE_GETPAGESIZE 1
59344 cat >>confdefs.h <<\_ACEOF
59345 #define HAVE_GETWC 1
59348 cat >>confdefs.h <<\_ACEOF
59349 #define HAVE_GETWCHAR 1
59352 cat >>confdefs.h <<\_ACEOF
59353 #define HAVE_MBRLEN 1
59356 cat >>confdefs.h <<\_ACEOF
59357 #define HAVE_MBRTOWC 1
59360 cat >>confdefs.h <<\_ACEOF
59361 #define HAVE_MBSINIT 1
59364 cat >>confdefs.h <<\_ACEOF
59365 #define HAVE_MBSRTOWCS 1
59368 cat >>confdefs.h <<\_ACEOF
59369 #define HAVE_NL_LANGINFO 1
59372 cat >>confdefs.h <<\_ACEOF
59373 #define HAVE_PUTWC 1
59376 cat >>confdefs.h <<\_ACEOF
59377 #define HAVE_PUTWCHAR 1
59380 cat >>confdefs.h <<\_ACEOF
59381 #define HAVE_SWPRINTF 1
59384 cat >>confdefs.h <<\_ACEOF
59385 #define HAVE_SWSCANF 1
59388 cat >>confdefs.h <<\_ACEOF
59389 #define HAVE_UNGETWC 1
59392 cat >>confdefs.h <<\_ACEOF
59393 #define HAVE_VFWPRINTF 1
59396 cat >>confdefs.h <<\_ACEOF
59397 #define HAVE_VSWPRINTF 1
59400 cat >>confdefs.h <<\_ACEOF
59401 #define HAVE_VWPRINTF 1
59404 cat >>confdefs.h <<\_ACEOF
59405 #define HAVE_WCRTOMB 1
59408 cat >>confdefs.h <<\_ACEOF
59409 #define HAVE_WCSCAT 1
59412 cat >>confdefs.h <<\_ACEOF
59413 #define HAVE_WCSCHR 1
59416 cat >>confdefs.h <<\_ACEOF
59417 #define HAVE_WCSCMP 1
59420 cat >>confdefs.h <<\_ACEOF
59421 #define HAVE_WCSCOLL 1
59424 cat >>confdefs.h <<\_ACEOF
59425 #define HAVE_WCSCPY 1
59428 cat >>confdefs.h <<\_ACEOF
59429 #define HAVE_WCSCSPN 1
59432 cat >>confdefs.h <<\_ACEOF
59433 #define HAVE_WCSFTIME 1
59436 cat >>confdefs.h <<\_ACEOF
59437 #define HAVE_WCSLEN 1
59440 cat >>confdefs.h <<\_ACEOF
59441 #define HAVE_WCSNCAT 1
59444 cat >>confdefs.h <<\_ACEOF
59445 #define HAVE_WCSNCMP 1
59448 cat >>confdefs.h <<\_ACEOF
59449 #define HAVE_WCSNCPY 1
59452 cat >>confdefs.h <<\_ACEOF
59453 #define HAVE_WCSPBRK 1
59456 cat >>confdefs.h <<\_ACEOF
59457 #define HAVE_WCSRCHR 1
59460 cat >>confdefs.h <<\_ACEOF
59461 #define HAVE_WCSRTOMBS 1
59464 cat >>confdefs.h <<\_ACEOF
59465 #define HAVE_WCSSPN 1
59468 cat >>confdefs.h <<\_ACEOF
59469 #define HAVE_WCSSTR 1
59472 cat >>confdefs.h <<\_ACEOF
59473 #define HAVE_WCSTOD 1
59476 cat >>confdefs.h <<\_ACEOF
59477 #define HAVE_WCSTOK 1
59480 cat >>confdefs.h <<\_ACEOF
59481 #define HAVE_WCSTOL 1
59484 cat >>confdefs.h <<\_ACEOF
59485 #define HAVE_WCSTOUL 1
59488 cat >>confdefs.h <<\_ACEOF
59489 #define HAVE_WCSXFRM 1
59492 cat >>confdefs.h <<\_ACEOF
59493 #define HAVE_WCTOB 1
59496 cat >>confdefs.h <<\_ACEOF
59497 #define HAVE_WMEMCHR 1
59500 cat >>confdefs.h <<\_ACEOF
59501 #define HAVE_WMEMCMP 1
59504 cat >>confdefs.h <<\_ACEOF
59505 #define HAVE_WMEMCPY 1
59508 cat >>confdefs.h <<\_ACEOF
59509 #define HAVE_WMEMMOVE 1
59512 cat >>confdefs.h <<\_ACEOF
59513 #define HAVE_WMEMSET 1
59516 cat >>confdefs.h <<\_ACEOF
59517 #define HAVE_WPRINTF 1
59520 cat >>confdefs.h <<\_ACEOF
59521 #define HAVE_WSCANF 1
59524 cat >>confdefs.h <<\_ACEOF
59525 #define HAVE_ICONV 1
59528 cat >>confdefs.h <<\_ACEOF
59529 #define HAVE_ICONV_CLOSE 1
59532 cat >>confdefs.h <<\_ACEOF
59533 #define HAVE_ICONV_OPEN 1
59536 # Look for the pieces required for wchar_t support in order to
59537 # get all the right HAVE_* macros defined.
59539 # Test wchar.h for mbstate_t, which is needed for char_traits and
59540 # others even if wchar_t support is not on.
59541 echo "$as_me:$LINENO: checking for mbstate_t" >&5
59542 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
59543 cat >conftest.$ac_ext <<_ACEOF
59544 #line $LINENO "configure"
59547 cat confdefs.h >>conftest.$ac_ext
59548 cat >>conftest.$ac_ext <<_ACEOF
59549 /* end confdefs.h. */
59554 mbstate_t teststate;
59559 rm -f conftest.$ac_objext
59560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59561 (eval $ac_compile) 2>&5
59563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59564 (exit $ac_status); } &&
59565 { ac_try='test -s conftest.$ac_objext'
59566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59567 (eval $ac_try) 2>&5
59569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59570 (exit $ac_status); }; }; then
59573 echo "$as_me: failed program was:" >&5
59574 sed 's/^/| /' conftest.$ac_ext >&5
59578 rm -f conftest.$ac_objext conftest.$ac_ext
59579 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
59580 echo "${ECHO_T}$have_mbstate_t" >&6
59581 if test x"$have_mbstate_t" = xyes; then
59582 cat >>confdefs.h <<\_ACEOF
59583 #define HAVE_MBSTATE_T 1
59588 # Sanity check for existence of ISO C99 headers for extended encoding.
59590 for ac_header in wchar.h
59592 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59594 echo "$as_me:$LINENO: checking for $ac_header" >&5
59595 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59596 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59597 echo $ECHO_N "(cached) $ECHO_C" >&6
59599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59602 # Is the header compilable?
59603 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59604 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59605 cat >conftest.$ac_ext <<_ACEOF
59606 #line $LINENO "configure"
59609 cat confdefs.h >>conftest.$ac_ext
59610 cat >>conftest.$ac_ext <<_ACEOF
59611 /* end confdefs.h. */
59612 $ac_includes_default
59613 #include <$ac_header>
59615 rm -f conftest.$ac_objext
59616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59617 (eval $ac_compile) 2>&5
59619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59620 (exit $ac_status); } &&
59621 { ac_try='test -s conftest.$ac_objext'
59622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59623 (eval $ac_try) 2>&5
59625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59626 (exit $ac_status); }; }; then
59627 ac_header_compiler=yes
59629 echo "$as_me: failed program was:" >&5
59630 sed 's/^/| /' conftest.$ac_ext >&5
59632 ac_header_compiler=no
59634 rm -f conftest.$ac_objext conftest.$ac_ext
59635 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59636 echo "${ECHO_T}$ac_header_compiler" >&6
59638 # Is the header present?
59639 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59640 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59641 cat >conftest.$ac_ext <<_ACEOF
59642 #line $LINENO "configure"
59645 cat confdefs.h >>conftest.$ac_ext
59646 cat >>conftest.$ac_ext <<_ACEOF
59647 /* end confdefs.h. */
59648 #include <$ac_header>
59650 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59651 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59653 grep -v '^ *+' conftest.er1 >conftest.err
59655 cat conftest.err >&5
59656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59657 (exit $ac_status); } >/dev/null; then
59658 if test -s conftest.err; then
59659 ac_cpp_err=$ac_c_preproc_warn_flag
59666 if test -z "$ac_cpp_err"; then
59667 ac_header_preproc=yes
59669 echo "$as_me: failed program was:" >&5
59670 sed 's/^/| /' conftest.$ac_ext >&5
59672 ac_header_preproc=no
59674 rm -f conftest.err conftest.$ac_ext
59675 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59676 echo "${ECHO_T}$ac_header_preproc" >&6
59678 # So? What about this header?
59679 case $ac_header_compiler:$ac_header_preproc in
59681 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59682 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59687 ## ------------------------------------ ##
59688 ## Report this to bug-autoconf@gnu.org. ##
59689 ## ------------------------------------ ##
59692 sed "s/^/$as_me: WARNING: /" >&2
59695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59703 ## ------------------------------------ ##
59704 ## Report this to bug-autoconf@gnu.org. ##
59705 ## ------------------------------------ ##
59708 sed "s/^/$as_me: WARNING: /" >&2
59711 echo "$as_me:$LINENO: checking for $ac_header" >&5
59712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59713 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59714 echo $ECHO_N "(cached) $ECHO_C" >&6
59716 eval "$as_ac_Header=$ac_header_preproc"
59718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59719 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59722 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59723 cat >>confdefs.h <<_ACEOF
59724 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59734 for ac_header in wctype.h
59736 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
59737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59738 echo "$as_me:$LINENO: checking for $ac_header" >&5
59739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59741 echo $ECHO_N "(cached) $ECHO_C" >&6
59743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59746 # Is the header compilable?
59747 echo "$as_me:$LINENO: checking $ac_header usability" >&5
59748 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
59749 cat >conftest.$ac_ext <<_ACEOF
59750 #line $LINENO "configure"
59753 cat confdefs.h >>conftest.$ac_ext
59754 cat >>conftest.$ac_ext <<_ACEOF
59755 /* end confdefs.h. */
59756 $ac_includes_default
59757 #include <$ac_header>
59759 rm -f conftest.$ac_objext
59760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59761 (eval $ac_compile) 2>&5
59763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59764 (exit $ac_status); } &&
59765 { ac_try='test -s conftest.$ac_objext'
59766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59767 (eval $ac_try) 2>&5
59769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59770 (exit $ac_status); }; }; then
59771 ac_header_compiler=yes
59773 echo "$as_me: failed program was:" >&5
59774 sed 's/^/| /' conftest.$ac_ext >&5
59776 ac_header_compiler=no
59778 rm -f conftest.$ac_objext conftest.$ac_ext
59779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
59780 echo "${ECHO_T}$ac_header_compiler" >&6
59782 # Is the header present?
59783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
59784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
59785 cat >conftest.$ac_ext <<_ACEOF
59786 #line $LINENO "configure"
59789 cat confdefs.h >>conftest.$ac_ext
59790 cat >>conftest.$ac_ext <<_ACEOF
59791 /* end confdefs.h. */
59792 #include <$ac_header>
59794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
59795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
59797 grep -v '^ *+' conftest.er1 >conftest.err
59799 cat conftest.err >&5
59800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59801 (exit $ac_status); } >/dev/null; then
59802 if test -s conftest.err; then
59803 ac_cpp_err=$ac_c_preproc_warn_flag
59810 if test -z "$ac_cpp_err"; then
59811 ac_header_preproc=yes
59813 echo "$as_me: failed program was:" >&5
59814 sed 's/^/| /' conftest.$ac_ext >&5
59816 ac_header_preproc=no
59818 rm -f conftest.err conftest.$ac_ext
59819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
59820 echo "${ECHO_T}$ac_header_preproc" >&6
59822 # So? What about this header?
59823 case $ac_header_compiler:$ac_header_preproc in
59825 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
59826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
59827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59831 ## ------------------------------------ ##
59832 ## Report this to bug-autoconf@gnu.org. ##
59833 ## ------------------------------------ ##
59836 sed "s/^/$as_me: WARNING: /" >&2
59839 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
59840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
59841 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
59842 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
59843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
59844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
59847 ## ------------------------------------ ##
59848 ## Report this to bug-autoconf@gnu.org. ##
59849 ## ------------------------------------ ##
59852 sed "s/^/$as_me: WARNING: /" >&2
59855 echo "$as_me:$LINENO: checking for $ac_header" >&5
59856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
59857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
59858 echo $ECHO_N "(cached) $ECHO_C" >&6
59860 eval "$as_ac_Header=$ac_header_preproc"
59862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
59863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
59866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
59867 cat >>confdefs.h <<_ACEOF
59868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
59870 ac_has_wctype_h=yes
59878 # Only continue checking if the ISO C99 headers exist and support is on.
59879 if test x"$ac_has_wchar_h" = xyes &&
59880 test x"$ac_has_wctype_h" = xyes &&
59881 test x"$enable_c_mbchar" != xno; then
59883 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
59884 # numeric_limits can instantiate type_traits<wchar_t>
59885 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
59886 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
59887 cat >conftest.$ac_ext <<_ACEOF
59888 #line $LINENO "configure"
59891 cat confdefs.h >>conftest.$ac_ext
59892 cat >>conftest.$ac_ext <<_ACEOF
59893 /* end confdefs.h. */
59898 int i = WCHAR_MIN; int j = WCHAR_MAX;
59903 rm -f conftest.$ac_objext
59904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59905 (eval $ac_compile) 2>&5
59907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59908 (exit $ac_status); } &&
59909 { ac_try='test -s conftest.$ac_objext'
59910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59911 (eval $ac_try) 2>&5
59913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59914 (exit $ac_status); }; }; then
59915 has_wchar_minmax=yes
59917 echo "$as_me: failed program was:" >&5
59918 sed 's/^/| /' conftest.$ac_ext >&5
59920 has_wchar_minmax=no
59922 rm -f conftest.$ac_objext conftest.$ac_ext
59923 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
59924 echo "${ECHO_T}$has_wchar_minmax" >&6
59926 # Test wchar.h for WEOF, which is what we use to determine whether
59927 # to specialize for char_traits<wchar_t> or not.
59928 echo "$as_me:$LINENO: checking for WEOF" >&5
59929 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
59930 cat >conftest.$ac_ext <<_ACEOF
59931 #line $LINENO "configure"
59934 cat confdefs.h >>conftest.$ac_ext
59935 cat >>conftest.$ac_ext <<_ACEOF
59936 /* end confdefs.h. */
59939 #include <stddef.h>
59948 rm -f conftest.$ac_objext
59949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59950 (eval $ac_compile) 2>&5
59952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59953 (exit $ac_status); } &&
59954 { ac_try='test -s conftest.$ac_objext'
59955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59956 (eval $ac_try) 2>&5
59958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59959 (exit $ac_status); }; }; then
59962 echo "$as_me: failed program was:" >&5
59963 sed 's/^/| /' conftest.$ac_ext >&5
59967 rm -f conftest.$ac_objext conftest.$ac_ext
59968 echo "$as_me:$LINENO: result: $has_weof" >&5
59969 echo "${ECHO_T}$has_weof" >&6
59971 # Tests for wide character functions used in char_traits<wchar_t>.
59979 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
59981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59982 echo "$as_me:$LINENO: checking for $ac_func" >&5
59983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59984 if eval "test \"\${$as_ac_var+set}\" = set"; then
59985 echo $ECHO_N "(cached) $ECHO_C" >&6
59987 if test x$gcc_no_link = xyes; then
59988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59990 { (exit 1); exit 1; }; }
59992 cat >conftest.$ac_ext <<_ACEOF
59993 #line $LINENO "configure"
59996 cat confdefs.h >>conftest.$ac_ext
59997 cat >>conftest.$ac_ext <<_ACEOF
59998 /* end confdefs.h. */
59999 /* System header to define __stub macros and hopefully few prototypes,
60000 which can conflict with char $ac_func (); below.
60001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60002 <limits.h> exists even on freestanding compilers. */
60004 # include <limits.h>
60006 # include <assert.h>
60008 /* Override any gcc2 internal prototype to avoid an error. */
60013 /* We use char because int might match the return type of a gcc2
60014 builtin and then its argument prototype would still apply. */
60016 /* The GNU C library defines this for functions which it implements
60017 to always fail with ENOSYS. Some functions are actually named
60018 something starting with __ and the normal name is an alias. */
60019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60022 char (*f) () = $ac_func;
60031 return f != $ac_func;
60036 rm -f conftest.$ac_objext conftest$ac_exeext
60037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60038 (eval $ac_link) 2>&5
60040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60041 (exit $ac_status); } &&
60042 { ac_try='test -s conftest$ac_exeext'
60043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60044 (eval $ac_try) 2>&5
60046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60047 (exit $ac_status); }; }; then
60048 eval "$as_ac_var=yes"
60050 echo "$as_me: failed program was:" >&5
60051 sed 's/^/| /' conftest.$ac_ext >&5
60053 eval "$as_ac_var=no"
60055 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60059 if test `eval echo '${'$as_ac_var'}'` = yes; then
60060 cat >>confdefs.h <<_ACEOF
60061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60070 # Checks for names injected into std:: by the c_std headers.
60117 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
60118 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
60119 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
60120 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
60121 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
60122 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
60124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60125 echo "$as_me:$LINENO: checking for $ac_func" >&5
60126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60127 if eval "test \"\${$as_ac_var+set}\" = set"; then
60128 echo $ECHO_N "(cached) $ECHO_C" >&6
60130 if test x$gcc_no_link = xyes; then
60131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60133 { (exit 1); exit 1; }; }
60135 cat >conftest.$ac_ext <<_ACEOF
60136 #line $LINENO "configure"
60139 cat confdefs.h >>conftest.$ac_ext
60140 cat >>conftest.$ac_ext <<_ACEOF
60141 /* end confdefs.h. */
60142 /* System header to define __stub macros and hopefully few prototypes,
60143 which can conflict with char $ac_func (); below.
60144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60145 <limits.h> exists even on freestanding compilers. */
60147 # include <limits.h>
60149 # include <assert.h>
60151 /* Override any gcc2 internal prototype to avoid an error. */
60156 /* We use char because int might match the return type of a gcc2
60157 builtin and then its argument prototype would still apply. */
60159 /* The GNU C library defines this for functions which it implements
60160 to always fail with ENOSYS. Some functions are actually named
60161 something starting with __ and the normal name is an alias. */
60162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60165 char (*f) () = $ac_func;
60174 return f != $ac_func;
60179 rm -f conftest.$ac_objext conftest$ac_exeext
60180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60181 (eval $ac_link) 2>&5
60183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60184 (exit $ac_status); } &&
60185 { ac_try='test -s conftest$ac_exeext'
60186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60187 (eval $ac_try) 2>&5
60189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60190 (exit $ac_status); }; }; then
60191 eval "$as_ac_var=yes"
60193 echo "$as_me: failed program was:" >&5
60194 sed 's/^/| /' conftest.$ac_ext >&5
60196 eval "$as_ac_var=no"
60198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60202 if test `eval echo '${'$as_ac_var'}'` = yes; then
60203 cat >>confdefs.h <<_ACEOF
60204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60213 # Checks for wide character functions that are not required
60214 # for basic wchar_t support. Don't disable support if they are missing.
60215 # Injection of these is wrapped with guard macros.
60221 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
60223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60224 echo "$as_me:$LINENO: checking for $ac_func" >&5
60225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60226 if eval "test \"\${$as_ac_var+set}\" = set"; then
60227 echo $ECHO_N "(cached) $ECHO_C" >&6
60229 if test x$gcc_no_link = xyes; then
60230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60232 { (exit 1); exit 1; }; }
60234 cat >conftest.$ac_ext <<_ACEOF
60235 #line $LINENO "configure"
60238 cat confdefs.h >>conftest.$ac_ext
60239 cat >>conftest.$ac_ext <<_ACEOF
60240 /* end confdefs.h. */
60241 /* System header to define __stub macros and hopefully few prototypes,
60242 which can conflict with char $ac_func (); below.
60243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60244 <limits.h> exists even on freestanding compilers. */
60246 # include <limits.h>
60248 # include <assert.h>
60250 /* Override any gcc2 internal prototype to avoid an error. */
60255 /* We use char because int might match the return type of a gcc2
60256 builtin and then its argument prototype would still apply. */
60258 /* The GNU C library defines this for functions which it implements
60259 to always fail with ENOSYS. Some functions are actually named
60260 something starting with __ and the normal name is an alias. */
60261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60264 char (*f) () = $ac_func;
60273 return f != $ac_func;
60278 rm -f conftest.$ac_objext conftest$ac_exeext
60279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60280 (eval $ac_link) 2>&5
60282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60283 (exit $ac_status); } &&
60284 { ac_try='test -s conftest$ac_exeext'
60285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60286 (eval $ac_try) 2>&5
60288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60289 (exit $ac_status); }; }; then
60290 eval "$as_ac_var=yes"
60292 echo "$as_me: failed program was:" >&5
60293 sed 's/^/| /' conftest.$ac_ext >&5
60295 eval "$as_ac_var=no"
60297 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60301 if test `eval echo '${'$as_ac_var'}'` = yes; then
60302 cat >>confdefs.h <<_ACEOF
60303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60310 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
60311 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
60312 if test x"$has_weof" = xyes &&
60313 test x"$has_wchar_minmax" = xyes &&
60314 test x"$ac_wfuncs" = xyes;
60316 ac_isoC99_wchar_t=yes
60318 ac_isoC99_wchar_t=no
60320 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
60321 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
60323 # Use iconv for wchar_t to char conversions. As such, check for
60324 # X/Open Portability Guide, version 2 features (XPG2).
60325 if test "${ac_cv_header_iconv_h+set}" = set; then
60326 echo "$as_me:$LINENO: checking for iconv.h" >&5
60327 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60328 if test "${ac_cv_header_iconv_h+set}" = set; then
60329 echo $ECHO_N "(cached) $ECHO_C" >&6
60331 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60332 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60334 # Is the header compilable?
60335 echo "$as_me:$LINENO: checking iconv.h usability" >&5
60336 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
60337 cat >conftest.$ac_ext <<_ACEOF
60338 #line $LINENO "configure"
60341 cat confdefs.h >>conftest.$ac_ext
60342 cat >>conftest.$ac_ext <<_ACEOF
60343 /* end confdefs.h. */
60344 $ac_includes_default
60347 rm -f conftest.$ac_objext
60348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60349 (eval $ac_compile) 2>&5
60351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60352 (exit $ac_status); } &&
60353 { ac_try='test -s conftest.$ac_objext'
60354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60355 (eval $ac_try) 2>&5
60357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60358 (exit $ac_status); }; }; then
60359 ac_header_compiler=yes
60361 echo "$as_me: failed program was:" >&5
60362 sed 's/^/| /' conftest.$ac_ext >&5
60364 ac_header_compiler=no
60366 rm -f conftest.$ac_objext conftest.$ac_ext
60367 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60368 echo "${ECHO_T}$ac_header_compiler" >&6
60370 # Is the header present?
60371 echo "$as_me:$LINENO: checking iconv.h presence" >&5
60372 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
60373 cat >conftest.$ac_ext <<_ACEOF
60374 #line $LINENO "configure"
60377 cat confdefs.h >>conftest.$ac_ext
60378 cat >>conftest.$ac_ext <<_ACEOF
60379 /* end confdefs.h. */
60382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60385 grep -v '^ *+' conftest.er1 >conftest.err
60387 cat conftest.err >&5
60388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60389 (exit $ac_status); } >/dev/null; then
60390 if test -s conftest.err; then
60391 ac_cpp_err=$ac_c_preproc_warn_flag
60398 if test -z "$ac_cpp_err"; then
60399 ac_header_preproc=yes
60401 echo "$as_me: failed program was:" >&5
60402 sed 's/^/| /' conftest.$ac_ext >&5
60404 ac_header_preproc=no
60406 rm -f conftest.err conftest.$ac_ext
60407 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60408 echo "${ECHO_T}$ac_header_preproc" >&6
60410 # So? What about this header?
60411 case $ac_header_compiler:$ac_header_preproc in
60413 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
60414 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60415 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60416 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60419 ## ------------------------------------ ##
60420 ## Report this to bug-autoconf@gnu.org. ##
60421 ## ------------------------------------ ##
60424 sed "s/^/$as_me: WARNING: /" >&2
60427 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
60428 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
60429 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
60430 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
60431 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
60432 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
60435 ## ------------------------------------ ##
60436 ## Report this to bug-autoconf@gnu.org. ##
60437 ## ------------------------------------ ##
60440 sed "s/^/$as_me: WARNING: /" >&2
60443 echo "$as_me:$LINENO: checking for iconv.h" >&5
60444 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
60445 if test "${ac_cv_header_iconv_h+set}" = set; then
60446 echo $ECHO_N "(cached) $ECHO_C" >&6
60448 ac_cv_header_iconv_h=$ac_header_preproc
60450 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
60451 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
60454 if test $ac_cv_header_iconv_h = yes; then
60461 if test "${ac_cv_header_langinfo_h+set}" = set; then
60462 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60463 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60464 if test "${ac_cv_header_langinfo_h+set}" = set; then
60465 echo $ECHO_N "(cached) $ECHO_C" >&6
60467 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60468 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60470 # Is the header compilable?
60471 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
60472 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
60473 cat >conftest.$ac_ext <<_ACEOF
60474 #line $LINENO "configure"
60477 cat confdefs.h >>conftest.$ac_ext
60478 cat >>conftest.$ac_ext <<_ACEOF
60479 /* end confdefs.h. */
60480 $ac_includes_default
60481 #include <langinfo.h>
60483 rm -f conftest.$ac_objext
60484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60485 (eval $ac_compile) 2>&5
60487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60488 (exit $ac_status); } &&
60489 { ac_try='test -s conftest.$ac_objext'
60490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60491 (eval $ac_try) 2>&5
60493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494 (exit $ac_status); }; }; then
60495 ac_header_compiler=yes
60497 echo "$as_me: failed program was:" >&5
60498 sed 's/^/| /' conftest.$ac_ext >&5
60500 ac_header_compiler=no
60502 rm -f conftest.$ac_objext conftest.$ac_ext
60503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60504 echo "${ECHO_T}$ac_header_compiler" >&6
60506 # Is the header present?
60507 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
60508 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
60509 cat >conftest.$ac_ext <<_ACEOF
60510 #line $LINENO "configure"
60513 cat confdefs.h >>conftest.$ac_ext
60514 cat >>conftest.$ac_ext <<_ACEOF
60515 /* end confdefs.h. */
60516 #include <langinfo.h>
60518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
60519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
60521 grep -v '^ *+' conftest.er1 >conftest.err
60523 cat conftest.err >&5
60524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60525 (exit $ac_status); } >/dev/null; then
60526 if test -s conftest.err; then
60527 ac_cpp_err=$ac_c_preproc_warn_flag
60534 if test -z "$ac_cpp_err"; then
60535 ac_header_preproc=yes
60537 echo "$as_me: failed program was:" >&5
60538 sed 's/^/| /' conftest.$ac_ext >&5
60540 ac_header_preproc=no
60542 rm -f conftest.err conftest.$ac_ext
60543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
60544 echo "${ECHO_T}$ac_header_preproc" >&6
60546 # So? What about this header?
60547 case $ac_header_compiler:$ac_header_preproc in
60549 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
60550 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
60551 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60552 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60555 ## ------------------------------------ ##
60556 ## Report this to bug-autoconf@gnu.org. ##
60557 ## ------------------------------------ ##
60560 sed "s/^/$as_me: WARNING: /" >&2
60563 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
60564 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
60565 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
60566 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
60567 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
60568 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
60571 ## ------------------------------------ ##
60572 ## Report this to bug-autoconf@gnu.org. ##
60573 ## ------------------------------------ ##
60576 sed "s/^/$as_me: WARNING: /" >&2
60579 echo "$as_me:$LINENO: checking for langinfo.h" >&5
60580 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
60581 if test "${ac_cv_header_langinfo_h+set}" = set; then
60582 echo $ECHO_N "(cached) $ECHO_C" >&6
60584 ac_cv_header_langinfo_h=$ac_header_preproc
60586 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
60587 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
60590 if test $ac_cv_header_langinfo_h = yes; then
60591 ac_has_langinfo_h=yes
60593 ac_has_langinfo_h=no
60598 # Check for existence of libiconv.a providing XPG2 wchar_t support.
60599 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
60600 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
60601 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
60602 echo $ECHO_N "(cached) $ECHO_C" >&6
60604 ac_check_lib_save_LIBS=$LIBS
60605 LIBS="-liconv $LIBS"
60606 if test x$gcc_no_link = xyes; then
60607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60609 { (exit 1); exit 1; }; }
60611 cat >conftest.$ac_ext <<_ACEOF
60612 #line $LINENO "configure"
60615 cat confdefs.h >>conftest.$ac_ext
60616 cat >>conftest.$ac_ext <<_ACEOF
60617 /* end confdefs.h. */
60619 /* Override any gcc2 internal prototype to avoid an error. */
60623 /* We use char because int might match the return type of a gcc2
60624 builtin and then its argument prototype would still apply. */
60634 rm -f conftest.$ac_objext conftest$ac_exeext
60635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60636 (eval $ac_link) 2>&5
60638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60639 (exit $ac_status); } &&
60640 { ac_try='test -s conftest$ac_exeext'
60641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60642 (eval $ac_try) 2>&5
60644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60645 (exit $ac_status); }; }; then
60646 ac_cv_lib_iconv_iconv=yes
60648 echo "$as_me: failed program was:" >&5
60649 sed 's/^/| /' conftest.$ac_ext >&5
60651 ac_cv_lib_iconv_iconv=no
60653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60654 LIBS=$ac_check_lib_save_LIBS
60656 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
60657 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
60658 if test $ac_cv_lib_iconv_iconv = yes; then
60662 ac_save_LIBS="$LIBS"
60663 LIBS="$LIBS $libiconv"
60669 for ac_func in iconv_open iconv_close iconv nl_langinfo
60671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60672 echo "$as_me:$LINENO: checking for $ac_func" >&5
60673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60674 if eval "test \"\${$as_ac_var+set}\" = set"; then
60675 echo $ECHO_N "(cached) $ECHO_C" >&6
60677 if test x$gcc_no_link = xyes; then
60678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60680 { (exit 1); exit 1; }; }
60682 cat >conftest.$ac_ext <<_ACEOF
60683 #line $LINENO "configure"
60686 cat confdefs.h >>conftest.$ac_ext
60687 cat >>conftest.$ac_ext <<_ACEOF
60688 /* end confdefs.h. */
60689 /* System header to define __stub macros and hopefully few prototypes,
60690 which can conflict with char $ac_func (); below.
60691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60692 <limits.h> exists even on freestanding compilers. */
60694 # include <limits.h>
60696 # include <assert.h>
60698 /* Override any gcc2 internal prototype to avoid an error. */
60703 /* We use char because int might match the return type of a gcc2
60704 builtin and then its argument prototype would still apply. */
60706 /* The GNU C library defines this for functions which it implements
60707 to always fail with ENOSYS. Some functions are actually named
60708 something starting with __ and the normal name is an alias. */
60709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60712 char (*f) () = $ac_func;
60721 return f != $ac_func;
60726 rm -f conftest.$ac_objext conftest$ac_exeext
60727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60728 (eval $ac_link) 2>&5
60730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60731 (exit $ac_status); } &&
60732 { ac_try='test -s conftest$ac_exeext'
60733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60734 (eval $ac_try) 2>&5
60736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60737 (exit $ac_status); }; }; then
60738 eval "$as_ac_var=yes"
60740 echo "$as_me: failed program was:" >&5
60741 sed 's/^/| /' conftest.$ac_ext >&5
60743 eval "$as_ac_var=no"
60745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
60747 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60748 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60749 if test `eval echo '${'$as_ac_var'}'` = yes; then
60750 cat >>confdefs.h <<_ACEOF
60751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60760 LIBS="$ac_save_LIBS"
60762 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
60763 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
60764 if test x"$ac_has_iconv_h" = xyes &&
60765 test x"$ac_has_langinfo_h" = xyes &&
60766 test x"$ac_XPG2funcs" = xyes;
60768 ac_XPG2_wchar_t=yes
60772 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
60773 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
60775 # At the moment, only enable wchar_t specializations if all the
60776 # above support is present.
60777 if test x"$ac_isoC99_wchar_t" = xyes &&
60778 test x"$ac_XPG2_wchar_t" = xyes;
60780 cat >>confdefs.h <<\_ACEOF
60781 #define _GLIBCXX_USE_WCHAR_T 1
60787 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
60788 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
60789 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
60790 echo "${ECHO_T}$enable_wchar_t" >&6
60792 # All of the dependencies for wide character support are here, so
60793 # turn it on. This requires some syncronization with the
60794 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
60795 cat >>confdefs.h <<\_ACEOF
60796 #define _GLIBCXX_USE_WCHAR_T 1
60799 # Are these tested for even when cross?
60800 cat >>confdefs.h <<\_ACEOF
60801 #define HAVE_FLOAT_H 1
60804 cat >>confdefs.h <<\_ACEOF
60805 #define HAVE_IEEEFP_H 1
60808 cat >>confdefs.h <<\_ACEOF
60809 #define HAVE_INTTYPES_H 1
60812 cat >>confdefs.h <<\_ACEOF
60813 #define HAVE_LOCALE_H 1
60816 cat >>confdefs.h <<\_ACEOF
60817 #define HAVE_NAN_H 1
60820 cat >>confdefs.h <<\_ACEOF
60821 #define HAVE_SYS_FILIO_H 1
60824 cat >>confdefs.h <<\_ACEOF
60825 #define HAVE_SYS_IOCTL_H 1
60828 cat >>confdefs.h <<\_ACEOF
60829 #define HAVE_SYS_ISA_DEFS_H 1
60832 cat >>confdefs.h <<\_ACEOF
60833 #define HAVE_SYS_RESOURCE_H 1
60836 cat >>confdefs.h <<\_ACEOF
60837 #define HAVE_SYS_TIME_H 1
60840 cat >>confdefs.h <<\_ACEOF
60841 #define HAVE_SYS_TYPES_H 1
60844 cat >>confdefs.h <<\_ACEOF
60845 #define HAVE_UNISTD_H 1
60848 cat >>confdefs.h <<\_ACEOF
60849 #define HAVE_WCHAR_H 1
60852 cat >>confdefs.h <<\_ACEOF
60853 #define HAVE_WCTYPE_H 1
60856 cat >>confdefs.h <<\_ACEOF
60857 #define HAVE_LIBM 1
60863 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
60864 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
60865 cat >>confdefs.h <<\_ACEOF
60866 #define HAVE___BUILTIN_ABS 1
60869 cat >>confdefs.h <<\_ACEOF
60870 #define HAVE___BUILTIN_LABS 1
60873 cat >>confdefs.h <<\_ACEOF
60874 #define HAVE___BUILTIN_FABS 1
60877 cat >>confdefs.h <<\_ACEOF
60878 #define HAVE___BUILTIN_FABSF 1
60881 cat >>confdefs.h <<\_ACEOF
60882 #define HAVE___BUILTIN_FABSL 1
60885 cat >>confdefs.h <<\_ACEOF
60886 #define HAVE___BUILTIN_COS 1
60889 cat >>confdefs.h <<\_ACEOF
60890 #define HAVE___BUILTIN_COSF 1
60893 cat >>confdefs.h <<\_ACEOF
60894 #define HAVE___BUILTIN_SIN 1
60897 cat >>confdefs.h <<\_ACEOF
60898 #define HAVE___BUILTIN_SINF 1
60903 cat >>confdefs.h <<\_ACEOF
60904 #define HAVE_STRTOF 1
60907 cat >>confdefs.h <<\_ACEOF
60908 #define HAVE_STRTOLD 1
60911 cat >>confdefs.h <<\_ACEOF
60912 #define HAVE_MMAP 1
60915 cat >>confdefs.h <<\_ACEOF
60916 #define HAVE_COPYSIGN 1
60919 cat >>confdefs.h <<\_ACEOF
60920 #define HAVE_ISNAN 1
60923 cat >>confdefs.h <<\_ACEOF
60924 #define HAVE_ISNANF 1
60927 cat >>confdefs.h <<\_ACEOF
60928 #define HAVE_MODFF 1
60931 cat >>confdefs.h <<\_ACEOF
60932 #define HAVE_HYPOT 1
60945 for ac_header in nan.h endian.h machine/endian.h \
60946 sys/param.h sys/types.h locale.h float.h inttypes.h
60948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
60949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60950 echo "$as_me:$LINENO: checking for $ac_header" >&5
60951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
60952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
60953 echo $ECHO_N "(cached) $ECHO_C" >&6
60955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
60956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
60958 # Is the header compilable?
60959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
60960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
60961 cat >conftest.$ac_ext <<_ACEOF
60962 #line $LINENO "configure"
60965 cat confdefs.h >>conftest.$ac_ext
60966 cat >>conftest.$ac_ext <<_ACEOF
60967 /* end confdefs.h. */
60968 $ac_includes_default
60969 #include <$ac_header>
60971 rm -f conftest.$ac_objext
60972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60973 (eval $ac_compile) 2>&5
60975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60976 (exit $ac_status); } &&
60977 { ac_try='test -s conftest.$ac_objext'
60978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60979 (eval $ac_try) 2>&5
60981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60982 (exit $ac_status); }; }; then
60983 ac_header_compiler=yes
60985 echo "$as_me: failed program was:" >&5
60986 sed 's/^/| /' conftest.$ac_ext >&5
60988 ac_header_compiler=no
60990 rm -f conftest.$ac_objext conftest.$ac_ext
60991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
60992 echo "${ECHO_T}$ac_header_compiler" >&6
60994 # Is the header present?
60995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
60996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
60997 cat >conftest.$ac_ext <<_ACEOF
60998 #line $LINENO "configure"
61001 cat confdefs.h >>conftest.$ac_ext
61002 cat >>conftest.$ac_ext <<_ACEOF
61003 /* end confdefs.h. */
61004 #include <$ac_header>
61006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61007 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61009 grep -v '^ *+' conftest.er1 >conftest.err
61011 cat conftest.err >&5
61012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61013 (exit $ac_status); } >/dev/null; then
61014 if test -s conftest.err; then
61015 ac_cpp_err=$ac_c_preproc_warn_flag
61022 if test -z "$ac_cpp_err"; then
61023 ac_header_preproc=yes
61025 echo "$as_me: failed program was:" >&5
61026 sed 's/^/| /' conftest.$ac_ext >&5
61028 ac_header_preproc=no
61030 rm -f conftest.err conftest.$ac_ext
61031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61032 echo "${ECHO_T}$ac_header_preproc" >&6
61034 # So? What about this header?
61035 case $ac_header_compiler:$ac_header_preproc in
61037 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61039 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61040 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61043 ## ------------------------------------ ##
61044 ## Report this to bug-autoconf@gnu.org. ##
61045 ## ------------------------------------ ##
61048 sed "s/^/$as_me: WARNING: /" >&2
61051 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61052 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61053 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61054 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61059 ## ------------------------------------ ##
61060 ## Report this to bug-autoconf@gnu.org. ##
61061 ## ------------------------------------ ##
61064 sed "s/^/$as_me: WARNING: /" >&2
61067 echo "$as_me:$LINENO: checking for $ac_header" >&5
61068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61070 echo $ECHO_N "(cached) $ECHO_C" >&6
61072 eval "$as_ac_Header=$ac_header_preproc"
61074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61075 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61079 cat >>confdefs.h <<_ACEOF
61080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61087 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61090 # If we're not using GNU ld, then there's no point in even trying these
61091 # tests. Check for that first. We should have already tested for gld
61092 # by now (in libtool), but require it now just to be safe...
61093 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61094 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61098 # The name set by libtool depends on the version of libtool. Shame on us
61099 # for depending on an impl detail, but c'est la vie. Older versions used
61100 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61101 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61102 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61103 # set (hence we're using an older libtool), then set it.
61104 if test x${with_gnu_ld+set} != xset; then
61105 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61106 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61109 with_gnu_ld=$ac_cv_prog_gnu_ld
61113 # Start by getting the version number. I think the libtool test already
61114 # does some of this, but throws away the result.
61116 ldver=`$LD --version 2>/dev/null | head -1 | \
61117 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
61119 glibcxx_gnu_ld_version=`echo $ldver | \
61120 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61122 # Set --gc-sections.
61123 if test "$with_gnu_ld" = "notbroken"; then
61124 # GNU ld it is! Joy and bunny rabbits!
61126 # All these tests are for C++; save the language and the compiler flags.
61127 # Need to do this so that g++ won't try to link in libstdc++
61128 ac_test_CFLAGS="${CFLAGS+set}"
61129 ac_save_CFLAGS="$CFLAGS"
61130 CFLAGS='-x c++ -Wl,--gc-sections'
61132 # Check for -Wl,--gc-sections
61133 # XXX This test is broken at the moment, as symbols required for linking
61134 # are now in libsupc++ (not built yet). In addition, this test has
61135 # cored on solaris in the past. In addition, --gc-sections doesn't
61136 # really work at the moment (keeps on discarding used sections, first
61137 # .eh_frame and now some of the glibc sections for iconv).
61138 # Bzzzzt. Thanks for playing, maybe next time.
61139 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
61140 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
61141 if test "$cross_compiling" = yes; then
61142 ac_sectionLDflags=yes
61144 cat >conftest.$ac_ext <<_ACEOF
61145 #line $LINENO "configure"
61148 cat confdefs.h >>conftest.$ac_ext
61149 cat >>conftest.$ac_ext <<_ACEOF
61150 /* end confdefs.h. */
61160 rm -f conftest$ac_exeext
61161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61162 (eval $ac_link) 2>&5
61164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
61166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61167 (eval $ac_try) 2>&5
61169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61170 (exit $ac_status); }; }; then
61171 ac_sectionLDflags=yes
61173 echo "$as_me: program exited with status $ac_status" >&5
61174 echo "$as_me: failed program was:" >&5
61175 sed 's/^/| /' conftest.$ac_ext >&5
61177 ( exit $ac_status )
61178 ac_sectionLDflags=no
61180 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
61182 if test "$ac_test_CFLAGS" = set; then
61183 CFLAGS="$ac_save_CFLAGS"
61185 # this is the suspicious part
61188 if test "$ac_sectionLDflags" = "yes"; then
61189 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61191 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
61192 echo "${ECHO_T}$ac_sectionLDflags" >&6
61195 # Set linker optimization flags.
61196 if test x"$with_gnu_ld" = x"yes"; then
61197 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61205 echo "$as_me:$LINENO: checking for main in -lm" >&5
61206 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61207 if test "${ac_cv_lib_m_main+set}" = set; then
61208 echo $ECHO_N "(cached) $ECHO_C" >&6
61210 ac_check_lib_save_LIBS=$LIBS
61212 if test x$gcc_no_link = xyes; then
61213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61215 { (exit 1); exit 1; }; }
61217 cat >conftest.$ac_ext <<_ACEOF
61218 #line $LINENO "configure"
61221 cat confdefs.h >>conftest.$ac_ext
61222 cat >>conftest.$ac_ext <<_ACEOF
61223 /* end confdefs.h. */
61234 rm -f conftest.$ac_objext conftest$ac_exeext
61235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61236 (eval $ac_link) 2>&5
61238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61239 (exit $ac_status); } &&
61240 { ac_try='test -s conftest$ac_exeext'
61241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61242 (eval $ac_try) 2>&5
61244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61245 (exit $ac_status); }; }; then
61246 ac_cv_lib_m_main=yes
61248 echo "$as_me: failed program was:" >&5
61249 sed 's/^/| /' conftest.$ac_ext >&5
61251 ac_cv_lib_m_main=no
61253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61254 LIBS=$ac_check_lib_save_LIBS
61256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61257 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61258 if test $ac_cv_lib_m_main = yes; then
61259 cat >>confdefs.h <<_ACEOF
61260 #define HAVE_LIBM 1
61268 for ac_func in copysignf
61270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61271 echo "$as_me:$LINENO: checking for $ac_func" >&5
61272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61273 if eval "test \"\${$as_ac_var+set}\" = set"; then
61274 echo $ECHO_N "(cached) $ECHO_C" >&6
61276 if test x$gcc_no_link = xyes; then
61277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61279 { (exit 1); exit 1; }; }
61281 cat >conftest.$ac_ext <<_ACEOF
61282 #line $LINENO "configure"
61285 cat confdefs.h >>conftest.$ac_ext
61286 cat >>conftest.$ac_ext <<_ACEOF
61287 /* end confdefs.h. */
61288 /* System header to define __stub macros and hopefully few prototypes,
61289 which can conflict with char $ac_func (); below.
61290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61291 <limits.h> exists even on freestanding compilers. */
61293 # include <limits.h>
61295 # include <assert.h>
61297 /* Override any gcc2 internal prototype to avoid an error. */
61302 /* We use char because int might match the return type of a gcc2
61303 builtin and then its argument prototype would still apply. */
61305 /* The GNU C library defines this for functions which it implements
61306 to always fail with ENOSYS. Some functions are actually named
61307 something starting with __ and the normal name is an alias. */
61308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61311 char (*f) () = $ac_func;
61320 return f != $ac_func;
61325 rm -f conftest.$ac_objext conftest$ac_exeext
61326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61327 (eval $ac_link) 2>&5
61329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61330 (exit $ac_status); } &&
61331 { ac_try='test -s conftest$ac_exeext'
61332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61333 (eval $ac_try) 2>&5
61335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61336 (exit $ac_status); }; }; then
61337 eval "$as_ac_var=yes"
61339 echo "$as_me: failed program was:" >&5
61340 sed 's/^/| /' conftest.$ac_ext >&5
61342 eval "$as_ac_var=no"
61344 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61348 if test `eval echo '${'$as_ac_var'}'` = yes; then
61349 cat >>confdefs.h <<_ACEOF
61350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61354 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
61360 for ac_func in __signbit
61362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61363 echo "$as_me:$LINENO: checking for $ac_func" >&5
61364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61365 if eval "test \"\${$as_ac_var+set}\" = set"; then
61366 echo $ECHO_N "(cached) $ECHO_C" >&6
61368 if test x$gcc_no_link = xyes; then
61369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61371 { (exit 1); exit 1; }; }
61373 cat >conftest.$ac_ext <<_ACEOF
61374 #line $LINENO "configure"
61377 cat confdefs.h >>conftest.$ac_ext
61378 cat >>conftest.$ac_ext <<_ACEOF
61379 /* end confdefs.h. */
61380 /* System header to define __stub macros and hopefully few prototypes,
61381 which can conflict with char $ac_func (); below.
61382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61383 <limits.h> exists even on freestanding compilers. */
61385 # include <limits.h>
61387 # include <assert.h>
61389 /* Override any gcc2 internal prototype to avoid an error. */
61394 /* We use char because int might match the return type of a gcc2
61395 builtin and then its argument prototype would still apply. */
61397 /* The GNU C library defines this for functions which it implements
61398 to always fail with ENOSYS. Some functions are actually named
61399 something starting with __ and the normal name is an alias. */
61400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61403 char (*f) () = $ac_func;
61412 return f != $ac_func;
61417 rm -f conftest.$ac_objext conftest$ac_exeext
61418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61419 (eval $ac_link) 2>&5
61421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61422 (exit $ac_status); } &&
61423 { ac_try='test -s conftest$ac_exeext'
61424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61425 (eval $ac_try) 2>&5
61427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428 (exit $ac_status); }; }; then
61429 eval "$as_ac_var=yes"
61431 echo "$as_me: failed program was:" >&5
61432 sed 's/^/| /' conftest.$ac_ext >&5
61434 eval "$as_ac_var=no"
61436 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61440 if test `eval echo '${'$as_ac_var'}'` = yes; then
61441 cat >>confdefs.h <<_ACEOF
61442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61446 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
61451 for ac_func in __signbitf
61453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61454 echo "$as_me:$LINENO: checking for $ac_func" >&5
61455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61456 if eval "test \"\${$as_ac_var+set}\" = set"; then
61457 echo $ECHO_N "(cached) $ECHO_C" >&6
61459 if test x$gcc_no_link = xyes; then
61460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61462 { (exit 1); exit 1; }; }
61464 cat >conftest.$ac_ext <<_ACEOF
61465 #line $LINENO "configure"
61468 cat confdefs.h >>conftest.$ac_ext
61469 cat >>conftest.$ac_ext <<_ACEOF
61470 /* end confdefs.h. */
61471 /* System header to define __stub macros and hopefully few prototypes,
61472 which can conflict with char $ac_func (); below.
61473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61474 <limits.h> exists even on freestanding compilers. */
61476 # include <limits.h>
61478 # include <assert.h>
61480 /* Override any gcc2 internal prototype to avoid an error. */
61485 /* We use char because int might match the return type of a gcc2
61486 builtin and then its argument prototype would still apply. */
61488 /* The GNU C library defines this for functions which it implements
61489 to always fail with ENOSYS. Some functions are actually named
61490 something starting with __ and the normal name is an alias. */
61491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61494 char (*f) () = $ac_func;
61503 return f != $ac_func;
61508 rm -f conftest.$ac_objext conftest$ac_exeext
61509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61510 (eval $ac_link) 2>&5
61512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61513 (exit $ac_status); } &&
61514 { ac_try='test -s conftest$ac_exeext'
61515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61516 (eval $ac_try) 2>&5
61518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61519 (exit $ac_status); }; }; then
61520 eval "$as_ac_var=yes"
61522 echo "$as_me: failed program was:" >&5
61523 sed 's/^/| /' conftest.$ac_ext >&5
61525 eval "$as_ac_var=no"
61527 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61531 if test `eval echo '${'$as_ac_var'}'` = yes; then
61532 cat >>confdefs.h <<_ACEOF
61533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61537 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
61542 if test x$ac_cv_func_copysignl = x"yes"; then
61544 for ac_func in __signbitl
61546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61547 echo "$as_me:$LINENO: checking for $ac_func" >&5
61548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61549 if eval "test \"\${$as_ac_var+set}\" = set"; then
61550 echo $ECHO_N "(cached) $ECHO_C" >&6
61552 if test x$gcc_no_link = xyes; then
61553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61555 { (exit 1); exit 1; }; }
61557 cat >conftest.$ac_ext <<_ACEOF
61558 #line $LINENO "configure"
61561 cat confdefs.h >>conftest.$ac_ext
61562 cat >>conftest.$ac_ext <<_ACEOF
61563 /* end confdefs.h. */
61564 /* System header to define __stub macros and hopefully few prototypes,
61565 which can conflict with char $ac_func (); below.
61566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61567 <limits.h> exists even on freestanding compilers. */
61569 # include <limits.h>
61571 # include <assert.h>
61573 /* Override any gcc2 internal prototype to avoid an error. */
61578 /* We use char because int might match the return type of a gcc2
61579 builtin and then its argument prototype would still apply. */
61581 /* The GNU C library defines this for functions which it implements
61582 to always fail with ENOSYS. Some functions are actually named
61583 something starting with __ and the normal name is an alias. */
61584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61587 char (*f) () = $ac_func;
61596 return f != $ac_func;
61601 rm -f conftest.$ac_objext conftest$ac_exeext
61602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61603 (eval $ac_link) 2>&5
61605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61606 (exit $ac_status); } &&
61607 { ac_try='test -s conftest$ac_exeext'
61608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61609 (eval $ac_try) 2>&5
61611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61612 (exit $ac_status); }; }; then
61613 eval "$as_ac_var=yes"
61615 echo "$as_me: failed program was:" >&5
61616 sed 's/^/| /' conftest.$ac_ext >&5
61618 eval "$as_ac_var=no"
61620 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
61622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61624 if test `eval echo '${'$as_ac_var'}'` = yes; then
61625 cat >>confdefs.h <<_ACEOF
61626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61630 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
61636 # XXX Review this. Nothing uses it.
61637 if test -n "$LIBMATHOBJS"; then
61643 # Test wchar.h for mbstate_t, which is needed for char_traits and
61644 # others even if wchar_t support is not on.
61645 echo "$as_me:$LINENO: checking for mbstate_t" >&5
61646 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
61647 cat >conftest.$ac_ext <<_ACEOF
61648 #line $LINENO "configure"
61651 cat confdefs.h >>conftest.$ac_ext
61652 cat >>conftest.$ac_ext <<_ACEOF
61653 /* end confdefs.h. */
61658 mbstate_t teststate;
61663 rm -f conftest.$ac_objext
61664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61665 (eval $ac_compile) 2>&5
61667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668 (exit $ac_status); } &&
61669 { ac_try='test -s conftest.$ac_objext'
61670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61671 (eval $ac_try) 2>&5
61673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61674 (exit $ac_status); }; }; then
61677 echo "$as_me: failed program was:" >&5
61678 sed 's/^/| /' conftest.$ac_ext >&5
61682 rm -f conftest.$ac_objext conftest.$ac_ext
61683 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
61684 echo "${ECHO_T}$have_mbstate_t" >&6
61685 if test x"$have_mbstate_t" = xyes; then
61686 cat >>confdefs.h <<\_ACEOF
61687 #define HAVE_MBSTATE_T 1
61692 # Sanity check for existence of ISO C99 headers for extended encoding.
61694 for ac_header in wchar.h
61696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61698 echo "$as_me:$LINENO: checking for $ac_header" >&5
61699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61701 echo $ECHO_N "(cached) $ECHO_C" >&6
61703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61706 # Is the header compilable?
61707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61709 cat >conftest.$ac_ext <<_ACEOF
61710 #line $LINENO "configure"
61713 cat confdefs.h >>conftest.$ac_ext
61714 cat >>conftest.$ac_ext <<_ACEOF
61715 /* end confdefs.h. */
61716 $ac_includes_default
61717 #include <$ac_header>
61719 rm -f conftest.$ac_objext
61720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61721 (eval $ac_compile) 2>&5
61723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61724 (exit $ac_status); } &&
61725 { ac_try='test -s conftest.$ac_objext'
61726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61727 (eval $ac_try) 2>&5
61729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61730 (exit $ac_status); }; }; then
61731 ac_header_compiler=yes
61733 echo "$as_me: failed program was:" >&5
61734 sed 's/^/| /' conftest.$ac_ext >&5
61736 ac_header_compiler=no
61738 rm -f conftest.$ac_objext conftest.$ac_ext
61739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61740 echo "${ECHO_T}$ac_header_compiler" >&6
61742 # Is the header present?
61743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61745 cat >conftest.$ac_ext <<_ACEOF
61746 #line $LINENO "configure"
61749 cat confdefs.h >>conftest.$ac_ext
61750 cat >>conftest.$ac_ext <<_ACEOF
61751 /* end confdefs.h. */
61752 #include <$ac_header>
61754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61755 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61757 grep -v '^ *+' conftest.er1 >conftest.err
61759 cat conftest.err >&5
61760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61761 (exit $ac_status); } >/dev/null; then
61762 if test -s conftest.err; then
61763 ac_cpp_err=$ac_c_preproc_warn_flag
61770 if test -z "$ac_cpp_err"; then
61771 ac_header_preproc=yes
61773 echo "$as_me: failed program was:" >&5
61774 sed 's/^/| /' conftest.$ac_ext >&5
61776 ac_header_preproc=no
61778 rm -f conftest.err conftest.$ac_ext
61779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61780 echo "${ECHO_T}$ac_header_preproc" >&6
61782 # So? What about this header?
61783 case $ac_header_compiler:$ac_header_preproc in
61785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61791 ## ------------------------------------ ##
61792 ## Report this to bug-autoconf@gnu.org. ##
61793 ## ------------------------------------ ##
61796 sed "s/^/$as_me: WARNING: /" >&2
61799 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61800 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61801 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61802 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61803 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61804 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61807 ## ------------------------------------ ##
61808 ## Report this to bug-autoconf@gnu.org. ##
61809 ## ------------------------------------ ##
61812 sed "s/^/$as_me: WARNING: /" >&2
61815 echo "$as_me:$LINENO: checking for $ac_header" >&5
61816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61818 echo $ECHO_N "(cached) $ECHO_C" >&6
61820 eval "$as_ac_Header=$ac_header_preproc"
61822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61827 cat >>confdefs.h <<_ACEOF
61828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61838 for ac_header in wctype.h
61840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
61841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61842 echo "$as_me:$LINENO: checking for $ac_header" >&5
61843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61845 echo $ECHO_N "(cached) $ECHO_C" >&6
61847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61850 # Is the header compilable?
61851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
61852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
61853 cat >conftest.$ac_ext <<_ACEOF
61854 #line $LINENO "configure"
61857 cat confdefs.h >>conftest.$ac_ext
61858 cat >>conftest.$ac_ext <<_ACEOF
61859 /* end confdefs.h. */
61860 $ac_includes_default
61861 #include <$ac_header>
61863 rm -f conftest.$ac_objext
61864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61865 (eval $ac_compile) 2>&5
61867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61868 (exit $ac_status); } &&
61869 { ac_try='test -s conftest.$ac_objext'
61870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61871 (eval $ac_try) 2>&5
61873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61874 (exit $ac_status); }; }; then
61875 ac_header_compiler=yes
61877 echo "$as_me: failed program was:" >&5
61878 sed 's/^/| /' conftest.$ac_ext >&5
61880 ac_header_compiler=no
61882 rm -f conftest.$ac_objext conftest.$ac_ext
61883 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
61884 echo "${ECHO_T}$ac_header_compiler" >&6
61886 # Is the header present?
61887 echo "$as_me:$LINENO: checking $ac_header presence" >&5
61888 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
61889 cat >conftest.$ac_ext <<_ACEOF
61890 #line $LINENO "configure"
61893 cat confdefs.h >>conftest.$ac_ext
61894 cat >>conftest.$ac_ext <<_ACEOF
61895 /* end confdefs.h. */
61896 #include <$ac_header>
61898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
61899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
61901 grep -v '^ *+' conftest.er1 >conftest.err
61903 cat conftest.err >&5
61904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61905 (exit $ac_status); } >/dev/null; then
61906 if test -s conftest.err; then
61907 ac_cpp_err=$ac_c_preproc_warn_flag
61914 if test -z "$ac_cpp_err"; then
61915 ac_header_preproc=yes
61917 echo "$as_me: failed program was:" >&5
61918 sed 's/^/| /' conftest.$ac_ext >&5
61920 ac_header_preproc=no
61922 rm -f conftest.err conftest.$ac_ext
61923 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
61924 echo "${ECHO_T}$ac_header_preproc" >&6
61926 # So? What about this header?
61927 case $ac_header_compiler:$ac_header_preproc in
61929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
61930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
61931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61932 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61935 ## ------------------------------------ ##
61936 ## Report this to bug-autoconf@gnu.org. ##
61937 ## ------------------------------------ ##
61940 sed "s/^/$as_me: WARNING: /" >&2
61943 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
61944 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
61945 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
61946 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
61947 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
61948 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
61951 ## ------------------------------------ ##
61952 ## Report this to bug-autoconf@gnu.org. ##
61953 ## ------------------------------------ ##
61956 sed "s/^/$as_me: WARNING: /" >&2
61959 echo "$as_me:$LINENO: checking for $ac_header" >&5
61960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
61961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
61962 echo $ECHO_N "(cached) $ECHO_C" >&6
61964 eval "$as_ac_Header=$ac_header_preproc"
61966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
61967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
61970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
61971 cat >>confdefs.h <<_ACEOF
61972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
61974 ac_has_wctype_h=yes
61982 # Only continue checking if the ISO C99 headers exist and support is on.
61983 if test x"$ac_has_wchar_h" = xyes &&
61984 test x"$ac_has_wctype_h" = xyes &&
61985 test x"$enable_c_mbchar" != xno; then
61987 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
61988 # numeric_limits can instantiate type_traits<wchar_t>
61989 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
61990 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
61991 cat >conftest.$ac_ext <<_ACEOF
61992 #line $LINENO "configure"
61995 cat confdefs.h >>conftest.$ac_ext
61996 cat >>conftest.$ac_ext <<_ACEOF
61997 /* end confdefs.h. */
62002 int i = WCHAR_MIN; int j = WCHAR_MAX;
62007 rm -f conftest.$ac_objext
62008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62009 (eval $ac_compile) 2>&5
62011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62012 (exit $ac_status); } &&
62013 { ac_try='test -s conftest.$ac_objext'
62014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62015 (eval $ac_try) 2>&5
62017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62018 (exit $ac_status); }; }; then
62019 has_wchar_minmax=yes
62021 echo "$as_me: failed program was:" >&5
62022 sed 's/^/| /' conftest.$ac_ext >&5
62024 has_wchar_minmax=no
62026 rm -f conftest.$ac_objext conftest.$ac_ext
62027 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
62028 echo "${ECHO_T}$has_wchar_minmax" >&6
62030 # Test wchar.h for WEOF, which is what we use to determine whether
62031 # to specialize for char_traits<wchar_t> or not.
62032 echo "$as_me:$LINENO: checking for WEOF" >&5
62033 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
62034 cat >conftest.$ac_ext <<_ACEOF
62035 #line $LINENO "configure"
62038 cat confdefs.h >>conftest.$ac_ext
62039 cat >>conftest.$ac_ext <<_ACEOF
62040 /* end confdefs.h. */
62043 #include <stddef.h>
62052 rm -f conftest.$ac_objext
62053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62054 (eval $ac_compile) 2>&5
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); } &&
62058 { ac_try='test -s conftest.$ac_objext'
62059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62060 (eval $ac_try) 2>&5
62062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62063 (exit $ac_status); }; }; then
62066 echo "$as_me: failed program was:" >&5
62067 sed 's/^/| /' conftest.$ac_ext >&5
62071 rm -f conftest.$ac_objext conftest.$ac_ext
62072 echo "$as_me:$LINENO: result: $has_weof" >&5
62073 echo "${ECHO_T}$has_weof" >&6
62075 # Tests for wide character functions used in char_traits<wchar_t>.
62083 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
62085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62086 echo "$as_me:$LINENO: checking for $ac_func" >&5
62087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62088 if eval "test \"\${$as_ac_var+set}\" = set"; then
62089 echo $ECHO_N "(cached) $ECHO_C" >&6
62091 if test x$gcc_no_link = xyes; then
62092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62094 { (exit 1); exit 1; }; }
62096 cat >conftest.$ac_ext <<_ACEOF
62097 #line $LINENO "configure"
62100 cat confdefs.h >>conftest.$ac_ext
62101 cat >>conftest.$ac_ext <<_ACEOF
62102 /* end confdefs.h. */
62103 /* System header to define __stub macros and hopefully few prototypes,
62104 which can conflict with char $ac_func (); below.
62105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62106 <limits.h> exists even on freestanding compilers. */
62108 # include <limits.h>
62110 # include <assert.h>
62112 /* Override any gcc2 internal prototype to avoid an error. */
62117 /* We use char because int might match the return type of a gcc2
62118 builtin and then its argument prototype would still apply. */
62120 /* The GNU C library defines this for functions which it implements
62121 to always fail with ENOSYS. Some functions are actually named
62122 something starting with __ and the normal name is an alias. */
62123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62126 char (*f) () = $ac_func;
62135 return f != $ac_func;
62140 rm -f conftest.$ac_objext conftest$ac_exeext
62141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62142 (eval $ac_link) 2>&5
62144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62145 (exit $ac_status); } &&
62146 { ac_try='test -s conftest$ac_exeext'
62147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62148 (eval $ac_try) 2>&5
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); }; }; then
62152 eval "$as_ac_var=yes"
62154 echo "$as_me: failed program was:" >&5
62155 sed 's/^/| /' conftest.$ac_ext >&5
62157 eval "$as_ac_var=no"
62159 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62163 if test `eval echo '${'$as_ac_var'}'` = yes; then
62164 cat >>confdefs.h <<_ACEOF
62165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62174 # Checks for names injected into std:: by the c_std headers.
62221 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
62222 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
62223 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
62224 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
62225 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
62226 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
62228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62229 echo "$as_me:$LINENO: checking for $ac_func" >&5
62230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62231 if eval "test \"\${$as_ac_var+set}\" = set"; then
62232 echo $ECHO_N "(cached) $ECHO_C" >&6
62234 if test x$gcc_no_link = xyes; then
62235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62237 { (exit 1); exit 1; }; }
62239 cat >conftest.$ac_ext <<_ACEOF
62240 #line $LINENO "configure"
62243 cat confdefs.h >>conftest.$ac_ext
62244 cat >>conftest.$ac_ext <<_ACEOF
62245 /* end confdefs.h. */
62246 /* System header to define __stub macros and hopefully few prototypes,
62247 which can conflict with char $ac_func (); below.
62248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62249 <limits.h> exists even on freestanding compilers. */
62251 # include <limits.h>
62253 # include <assert.h>
62255 /* Override any gcc2 internal prototype to avoid an error. */
62260 /* We use char because int might match the return type of a gcc2
62261 builtin and then its argument prototype would still apply. */
62263 /* The GNU C library defines this for functions which it implements
62264 to always fail with ENOSYS. Some functions are actually named
62265 something starting with __ and the normal name is an alias. */
62266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62269 char (*f) () = $ac_func;
62278 return f != $ac_func;
62283 rm -f conftest.$ac_objext conftest$ac_exeext
62284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62285 (eval $ac_link) 2>&5
62287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62288 (exit $ac_status); } &&
62289 { ac_try='test -s conftest$ac_exeext'
62290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62291 (eval $ac_try) 2>&5
62293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294 (exit $ac_status); }; }; then
62295 eval "$as_ac_var=yes"
62297 echo "$as_me: failed program was:" >&5
62298 sed 's/^/| /' conftest.$ac_ext >&5
62300 eval "$as_ac_var=no"
62302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62306 if test `eval echo '${'$as_ac_var'}'` = yes; then
62307 cat >>confdefs.h <<_ACEOF
62308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62317 # Checks for wide character functions that are not required
62318 # for basic wchar_t support. Don't disable support if they are missing.
62319 # Injection of these is wrapped with guard macros.
62325 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
62327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62328 echo "$as_me:$LINENO: checking for $ac_func" >&5
62329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62330 if eval "test \"\${$as_ac_var+set}\" = set"; then
62331 echo $ECHO_N "(cached) $ECHO_C" >&6
62333 if test x$gcc_no_link = xyes; then
62334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62336 { (exit 1); exit 1; }; }
62338 cat >conftest.$ac_ext <<_ACEOF
62339 #line $LINENO "configure"
62342 cat confdefs.h >>conftest.$ac_ext
62343 cat >>conftest.$ac_ext <<_ACEOF
62344 /* end confdefs.h. */
62345 /* System header to define __stub macros and hopefully few prototypes,
62346 which can conflict with char $ac_func (); below.
62347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62348 <limits.h> exists even on freestanding compilers. */
62350 # include <limits.h>
62352 # include <assert.h>
62354 /* Override any gcc2 internal prototype to avoid an error. */
62359 /* We use char because int might match the return type of a gcc2
62360 builtin and then its argument prototype would still apply. */
62362 /* The GNU C library defines this for functions which it implements
62363 to always fail with ENOSYS. Some functions are actually named
62364 something starting with __ and the normal name is an alias. */
62365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62368 char (*f) () = $ac_func;
62377 return f != $ac_func;
62382 rm -f conftest.$ac_objext conftest$ac_exeext
62383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62384 (eval $ac_link) 2>&5
62386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62387 (exit $ac_status); } &&
62388 { ac_try='test -s conftest$ac_exeext'
62389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62390 (eval $ac_try) 2>&5
62392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62393 (exit $ac_status); }; }; then
62394 eval "$as_ac_var=yes"
62396 echo "$as_me: failed program was:" >&5
62397 sed 's/^/| /' conftest.$ac_ext >&5
62399 eval "$as_ac_var=no"
62401 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62405 if test `eval echo '${'$as_ac_var'}'` = yes; then
62406 cat >>confdefs.h <<_ACEOF
62407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62414 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
62415 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
62416 if test x"$has_weof" = xyes &&
62417 test x"$has_wchar_minmax" = xyes &&
62418 test x"$ac_wfuncs" = xyes;
62420 ac_isoC99_wchar_t=yes
62422 ac_isoC99_wchar_t=no
62424 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
62425 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
62427 # Use iconv for wchar_t to char conversions. As such, check for
62428 # X/Open Portability Guide, version 2 features (XPG2).
62429 if test "${ac_cv_header_iconv_h+set}" = set; then
62430 echo "$as_me:$LINENO: checking for iconv.h" >&5
62431 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62432 if test "${ac_cv_header_iconv_h+set}" = set; then
62433 echo $ECHO_N "(cached) $ECHO_C" >&6
62435 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62436 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62438 # Is the header compilable?
62439 echo "$as_me:$LINENO: checking iconv.h usability" >&5
62440 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
62441 cat >conftest.$ac_ext <<_ACEOF
62442 #line $LINENO "configure"
62445 cat confdefs.h >>conftest.$ac_ext
62446 cat >>conftest.$ac_ext <<_ACEOF
62447 /* end confdefs.h. */
62448 $ac_includes_default
62451 rm -f conftest.$ac_objext
62452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62453 (eval $ac_compile) 2>&5
62455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62456 (exit $ac_status); } &&
62457 { ac_try='test -s conftest.$ac_objext'
62458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62459 (eval $ac_try) 2>&5
62461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62462 (exit $ac_status); }; }; then
62463 ac_header_compiler=yes
62465 echo "$as_me: failed program was:" >&5
62466 sed 's/^/| /' conftest.$ac_ext >&5
62468 ac_header_compiler=no
62470 rm -f conftest.$ac_objext conftest.$ac_ext
62471 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62472 echo "${ECHO_T}$ac_header_compiler" >&6
62474 # Is the header present?
62475 echo "$as_me:$LINENO: checking iconv.h presence" >&5
62476 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
62477 cat >conftest.$ac_ext <<_ACEOF
62478 #line $LINENO "configure"
62481 cat confdefs.h >>conftest.$ac_ext
62482 cat >>conftest.$ac_ext <<_ACEOF
62483 /* end confdefs.h. */
62486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62489 grep -v '^ *+' conftest.er1 >conftest.err
62491 cat conftest.err >&5
62492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62493 (exit $ac_status); } >/dev/null; then
62494 if test -s conftest.err; then
62495 ac_cpp_err=$ac_c_preproc_warn_flag
62502 if test -z "$ac_cpp_err"; then
62503 ac_header_preproc=yes
62505 echo "$as_me: failed program was:" >&5
62506 sed 's/^/| /' conftest.$ac_ext >&5
62508 ac_header_preproc=no
62510 rm -f conftest.err conftest.$ac_ext
62511 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62512 echo "${ECHO_T}$ac_header_preproc" >&6
62514 # So? What about this header?
62515 case $ac_header_compiler:$ac_header_preproc in
62517 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
62518 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62519 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
62520 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
62523 ## ------------------------------------ ##
62524 ## Report this to bug-autoconf@gnu.org. ##
62525 ## ------------------------------------ ##
62528 sed "s/^/$as_me: WARNING: /" >&2
62531 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
62532 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
62533 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
62534 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
62535 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
62536 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
62539 ## ------------------------------------ ##
62540 ## Report this to bug-autoconf@gnu.org. ##
62541 ## ------------------------------------ ##
62544 sed "s/^/$as_me: WARNING: /" >&2
62547 echo "$as_me:$LINENO: checking for iconv.h" >&5
62548 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
62549 if test "${ac_cv_header_iconv_h+set}" = set; then
62550 echo $ECHO_N "(cached) $ECHO_C" >&6
62552 ac_cv_header_iconv_h=$ac_header_preproc
62554 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
62555 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
62558 if test $ac_cv_header_iconv_h = yes; then
62565 if test "${ac_cv_header_langinfo_h+set}" = set; then
62566 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62567 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62568 if test "${ac_cv_header_langinfo_h+set}" = set; then
62569 echo $ECHO_N "(cached) $ECHO_C" >&6
62571 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62572 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62574 # Is the header compilable?
62575 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
62576 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
62577 cat >conftest.$ac_ext <<_ACEOF
62578 #line $LINENO "configure"
62581 cat confdefs.h >>conftest.$ac_ext
62582 cat >>conftest.$ac_ext <<_ACEOF
62583 /* end confdefs.h. */
62584 $ac_includes_default
62585 #include <langinfo.h>
62587 rm -f conftest.$ac_objext
62588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62589 (eval $ac_compile) 2>&5
62591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62592 (exit $ac_status); } &&
62593 { ac_try='test -s conftest.$ac_objext'
62594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62595 (eval $ac_try) 2>&5
62597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62598 (exit $ac_status); }; }; then
62599 ac_header_compiler=yes
62601 echo "$as_me: failed program was:" >&5
62602 sed 's/^/| /' conftest.$ac_ext >&5
62604 ac_header_compiler=no
62606 rm -f conftest.$ac_objext conftest.$ac_ext
62607 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62608 echo "${ECHO_T}$ac_header_compiler" >&6
62610 # Is the header present?
62611 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
62612 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
62613 cat >conftest.$ac_ext <<_ACEOF
62614 #line $LINENO "configure"
62617 cat confdefs.h >>conftest.$ac_ext
62618 cat >>conftest.$ac_ext <<_ACEOF
62619 /* end confdefs.h. */
62620 #include <langinfo.h>
62622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
62623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
62625 grep -v '^ *+' conftest.er1 >conftest.err
62627 cat conftest.err >&5
62628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62629 (exit $ac_status); } >/dev/null; then
62630 if test -s conftest.err; then
62631 ac_cpp_err=$ac_c_preproc_warn_flag
62638 if test -z "$ac_cpp_err"; then
62639 ac_header_preproc=yes
62641 echo "$as_me: failed program was:" >&5
62642 sed 's/^/| /' conftest.$ac_ext >&5
62644 ac_header_preproc=no
62646 rm -f conftest.err conftest.$ac_ext
62647 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
62648 echo "${ECHO_T}$ac_header_preproc" >&6
62650 # So? What about this header?
62651 case $ac_header_compiler:$ac_header_preproc in
62653 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
62654 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
62655 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
62656 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
62659 ## ------------------------------------ ##
62660 ## Report this to bug-autoconf@gnu.org. ##
62661 ## ------------------------------------ ##
62664 sed "s/^/$as_me: WARNING: /" >&2
62667 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
62668 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
62669 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
62670 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
62671 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
62672 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
62675 ## ------------------------------------ ##
62676 ## Report this to bug-autoconf@gnu.org. ##
62677 ## ------------------------------------ ##
62680 sed "s/^/$as_me: WARNING: /" >&2
62683 echo "$as_me:$LINENO: checking for langinfo.h" >&5
62684 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
62685 if test "${ac_cv_header_langinfo_h+set}" = set; then
62686 echo $ECHO_N "(cached) $ECHO_C" >&6
62688 ac_cv_header_langinfo_h=$ac_header_preproc
62690 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
62691 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
62694 if test $ac_cv_header_langinfo_h = yes; then
62695 ac_has_langinfo_h=yes
62697 ac_has_langinfo_h=no
62702 # Check for existence of libiconv.a providing XPG2 wchar_t support.
62703 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
62704 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
62705 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
62706 echo $ECHO_N "(cached) $ECHO_C" >&6
62708 ac_check_lib_save_LIBS=$LIBS
62709 LIBS="-liconv $LIBS"
62710 if test x$gcc_no_link = xyes; then
62711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62713 { (exit 1); exit 1; }; }
62715 cat >conftest.$ac_ext <<_ACEOF
62716 #line $LINENO "configure"
62719 cat confdefs.h >>conftest.$ac_ext
62720 cat >>conftest.$ac_ext <<_ACEOF
62721 /* end confdefs.h. */
62723 /* Override any gcc2 internal prototype to avoid an error. */
62727 /* We use char because int might match the return type of a gcc2
62728 builtin and then its argument prototype would still apply. */
62738 rm -f conftest.$ac_objext conftest$ac_exeext
62739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62740 (eval $ac_link) 2>&5
62742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62743 (exit $ac_status); } &&
62744 { ac_try='test -s conftest$ac_exeext'
62745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62746 (eval $ac_try) 2>&5
62748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62749 (exit $ac_status); }; }; then
62750 ac_cv_lib_iconv_iconv=yes
62752 echo "$as_me: failed program was:" >&5
62753 sed 's/^/| /' conftest.$ac_ext >&5
62755 ac_cv_lib_iconv_iconv=no
62757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62758 LIBS=$ac_check_lib_save_LIBS
62760 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
62761 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
62762 if test $ac_cv_lib_iconv_iconv = yes; then
62766 ac_save_LIBS="$LIBS"
62767 LIBS="$LIBS $libiconv"
62773 for ac_func in iconv_open iconv_close iconv nl_langinfo
62775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62776 echo "$as_me:$LINENO: checking for $ac_func" >&5
62777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62778 if eval "test \"\${$as_ac_var+set}\" = set"; then
62779 echo $ECHO_N "(cached) $ECHO_C" >&6
62781 if test x$gcc_no_link = xyes; then
62782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62784 { (exit 1); exit 1; }; }
62786 cat >conftest.$ac_ext <<_ACEOF
62787 #line $LINENO "configure"
62790 cat confdefs.h >>conftest.$ac_ext
62791 cat >>conftest.$ac_ext <<_ACEOF
62792 /* end confdefs.h. */
62793 /* System header to define __stub macros and hopefully few prototypes,
62794 which can conflict with char $ac_func (); below.
62795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62796 <limits.h> exists even on freestanding compilers. */
62798 # include <limits.h>
62800 # include <assert.h>
62802 /* Override any gcc2 internal prototype to avoid an error. */
62807 /* We use char because int might match the return type of a gcc2
62808 builtin and then its argument prototype would still apply. */
62810 /* The GNU C library defines this for functions which it implements
62811 to always fail with ENOSYS. Some functions are actually named
62812 something starting with __ and the normal name is an alias. */
62813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62816 char (*f) () = $ac_func;
62825 return f != $ac_func;
62830 rm -f conftest.$ac_objext conftest$ac_exeext
62831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62832 (eval $ac_link) 2>&5
62834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62835 (exit $ac_status); } &&
62836 { ac_try='test -s conftest$ac_exeext'
62837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62838 (eval $ac_try) 2>&5
62840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62841 (exit $ac_status); }; }; then
62842 eval "$as_ac_var=yes"
62844 echo "$as_me: failed program was:" >&5
62845 sed 's/^/| /' conftest.$ac_ext >&5
62847 eval "$as_ac_var=no"
62849 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
62851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62853 if test `eval echo '${'$as_ac_var'}'` = yes; then
62854 cat >>confdefs.h <<_ACEOF
62855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62864 LIBS="$ac_save_LIBS"
62866 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
62867 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
62868 if test x"$ac_has_iconv_h" = xyes &&
62869 test x"$ac_has_langinfo_h" = xyes &&
62870 test x"$ac_XPG2funcs" = xyes;
62872 ac_XPG2_wchar_t=yes
62876 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
62877 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
62879 # At the moment, only enable wchar_t specializations if all the
62880 # above support is present.
62881 if test x"$ac_isoC99_wchar_t" = xyes &&
62882 test x"$ac_XPG2_wchar_t" = xyes;
62884 cat >>confdefs.h <<\_ACEOF
62885 #define _GLIBCXX_USE_WCHAR_T 1
62891 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
62892 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
62893 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
62894 echo "${ECHO_T}$enable_wchar_t" >&6
62896 cat >>confdefs.h <<\_ACEOF
62897 #define HAVE_COPYSIGN 1
62900 cat >>confdefs.h <<\_ACEOF
62901 #define HAVE_COPYSIGNF 1
62904 cat >>confdefs.h <<\_ACEOF
62905 #define HAVE_FINITE 1
62908 cat >>confdefs.h <<\_ACEOF
62909 #define HAVE_FINITEF 1
62912 cat >>confdefs.h <<\_ACEOF
62913 #define HAVE_FREXPF 1
62916 cat >>confdefs.h <<\_ACEOF
62917 #define HAVE_HYPOTF 1
62920 cat >>confdefs.h <<\_ACEOF
62921 #define HAVE_ISINF 1
62924 cat >>confdefs.h <<\_ACEOF
62925 #define HAVE_ISINFF 1
62928 cat >>confdefs.h <<\_ACEOF
62929 #define HAVE_ISNAN 1
62932 cat >>confdefs.h <<\_ACEOF
62933 #define HAVE_ISNANF 1
62936 cat >>confdefs.h <<\_ACEOF
62937 #define HAVE_SINCOS 1
62940 cat >>confdefs.h <<\_ACEOF
62941 #define HAVE_SINCOSF 1
62944 if test x"long_double_math_on_this_cpu" = x"yes"; then
62945 cat >>confdefs.h <<\_ACEOF
62946 #define HAVE_FINITEL 1
62949 cat >>confdefs.h <<\_ACEOF
62950 #define HAVE_HYPOTL 1
62953 cat >>confdefs.h <<\_ACEOF
62954 #define HAVE_ISINFL 1
62957 cat >>confdefs.h <<\_ACEOF
62958 #define HAVE_ISNANL 1
62964 cat >>confdefs.h <<\_ACEOF
62965 #define HAVE_MMAP 1
62968 cat >>confdefs.h <<\_ACEOF
62969 #define HAVE_ACOSF 1
62972 cat >>confdefs.h <<\_ACEOF
62973 #define HAVE_ASINF 1
62976 cat >>confdefs.h <<\_ACEOF
62977 #define HAVE_ATAN2F 1
62980 cat >>confdefs.h <<\_ACEOF
62981 #define HAVE_ATANF 1
62984 cat >>confdefs.h <<\_ACEOF
62985 #define HAVE_CEILF 1
62988 cat >>confdefs.h <<\_ACEOF
62989 #define HAVE_COSF 1
62992 cat >>confdefs.h <<\_ACEOF
62993 #define HAVE_COSHF 1
62996 cat >>confdefs.h <<\_ACEOF
62997 #define HAVE_EXPF 1
63000 cat >>confdefs.h <<\_ACEOF
63001 #define HAVE_FABSF 1
63004 cat >>confdefs.h <<\_ACEOF
63005 #define HAVE_FLOORF 1
63008 cat >>confdefs.h <<\_ACEOF
63009 #define HAVE_FMODF 1
63012 cat >>confdefs.h <<\_ACEOF
63013 #define HAVE_HYPOT 1
63016 cat >>confdefs.h <<\_ACEOF
63017 #define HAVE_LOG10F 1
63020 cat >>confdefs.h <<\_ACEOF
63021 #define HAVE_LOGF 1
63024 cat >>confdefs.h <<\_ACEOF
63025 #define HAVE_POWF 1
63028 cat >>confdefs.h <<\_ACEOF
63029 #define HAVE_SINF 1
63032 cat >>confdefs.h <<\_ACEOF
63033 #define HAVE_SINHF 1
63036 cat >>confdefs.h <<\_ACEOF
63037 #define HAVE_SQRTF 1
63040 cat >>confdefs.h <<\_ACEOF
63041 #define HAVE_TANF 1
63044 cat >>confdefs.h <<\_ACEOF
63045 #define HAVE_TANHF 1
63050 cat >>confdefs.h <<\_ACEOF
63051 #define HAVE_ACOSF 1
63054 cat >>confdefs.h <<\_ACEOF
63055 #define HAVE_ACOSL 1
63058 cat >>confdefs.h <<\_ACEOF
63059 #define HAVE_ASINF 1
63062 cat >>confdefs.h <<\_ACEOF
63063 #define HAVE_ASINL 1
63066 cat >>confdefs.h <<\_ACEOF
63067 #define HAVE_ATAN2F 1
63070 cat >>confdefs.h <<\_ACEOF
63071 #define HAVE_ATAN2L 1
63074 cat >>confdefs.h <<\_ACEOF
63075 #define HAVE_ATANF 1
63078 cat >>confdefs.h <<\_ACEOF
63079 #define HAVE_ATANL 1
63082 cat >>confdefs.h <<\_ACEOF
63083 #define HAVE_CEILF 1
63086 cat >>confdefs.h <<\_ACEOF
63087 #define HAVE_CEILL 1
63090 cat >>confdefs.h <<\_ACEOF
63091 #define HAVE_COPYSIGN 1
63094 cat >>confdefs.h <<\_ACEOF
63095 #define HAVE_COPYSIGNF 1
63098 cat >>confdefs.h <<\_ACEOF
63099 #define HAVE_COSF 1
63102 cat >>confdefs.h <<\_ACEOF
63103 #define HAVE_COSL 1
63106 cat >>confdefs.h <<\_ACEOF
63107 #define HAVE_COSHF 1
63110 cat >>confdefs.h <<\_ACEOF
63111 #define HAVE_COSHL 1
63114 cat >>confdefs.h <<\_ACEOF
63115 #define HAVE_EXPF 1
63118 cat >>confdefs.h <<\_ACEOF
63119 #define HAVE_EXPL 1
63122 cat >>confdefs.h <<\_ACEOF
63123 #define HAVE_FABSF 1
63126 cat >>confdefs.h <<\_ACEOF
63127 #define HAVE_FABSL 1
63130 cat >>confdefs.h <<\_ACEOF
63131 #define HAVE_FLOORF 1
63134 cat >>confdefs.h <<\_ACEOF
63135 #define HAVE_FLOORL 1
63138 cat >>confdefs.h <<\_ACEOF
63139 #define HAVE_FMODF 1
63142 cat >>confdefs.h <<\_ACEOF
63143 #define HAVE_FMODL 1
63146 cat >>confdefs.h <<\_ACEOF
63147 #define HAVE_FREXPF 1
63150 cat >>confdefs.h <<\_ACEOF
63151 #define HAVE_FREXPL 1
63154 cat >>confdefs.h <<\_ACEOF
63155 #define HAVE_LDEXPF 1
63158 cat >>confdefs.h <<\_ACEOF
63159 #define HAVE_LDEXPL 1
63162 cat >>confdefs.h <<\_ACEOF
63163 #define HAVE_LOG10F 1
63166 cat >>confdefs.h <<\_ACEOF
63167 #define HAVE_LOG10L 1
63170 cat >>confdefs.h <<\_ACEOF
63171 #define HAVE_LOGF 1
63174 cat >>confdefs.h <<\_ACEOF
63175 #define HAVE_MODFF 1
63178 cat >>confdefs.h <<\_ACEOF
63179 #define HAVE_MODFL 1
63182 cat >>confdefs.h <<\_ACEOF
63183 #define HAVE_POWF 1
63186 cat >>confdefs.h <<\_ACEOF
63187 #define HAVE_POWL 1
63190 cat >>confdefs.h <<\_ACEOF
63191 #define HAVE_SINF 1
63194 cat >>confdefs.h <<\_ACEOF
63195 #define HAVE_SINL 1
63198 cat >>confdefs.h <<\_ACEOF
63199 #define HAVE_SINHF 1
63202 cat >>confdefs.h <<\_ACEOF
63203 #define HAVE_SINHL 1
63206 cat >>confdefs.h <<\_ACEOF
63207 #define HAVE_SQRTF 1
63210 cat >>confdefs.h <<\_ACEOF
63211 #define HAVE_SQRTL 1
63214 cat >>confdefs.h <<\_ACEOF
63215 #define HAVE_TANF 1
63218 cat >>confdefs.h <<\_ACEOF
63219 #define HAVE_TANL 1
63222 cat >>confdefs.h <<\_ACEOF
63223 #define HAVE_TANHF 1
63226 cat >>confdefs.h <<\_ACEOF
63227 #define HAVE_TANHL 1
63232 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
63233 echo "$as_me: error: No support for this host/target combination." >&2;}
63234 { (exit 1); exit 1; }; }
63241 # At some point, we should differentiate between architectures
63242 # like x86, which have long double versions, and alpha/powerpc/etc.,
63243 # which don't. For the time being, punt.
63244 if test x"long_double_math_on_this_cpu" = x"yes"; then
63245 cat >>confdefs.h <<\_ACEOF
63246 #define HAVE_ACOSL 1
63249 cat >>confdefs.h <<\_ACEOF
63250 #define HAVE_ASINL 1
63253 cat >>confdefs.h <<\_ACEOF
63254 #define HAVE_ATAN2L 1
63257 cat >>confdefs.h <<\_ACEOF
63258 #define HAVE_ATANL 1
63261 cat >>confdefs.h <<\_ACEOF
63262 #define HAVE_CEILL 1
63265 cat >>confdefs.h <<\_ACEOF
63266 #define HAVE_COPYSIGNL 1
63269 cat >>confdefs.h <<\_ACEOF
63270 #define HAVE_COSL 1
63273 cat >>confdefs.h <<\_ACEOF
63274 #define HAVE_COSHL 1
63277 cat >>confdefs.h <<\_ACEOF
63278 #define HAVE_EXPL 1
63281 cat >>confdefs.h <<\_ACEOF
63282 #define HAVE_FABSL 1
63285 cat >>confdefs.h <<\_ACEOF
63286 #define HAVE_FLOORL 1
63289 cat >>confdefs.h <<\_ACEOF
63290 #define HAVE_FMODL 1
63293 cat >>confdefs.h <<\_ACEOF
63294 #define HAVE_FREXPL 1
63297 cat >>confdefs.h <<\_ACEOF
63298 #define HAVE_LDEXPL 1
63301 cat >>confdefs.h <<\_ACEOF
63302 #define HAVE_LOG10L 1
63305 cat >>confdefs.h <<\_ACEOF
63306 #define HAVE_LOGL 1
63309 cat >>confdefs.h <<\_ACEOF
63310 #define HAVE_MODFL 1
63313 cat >>confdefs.h <<\_ACEOF
63314 #define HAVE_POWL 1
63317 cat >>confdefs.h <<\_ACEOF
63318 #define HAVE_SINCOSL 1
63321 cat >>confdefs.h <<\_ACEOF
63322 #define HAVE_SINL 1
63325 cat >>confdefs.h <<\_ACEOF
63326 #define HAVE_SINHL 1
63329 cat >>confdefs.h <<\_ACEOF
63330 #define HAVE_SQRTL 1
63333 cat >>confdefs.h <<\_ACEOF
63334 #define HAVE_TANL 1
63337 cat >>confdefs.h <<\_ACEOF
63338 #define HAVE_TANHL 1
63345 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
63348 # Check whether --enable-symvers or --disable-symvers was given.
63349 if test "${enable_symvers+set}" = set; then
63350 enableval="$enable_symvers"
63352 case "$enableval" in
63354 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
63355 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
63356 { (exit 1); exit 1; }; } ;;
63364 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
63365 # don't know enough about $LD to do tricks...
63367 # FIXME The following test is too strict, in theory.
63368 if test $enable_shared = no ||
63370 test x$glibcxx_gnu_ld_version = x; then
63374 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
63375 if test $enable_symvers != no; then
63376 echo "$as_me:$LINENO: checking for shared libgcc" >&5
63377 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
63378 ac_save_CFLAGS="$CFLAGS"
63380 if test x$gcc_no_link = xyes; then
63381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63383 { (exit 1); exit 1; }; }
63385 cat >conftest.$ac_ext <<_ACEOF
63386 #line $LINENO "configure"
63389 cat confdefs.h >>conftest.$ac_ext
63390 cat >>conftest.$ac_ext <<_ACEOF
63391 /* end confdefs.h. */
63401 rm -f conftest.$ac_objext conftest$ac_exeext
63402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63403 (eval $ac_link) 2>&5
63405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63406 (exit $ac_status); } &&
63407 { ac_try='test -s conftest$ac_exeext'
63408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63409 (eval $ac_try) 2>&5
63411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63412 (exit $ac_status); }; }; then
63413 glibcxx_shared_libgcc=yes
63415 echo "$as_me: failed program was:" >&5
63416 sed 's/^/| /' conftest.$ac_ext >&5
63418 glibcxx_shared_libgcc=no
63420 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
63421 CFLAGS="$ac_save_CFLAGS"
63422 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
63423 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
63426 # For GNU ld, we need at least this version. The format is described in
63427 # GLIBCXX_CHECK_LINKER_FEATURES above.
63428 glibcxx_min_gnu_ld_version=21400
63429 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
63431 # Check to see if unspecified "yes" value can win, given results above.
63432 # Change "yes" into either "no" or a style name.
63433 if test $enable_symvers = yes; then
63434 if test $with_gnu_ld = yes &&
63435 test $glibcxx_shared_libgcc = yes;
63437 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
63440 # The right tools, the right setup, but too old. Fallbacks?
63441 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
63442 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
63443 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
63444 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
63445 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
63446 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
63447 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
63448 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
63449 if test $glibcxx_gnu_ld_version -ge 21200 ; then
63450 # Globbing fix is present, proper block support is not.
63451 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
63452 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
63456 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
63457 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
63462 # just fail for now
63463 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
63464 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
63465 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
63466 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
63467 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
63468 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
63469 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
63470 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
63475 # Everything parsed; figure out what file to use.
63476 case $enable_symvers in
63478 SYMVER_MAP=config/linker-map.dummy
63481 SYMVER_MAP=config/linker-map.gnu
63482 cat >>confdefs.h <<\_ACEOF
63483 #define _GLIBCXX_SYMVER 1
63492 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
63493 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
63496 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
63498 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
63499 # Do checks for memory limit functions.
63501 setrlimit_have_headers=yes
63505 for ac_header in unistd.h sys/time.h sys/resource.h
63507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
63508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63509 echo "$as_me:$LINENO: checking for $ac_header" >&5
63510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63512 echo $ECHO_N "(cached) $ECHO_C" >&6
63514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63517 # Is the header compilable?
63518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
63519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
63520 cat >conftest.$ac_ext <<_ACEOF
63521 #line $LINENO "configure"
63524 cat confdefs.h >>conftest.$ac_ext
63525 cat >>conftest.$ac_ext <<_ACEOF
63526 /* end confdefs.h. */
63527 $ac_includes_default
63528 #include <$ac_header>
63530 rm -f conftest.$ac_objext
63531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63532 (eval $ac_compile) 2>&5
63534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63535 (exit $ac_status); } &&
63536 { ac_try='test -s conftest.$ac_objext'
63537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63538 (eval $ac_try) 2>&5
63540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63541 (exit $ac_status); }; }; then
63542 ac_header_compiler=yes
63544 echo "$as_me: failed program was:" >&5
63545 sed 's/^/| /' conftest.$ac_ext >&5
63547 ac_header_compiler=no
63549 rm -f conftest.$ac_objext conftest.$ac_ext
63550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
63551 echo "${ECHO_T}$ac_header_compiler" >&6
63553 # Is the header present?
63554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
63555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63556 cat >conftest.$ac_ext <<_ACEOF
63557 #line $LINENO "configure"
63560 cat confdefs.h >>conftest.$ac_ext
63561 cat >>conftest.$ac_ext <<_ACEOF
63562 /* end confdefs.h. */
63563 #include <$ac_header>
63565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63568 grep -v '^ *+' conftest.er1 >conftest.err
63570 cat conftest.err >&5
63571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63572 (exit $ac_status); } >/dev/null; then
63573 if test -s conftest.err; then
63574 ac_cpp_err=$ac_c_preproc_warn_flag
63581 if test -z "$ac_cpp_err"; then
63582 ac_header_preproc=yes
63584 echo "$as_me: failed program was:" >&5
63585 sed 's/^/| /' conftest.$ac_ext >&5
63587 ac_header_preproc=no
63589 rm -f conftest.err conftest.$ac_ext
63590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63591 echo "${ECHO_T}$ac_header_preproc" >&6
63593 # So? What about this header?
63594 case $ac_header_compiler:$ac_header_preproc in
63596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63602 ## ------------------------------------ ##
63603 ## Report this to bug-autoconf@gnu.org. ##
63604 ## ------------------------------------ ##
63607 sed "s/^/$as_me: WARNING: /" >&2
63610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63618 ## ------------------------------------ ##
63619 ## Report this to bug-autoconf@gnu.org. ##
63620 ## ------------------------------------ ##
63623 sed "s/^/$as_me: WARNING: /" >&2
63626 echo "$as_me:$LINENO: checking for $ac_header" >&5
63627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63629 echo $ECHO_N "(cached) $ECHO_C" >&6
63631 eval "$as_ac_Header=$ac_header_preproc"
63633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63638 cat >>confdefs.h <<_ACEOF
63639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63643 setrlimit_have_headers=no
63648 # If don't have the headers, then we can't run the tests now, and we
63649 # won't be seeing any of these during testsuite compilation.
63650 if test $setrlimit_have_headers = yes; then
63651 # Can't do these in a loop, else the resulting syntax is wrong.
63653 cat >conftest.$ac_ext <<_ACEOF
63654 #line $LINENO "configure"
63657 cat confdefs.h >>conftest.$ac_ext
63658 cat >>conftest.$ac_ext <<_ACEOF
63659 /* end confdefs.h. */
63660 #include <unistd.h>
63661 #include <sys/time.h>
63662 #include <sys/resource.h>
63667 int f = RLIMIT_DATA ;
63672 rm -f conftest.$ac_objext
63673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63674 (eval $ac_compile) 2>&5
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); } &&
63678 { ac_try='test -s conftest.$ac_objext'
63679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63680 (eval $ac_try) 2>&5
63682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683 (exit $ac_status); }; }; then
63686 echo "$as_me: failed program was:" >&5
63687 sed 's/^/| /' conftest.$ac_ext >&5
63691 rm -f conftest.$ac_objext conftest.$ac_ext
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_MEMLIMIT_DATA $glibcxx_mresult
63699 cat >conftest.$ac_ext <<_ACEOF
63700 #line $LINENO "configure"
63703 cat confdefs.h >>conftest.$ac_ext
63704 cat >>conftest.$ac_ext <<_ACEOF
63705 /* end confdefs.h. */
63706 #include <unistd.h>
63707 #include <sys/time.h>
63708 #include <sys/resource.h>
63713 int f = RLIMIT_RSS ;
63718 rm -f conftest.$ac_objext
63719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63720 (eval $ac_compile) 2>&5
63722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63723 (exit $ac_status); } &&
63724 { ac_try='test -s conftest.$ac_objext'
63725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63726 (eval $ac_try) 2>&5
63728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63729 (exit $ac_status); }; }; then
63732 echo "$as_me: failed program was:" >&5
63733 sed 's/^/| /' conftest.$ac_ext >&5
63737 rm -f conftest.$ac_objext conftest.$ac_ext
63739 cat >>confdefs.h <<_ACEOF
63740 #define HAVE_MEMLIMIT_RSS $glibcxx_mresult
63745 cat >conftest.$ac_ext <<_ACEOF
63746 #line $LINENO "configure"
63749 cat confdefs.h >>conftest.$ac_ext
63750 cat >>conftest.$ac_ext <<_ACEOF
63751 /* end confdefs.h. */
63752 #include <unistd.h>
63753 #include <sys/time.h>
63754 #include <sys/resource.h>
63759 int f = RLIMIT_VMEM ;
63764 rm -f conftest.$ac_objext
63765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63766 (eval $ac_compile) 2>&5
63768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63769 (exit $ac_status); } &&
63770 { ac_try='test -s conftest.$ac_objext'
63771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63772 (eval $ac_try) 2>&5
63774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63775 (exit $ac_status); }; }; then
63778 echo "$as_me: failed program was:" >&5
63779 sed 's/^/| /' conftest.$ac_ext >&5
63783 rm -f conftest.$ac_objext conftest.$ac_ext
63785 cat >>confdefs.h <<_ACEOF
63786 #define HAVE_MEMLIMIT_VMEM $glibcxx_mresult
63791 cat >conftest.$ac_ext <<_ACEOF
63792 #line $LINENO "configure"
63795 cat confdefs.h >>conftest.$ac_ext
63796 cat >>conftest.$ac_ext <<_ACEOF
63797 /* end confdefs.h. */
63798 #include <unistd.h>
63799 #include <sys/time.h>
63800 #include <sys/resource.h>
63805 int f = RLIMIT_AS ;
63810 rm -f conftest.$ac_objext
63811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63812 (eval $ac_compile) 2>&5
63814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63815 (exit $ac_status); } &&
63816 { ac_try='test -s conftest.$ac_objext'
63817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63818 (eval $ac_try) 2>&5
63820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63821 (exit $ac_status); }; }; then
63824 echo "$as_me: failed program was:" >&5
63825 sed 's/^/| /' conftest.$ac_ext >&5
63829 rm -f conftest.$ac_objext conftest.$ac_ext
63831 cat >>confdefs.h <<_ACEOF
63832 #define HAVE_MEMLIMIT_AS $glibcxx_mresult
63837 # Check for rlimit, setrlimit.
63838 if test "${ac_setrlimit+set}" = set; then
63839 echo $ECHO_N "(cached) $ECHO_C" >&6
63842 cat >conftest.$ac_ext <<_ACEOF
63843 #line $LINENO "configure"
63846 cat confdefs.h >>conftest.$ac_ext
63847 cat >>conftest.$ac_ext <<_ACEOF
63848 /* end confdefs.h. */
63849 #include <unistd.h>
63850 #include <sys/time.h>
63851 #include <sys/resource.h>
63862 rm -f conftest.$ac_objext
63863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63864 (eval $ac_compile) 2>&5
63866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63867 (exit $ac_status); } &&
63868 { ac_try='test -s conftest.$ac_objext'
63869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63870 (eval $ac_try) 2>&5
63872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63873 (exit $ac_status); }; }; then
63876 echo "$as_me: failed program was:" >&5
63877 sed 's/^/| /' conftest.$ac_ext >&5
63881 rm -f conftest.$ac_objext conftest.$ac_ext
63887 echo "$as_me:$LINENO: checking for testsuite memory limit support" >&5
63888 echo $ECHO_N "checking for testsuite memory limit support... $ECHO_C" >&6
63889 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
63891 cat >>confdefs.h <<\_ACEOF
63892 #define _GLIBCXX_MEM_LIMITS 1
63898 echo "$as_me:$LINENO: result: $ac_mem_limits" >&5
63899 echo "${ECHO_T}$ac_mem_limits" >&6
63902 # Look for setenv, so that extended locale tests can be performed.
63904 echo "$as_me:$LINENO: checking for setenv declaration" >&5
63905 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
63906 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
63907 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
63908 echo $ECHO_N "(cached) $ECHO_C" >&6
63914 ac_cpp='$CXXCPP $CPPFLAGS'
63915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63919 cat >conftest.$ac_ext <<_ACEOF
63920 #line $LINENO "configure"
63923 cat confdefs.h >>conftest.$ac_ext
63924 cat >>conftest.$ac_ext <<_ACEOF
63925 /* end confdefs.h. */
63926 #include <stdlib.h>
63935 rm -f conftest.$ac_objext
63936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63937 (eval $ac_compile) 2>&5
63939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63940 (exit $ac_status); } &&
63941 { ac_try='test -s conftest.$ac_objext'
63942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63943 (eval $ac_try) 2>&5
63945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63946 (exit $ac_status); }; }; then
63947 glibcxx_cv_func_setenv_use=yes
63949 echo "$as_me: failed program was:" >&5
63950 sed 's/^/| /' conftest.$ac_ext >&5
63952 glibcxx_cv_func_setenv_use=no
63954 rm -f conftest.$ac_objext conftest.$ac_ext
63956 ac_cpp='$CPP $CPPFLAGS'
63957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63965 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
63966 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
63967 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
63969 for ac_func in setenv
63971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63972 echo "$as_me:$LINENO: checking for $ac_func" >&5
63973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63974 if eval "test \"\${$as_ac_var+set}\" = set"; then
63975 echo $ECHO_N "(cached) $ECHO_C" >&6
63977 if test x$gcc_no_link = xyes; then
63978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63980 { (exit 1); exit 1; }; }
63982 cat >conftest.$ac_ext <<_ACEOF
63983 #line $LINENO "configure"
63986 cat confdefs.h >>conftest.$ac_ext
63987 cat >>conftest.$ac_ext <<_ACEOF
63988 /* end confdefs.h. */
63989 /* System header to define __stub macros and hopefully few prototypes,
63990 which can conflict with char $ac_func (); below.
63991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63992 <limits.h> exists even on freestanding compilers. */
63994 # include <limits.h>
63996 # include <assert.h>
63998 /* Override any gcc2 internal prototype to avoid an error. */
64003 /* We use char because int might match the return type of a gcc2
64004 builtin and then its argument prototype would still apply. */
64006 /* The GNU C library defines this for functions which it implements
64007 to always fail with ENOSYS. Some functions are actually named
64008 something starting with __ and the normal name is an alias. */
64009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64012 char (*f) () = $ac_func;
64021 return f != $ac_func;
64026 rm -f conftest.$ac_objext conftest$ac_exeext
64027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64028 (eval $ac_link) 2>&5
64030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64031 (exit $ac_status); } &&
64032 { ac_try='test -s conftest$ac_exeext'
64033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64034 (eval $ac_try) 2>&5
64036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64037 (exit $ac_status); }; }; then
64038 eval "$as_ac_var=yes"
64040 echo "$as_me: failed program was:" >&5
64041 sed 's/^/| /' conftest.$ac_ext >&5
64043 eval "$as_ac_var=no"
64045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
64047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64049 if test `eval echo '${'$as_ac_var'}'` = yes; then
64050 cat >>confdefs.h <<_ACEOF
64051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64060 if test $enable_symvers = no; then
64061 enable_abi_check=no
64065 enable_abi_check=no ;;
64067 enable_abi_check=yes ;;
64071 # Only build this as native, since automake does not understand
64073 enable_abi_check=no
64076 # Export file names for ABI checking.
64077 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
64084 # Propagate the target-specific source directories through the build chain.
64085 # (Nothing currently uses cpu_include_dir directly; only atomicity_include_dir
64086 # uses it, and it only gets used in this file.)
64087 ATOMICITY_INC_SRCDIR=config/${atomicity_include_dir}
64088 OS_INC_SRCDIR=config/${os_include_dir}
64092 # Determine cross-compile flags and AM_CONDITIONALs.
64093 #AC_SUBST(GLIBCXX_IS_NATIVE)
64094 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
64095 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
64096 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
64099 if test $is_hosted = yes; then
64100 GLIBCXX_HOSTED_TRUE=
64101 GLIBCXX_HOSTED_FALSE='#'
64103 GLIBCXX_HOSTED_TRUE='#'
64104 GLIBCXX_HOSTED_FALSE=
64110 if test $enable_libstdcxx_pch = yes; then
64111 GLIBCXX_BUILD_PCH_TRUE=
64112 GLIBCXX_BUILD_PCH_FALSE='#'
64114 GLIBCXX_BUILD_PCH_TRUE='#'
64115 GLIBCXX_BUILD_PCH_FALSE=
64121 if test $enable_cheaders = c; then
64122 GLIBCXX_C_HEADERS_C_TRUE=
64123 GLIBCXX_C_HEADERS_C_FALSE='#'
64125 GLIBCXX_C_HEADERS_C_TRUE='#'
64126 GLIBCXX_C_HEADERS_C_FALSE=
64132 if test $enable_cheaders = c_std; then
64133 GLIBCXX_C_HEADERS_C_STD_TRUE=
64134 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
64136 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
64137 GLIBCXX_C_HEADERS_C_STD_FALSE=
64143 if test $c_compatibility = yes; then
64144 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
64145 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
64147 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
64148 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
64154 if test $enable_libstdcxx_debug = yes; then
64155 GLIBCXX_BUILD_DEBUG_TRUE=
64156 GLIBCXX_BUILD_DEBUG_FALSE='#'
64158 GLIBCXX_BUILD_DEBUG_TRUE='#'
64159 GLIBCXX_BUILD_DEBUG_FALSE=
64165 if test $enable_symvers != no; then
64166 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
64167 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
64169 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
64170 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
64176 if test $enable_wchar_t = yes; then
64177 GLIBCXX_TEST_WCHAR_T_TRUE=
64178 GLIBCXX_TEST_WCHAR_T_FALSE='#'
64180 GLIBCXX_TEST_WCHAR_T_TRUE='#'
64181 GLIBCXX_TEST_WCHAR_T_FALSE=
64187 if test $enable_abi_check = yes; then
64188 GLIBCXX_TEST_ABI_TRUE=
64189 GLIBCXX_TEST_ABI_FALSE='#'
64191 GLIBCXX_TEST_ABI_TRUE='#'
64192 GLIBCXX_TEST_ABI_FALSE=
64198 cat >confcache <<\_ACEOF
64199 # This file is a shell script that caches the results of configure
64200 # tests run on this system so they can be shared between configure
64201 # scripts and configure runs, see configure's option --config-cache.
64202 # It is not useful on other systems. If it contains results you don't
64203 # want to keep, you may remove or edit it.
64205 # config.status only pays attention to the cache file if you give it
64206 # the --recheck option to rerun configure.
64208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
64209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
64210 # following values.
64214 # The following way of writing the cache mishandles newlines in values,
64215 # but we know of no workaround that is simple, portable, and efficient.
64216 # So, don't put newlines in cache variables' values.
64217 # Ultrix sh set writes to stderr and can't be redirected directly,
64218 # and sets the high bit in the cache file unless we assign to the vars.
64221 case `(ac_space=' '; set | grep ac_space) 2>&1` in
64223 # `set' does not quote correctly, so add quotes (double-quote
64224 # substitution turns \\\\ into \\, and sed turns \\ into \).
64227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
64230 # `set' quotes correctly as required by POSIX, so do not add quotes.
64232 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
64239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
64241 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
64243 if diff $cache_file confcache >/dev/null 2>&1; then :; else
64244 if test -w $cache_file; then
64245 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
64246 cat confcache >$cache_file
64248 echo "not updating unwritable cache $cache_file"
64253 if test ${multilib} = yes; then
64254 multilib_arg="--enable-multilib"
64259 # Export all the install information.
64261 glibcxx_toolexecdir=no
64262 glibcxx_toolexeclibdir=no
64263 glibcxx_prefixdir=$prefix
64265 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
64266 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
64268 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
64269 if test "${with_gxx_include_dir+set}" = set; then
64270 withval="$with_gxx_include_dir"
64272 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
64273 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
64274 { (exit 1); exit 1; }; } ;;
64275 no) gxx_include_dir=no ;;
64276 *) gxx_include_dir=$withval ;;
64281 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
64282 echo "${ECHO_T}$gxx_include_dir" >&6
64284 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
64285 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
64286 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
64287 if test "${enable_version_specific_runtime_libs+set}" = set; then
64288 enableval="$enable_version_specific_runtime_libs"
64289 case "$enableval" in
64290 yes) version_specific_libs=yes ;;
64291 no) version_specific_libs=no ;;
64292 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
64293 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
64294 { (exit 1); exit 1; }; };;
64297 version_specific_libs=no
64299 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
64300 echo "${ECHO_T}$version_specific_libs" >&6
64302 # Default case for install directory for include files.
64303 if test $version_specific_libs = no && test $gxx_include_dir = no; then
64304 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
64307 # Version-specific runtime libs processing.
64308 if test $version_specific_libs = yes; then
64309 # Need the gcc compiler version to know where to install libraries
64310 # and header files if --enable-version-specific-runtime-libs option
64312 if test x"$gxx_include_dir" = x"no"; then
64313 gxx_include_dir='${libdir}/gcc-lib/${host_alias}/'$gcc_version/include/c++
64315 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
64316 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
64319 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
64320 # Install a library built with a cross compiler in tooldir, not libdir.
64321 if test x"$glibcxx_toolexecdir" = x"no"; then
64322 if test -n "$with_cross_host" &&
64323 test x"$with_cross_host" != x"no"; then
64324 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
64325 glibcxx_toolexeclibdir='${toolexecdir}/lib'
64327 glibcxx_toolexecdir='${libdir}/gcc-lib/${host_alias}'
64328 glibcxx_toolexeclibdir='${libdir}'
64330 multi_os_directory=`$CXX -print-multi-os-directory`
64331 case $multi_os_directory in
64332 .) ;; # Avoid trailing /.
64333 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
64337 echo "$as_me:$LINENO: checking for install location" >&5
64338 echo $ECHO_N "checking for install location... $ECHO_C" >&6
64339 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
64340 echo "${ECHO_T}$gxx_include_dir" >&6
64348 # Export all the include and flag information to Makefiles.
64350 # Used for every C++ compile we perform.
64351 GLIBCXX_INCLUDES="\
64352 -I$glibcxx_builddir/include/$host_alias \
64353 -I$glibcxx_builddir/include \
64354 -I$glibcxx_srcdir/libsupc++"
64356 # For Canadian crosses, pick this up too.
64357 if test $CANADIAN = yes; then
64358 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
64361 # Stuff in the actual top level. Currently only used by libsupc++ to
64362 # get unwind* headers from the gcc dir.
64363 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
64364 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
64366 # Now, export this to all the little Makefiles....
64371 # Optimization flags that are probably a good idea for thrill-seekers. Just
64372 # uncomment the lines below and make, everything else is ready to go...
64373 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
64377 WARN_FLAGS='-Wall -W -Wwrite-strings -Wcast-qual'
64381 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
64382 grep "enable shared" > /dev/null;
64384 LIBSUPCXX_PICFLAGS=-prefer-pic
64386 LIBSUPCXX_PICFLAGS=
64390 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
64392 ac_config_files="$ac_config_files scripts/check_survey"
64394 ac_config_files="$ac_config_files scripts/testsuite_flags"
64397 ac_config_commands="$ac_config_commands default"
64400 cat >confcache <<\_ACEOF
64401 # This file is a shell script that caches the results of configure
64402 # tests run on this system so they can be shared between configure
64403 # scripts and configure runs, see configure's option --config-cache.
64404 # It is not useful on other systems. If it contains results you don't
64405 # want to keep, you may remove or edit it.
64407 # config.status only pays attention to the cache file if you give it
64408 # the --recheck option to rerun configure.
64410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
64411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
64412 # following values.
64416 # The following way of writing the cache mishandles newlines in values,
64417 # but we know of no workaround that is simple, portable, and efficient.
64418 # So, don't put newlines in cache variables' values.
64419 # Ultrix sh set writes to stderr and can't be redirected directly,
64420 # and sets the high bit in the cache file unless we assign to the vars.
64423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
64425 # `set' does not quote correctly, so add quotes (double-quote
64426 # substitution turns \\\\ into \\, and sed turns \\ into \).
64429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
64432 # `set' quotes correctly as required by POSIX, so do not add quotes.
64434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
64441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
64443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
64445 if diff $cache_file confcache >/dev/null 2>&1; then :; else
64446 if test -w $cache_file; then
64447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
64448 cat confcache >$cache_file
64450 echo "not updating unwritable cache $cache_file"
64455 test "x$prefix" = xNONE && prefix=$ac_default_prefix
64456 # Let make expand exec_prefix.
64457 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
64459 # VPATH may cause trouble with some makes, so we remove $(srcdir),
64460 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
64461 # trailing colons and then remove the whole line if VPATH becomes empty
64462 # (actually we leave an empty line to preserve line numbers).
64463 if test "x$srcdir" = x.; then
64464 ac_vpsub='/^[ ]*VPATH[ ]*=/{
64465 s/:*\$(srcdir):*/:/;
64466 s/:*\${srcdir}:*/:/;
64468 s/^\([^=]*=[ ]*\):*/\1/;
64474 DEFS=-DHAVE_CONFIG_H
64478 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
64479 # 1. Remove the extension, and $U if already installed.
64480 ac_i=`echo "$ac_i" |
64481 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
64483 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
64484 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
64486 LIBOBJS=$ac_libobjs
64488 LTLIBOBJS=$ac_ltlibobjs
64491 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
64492 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
64493 Usually this means the macro was only invoked conditionally." >&5
64494 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
64495 Usually this means the macro was only invoked conditionally." >&2;}
64496 { (exit 1); exit 1; }; }
64498 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
64499 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
64500 Usually this means the macro was only invoked conditionally." >&5
64501 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
64502 Usually this means the macro was only invoked conditionally." >&2;}
64503 { (exit 1); exit 1; }; }
64505 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
64506 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
64507 Usually this means the macro was only invoked conditionally." >&5
64508 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
64509 Usually this means the macro was only invoked conditionally." >&2;}
64510 { (exit 1); exit 1; }; }
64512 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
64513 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
64514 Usually this means the macro was only invoked conditionally." >&5
64515 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
64516 Usually this means the macro was only invoked conditionally." >&2;}
64517 { (exit 1); exit 1; }; }
64519 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
64520 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
64521 Usually this means the macro was only invoked conditionally." >&5
64522 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
64523 Usually this means the macro was only invoked conditionally." >&2;}
64524 { (exit 1); exit 1; }; }
64526 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
64527 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
64528 Usually this means the macro was only invoked conditionally." >&5
64529 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
64530 Usually this means the macro was only invoked conditionally." >&2;}
64531 { (exit 1); exit 1; }; }
64533 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
64534 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
64535 Usually this means the macro was only invoked conditionally." >&5
64536 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
64537 Usually this means the macro was only invoked conditionally." >&2;}
64538 { (exit 1); exit 1; }; }
64540 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
64541 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
64542 Usually this means the macro was only invoked conditionally." >&5
64543 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
64544 Usually this means the macro was only invoked conditionally." >&2;}
64545 { (exit 1); exit 1; }; }
64547 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
64548 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
64549 Usually this means the macro was only invoked conditionally." >&5
64550 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
64551 Usually this means the macro was only invoked conditionally." >&2;}
64552 { (exit 1); exit 1; }; }
64554 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
64555 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
64556 Usually this means the macro was only invoked conditionally." >&5
64557 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
64558 Usually this means the macro was only invoked conditionally." >&2;}
64559 { (exit 1); exit 1; }; }
64562 : ${CONFIG_STATUS=./config.status}
64563 ac_clean_files_save=$ac_clean_files
64564 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
64565 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
64566 echo "$as_me: creating $CONFIG_STATUS" >&6;}
64567 cat >$CONFIG_STATUS <<_ACEOF
64569 # Generated by $as_me.
64570 # Run this file to recreate the current configuration.
64571 # Compiler output produced by configure, useful for debugging
64572 # configure, is in config.log if it exists.
64575 ac_cs_recheck=false
64577 SHELL=\${CONFIG_SHELL-$SHELL}
64580 cat >>$CONFIG_STATUS <<\_ACEOF
64581 ## --------------------- ##
64582 ## M4sh Initialization. ##
64583 ## --------------------- ##
64585 # Be Bourne compatible
64586 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
64589 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
64590 # is contrary to our usage. Disable this feature.
64591 alias -g '${1+"$@"}'='"$@"'
64592 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
64596 # Support unset when possible.
64597 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
64604 # Work around bugs in pre-3.0 UWIN ksh.
64605 $as_unset ENV MAIL MAILPATH
64612 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
64613 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
64614 LC_TELEPHONE LC_TIME
64616 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
64617 eval $as_var=C; export $as_var
64623 # Required to use basename.
64624 if expr a : '\(a\)' >/dev/null 2>&1; then
64630 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
64631 as_basename=basename
64637 # Name of the executable.
64638 as_me=`$as_basename "$0" ||
64639 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
64640 X"$0" : 'X\(//\)$' \| \
64641 X"$0" : 'X\(/\)$' \| \
64642 . : '\(.\)' 2>/dev/null ||
64644 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
64645 /^X\/\(\/\/\)$/{ s//\1/; q; }
64646 /^X\/\(\/\).*/{ s//\1/; q; }
64650 # PATH needs CR, and LINENO needs CR and PATH.
64651 # Avoid depending upon Character Ranges.
64652 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
64653 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
64654 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
64655 as_cr_digits='0123456789'
64656 as_cr_alnum=$as_cr_Letters$as_cr_digits
64658 # The user is always right.
64659 if test "${PATH_SEPARATOR+set}" != set; then
64660 echo "#! /bin/sh" >conf$$.sh
64661 echo "exit 0" >>conf$$.sh
64663 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
64672 as_lineno_1=$LINENO
64673 as_lineno_2=$LINENO
64674 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
64675 test "x$as_lineno_1" != "x$as_lineno_2" &&
64676 test "x$as_lineno_3" = "x$as_lineno_2" || {
64677 # Find who we are. Look in the path if we contain no path at all
64680 *[\\/]* ) as_myself=$0 ;;
64681 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64682 for as_dir in $PATH
64685 test -z "$as_dir" && as_dir=.
64686 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
64691 # We did not find ourselves, most probably we were run as `sh COMMAND'
64692 # in which case we are not to be found in the path.
64693 if test "x$as_myself" = x; then
64696 if test ! -f "$as_myself"; then
64697 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
64698 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
64699 { (exit 1); exit 1; }; }
64701 case $CONFIG_SHELL in
64703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64704 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
64707 test -z "$as_dir" && as_dir=.
64708 for as_base in sh bash ksh sh5; do
64711 if ("$as_dir/$as_base" -c '
64712 as_lineno_1=$LINENO
64713 as_lineno_2=$LINENO
64714 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
64715 test "x$as_lineno_1" != "x$as_lineno_2" &&
64716 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
64717 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
64718 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
64719 CONFIG_SHELL=$as_dir/$as_base
64720 export CONFIG_SHELL
64721 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
64729 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
64730 # uniformly replaced by the line number. The first 'sed' inserts a
64731 # line-number line before each line; the second 'sed' does the real
64732 # work. The second script uses 'N' to pair each line-number line
64733 # with the numbered line, and appends trailing '-' during
64734 # substitution so that $LINENO is not a special case at line end.
64735 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
64736 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
64737 sed '=' <$as_myself |
64742 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
64745 s,^['$as_cr_digits']*\n,,
64746 ' >$as_me.lineno &&
64747 chmod +x $as_me.lineno ||
64748 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
64749 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
64750 { (exit 1); exit 1; }; }
64752 # Don't try to exec as it changes $[0], causing all sort of problems
64753 # (the dirname of $[0] is not the place where we might find the
64754 # original and so on. Autoconf is especially sensible to this).
64756 # Exit status is that of the last command.
64761 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
64762 *c*,-n*) ECHO_N= ECHO_C='
64764 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
64765 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
64768 if expr a : '\(a\)' >/dev/null 2>&1; then
64774 rm -f conf$$ conf$$.exe conf$$.file
64776 if ln -s conf$$.file conf$$ 2>/dev/null; then
64777 # We could just check for DJGPP; but this test a) works b) is more generic
64778 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
64779 if test -f conf$$.exe; then
64780 # Don't use ln at all; we don't have any links
64785 elif ln conf$$.file conf$$ 2>/dev/null; then
64790 rm -f conf$$ conf$$.exe conf$$.file
64792 if mkdir -p . 2>/dev/null; then
64798 as_executable_p="test -f"
64800 # Sed expression to map a string onto a valid CPP name.
64801 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
64803 # Sed expression to map a string onto a valid variable name.
64804 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
64808 # We need space, tab and new line, in precisely that order.
64818 # Open the log real soon, to keep \$[0] and so on meaningful, and to
64819 # report actual input values of CONFIG_FILES etc. instead of their
64820 # values after options handling. Logging --version etc. is OK.
64824 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
64825 ## Running $as_me. ##
64830 This file was extended by package-unused $as_me version-unused, which was
64831 generated by GNU Autoconf 2.57. Invocation command line was
64833 CONFIG_FILES = $CONFIG_FILES
64834 CONFIG_HEADERS = $CONFIG_HEADERS
64835 CONFIG_LINKS = $CONFIG_LINKS
64836 CONFIG_COMMANDS = $CONFIG_COMMANDS
64840 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
64844 # Files that config.status was made for.
64845 if test -n "$ac_config_files"; then
64846 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
64849 if test -n "$ac_config_headers"; then
64850 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
64853 if test -n "$ac_config_links"; then
64854 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
64857 if test -n "$ac_config_commands"; then
64858 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
64861 cat >>$CONFIG_STATUS <<\_ACEOF
64864 \`$as_me' instantiates files from templates according to the
64865 current configuration.
64867 Usage: $0 [OPTIONS] [FILE]...
64869 -h, --help print this help, then exit
64870 -V, --version print version number, then exit
64871 -q, --quiet do not print progress messages
64872 -d, --debug don't remove temporary files
64873 --recheck update $as_me by reconfiguring in the same conditions
64874 --file=FILE[:TEMPLATE]
64875 instantiate the configuration file FILE
64876 --header=FILE[:TEMPLATE]
64877 instantiate the configuration header FILE
64879 Configuration files:
64882 Configuration headers:
64885 Configuration commands:
64888 Report bugs to <bug-autoconf@gnu.org>."
64891 cat >>$CONFIG_STATUS <<_ACEOF
64893 package-unused config.status version-unused
64894 configured by $0, generated by GNU Autoconf 2.57,
64895 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
64897 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
64898 Free Software Foundation, Inc.
64899 This config.status script is free software; the Free Software Foundation
64900 gives unlimited permission to copy, distribute and modify it."
64905 cat >>$CONFIG_STATUS <<\_ACEOF
64906 # If no file are specified by the user, then we need to provide default
64907 # value. By we need to know if files were specified by the user.
64913 ac_option=`expr "x$1" : 'x\([^=]*\)='`
64914 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
64922 *) # This is not an option, so the user has probably given explicit
64925 ac_need_defaults=false;;
64929 # Handling of the options.
64931 cat >>$CONFIG_STATUS <<\_ACEOF
64932 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
64934 --version | --vers* | -V )
64935 echo "$ac_cs_version"; exit 0 ;;
64937 # Conflict between --help and --header
64938 { { echo "$as_me:$LINENO: error: ambiguous option: $1
64939 Try \`$0 --help' for more information." >&5
64940 echo "$as_me: error: ambiguous option: $1
64941 Try \`$0 --help' for more information." >&2;}
64942 { (exit 1); exit 1; }; };;
64943 --help | --hel | -h )
64944 echo "$ac_cs_usage"; exit 0 ;;
64945 --debug | --d* | -d )
64947 --file | --fil | --fi | --f )
64949 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
64950 ac_need_defaults=false;;
64951 --header | --heade | --head | --hea )
64953 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
64954 ac_need_defaults=false;;
64955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
64956 | -silent | --silent | --silen | --sile | --sil | --si | --s)
64959 # This is an error.
64960 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
64961 Try \`$0 --help' for more information." >&5
64962 echo "$as_me: error: unrecognized option: $1
64963 Try \`$0 --help' for more information." >&2;}
64964 { (exit 1); exit 1; }; } ;;
64966 *) ac_config_targets="$ac_config_targets $1" ;;
64972 ac_configure_extra_args=
64974 if $ac_cs_silent; then
64976 ac_configure_extra_args="$ac_configure_extra_args --silent"
64980 cat >>$CONFIG_STATUS <<_ACEOF
64981 if \$ac_cs_recheck; then
64982 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
64983 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
64988 cat >>$CONFIG_STATUS <<_ACEOF
64990 # INIT-COMMANDS section.
64997 with_multisubdir="$with_multisubdir"
64998 with_multisrctop="$with_multisrctop"
64999 with_target_subdir="$with_target_subdir"
65000 ac_configure_args="${multilib_arg} ${ac_configure_args}"
65001 multi_basedir="$multi_basedir"
65002 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
65005 # Variables needed in config.status (file generation) which aren't already
65006 # passed by autoconf.
65014 cat >>$CONFIG_STATUS <<\_ACEOF
65015 for ac_config_target in $ac_config_targets
65017 case "$ac_config_target" in
65018 # Handling of arguments.
65019 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
65020 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
65021 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
65022 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
65023 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
65024 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
65025 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
65026 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
65027 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
65028 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
65029 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
65030 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
65031 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
65032 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
65033 { (exit 1); exit 1; }; };;
65037 # If the user did not use the arguments to specify the items to instantiate,
65038 # then the envvar interface is used. Set only those that are not.
65039 # We use the long form for the default assignment because of an extremely
65040 # bizarre bug on SunOS 4.1.3.
65041 if $ac_need_defaults; then
65042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
65043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
65044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
65047 # Have a temporary directory for convenience. Make it in the build tree
65048 # simply because there is no reason to put it here, and in addition,
65049 # creating and moving files from /tmp can sometimes cause problems.
65050 # Create a temporary directory, and hook for its removal unless debugging.
65053 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
65054 trap '{ (exit 1); exit 1; }' 1 2 13 15
65057 # Create a (secure) tmp directory for tmp files.
65060 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
65061 test -n "$tmp" && test -d "$tmp"
65064 tmp=./confstat$$-$RANDOM
65065 (umask 077 && mkdir $tmp)
65068 echo "$me: cannot create a temporary directory in ." >&2
65069 { (exit 1); exit 1; }
65074 cat >>$CONFIG_STATUS <<_ACEOF
65077 # CONFIG_FILES section.
65080 # No need to generate the scripts if there are no CONFIG_FILES.
65081 # This happens for instance when ./config.status config.h
65082 if test -n "\$CONFIG_FILES"; then
65083 # Protect against being on the right side of a sed subst in config.status.
65084 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
65085 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
65086 s,@SHELL@,$SHELL,;t t
65087 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
65088 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
65089 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
65090 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
65091 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
65092 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
65093 s,@exec_prefix@,$exec_prefix,;t t
65094 s,@prefix@,$prefix,;t t
65095 s,@program_transform_name@,$program_transform_name,;t t
65096 s,@bindir@,$bindir,;t t
65097 s,@sbindir@,$sbindir,;t t
65098 s,@libexecdir@,$libexecdir,;t t
65099 s,@datadir@,$datadir,;t t
65100 s,@sysconfdir@,$sysconfdir,;t t
65101 s,@sharedstatedir@,$sharedstatedir,;t t
65102 s,@localstatedir@,$localstatedir,;t t
65103 s,@libdir@,$libdir,;t t
65104 s,@includedir@,$includedir,;t t
65105 s,@oldincludedir@,$oldincludedir,;t t
65106 s,@infodir@,$infodir,;t t
65107 s,@mandir@,$mandir,;t t
65108 s,@build_alias@,$build_alias,;t t
65109 s,@host_alias@,$host_alias,;t t
65110 s,@target_alias@,$target_alias,;t t
65111 s,@DEFS@,$DEFS,;t t
65112 s,@ECHO_C@,$ECHO_C,;t t
65113 s,@ECHO_N@,$ECHO_N,;t t
65114 s,@ECHO_T@,$ECHO_T,;t t
65115 s,@LIBS@,$LIBS,;t t
65116 s,@libtool_VERSION@,$libtool_VERSION,;t t
65117 s,@multi_basedir@,$multi_basedir,;t t
65118 s,@build@,$build,;t t
65119 s,@build_cpu@,$build_cpu,;t t
65120 s,@build_vendor@,$build_vendor,;t t
65121 s,@build_os@,$build_os,;t t
65122 s,@host@,$host,;t t
65123 s,@host_cpu@,$host_cpu,;t t
65124 s,@host_vendor@,$host_vendor,;t t
65125 s,@host_os@,$host_os,;t t
65126 s,@target@,$target,;t t
65127 s,@target_cpu@,$target_cpu,;t t
65128 s,@target_vendor@,$target_vendor,;t t
65129 s,@target_os@,$target_os,;t t
65130 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
65131 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
65132 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
65133 s,@CYGPATH_W@,$CYGPATH_W,;t t
65134 s,@PACKAGE@,$PACKAGE,;t t
65135 s,@VERSION@,$VERSION,;t t
65136 s,@ACLOCAL@,$ACLOCAL,;t t
65137 s,@AUTOCONF@,$AUTOCONF,;t t
65138 s,@AUTOMAKE@,$AUTOMAKE,;t t
65139 s,@AUTOHEADER@,$AUTOHEADER,;t t
65140 s,@MAKEINFO@,$MAKEINFO,;t t
65141 s,@AMTAR@,$AMTAR,;t t
65142 s,@install_sh@,$install_sh,;t t
65143 s,@STRIP@,$STRIP,;t t
65144 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
65145 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
65147 s,@SET_MAKE@,$SET_MAKE,;t t
65148 s,@am__leading_dot@,$am__leading_dot,;t t
65149 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
65150 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
65151 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
65153 s,@ac_ct_CC@,$ac_ct_CC,;t t
65154 s,@EXEEXT@,$EXEEXT,;t t
65155 s,@OBJEXT@,$OBJEXT,;t t
65157 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
65158 s,@CFLAGS@,$CFLAGS,;t t
65159 s,@CXXFLAGS@,$CXXFLAGS,;t t
65160 s,@LN_S@,$LN_S,;t t
65162 s,@ac_ct_AS@,$ac_ct_AS,;t t
65164 s,@ac_ct_AR@,$ac_ct_AR,;t t
65165 s,@RANLIB@,$RANLIB,;t t
65166 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
65167 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
65168 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
65169 s,@MAINT@,$MAINT,;t t
65170 s,@LIBTOOL@,$LIBTOOL,;t t
65171 s,@CXXCPP@,$CXXCPP,;t t
65172 s,@CPPFLAGS@,$CPPFLAGS,;t t
65173 s,@enable_shared@,$enable_shared,;t t
65174 s,@enable_static@,$enable_static,;t t
65175 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
65176 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
65177 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
65178 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
65179 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
65180 s,@CSTDIO_H@,$CSTDIO_H,;t t
65181 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
65182 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
65184 s,@EGREP@,$EGREP,;t t
65185 s,@check_msgfmt@,$check_msgfmt,;t t
65186 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
65187 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
65188 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
65189 s,@USE_NLS@,$USE_NLS,;t t
65190 s,@CLOCALE_H@,$CLOCALE_H,;t t
65191 s,@CCODECVT_H@,$CCODECVT_H,;t t
65192 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
65193 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
65194 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
65195 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
65196 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
65197 s,@CMONEY_CC@,$CMONEY_CC,;t t
65198 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
65199 s,@CTIME_H@,$CTIME_H,;t t
65200 s,@CTIME_CC@,$CTIME_CC,;t t
65201 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
65202 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
65203 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
65204 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
65205 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
65206 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
65207 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
65208 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
65209 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
65210 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
65211 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
65212 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
65213 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
65214 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
65215 s,@WERROR@,$WERROR,;t t
65216 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
65217 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
65218 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
65219 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
65220 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
65221 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
65222 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
65223 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
65224 s,@baseline_dir@,$baseline_dir,;t t
65225 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
65226 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
65227 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
65228 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
65229 s,@ATOMICITY_INC_SRCDIR@,$ATOMICITY_INC_SRCDIR,;t t
65230 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
65231 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
65232 s,@gxx_include_dir@,$gxx_include_dir,;t t
65233 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
65234 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
65235 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
65236 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
65237 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
65238 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
65239 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
65240 s,@LIBOBJS@,$LIBOBJS,;t t
65241 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
65246 cat >>$CONFIG_STATUS <<\_ACEOF
65247 # Split the substitutions into bite-sized pieces for seds with
65248 # small command number limits, like on Digital OSF/1 and HP-UX.
65249 ac_max_sed_lines=48
65250 ac_sed_frag=1 # Number of current file.
65251 ac_beg=1 # First line for current file.
65252 ac_end=$ac_max_sed_lines # Line after last line for current file.
65255 while $ac_more_lines; do
65256 if test $ac_beg -gt 1; then
65257 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
65259 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
65261 if test ! -s $tmp/subs.frag; then
65262 ac_more_lines=false
65264 # The purpose of the label and of the branching condition is to
65265 # speed up the sed processing (if there are no `@' at all, there
65266 # is no need to browse any of the substitutions).
65267 # These are the two extra sed commands mentioned above.
65269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
65270 if test -z "$ac_sed_cmds"; then
65271 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
65273 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
65275 ac_sed_frag=`expr $ac_sed_frag + 1`
65277 ac_end=`expr $ac_end + $ac_max_sed_lines`
65280 if test -z "$ac_sed_cmds"; then
65283 fi # test -n "$CONFIG_FILES"
65286 cat >>$CONFIG_STATUS <<\_ACEOF
65287 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
65288 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
65290 - | *:- | *:-:* ) # input from stdin
65292 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
65293 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
65294 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
65295 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
65296 * ) ac_file_in=$ac_file.in ;;
65299 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
65300 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
65301 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65302 X"$ac_file" : 'X\(//\)[^/]' \| \
65303 X"$ac_file" : 'X\(//\)$' \| \
65304 X"$ac_file" : 'X\(/\)' \| \
65305 . : '\(.\)' 2>/dev/null ||
65307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65309 /^X\(\/\/\)$/{ s//\1/; q; }
65310 /^X\(\/\).*/{ s//\1/; q; }
65312 { if $as_mkdir_p; then
65317 while test ! -d "$as_dir"; do
65318 as_dirs="$as_dir $as_dirs"
65319 as_dir=`(dirname "$as_dir") 2>/dev/null ||
65320 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65321 X"$as_dir" : 'X\(//\)[^/]' \| \
65322 X"$as_dir" : 'X\(//\)$' \| \
65323 X"$as_dir" : 'X\(/\)' \| \
65324 . : '\(.\)' 2>/dev/null ||
65326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65327 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65328 /^X\(\/\/\)$/{ s//\1/; q; }
65329 /^X\(\/\).*/{ s//\1/; q; }
65332 test ! -n "$as_dirs" || mkdir $as_dirs
65333 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
65334 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
65335 { (exit 1); exit 1; }; }; }
65339 if test "$ac_dir" != .; then
65340 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
65341 # A "../" for each directory in $ac_dir_suffix.
65342 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
65344 ac_dir_suffix= ac_top_builddir=
65348 .) # No --srcdir option. We are building in place.
65350 if test -z "$ac_top_builddir"; then
65353 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
65355 [\\/]* | ?:[\\/]* ) # Absolute path.
65356 ac_srcdir=$srcdir$ac_dir_suffix;
65357 ac_top_srcdir=$srcdir ;;
65358 *) # Relative path.
65359 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
65360 ac_top_srcdir=$ac_top_builddir$srcdir ;;
65362 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
65364 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
65365 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
65366 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
65367 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
65371 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
65372 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
65375 if test x"$ac_file" != x-; then
65376 { echo "$as_me:$LINENO: creating $ac_file" >&5
65377 echo "$as_me: creating $ac_file" >&6;}
65380 # Let's still pretend it is `configure' which instantiates (i.e., don't
65381 # use $as_me), people would be surprised to read:
65382 # /* config.h. Generated by config.status. */
65383 if test x"$ac_file" = x-; then
65386 configure_input="$ac_file. "
65388 configure_input=$configure_input"Generated from `echo $ac_file_in |
65389 sed 's,.*/,,'` by configure."
65391 # First look for the input files in the build tree, otherwise in the
65393 ac_file_inputs=`IFS=:
65394 for f in $ac_file_in; do
65396 -) echo $tmp/stdin ;;
65398 # Absolute (can't be DOS-style, as IFS=:)
65399 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
65400 echo "$as_me: error: cannot find input file: $f" >&2;}
65401 { (exit 1); exit 1; }; }
65404 if test -f "$f"; then
65407 elif test -f "$srcdir/$f"; then
65412 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
65413 echo "$as_me: error: cannot find input file: $f" >&2;}
65414 { (exit 1); exit 1; }; }
65417 done` || { (exit 1); exit 1; }
65419 cat >>$CONFIG_STATUS <<_ACEOF
65423 cat >>$CONFIG_STATUS <<\_ACEOF
65425 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
65426 s,@configure_input@,$configure_input,;t t
65427 s,@srcdir@,$ac_srcdir,;t t
65428 s,@abs_srcdir@,$ac_abs_srcdir,;t t
65429 s,@top_srcdir@,$ac_top_srcdir,;t t
65430 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
65431 s,@builddir@,$ac_builddir,;t t
65432 s,@abs_builddir@,$ac_abs_builddir,;t t
65433 s,@top_builddir@,$ac_top_builddir,;t t
65434 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
65435 s,@INSTALL@,$ac_INSTALL,;t t
65436 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
65438 if test x"$ac_file" != x-; then
65439 mv $tmp/out $ac_file
65445 # Run the commands associated with the file.
65447 scripts/check_survey ) chmod +x scripts/check_survey ;;
65448 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
65452 cat >>$CONFIG_STATUS <<\_ACEOF
65455 # CONFIG_HEADER section.
65458 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
65459 # NAME is the cpp macro being defined and VALUE is the value it is being given.
65461 # ac_d sets the value in "#define NAME VALUE" lines.
65462 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
65463 ac_dB='[ ].*$,\1#\2'
65466 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
65467 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
65468 ac_uB='$,\1#\2define\3'
65472 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
65473 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
65475 - | *:- | *:-:* ) # input from stdin
65477 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
65478 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
65479 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
65480 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
65481 * ) ac_file_in=$ac_file.in ;;
65484 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
65485 echo "$as_me: creating $ac_file" >&6;}
65487 # First look for the input files in the build tree, otherwise in the
65489 ac_file_inputs=`IFS=:
65490 for f in $ac_file_in; do
65492 -) echo $tmp/stdin ;;
65494 # Absolute (can't be DOS-style, as IFS=:)
65495 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
65496 echo "$as_me: error: cannot find input file: $f" >&2;}
65497 { (exit 1); exit 1; }; }
65500 if test -f "$f"; then
65503 elif test -f "$srcdir/$f"; then
65508 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
65509 echo "$as_me: error: cannot find input file: $f" >&2;}
65510 { (exit 1); exit 1; }; }
65513 done` || { (exit 1); exit 1; }
65514 # Remove the trailing spaces.
65515 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
65519 # Transform confdefs.h into two sed scripts, `conftest.defines' and
65520 # `conftest.undefs', that substitutes the proper values into
65521 # config.h.in to produce config.h. The first handles `#define'
65522 # templates, and the second `#undef' templates.
65523 # And first: Protect against being on the right side of a sed subst in
65524 # config.status. Protect against being in an unquoted here document
65525 # in config.status.
65526 rm -f conftest.defines conftest.undefs
65527 # Using a here document instead of a string reduces the quoting nightmare.
65528 # Putting comments in sed scripts is not portable.
65530 # `end' is used to avoid that the second main sed command (meant for
65531 # 0-ary CPP macros) applies to n-ary macro definitions.
65532 # See the Autoconf documentation for `clear'.
65533 cat >confdef2sed.sed <<\_ACEOF
65538 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
65540 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
65543 # If some macros were called several times there might be several times
65544 # the same #defines, which is useless. Nevertheless, we may not want to
65545 # sort them, since we want the *last* AC-DEFINE to be honored.
65546 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
65547 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
65548 rm -f confdef2sed.sed
65550 # This sed command replaces #undef with comments. This is necessary, for
65551 # example, in the case of _POSIX_SOURCE, which is predefined and required
65552 # on some systems where configure will not decide to define it.
65553 cat >>conftest.undefs <<\_ACEOF
65554 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
65557 # Break up conftest.defines because some shells have a limit on the size
65558 # of here documents, and old seds have small limits too (100 cmds).
65559 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
65560 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
65561 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
65562 echo ' :' >>$CONFIG_STATUS
65563 rm -f conftest.tail
65564 while grep . conftest.defines >/dev/null
65566 # Write a limited-size here document to $tmp/defines.sed.
65567 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
65568 # Speed up: don't consider the non `#define' lines.
65569 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
65570 # Work around the forget-to-reset-the-flag bug.
65571 echo 't clr' >>$CONFIG_STATUS
65572 echo ': clr' >>$CONFIG_STATUS
65573 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
65575 sed -f $tmp/defines.sed $tmp/in >$tmp/out
65577 mv $tmp/out $tmp/in
65579 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
65580 rm -f conftest.defines
65581 mv conftest.tail conftest.defines
65583 rm -f conftest.defines
65584 echo ' fi # grep' >>$CONFIG_STATUS
65585 echo >>$CONFIG_STATUS
65587 # Break up conftest.undefs because some shells have a limit on the size
65588 # of here documents, and old seds have small limits too (100 cmds).
65589 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
65590 rm -f conftest.tail
65591 while grep . conftest.undefs >/dev/null
65593 # Write a limited-size here document to $tmp/undefs.sed.
65594 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
65595 # Speed up: don't consider the non `#undef'
65596 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
65597 # Work around the forget-to-reset-the-flag bug.
65598 echo 't clr' >>$CONFIG_STATUS
65599 echo ': clr' >>$CONFIG_STATUS
65600 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
65602 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
65604 mv $tmp/out $tmp/in
65606 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
65607 rm -f conftest.undefs
65608 mv conftest.tail conftest.undefs
65610 rm -f conftest.undefs
65612 cat >>$CONFIG_STATUS <<\_ACEOF
65613 # Let's still pretend it is `configure' which instantiates (i.e., don't
65614 # use $as_me), people would be surprised to read:
65615 # /* config.h. Generated by config.status. */
65616 if test x"$ac_file" = x-; then
65617 echo "/* Generated by configure. */" >$tmp/config.h
65619 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
65621 cat $tmp/in >>$tmp/config.h
65623 if test x"$ac_file" != x-; then
65624 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
65625 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
65626 echo "$as_me: $ac_file is unchanged" >&6;}
65628 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
65629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65630 X"$ac_file" : 'X\(//\)[^/]' \| \
65631 X"$ac_file" : 'X\(//\)$' \| \
65632 X"$ac_file" : 'X\(/\)' \| \
65633 . : '\(.\)' 2>/dev/null ||
65635 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65636 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65637 /^X\(\/\/\)$/{ s//\1/; q; }
65638 /^X\(\/\).*/{ s//\1/; q; }
65640 { if $as_mkdir_p; then
65645 while test ! -d "$as_dir"; do
65646 as_dirs="$as_dir $as_dirs"
65647 as_dir=`(dirname "$as_dir") 2>/dev/null ||
65648 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65649 X"$as_dir" : 'X\(//\)[^/]' \| \
65650 X"$as_dir" : 'X\(//\)$' \| \
65651 X"$as_dir" : 'X\(/\)' \| \
65652 . : '\(.\)' 2>/dev/null ||
65654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65655 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65656 /^X\(\/\/\)$/{ s//\1/; q; }
65657 /^X\(\/\).*/{ s//\1/; q; }
65660 test ! -n "$as_dirs" || mkdir $as_dirs
65661 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
65662 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
65663 { (exit 1); exit 1; }; }; }
65666 mv $tmp/config.h $ac_file
65670 rm -f $tmp/config.h
65672 # Compute $ac_file's index in $config_headers.
65674 for _am_header in $config_headers :; do
65675 case $_am_header in
65676 $ac_file | $ac_file:* )
65679 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
65682 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
65683 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65684 X$ac_file : 'X\(//\)[^/]' \| \
65685 X$ac_file : 'X\(//\)$' \| \
65686 X$ac_file : 'X\(/\)' \| \
65687 . : '\(.\)' 2>/dev/null ||
65689 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65690 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65691 /^X\(\/\/\)$/{ s//\1/; q; }
65692 /^X\(\/\).*/{ s//\1/; q; }
65693 s/.*/./; q'`/stamp-h$_am_stamp_count
65696 cat >>$CONFIG_STATUS <<\_ACEOF
65699 # CONFIG_COMMANDS section.
65701 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
65702 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
65703 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
65704 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
65705 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
65706 X"$ac_dest" : 'X\(//\)[^/]' \| \
65707 X"$ac_dest" : 'X\(//\)$' \| \
65708 X"$ac_dest" : 'X\(/\)' \| \
65709 . : '\(.\)' 2>/dev/null ||
65711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
65712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
65713 /^X\(\/\/\)$/{ s//\1/; q; }
65714 /^X\(\/\).*/{ s//\1/; q; }
65718 if test "$ac_dir" != .; then
65719 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
65720 # A "../" for each directory in $ac_dir_suffix.
65721 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
65723 ac_dir_suffix= ac_top_builddir=
65727 .) # No --srcdir option. We are building in place.
65729 if test -z "$ac_top_builddir"; then
65732 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
65734 [\\/]* | ?:[\\/]* ) # Absolute path.
65735 ac_srcdir=$srcdir$ac_dir_suffix;
65736 ac_top_srcdir=$srcdir ;;
65737 *) # Relative path.
65738 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
65739 ac_top_srcdir=$ac_top_builddir$srcdir ;;
65741 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
65743 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
65744 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
65745 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
65746 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
65749 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
65750 echo "$as_me: executing $ac_dest commands" >&6;}
65753 # Only add multilib support code if we just rebuilt the top-level
65755 case " $CONFIG_FILES " in
65757 ac_file=Makefile . ${multi_basedir}/config-ml.in
65760 default ) if test -n "$CONFIG_FILES"; then
65761 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
65762 # that multilib installs will end up installed in the correct place.
65763 # The testsuite needs it for multilib-aware ABI baseline files.
65764 # To work around this not being passed down from config-ml.in ->
65765 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
65766 # append it here. Only modify Makefiles that have just been created.
65768 # Also, get rid of this simulated-VPATH thing that automake does.
65769 cat > vpsed << \_EOF
65770 s!`test -f '$<' || echo '$(srcdir)/'`!!
65772 for i in $SUBDIRS; do
65773 case $CONFIG_FILES in
65775 #echo "Adding MULTISUBDIR to $i/Makefile"
65776 sed -f vpsed $i/Makefile > tmp
65777 grep '^MULTISUBDIR =' Makefile >> tmp
65784 (cd include && ${MAKE-make})
65790 cat >>$CONFIG_STATUS <<\_ACEOF
65792 { (exit 0); exit 0; }
65794 chmod +x $CONFIG_STATUS
65795 ac_clean_files=$ac_clean_files_save
65798 # configure is writing to config.log, and then calls config.status.
65799 # config.status does its own redirection, appending to config.log.
65800 # Unfortunately, on DOS this fails, as config.log is still kept open
65801 # by configure, so config.status won't be able to write to it; its
65802 # output is simply discarded. So we exec the FD to /dev/null,
65803 # effectively closing config.log, so it can be properly (re)opened and
65804 # appended to by config.status. When coming back to configure, we
65805 # need to make the FD available again.
65806 if test "$no_create" != yes; then
65808 ac_config_status_args=
65809 test "$silent" = yes &&
65810 ac_config_status_args="$ac_config_status_args --quiet"
65812 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
65814 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
65815 # would make configure fail if this is the last instruction.
65816 $ac_cs_success || { (exit 1); exit 1; }